2.0.0 Core ontology of SPARQLMotion: a declarative scripting language for Semantic Web technology. This ontology defines the basic building blocks of SPARQLMotion scripts. Scripts consist of modules, which are instances of (some subclass of) sm:Module. Modules can be chained together using sm:next and the sm:child properties. true The abstract base class for the various types of SPARQLMotion data processing modules. Modules value type A value type such as XML or JSON. The metaclass of SPARQLMotion modules. SPARQLMotion modules are SPIN Modules that can perform some arbitrary data processing task, based on an external implementation. Module The x coordinate of a module on a diagram. node x Links a branching module with its "false" branch, i.e. the branch that shall be executed if the condition is false. else Links a source module (subject) with a target module (object), describing a chain of execution and evaluation. next child Links a parent module with a child module that marks the start of a nested sub-script. This property is not meant to be used directly, but its primary function is to serve as superproperty of sm:body, sm:if and sm:else. The name of the declared output variable of a module. This is typically used by modules to enable script users to bind the output of a module with matching variables in the target module. outputVariable Links an iterator modules with its body, i.e. the start of a module chain that is executed as part of the loop. body if Links a branching module with its "true" branch, i.e. the branch that shall be executed if the condition is true. node y The y coordinate of a module on a diagram. Can be attached to user-defined SPIN functions to define the return module of the function's SPARQLMotion script. The result of the function will depend on the selected return module type. return module Can link a sm:Module subclass with an image URL so that the module can be displayed in visual editors. Images should be 48x48 pixels and in PNG, GIF or JPG format. icon JSON XML Can be used to link a resource to the SPARQLMotion script that generated it. For example, if a file has been automatically generated by a SPARQLMotion script then the owl:Ontology in the resulting file should point back to the script, so that others can re-run the generation if the input data has changed. source predicate type restriction defaultValue 1 the name of the result variable result 1