2.0.1
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.
Modules
The abstract base class for the various types of SPARQLMotion data processing modules.
true
A value type such as XML or JSON.
value type
Module
The metaclass of SPARQLMotion modules. SPARQLMotion modules are SPIN Modules that can perform some arbitrary data processing task, based on an external implementation.
node x
The x coordinate of a module on a diagram.
else
Links a branching module with its "false" branch, i.e. the branch that shall be executed if the condition is false.
next
Links a source module (subject) with a target module (object), describing a chain of execution and evaluation.
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.
child
outputVariable
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.
body
Links an iterator modules with its body, i.e. the start of a module chain that is executed as part of the loop.
Links a branching module with its "true" branch, i.e. the branch that shall be executed if the condition is true.
if
The y coordinate of a module on a diagram.
node y
return module
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.
icon
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.
JSON
XML
source
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.
predicate
type
restriction
defaultValue
The name of the result variable. In SPARQLMotion, a result variable must be specified, but we leave the minCount constraint on 0 to remove clutter in constraint checking.
1
result
0