sparqlmotionlib
type: Ontology
imports: ui
imports: email
imports: sparqlmotion
comment: The standard library of SPARQLMotion modules. This library may be split into multiple physical files in the future, but the URIs of the module types and properties will be stable.
imports: spr
version info: 2.2.3

Serialization
type: Class
subclass of: ValueType
comment: The various serialization formats of RDF/OWL files, including RDF/XML and N3.

Database type
type: Class
comment: The class of database configurations used by Jena SDB (and possibly other databases).

Oracle export mode
type: Class
comment: The export modes supported by Oracle RDF.
equivalent class: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#1

ExportBatch
type: Oracle export mode

ExportBulk
type: Oracle export mode

ExportIncremental
type: Oracle export mode

Jena inferencing mode
type: Class
equivalent class: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#5
comment: The inferencing types supported by Jena.
subclass of: Resource

OWL_MEM
type: Jena inferencing mode

OWL_MEM_MICRO_RULE_INF
type: Jena inferencing mode

OWL_MEM_MINI_RULE_INF
type: Jena inferencing mode

OWL_MEM_RDFS_INF
type: Jena inferencing mode

OWL_MEM_RULE_INF
type: Jena inferencing mode

OWL_MEM_TRANS_INF
type: Jena inferencing mode

OWL_DL_MEM
type: Jena inferencing mode

OWL_DL_MEM_RDFS_INF
type: Jena inferencing mode

OWL_DL_MEM_RULE_INF
type: Jena inferencing mode

OWL_DL_MEM_TRANS_INF
type: Jena inferencing mode

RDFS_MEM_RDFS_INF
type: Jena inferencing mode

RDFS_MEM_TRANS_INF
type: Jena inferencing mode

sql
type: Property

className
type: Property
range: string

instancePattern
type: Property
range: string

askQuery
type: Property
sub property of: query
range: Ask

xpath
type: Property
comment: An XPath expression.
range: string

separator
type: Property
range: string

bind variables
type: Property
range: boolean

useUnderscore
type: Property
range: boolean

class
type: Property
range: Class

predicate
type: Property
range: Property

view
type: Property

xml
type: Property
range: XMLLiteral

text
type: Property
range: string

smtpServer
type: Property
range: Server

iteration variable
type: Property
range: string
comment: The name of a variable that shall contain the iteration index in a loop, starting at zero.

import to input graph
type: Property
range: boolean

single pass
type: Property
range: boolean

datatype
type: Property
range: Datatype

graph name
type: Property
range: string

filterGraph
type: Property
comment: Links a filter module with a predecessor module to mark the predecessor module graph to be used for filtering in the filter module.
range: Modules

value
type: Property

hidden
type: Property
range: boolean

url
type: Property
range: string

addedPrefix
type: Property
range: string

rowQuery
type: Property
range: Select
sub property of: query

selectInstanceClass
type: Property
range: Class
domain: Select instance

Select instance
type: Module
comment: Prompts the user to select an instance by class, and binds the selected resource into the specified output variable. If not selectInstanceClass is specified, then the selection would start at the root class.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#18
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#19
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#20
subclass of: Import from Various
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#21

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#18
type: Argument
optional: true
value type: string
predicate: title
comment: the title of the selection window

title
type: Property
range: string

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#19
type: Argument
optional: true
value type: string
predicate: button label
comment: the label of the button to continue

button label
type: Property
range: string

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#20
type: Argument
comment: The name of the variable that shall contain the selected resource.
predicate: outputVariable

Import from Various
type: Module
subclass of: Import
abstract: true

Import
type: Module
comment: Modules that import information from some data source. Examples include modules to load files, to get XML from web sources and to take user input.
subclass of: Modules
abstract: true
index: 0

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#21
type: Argument
comment: The (optional) class that shall be used as root of a class/instance selection box.
predicate: selectInstanceClass
optional: true

schemaNamespace
type: Property
range: string

selected resource
type: Property
comment: The suggested default property to use in conjunction with sml:SelectedResourceArgument.

calendarProperty
type: Property
domain: Create calendar
range: Property
comment: The properties that shall be shown in the calendar.

Create calendar
type: Module
comment: Creates a calendar view showing resources from one or more SPARQL select queries. Currently only supported within TBC.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#22
subclass of: Export to Various
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#23

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#22
type: Argument
comment: The property that hold the relevant xsd:date and xsd:dateTime values.
predicate: calendarProperty

Export to Various
type: Module
subclass of: Export
abstract: true

Export
type: Module
abstract: true
comment: Modules that create some output, such as files or UI components.
subclass of: Modules
index: 2

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#23
type: Attribute
min count: 1
comment: A SPARQL Select query that returns the subjects that shall be displayed in the calendar. In a typical use case, this query would bind a single result variable that iterates over all "events", where each event has an xsd:date/time value attached to it using sml:calendarProperty.
predicate: select query

select query
type: Property
sub property of: query
range: Select

old graph
type: Property
range: Modules

result
type: Property

database type
type: Property
range: Database type

new graph
type: Property
range: Modules

columnQuery
type: Property
sub property of: query
range: Select

propertyPrefix
type: Property
range: string

replace
type: Property
comment: Specifies whether a module shall overwrite all triples from its predecessors. If set to true (default is false), then the triples from the predecessors shall not be passed through.
range: boolean

variable
type: Property
range: string

template
type: Property
range: string

constructQuery
type: Property
range: Construct
sub property of: query

java class
type: Property

targetFilePath
type: Property
range: string

inferencingMode
type: Property

update query
type: Property
comment: A SPARQL UPDATE query (can be used to insert or delete triples from a graph).
range: Update

password
type: Property
range: string

serialization
type: Property
range: Serialization

emailAccount
type: Property
range: Address

snippet
type: Property

useVerbatim
type: Property
range: boolean

input variable
type: Property
range: string

path
type: Property
range: string
comment: Can be used to represent path expressions such as /INBOX/TBC-MailingList

data path
type: Property

encoding
type: Property
range: string

userName
type: Property
range: string

loadBodies
type: Property
range: boolean

modelName
type: Property
range: string

cellQuery
type: Property
range: Select
sub property of: query

deletedPrefix
type: Property
range: string

sourceFilePath
type: Property
comment: The path to a file relative in the execution context (workspace). Values can be relative to the currently executing script (e.g., subFolder/file.txt) or absolute to the workspace root (starting with /).
range: string

needs tidy
type: Property

on commit
type: Property
range: boolean

cached
type: Property
range: boolean

uri
type: Property
range: string

mimeType
type: Property
range: string
comment: (Reserved for future use.)

ignore imports
type: Property
range: boolean

xmlType
type: Property
range: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#24

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#25
rest: nil
first: XHTML

baseURI
type: Property
range: string
comment: The base URI of an RDF model.

ruleBaseName
type: Property
range: string

Import XHTML
type: Module
subclass of: Import from Remote
comment: Opens an HTML document from a URI, using Tidy to convert it to XHTML (XML). The url must point to the URL of the file. The URL may contain variables from the input modules. The resulting XML will be assigned to the specified output variable.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#26
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#27

Import from Remote
type: Module
subclass of: Import
abstract: true

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#26
type: Argument
predicate: outputVariable
comment: The name of the variable that will contain the XHTML as an XML document. Default: xml.
default value: xml

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#27
type: Argument
predicate: url
comment: The URL of the HTML page. May contain variables such as {?varName}.

Return XML
type: Module
comment: Represents the exit point of a function that returns XML. The function can be referenced from the outside (e.g., as a web service) by its URI or local name.
subclass of: Export to Remote
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#28
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#29

Export to Remote
type: Module
subclass of: Export
abstract: true

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#28
type: Argument
comment: The XML document that shall be returned.
predicate: xml

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#29
type: Argument
optional: true
comment: The (optional) mime type of the result stream.
predicate: mimeType
default value: text/xml

Return text
type: Module
comment: Represents the exit point of a function that returns text (mimetype: text). The function can be referenced from the outside (e.g., as a web service) by its URI or local name. When called from TBE, the resulting text will be displayed to the user in a pop-up dialog.
subclass of: Export to Remote
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#30
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#31

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#30
type: Argument
comment: The (optional) mime type of the result stream.
default value: text
predicate: mimeType
optional: true

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#31
type: Argument
optional: true
comment: The text that shall be returned.
predicate: text

Import RDF from URL
type: Module
comment: Gets RDF data from a given URL. The URL may just point to an RDF/XML file on the web, or call a web service with REST-style parameters to receive RDF/XML back. No other format beside RDF/XML is supported by this module - use sml:ImportRDFFromWorkspace instead.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#32
subclass of: Import from Remote

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#32
type: Argument
predicate: url
comment: The URL of the RDF source. May contain variable bindings such as {?varName}.

Return SPARQL results
type: Module
comment: Runs a SPARQL Select query and returns its result in the standard SPARQL output format.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#33
subclass of: Export to Remote
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#34

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#33
type: Attribute
predicate: select query
comment: The SELECT query to execute.
min count: 1
max count: 1

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#34
type: Argument
value type: ValueType
comment: the serialization format such as XML or JSON
optional: true
predicate: serialization
default value: XML

Bind by select
type: Module
subclass of: Control Flow
comment: Runs a SPARQL select query and binds all result variables of the first matching result set. The input RDF is simply passed through to the next module. For example, if you run SELECT ?name ?age WHERE { my:Person my:name ?name ; my:age ?age } then the variables name and age will be bound as output variables.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#35

Control Flow
type: Module
abstract: true
subclass of: Processing

Processing
type: Module
index: 1
subclass of: Modules
abstract: true
comment: Modules that process data, e.g. to transform, filter and map it.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#35
type: Attribute
comment: A SPARQL Select query that is executed over the input triples. The result variables of the first result row will be bound in the succeeding modules.
predicate: select query
min count: 1
max count: 1

Serialize SPARQLResults
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#36
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#37
subclass of: Text Processing
comment: Executes a SPARQL SELECT query and serializes its result to either XML or JSON format.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#38

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#36
type: Argument
value type: string
predicate: outputVariable
comment: The name of the output variable that will contain the result.
default value: text

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#37
type: Argument
default value: XML
predicate: serialization
optional: true
comment: The serialization format.
value type: ValueType

Text Processing
type: Module
abstract: true
subclass of: Processing

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#38
type: Attribute
min count: 1
max count: 1
comment: The SELECT query to execute.
value type: Select
predicate: select query

Oracle
type: Database type

Merge
type: Module
subclass of: Control Flow
comment: This module type can be used to merge the variables and RDF triples from multiple input modules. The same is done by any other SPARQLMotion script that has multiple input modules. So while the sml:Merge module basically does not do anything at all, it can be useful to create a clean structure in your script, particularly if you have a case when you want to merge multiple graphs and then have multiple outgoing sm:next links from the merged graph.

Import XML from URL
type: Module
subclass of: Import from Remote
comment: Gets XML from a given URL and binds the resulting XML document to a specified output variable. Note that this could either be used to load static XML files from the web, or to call web services that return XML.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#39
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#40

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#39
type: Argument
comment: The URL to the XML file. May contain variables such as {?varName}.
predicate: url

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#40
type: Argument
default value: xml
predicate: outputVariable
comment: The output variable that will hold the loaded XML. Default: xml.

Convert text to RDFList
type: Module
comment: Takes a comma-separated list of URIs as input and creates an rdf:List from it which is then visible to all modules downstream. The rdf:List will be a blank node (or rdf:nil) and the provided output variable will point to it. Note that the RDF output of this module consists of the rdf:List triples only, i.e. the input triples are not passed through. Among others, this module can be used by web services that take lists as input.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#41
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#42
subclass of: Text Processing

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#41
type: Argument
predicate: outputVariable
default value: list
value type: string
comment: the name of the output variable that will contain the rdf:List

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#42
type: Argument
comment: the comma-separated list of URIs
predicate: text
value type: string

Convert text to RDF
type: Module
comment: Converts a text in one of the RDF serializations into an RDF graph. In a typical scenario, the text would be passed into the script as external (web service) input. The result of this module are the input RDF triples plus the parsed triples.
subclass of: Text Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#43
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#44

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#43
type: Argument
value type: Serialization
predicate: serialization
default value: N3
comment: The (optional) serialization format, e.g. N3, XML, Turtle or NTriple. Default: N3.
optional: true

N3
type: Serialization

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#44
type: Argument
predicate: text
comment: The text to parse.

Select resource
type: Module
comment: Prompts the user to select one resource out of a list of resources delivered from a SPARQL query. The selected resource will be bound to the specified variable. Any RDF triples that come in as input are forwarded as output. This module is currently not supported by TopBraid Ensemble.
subclass of: Import from Various
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#45
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#46
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#47
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#48

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#45
type: Attribute
predicate: select query
comment: A SPARQL Select query that delivers the resources that shall be selectable in the UI box.
max count: 1
min count: 1

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#46
type: Argument
value type: string
optional: true
comment: the title of the selection window
predicate: title

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#47
type: Argument
optional: true
value type: string
comment: the label of the button to continue
predicate: button label

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#48
type: Argument
comment: The name of the variable that shall hold the selected resource.
predicate: outputVariable

Bind literal variable
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#49
subclass of: Control Flow
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#50
comment: Binds the output variable with a constant of a given datatype, or with a value derived from one or more other input variable values. The template could be as simple as {?varName} to insert the variable's value or more complex such as {?firstName} {?lastName}. This module can also be used to convert the datatype, e.g. to convert a xsd:string into a xsd:float.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#51

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#49
type: Argument
comment: The name of the output variable.
predicate: outputVariable

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#50
type: Argument
default value: string
comment: The target datatype, e.g. xsd:string or xsd:int. Default: xsd:string.
predicate: datatype
value type: Datatype

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#51
type: Argument
comment: the template string
predicate: template

Clone variable
type: Module
subclass of: Control Flow
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#52
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#53
comment: Clones a given variable value and assigns it to a new output variable. The input variable will keep its value. This module can be useful to "rename" an existing variable so that it has a matching name that is expected by modules downstream in the script. For example, if you have a variable ?xmlFile but a next module expects an input argument ?xml (via an argument sml:xml), then you can use sml:CloneVariable to bind ?xml with the value of ?xmlFile. Note that in many (most?) cases, you can achieve the same by using inline SPARQL expressions: in TBC use "Add SPARQL expression" from the context menu of the property name and enter an expression such as ?xmlFile at the sml:xml property.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#52
type: Argument
predicate: input variable
comment: The name of the input variable that shall be cloned.
value type: string

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#53
type: Argument
value type: string
predicate: outputVariable
comment: The name of the output variable that will be created.

Export to SDB
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#54
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#55
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#56
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#57
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#58
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#59
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#60
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#61
subclass of: Export to Remote
comment: Writes the input triples to a specified Jena SDB database. Note: This is a low-level system module. The preferred way of writing to databases is using sml:PerformUpdate.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#54
type: Argument
value type: Database type
predicate: database type
comment: The database type, e.g. Oracle.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#55
type: Argument
value type: boolean
predicate: replace
default value: true
comment: Indicates whether all existing content of the SDB shall be overwritten.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#56
type: Argument
value type: string
comment: the named graph URI
optional: true
predicate: graph name

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#57
type: Argument
value type: string
optional: true
comment: The user name to log in with.
predicate: userName

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#58
type: Argument
comment: The URL of the database.
predicate: url
value type: string

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#59
type: Argument
predicate: password
value type: string
optional: true
comment: The password to log in with.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#60
type: Argument
value type: string
comment: The base URI of the target SDB database. This will serve as a unique identifier of the triple store in TopBraid, and is typically also represented by an owl:Ontology.
predicate: baseURI

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#61
type: Argument
predicate: targetFilePath
comment: The (optional) path to asdb file that can later be opened from within TopBraid.
optional: true
value type: string

Branch by ask
type: Module
comment: Runs a SPARQL Ask query and, depending on the resulting boolean, either continues with the sm:if or the sm:else branch. Both branches can be sub-scripts, and the sm:if and sm:else should point to the entry points of those sub-scripts. Those entry modules will be passed the same RDF triples and variable bindings as passed to theBranchByAsk module itself. The result of the execution will be the target module (last module in the sub-script) of the selected branch. All variable bindings of the result module will also be passed on as output to the next module(s). Both branches must have exactly one target module. If a branch is empty then the module's input will be passed on unchanged.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#62
subclass of: Control Flow
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#63
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#64

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#62
type: Attribute
comment: The start of the child script that shall be executed if the ask query evaluates to true.
min count: 0
max count: 1
predicate: if

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#63
type: Attribute
max count: 1
comment: The start of the child script that shall be executed if the ask query evaluates to false.
min count: 0
predicate: else

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#64
type: Attribute
comment: The SPARQL Ask query that delivers true (sm:if) or false (sm:else) to determine the branching condition.
min count: 1
max count: 1
predicate: askQuery

Import system triples
type: Module
comment: Imports the RDF Schema and OWL system triples, including the definitions of owl:Class, rdf:type, rdfs:label, rdfs:seeAlso etc. An example use case where this is needed is if you want to query for the rdfs:label of any property including system properties. Another use case is if you want to walk the class hierarchy (using rdfs:subClassOf) including metaclasses and other system classes.
subclass of: Import from Various

Check constraints
type: Module
subclass of: RDF Processing
comment: Runs all SPIN constraints defined in the current input graph. The output of this module will be a new RDF graph that only contains the spin:ConstraintViolation instances. If the SELECT query is specified, then only the selected resources will be checked, not the whole model.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#65

RDF Processing
type: Module
abstract: true
subclass of: Processing

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#65
type: Attribute
predicate: select query
comment: An (optional) SPARQL SELECT query that delivers the resources that shall be checked.
min count: 0
value type: Select
max count: 1

Selected resource argument
type: Template
subclass of: Argument
comment: A system argument representing the "selected" resource. This can be used to implement services that operate on the currently selected resource in TopBraid Composer or Ensemble. The value of this argument will be set automatically by the engine in TBC. In TBE the selected resource's URI needs to be passed in. Note: this replaces sml:BindWithSelectedResource from older TBC versions.
label template: Selected Resource {?predicate}

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#66
type: Argument
optional: true
comment: Indicates whether this is a "hidden" argument. Hidden arguments will not be presented to the user in input dialogs but instead always have their defaultValue.
value type: boolean
predicate: hidden

Import TDB
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#67
subclass of: Import from Local
comment: Opens a Jena TDB database stored in the workspace at a given path. Note: This is a low-level system module. The preferred way of operating on existing TDBs is using sml:ImportRDFFromWorkspace.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#67
type: Argument
comment: The path to the TBD data files. This is usually thetdb connector file name plusdata.
value type: string
predicate: data path

Import from Local
type: Module
comment: Modules that import data from a data source on the user's local machine.
abstract: true
subclass of: Import

Apply Jena inferencing
type: Module
comment: Applies one of the Jena inference engines on the input triples.
subclass of: RDF Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#68

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#68
type: Argument
value type: Jena inferencing mode
comment: Specifies the Jena inferencing mode that shall be applied. The permitted values must be instances of sml:JenaInferencingSpec. Default spec is RDFS_MEM_TRANS_INF.
predicate: inferencingMode
default value: sml:RDFS_MEM_TRANS_INF

Track changes
type: Module
comment: Can be used to implement services that shall be executed as a side effect of a change to an RDF model. In TopBraid, any script containing an instance of this class will be executed as part of each change. The output of this module is using the http://topbraid.org/change ontology, with triples describing the changes that have happened.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#69
subclass of: Import from Various

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#69
type: Argument
value type: boolean
comment: Can be used (in TopBraid Live only) to specify that a script shall be executed after commits, and not after edits. In TBC this is ignored, and script will always be executed after edits.
predicate: on commit
optional: true

Apply OWLIM
type: Module
comment: Runs the OWLIM inferencer over the input triples, adding the inferred triples. Note that this SPARQLMotion module does not (yet) support the various settings of OWLIM that are accessible through TBC. Let us know if you need any of them!
subclass of: RDF Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#70

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#70
type: Argument
value type: boolean
predicate: replace
comment: Specifies whether the resulting infererred triples shall replace the input. If false, the union of inferred triples and old triples are returned.

Filter by filter graph
type: Module
comment: Filters input graphs with filter graphs. This module is linked to filter graph modules by sml:filterGraph property.
subclass of: RDF Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#71

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#71
type: Argument
predicate: filterGraph
comment: The module that contains the triples that shall be filtered out. Must be one of the predecessors of this module, to make sure that it has been executed before.
value type: Modules

Import emails
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#72
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#73
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#74
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#75
subclass of: Import from Remote
comment: Imports email messages from an account. This feature is based on the TopBraid email ontology (http://topbraid.org/email). The property sml:emailAccount must point to one email:Address instance. The system will connect to the account and import its emails into OWL instances of the email ontology.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#72
type: Argument
predicate: loadBodies
comment: Indicates whether the bodies of the email should also be downloaded. Note that the value of true will be significantly slower than the (default value) false.
optional: true
value type: boolean

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#73
type: Argument
predicate: emailAccount
comment: The address to load the emails from. The address must have valid values for email:userName, email:protocol, email:password, email:server.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#74
type: Argument
predicate: baseURI
comment: The base URI of the RDF objects created from the emails.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#75
type: Argument
optional: true
comment: An (optional) path to those folders the headers of which shall be loaded. For example /INBOX/TBC-MailingList will load the emails from the TBC-MailingList folder inside of the INBOX folder.
predicate: path

Iterate over select
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#76
subclass of: Control Flow
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#77
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#78
comment: Repeats a given sub-script for each matching result set for the SPARQL Select query in the module's selectQuery property. The start of the sub-script is specified by the body property. There can only be one body property that invokes a single sub-script. The sub-script must have one target module -- that is, the sub-script cannot have multiple termination points. The input RDF for each iteration is the same as the input of the iteration module itself. The result variables of the Select query will be bound inside the body in each iteration of the sub-script. Also, if the sml:IterateOverSelect module itself receives input variable bindings, and the value of these variables are changed inside the body sub-script (e.g. using sml:AppendText or sml:BindLiteralVariable), then the end value of each iteration will be used in the sub-script itself, and thus also passed into the next iteration's body. This allows scripts to incrementally modify variables. The property sml:iterationVariable can be used to name a variable that will keep an iteration count. The result of this module are the accumulated triples from the end node of the body sub-script. No internal variable bindings of the body will be used outside of the body, unless they have had values before (see above). In many cases, a better alternative to creating "loops" is to use SPARQL directly, and embed some of the control logic into the WHERE clause, possibly through a CONSTRUCT or UPDATE query.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#76
type: Attribute
comment: The body of the iteration loop.
predicate: body
max count: 1
min count: 1

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#77
type: Attribute
comment: A SPARQL Select query that determines the variable bindings for the body in each iteration.
min count: 1
max count: 1
predicate: select query

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#78
type: Argument
optional: true
value type: string
predicate: iteration variable
comment: The name of a variable which will contain the iteration index in each loop, starting with 0.

Perform update
type: Module
subclass of: RDF Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#79
comment: Performs a SPARQL UPDATE call to insert and/or delete triples. This module differs from sml:ApplyConstruct (and other module types) by making persistent changes when the script runs. Therefore this module should be used carefully. The default graph of the WHERE clause is the input graph of the module, i.e. the result of its predecessors. However, these cannot be modified using INSERT or DELETE. Instead, a named graph needs to be provided there, e.g. using MODIFY GRAPH, INSERT INTO or DELETE FROM. In order to manipulate the currently open model in TopBraid, there is a special named graph with the URI <urn:x-tb:session> (formerly called <http://tb-session>). Another special graph is <urn:x-tb:sessionbase> that is mapped to the unbuffered version of the base graph of the current session. In the context of an editing application such as Ensemble, this means that any uncommitted changes are bypassed and instead writes are directly done against the database. SPARQL does not support the use of variables as target graphs, e.g. INSERT INTO ?var is not allowed. In some cases it is necessary to dynamically determine the target graph though. In those cases, the special named graphs <urn:x-var:VARNAME> can be used. VARNAME must be a bound variable pointing to a URI. These URIs must be specific files in the workspace, and it is not valid to redirect to other special URIs such as <urn:x-tb:session>. If this module is used within a TBE script, then the updates to urn:x-tb:session will be applied like other changes by the user, i.e. they are added to the change history without committing them. Changes are committed when the user selects "Save Data". All other named graphs will be committed immediately to the underlying data store.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#79
type: Attribute
comment: The SPARQL UPDATE query to perform. The supported syntax is explained here: http://jena.hpl.hp.com/~afs/SPARQL-Update.html
max count: 1
min count: 1
value type: Update
predicate: update query

Export to Sesame remote repository
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#80
subclass of: Export to Remote
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#81
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#82
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#83
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#84
comment: Writes the input triples into a Sesame remote repository. Note: This is a low-level system module. The preferred way of writing to databases is using sml:PerformUpdate.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#85
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#86
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#87

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#80
type: Argument
optional: true
predicate: userName
comment: The user name if required to log into the repository.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#81
type: Argument
optional: true
comment: true clears the repository before writing into it.
predicate: replace

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#82
type: Argument
predicate: url
comment: The URL of the Sesame server.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#83
type: Argument
comment: the graph name URI
value type: string
optional: true
predicate: graph name

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#84
type: Argument
comment: The id of the model on the server, if necessary.
predicate: modelName
optional: true

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#85
type: Argument
comment: An (optional) path to a connection metadata file that will be created so that tools can connect to the repository later. This path is relative to the workspace root, e.g. "/myProject/myFolder/myFile.s2r". Must be used in conjunction with sml:baseURI.
optional: true
predicate: targetFilePath

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#86
type: Argument
comment: The base URI of the target repository. Must be specified if a connection file (*.s2r) shall be created.
predicate: baseURI
optional: true

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#87
type: Argument
predicate: password
optional: true
comment: The password if required to log into the repository.

Create spreadsheet
type: Module
subclass of: Text Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#88
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#89
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#90
comment: Creates a spreadsheet text from all bindings of a SPARQL SELECT query. The resulting text will be bound to a variable and can then be saved to a file or further processed.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#88
type: Argument
predicate: outputVariable
default value: text
comment: The name of the variable that will hold the resulting spreadsheet string. Default: text.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#89
type: Argument
comment: The separator between each column. Default is the tab character, but a typical alternative is ",".
predicate: separator
optional: true
value type: string

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#90
type: Attribute
comment: The SPARQL Select query that delivers the rows of the spreadsheet. The columns will be the result variables of the query.
max count: 1
min count: 1
predicate: select query

Export to text file
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#91
comment: Saves text to a file. The text must be the value of the specified input variable.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#92
subclass of: Export to Local
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#93

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#91
type: Argument
comment: The path to the file that shall be created. The path can be relative to the current script's folder (e.g., myFolder/test.txt) or absolute to the workspace root /myProject/myFolder/test.txt.
predicate: targetFilePath

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#92
type: Argument
predicate: text
comment: The text that shall be written into the file.

Export to Local
type: Module
abstract: true
subclass of: Export

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#93
type: Argument
comment: Specifies whether this will overwrite a file with the same name (true) or whether it will append to an existing file (false).
predicate: replace
optional: true

Create text from JSP
type: Module
comment: Runs a JSP (with embedded SPARQL) template over the input triples and binds the resulting text as a new string variable. For more see Help > Import and Export > Generating XML/HTML documents with Semantic Java Server Pages. Note that UISPIN is often a good alternative to JSPs.
subclass of: Text Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#97
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#98
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#99

Create UISPIN document
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#94
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#95
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#96
subclass of: Text Processing
comment: Evaluates a given UISPIN document (sml:view) and assigns the resulting XML document to a given string variable (sm:outputVariable). The new variable can then be saved to a file or processed otherwise. All incoming variables of this SM module will be bound in the UISPIN expression. Note that in order to insert a UISPIN view for a given resource (using ui:instanceView etc), you can use the snippet <ui:resourceView ui:resource="{= ?varName }" />. Also note that in order to use HTML or SVG tags in the sml:view, you will need to import the html.rdf or svg.rdf from the UISPIN ontologies into the script.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#94
type: Argument
value type: boolean
comment: True to only create a UISPIN snippet, e.g. without head/body.
optional: true
predicate: snippet

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#95
type: Argument
value type: string
comment: The name of the output variable that will contain the resulting document (as a string).
default value: doc
predicate: outputVariable

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#96
type: Argument
value type: Node
comment: The UISPIN snippet to evaluate.
predicate: view

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#97
type: Argument
comment: The name of the variable that will hold the output of the JSP as an xsd:string. Default: text.
default value: text
predicate: outputVariable

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#98
type: Argument
default value: false
value type: boolean
comment: If set to true then all currently visible variables of the SM script will be pre-bound in the SPARQL queries in the JSP. Default is false, and users can access the script variables using a construct such as <sparql:select var="rs" cls="${param.rsc}"> where ?rsc is a variable in the SPARQLMotion script.
optional: true
predicate: bind variables

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#99
type: Argument
comment: The Semantic JSP template, typically the content of a JSP file that was loaded in a previous step.
predicate: template

PostgreSQL
type: Database type

Filter by construct
type: Module
comment: Uses SPARQL CONSTRUCT queries to enumerate triples that shall be dropped from the input triple stream. The output triples of this module contain all input triples except those enumerated by the construct query. For example, if you want to drop all rdfs:comment triples from the input graph, then use a query such as CONSTRUCT {?s rdfs:comment ?o} WHERE {?s rdfs:comment ?o}.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#100
subclass of: RDF Processing

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#100
type: Attribute
predicate: constructQuery
comment: A SPARQL Construct query delivering the triples that shall be dropped.
min count: 1

Bind by XPath
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#101
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#102
comment: Evaluates an XPath on a given XML node (or document) and binds the first result to a given variable.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#103
subclass of: XML Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#104

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#101
type: Argument
value type: string
predicate: outputVariable
comment: The name of the variable to bind.
default value: value

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#102
type: Argument
predicate: xml
comment: The XML document or node to operate on.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#103
type: Argument
default value: string
optional: true
predicate: datatype
comment: The datatype of the result variable (xsd:string if left blank).
value type: Datatype

XML Processing
type: Module
subclass of: Processing
abstract: true

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#104
type: Argument
predicate: xpath
comment: The XPath to process.
value type: string

Export to RDF file
type: Module
subclass of: Export to Local
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#105
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#106
comment: Creates a new RDF file at the specified path inside the workspace and with the specified base URI. The serialization is derived from the file name according to TopBraid's conventions, e.g. files ending withttl will be written in Turtle format. Note that if an existing file is overwritten (with matching base URI), and the graph of this file has already been loaded, then the system will not reload the new graph. I.e. if the URI specified in sml:baseURI is the same baseURI of a graph currently open in TBC or TBL, the old graph will remain open and the export will only have an effect after closing the other copies. A consequence of this is that you cannot overwrite a file and reload its new content within the same session, e.g. sml:ImportRDFFromWorkspace will still deliver the old graph. In order to modify an existing graph, the recommended approach is to use sml:PerformUpdate.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#105
type: Argument
predicate: targetFilePath
comment: The path of the file to create. The path can be relative to the current script's folder (e.g., myFolder/test.rdf) or absolute to the workspace root /myProject/myFolder/test.rdf. Can be left blank if the base URI already has a representation in the workspace. In that case, the primary file in the workspace will be overwritten.
optional: true

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#106
type: Argument
predicate: baseURI
comment: The base URI under which the resulting file will be registered in the workspace.

Iterate while
type: Module
subclass of: Control Flow
comment: Repeats a sub-script (specified as body) as long as a SPARQL ASK query returns true. The output of each iteration is the input to the next. The output of the whole module is the result of the last iteration. No variable bindings are passed into or out of the body.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#107
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#108

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#107
type: Attribute
comment: The start of the script that shall be executed as body in each iteration. The body must end with a single target module.
predicate: body
max count: 1
min count: 1

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#108
type: Attribute
predicate: askQuery
min count: 1
max count: 1
comment: An ASK query that is executed prior to each iteration. If the query returns false, the iteration stops and the most recent result graph will be returned.

Convert string to SPIN RDF
type: Module
comment: Converts a SPARQL query (in textual form) to a SPIN RDF syntax resource. The resulting output graph will contain exactly the triples of the SPIN query. These triples can then be used, for example, to analyze the structure of a SPARQL query dynamically. The inverse operation can be achieved using the SPARQL function smf:convertSPINRDFToString.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#109
subclass of: Text Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#110

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#109
type: Argument
predicate: text
value type: string
comment: the SPARQL query in textual form; with or without namespace prefixes

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#110
type: Argument
comment: the URI of the query to create (either xsd:string or resource)
optional: true
predicate: uri

Convert datatype
type: Module
comment: Replaces all triples that have a given property as predicate (specified by sml:predicate) by converting its object literals into a different RDF datatype (specified as sml:datatype).
subclass of: RDF Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#111
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#112

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#111
type: Argument
comment: The predicate of the triples that shall be replaced.
predicate: predicate

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#112
type: Argument
value type: Datatype
predicate: datatype
comment: The datatype (e.g. xsd:string) of the new triples. If the datatype is rdfs:Resource and the lexical form of the old value is a valid URI, then the resulting triple will point to a resource with that URI.

Modify prefixes
type: Module
comment: Can be used to add or delete namespace prefix declarations from the input RDF stream so that these new prefixes are visible down stream of this module.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#113
subclass of: RDF Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#114

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#113
type: Attribute
min count: 0
comment: Namespaces to add, in the format "prefix namespace", i.e. the prefix must be followed by a space. Example: "my http://my.com#".
predicate: addedPrefix

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#114
type: Attribute
comment: The prefix(es) to delete, e.g. "my".
predicate: deletedPrefix
min count: 0

Turtle
type: Serialization

Commit changes
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#115
subclass of: Export to Various
comment: This module can be used in conjunction with TBE sessions to commit changes from the session's buffers into the underlying data stores. This is comparable to the "Save Data" button in TBE.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#115
type: Argument
value type: string
comment: An (optional) comment that is only used in teamwork mode, to attach a comment to a Change object. This comment can be collected from the user in earlier steps of a SM script.
optional: true
predicate: comment

Import text file
type: Module
comment: Imports a text file into the xsd:string variable sm:outputVariable.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#116
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#117
subclass of: Import from Local

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#116
type: Argument
default value: text
value type: string
comment: The name of the variable that will contain the text of the file as an xsd:string literal. Default: text.
predicate: outputVariable

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#117
type: Argument
predicate: sourceFilePath
value type: string
comment: The path to a text file. The path can be relative to the current script's folder (e.g., myFolder/test.txt) or absolute to the workspace root /myProject/myFolder/test.txt.

Import java objects from EMF file
type: Module
comment: Loads an EMF file from the workspace and makes it possible to process the resulting Java objects further down in the script (e.g., with sml:ConvertJavaObjectsToRDF).
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#118
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#119
subclass of: Import from Local

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#118
type: Argument
value type: string
comment: The name of the output variable that will contain the reference to the Java objects.
predicate: outputVariable
default value: java

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#119
type: Argument
value type: string
comment: The path to the EMF file.
predicate: sourceFilePath

Iterate over arguments
type: Module
comment: In scripts that are called as web service, this module can be used to iterate over all arguments of the web service. In each iteration, the body will be executed with two variable bindings: the argument name (?argName) and argument value (?argValue), both as xsd:string literals. The result of the module itself will be the union of the results of all body iterations, comparable to sml:IterateOverSelect. In a typical scenario, the body would consist of sml:ApplyConstruct modules that turn the raw arguments into some more meaningful data structure, that is then further processed by the rest of the script.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#120
subclass of: Control Flow

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#120
type: Attribute
max count: 1
min count: 1
comment: The body to execute with the two variable bindings (?argName and ?argValue).
predicate: body

Convert JSON to RDF
type: Module
subclass of: Text Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#121
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#122
comment: Takes a JSON object or array (represented as text) and converts it to RDF triples with the same structure. The result graph will only contain the generated triples - the input graph will be ignored and may need to be passed on with a separate sm:next relationship. The graph uses the namespace prefix "json" for http://topbraid.org/json#. The conversion will start at the JSON root and does a recursive walk through of the JSON objects and arrays. Each JSON object becomes a blank node of type json:Object. Each attribute of the JSON object is mapped into a property from the json namespace, e.g. attribute "firstName" becomes a property json:firstName. No types are generated for those properties (but a simple CONSTRUCT could be used). The values of those properties depend on the JSON attribute value. Arrays are converted to rdf:Lists, JSON objects recursively become new blank nodes. Numbers, booleans and strings become corresponding RDF literals. Optionally, the module can bind a new variable pointing at the root object of the new JSON data structure in RDF.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#121
type: Argument
predicate: outputVariable
default value: root
optional: true
comment: The name of the result variable (defaults to "root") that will contain the root object of the converted JSON code.
value type: string

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#122
type: Argument
predicate: text
comment: The JSON input text, either a JSON object or array.
value type: string

Import Oracle RDF database
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#123
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#124
comment: Connects to an Oracle 11g RDF database. Note: This is a low-level system module. The preferred way of operating on existing databases is using sml:ImportRDFFromWorkspace.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#125
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#126
subclass of: Import from Remote
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#127
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#128

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#123
type: Argument
predicate: modelName
comment: The internal Oracle database name.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#124
type: Argument
comment: The URL of the database.
predicate: url

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#125
type: Argument
value type: boolean
predicate: cached
comment: Indicates whether the Oracle database shall be wrapped with a local cache for optimized performance.
optional: true

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#126
type: Argument
predicate: password
optional: true
comment: The (optional) password to log into the database.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#127
type: Argument
predicate: userName
comment: The (optional) user name to log into the database.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#128
type: Attribute
predicate: ruleBaseName
comment: The name(s) of rule bases that shall be used for server-side inferencing. The standard inferences are RDFS, RDFS++, OWLSIF and OWLPRIME.

Return RDF
type: Module
comment: Represents the exit point of a function that returns RDF. The function can be referenced from the outside (e.g., as a web service) by its URI or local name. The RDF triples will be serialized into either RDF/XML or JSON.
subclass of: Export to Remote
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#129

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#129
type: Argument
value type: ValueType
default value: RDF/XML-ABBREV
predicate: serialization
comment: the serialization format

RDF/XML-ABBREV
type: Serialization

Import Sesame remote repository
type: Module
subclass of: Import from Remote
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#130
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#131
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#132
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#133
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#134
comment: Connects to a remote Sesame 2 repository. Note: This is a low-level system module. The preferred way of operating on existing databases is using sml:ImportRDFFromWorkspace.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#130
type: Argument
optional: true
predicate: userName
comment: The user name if required to log into the repository.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#131
type: Argument
comment: The password if required to log into the repository.
optional: true
predicate: password

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#132
type: Argument
optional: true
predicate: modelName
comment: The id of the model on the server, if necessary.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#133
type: Argument
comment: the named graph URI
optional: true
value type: string
predicate: graph name

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#134
type: Argument
comment: The URL of the Sesame server.
predicate: url

Import RDFa
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#135
subclass of: Import from Remote
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#136
comment: Imports the RDF triples from a given RDFa page with a given URL. Depending on the file format, other kinds of pre-processing may be needed to tidy up the HTML into proper XHTML. This can be specified with an option. By default, well-formed XHTML is assumed.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#135
type: Argument
predicate: url
comment: The URL of the RDFa file (typically HTML).

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#136
type: Argument
predicate: needs tidy
optional: true
comment: If set to true, the engine will attempt to clean up the HTML so that it becomes well-formed XHTML.
value type: boolean

Enter literal
type: Module
subclass of: Import from Various
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#137
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#138
comment: Prompts the user to enter a literal. The resulting value will be bound as literal to the variable specified as sm:outputVariable.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#139

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#137
type: Argument
comment: the text that will appear at the prompt
value type: string
optional: true
predicate: text

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#138
type: Argument
optional: true
predicate: datatype
comment: The type of the value to enter (e.g. xsd:int). Default: xsd:string.
default value: string

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#139
type: Argument
comment: The name of the variable that will contain the entered literal.
predicate: outputVariable

MySQL
type: Database type

Apply Construct
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#140
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#141
subclass of: RDF Processing
comment: Runs one or more SPARQL Construct queries on the input triples. The output RDF will consist of the constructed triples and (unless sml:replace is true) the input triples.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#140
type: Argument
predicate: replace
optional: true
comment: If set to true, the output triples will only contain the constructed triples. If no values or false are specified, the output will be the union of the input triples and the constructed triples.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#141
type: Attribute
comment: The SPARQL Construct queries that deliver the triples that shall be added.
min count: 1
predicate: constructQuery

Apply TopSPIN
type: Module
comment: Applies the TopSPIN rules inference engine on the input graph. This assumes that the input graph contains one or more SPIN rules (stored using the property specified under sml:predicate, which defaults to spin:rule).
subclass of: RDF Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#142
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#143
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#144

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#142
type: Argument
comment: The predicate to get the rules from. Usually spin:rule, but can be any SPIN property (subPropertyOf spin:query)
default value: rule
value type: Property
optional: true
predicate: predicate

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#143
type: Argument
comment: Specifies whether only a single pass over all rules shall be made. By default (false), TopSPIN will iterate until no further inferences have been made.
optional: true
value type: boolean
predicate: single pass

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#144
type: Argument
predicate: replace
optional: true
comment: Specifies whether the resulting infererred triples shall replace the input. If false, the union of inferred triples and old triples are returned.

Convert Java objects to RDF
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#145
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#146
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#147
comment: Converts Java objects (e.g. loaded using sml:ImportJavaObjectsFromEMFFile) into RDF classes, properties and instances that have the same structure. The module will start at a root object and traverse all properties of that object (using JavaBeans-like getter methods), converting each instance into RDF blank nodes. The traversal into adjacent objects only continues if the object has one of the types specified by this module.
subclass of: RDF Processing

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#145
type: Attribute
value type: string
comment: The names of the Java classes in scope of the conversion. All (indirect) instances of those classes will be included in the conversion. The names may end with* to indicate packages.
predicate: java class

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#146
type: Argument
value type: string
comment: The name of the variable that is currently pointing to the Java objects to convert.
predicate: input variable
default value: java

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#147
type: Argument
value type: string
comment: The name of an output variable that will contain the root object (in RDF).
optional: true
predicate: outputVariable

Check spelling
type: Module
comment: Runs a SPARQL select query and binds result variables for each matching result set. Strings bound to variables in the SELECT clause will be passed to a TBL spellchecker, which will parse the string into individual words and return triples representing each word from the string not in the dictionary. Each word returned is represented as an instance of the class http://topbraid.org/spellcheckresults#SpellResult with properties inputString, foundError, mispelledWords, and suggestions, all with the same prefix as SpellResult, http://topbraid.org/spellcheckresults#. The value of the suggestions property is an rdf:Bag with five suggested replacements for the word. In the checked content, terms in all upper-case such as acronyms are ignored. The spellcheck dictionary is included with TopBraid Live (both Personal and Enterprise Server). Words can be added to the dictionary through the sml:UpdateUserWordDictionary module.
subclass of: RDF Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#148

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#148
type: Attribute
comment: The SELECT query that delivers all the literals that shall be spell checked.
value type: Select
predicate: select query
max count: 1
min count: 1

Bind with constant
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#149
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#150
comment: Binds a variable with a given RDF node.
subclass of: Control Flow

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#149
type: Argument
predicate: outputVariable
comment: The name of the variable that will hold the constant. Default: text.
default value: text

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#150
type: Argument
predicate: value
comment: The constant value (either a resource or a literal).

Concatenate text
type: Module
subclass of: Text Processing
comment: Executes a SPARQL Select query and creates a single long text string by concatenating all result variable bindings. This can be used, for example, to create a single "fullName" value from "firstName" and "lastName" properties (in which case the order of variables in the SELECT clause is relevant. Another use case is to build a single long string from multiple property values of the same kind, e.g. to concatenate all text bodies of all RSS items in a newsfeed. The resulting text can then be further processed by text processing modules such as text miners.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#151
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#152
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#153

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#151
type: Argument
default value: text
comment: The name of the output variable that will contain the concatenated text string. Default: text.
predicate: outputVariable

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#152
type: Argument
optional: true
comment: An optional separator that will be inserted between the text units.
predicate: separator

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#153
type: Attribute
predicate: select query
comment: The SPARQL Select query that will deliver the individual values that shall be concatenated.

FunctionModule
abstract: true

Update user word dictionary
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#154
subclass of: RDF Processing
comment: SM Module for adding and removing words from the dictionary of user specified words. Words in the dictionary of user specified words are ignored by the CheckSpelling module.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#154
type: Attribute
value type: Select
min count: 1
max count: 1
predicate: select query
comment: The SELECT query that delivers action (remove / add) and the literal that shall be removed / added from / to the dictionary of user specified words. <http://topbraid.org/spellcheckresults#removeWord> is used to specify remove action and <http://topbraid.org/spellcheckresults#addWord> is used to specify add action.

Import news feed
type: Module
subclass of: Import from Remote
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#155
comment: Connects to a newsfeed specified by a URL and returns its content as RDF triples. Supported formats are Atom 0.3, Atom 1.0, RSS 0.91, 0.92, 1.0, 2.0. The url string may contain variable placeholders such as {?keyword} to insert variable bindings.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#155
type: Argument
predicate: url
comment: The URL of the newsfeed.

Microsoft SQL Server
type: Database type

Create map
type: Module
comment: Creates a geographical map displaying resources from one or more given SPARQL queries. Resources can be displayed on a map if they have geo:lat/long values as objects. Currently only supported within TBC.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#156
subclass of: Export to Various

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#156
type: Attribute
comment: A SPARQL Select query delivering the subjects that shall be displayed. If empty, all subject with a value for geo:lat will be displayed.
predicate: select query
min count: 0

Append text
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#157
subclass of: Text Processing
comment: Appends a given text (possibly containing template expressions, sml:template) to the value of a given variable (sml:variable) and binds the concatenation of the old value plus the new text to the same variable. This can be used to incrementally build up a string.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#158

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#157
type: Argument
value type: string
predicate: template
comment: The (template) string to append to the variable value.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#158
type: Argument
comment: The name of the variable to append to.
value type: string
default value: text
predicate: variable

Catch exceptions
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#159
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#160
comment: Runs a sub-script (sm:body) and catches any errors (Java Exceptions) that happened within it. Normally, the SPARQLMotion engine exits on hitting any Exception, but this module provides a level of error handling. If an error occurs, then the result variable (sm:outputVariable) will contain the error message, and the result graph will be the same as the input of the module itself. Otherwise, the output graph will be the last module of the nested body script, and any variable bindings from the body will be applied to the next modules.
subclass of: Control Flow

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#159
type: Argument
default value: error
comment: The name of the output variable that shall hold the error message.
value type: string
predicate: outputVariable

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#160
type: Attribute
max count: 1
value type: Modules
min count: 1
comment: The head of the script to execute. Must have a single end module.
predicate: body

Export to Oracle RDF database
type: Module
subclass of: Export to Remote
comment: Connects to an Oracle 11g RDF database and writes the input triples into it. Note: This is a low-level system module. The preferred way of writing to databases is using sml:PerformUpdate.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#161
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#162
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#163
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#164
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#165
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#166

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#161
type: Argument
predicate: url
comment: The URL of the database.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#162
type: Argument
comment: the mode of export to use
default value: ExportBulk
value type: Oracle export mode
predicate: exportMode

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#163
type: Argument
predicate: userName
comment: The user name to log in with.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#164
type: Argument
optional: true
predicate: password
comment: The password to log in with.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#165
type: Argument
comment: true to replace all triples currently in the database.
optional: true
predicate: replace

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#166
type: Argument
comment: The internal Oracle name of the database.
predicate: modelName

Display edit form
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#167
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#168
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#169
comment: Displays a form that enables end-users to edit an instance of a given class. The new triples will be added to a run-time RDF graph and can then be queried by the next modules in the script. Note that the output RDF graph may contain other triples (such as imports or form declarations) which should be ignored - the only "save" triples to get are the direct property values of the resource specified by outputVariable. This module is currently supported by TBC and TBE.
subclass of: RDF Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#170

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#167
type: Argument
predicate: button label
comment: the label of the button under the form
optional: true
value type: string

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#168
type: Argument
predicate: title
comment: the title of the edit form
optional: true
value type: string

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#169
type: Argument
predicate: class
value type: Class
comment: the class of the instance to edit

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#170
type: Argument
predicate: outputVariable
value type: string
comment: the name of the variable that can be used to access the edited instance in the next modules
default value: instance

Create SPIN Result Set
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#171
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#172
comment: Converts the result set of a given SPARQL SELECT query (sml:selectQuery) to an SPIN result set (SPR table resource). The resulting resource can then be queried using the SPR functions. The output graph of this module contains only table triples.
subclass of: RDF Processing

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#171
type: Argument
comment: The SELECT query to evaluate.
predicate: select query

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#172
type: Argument
value type: string
predicate: outputVariable
comment: The name of the output variable that will point to the new spr:Table resource.
default value: table

Bind with selected resource
type: Module
subclass of: Control Flow
comment: Deprecated since 2.0.0/TopBraid 3.0: use sml:SelectedResourceArgument in a function definition instead.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#173
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#174
type: DeprecatedClass

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#173
type: Argument
default value: resource
comment: The name of the variable that will point to the currently selected resource. Default: resource.
predicate: outputVariable

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#174
type: Attribute
max count: 1
predicate: askQuery
comment: An optional ASK query that can be used to determine whether this input is assigned for the given resource. The query will be executed with the outputVariable (default: ?resource) already bound. For example, if this returns true for the selected resource, then TopBraid Composer would display the sml:ReturnXY nodes in drop down menus for the resource.

Assert true
type: Module
comment: Evaluates an ASK condition and stops the execution of the script and reports an error if the condition is false. This module is particularly useful for web services that simply cannot execute if unexpected situations are encountered. The module will simply pass through all variable bindings and RDF triples if no errors are found.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#175
subclass of: Control Flow
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#176

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#175
type: Attribute
value type: Ask
predicate: askQuery
comment: The ASK query that must return true.
max count: 1
min count: 1

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#176
type: Argument
comment: the error message
optional: true
value type: string
predicate: text

Import current RDF
type: Module
subclass of: Import from Various
comment: Depending on the context, this module delivers different results. When called from a TBE session, this will return the session's RDF graph. When called from TBC, this will also return the RDF graph of the currently open file. In many use cases this will include the script itself, unless the script is a background service such as an sml:TrackChanges script. When called from a user-defined SPARQLMotion/SPIN Function, this module will return the context graph, which is the graph that the surrounding SPARQL query will currently operate on. When called as a TopBraid Live (stand-alone) web service, this module will throw an exception because there is no current graph available.

Import XML file
type: Module
comment: Loads an XML file, specified by a file path and binds the resulting document as an XML DOM tree to the specified output variable. This module is often the starting point of XML processing steps such as XSLT transformations or XPath queries.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#186
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#187
subclass of: Import from Local

Iterate over XPath
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#177
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#178
comment: Evaluates an XPath on a given XML document (or node) and executes a given body for each binding. The outputVariable will be bound in each iteration of the loop, bound to the XML node. The main use case of this module is in combination with sml:BindByXPath: IterateOverXPath walks through a list of top-level nodes and sml:BindByXPath is then used to extract individual values in each iteration.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#179
subclass of: XML Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#180

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#177
type: Argument
value type: string
predicate: outputVariable
default value: xml
comment: The name of the variable that will be bound in each iteration.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#178
type: Attribute
predicate: body
comment: The body to execute in each iteration.
max count: 1
min count: 1

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#179
type: Argument
predicate: xml
comment: The XML node (document or element) to operate on.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#180
type: Argument
predicate: xpath
value type: string
comment: The XPath to evaluate.

Export to XML file
type: Module
subclass of: Export to Local
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#181
comment: Creates an XML file from the value of the input variable.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#182

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#181
type: Argument
predicate: targetFilePath
comment: The path to the output file. The path can be relative to the current script's folder (e.g., myFolder/test.xml) or absolute to the workspace root /myProject/myFolder/test.xml.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#182
type: Argument
predicate: xml
comment: The XML document that shall be written to the file.

Convert XML by XSLT
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#183
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#184
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#185
subclass of: XML Processing
comment: Converts an XML document into another XML document using XSLT. The source XML document is either a XML or string variable. The target XML document is a string variable. XSLT script is provided as a string.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#183
type: Argument
comment: The source XML variable
predicate: xml

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#184
type: Argument
predicate: outputVariable
default value: xml
comment: The generated XML string variable. The recommended module to export or return the value of this variable is sml:ExportToXMLFile or sml:ReturnXML.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#185
type: Argument
comment: The string variable holding the XSLT script
predicate: template

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#186
type: Argument
value type: string
predicate: sourceFilePath
comment: The path to the XML file in the workspace. The path can be relative to the current script's folder (e.g., myFolder/test.xml) or absolute to the workspace root /myProject/myFolder/test.xml.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#187
type: Argument
value type: string
predicate: outputVariable
default value: xml
comment: The name of the variable containing the XML data. Default: xml.

Apply Pellet
type: Module
subclass of: RDF Processing
comment: Applies the Pellet inference engine on the input triples.

Bind with parameter
type: DeprecatedClass
subclass of: Control Flow
comment: Deprecated since 2.0.0: Web Services are now defined like user-defined functions and SPIN functions, and the parameters are instances of spl:Argument.
abstract: true
type: Module

Module
abstract: true

Apply Jena rules
type: Module
subclass of: RDF Processing
comment: Applies the rules specified as values of the jena:rule property in the source ontologies. Furthermore, all SWRL rules (swrl:Imp) will be converted to Jena rules before execution. The inferred triples will be added to the input.

Return UISPIN document
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#188
subclass of: Export to Remote
comment: Creates a UISPIN document using the current variable bindings and returns the resulting document as XHTML or SVG to the caller of the web service. Note that in order to insert a UISPIN view for a given resource (using ui:instanceView etc), you can use the snippet <ui:resourceView ui:resource="{= ?varName }" />. Also note that in order to use HTML or SVG tags in the sml:view, you will need to import the html.rdf or svg.rdf from the UISPIN ontologies into the script.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#189
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#190

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#188
type: Argument
predicate: view
comment: A UISPIN document to render. This document may reference the bound variables of this module.
value type: Node

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#189
type: Argument
predicate: mimeType
optional: true
comment: Overrides the default mime type returned by the UISPIN engine.
value type: string

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#190
type: Argument
predicate: snippet
optional: true
comment: True to only create a UISPIN snippet, e.g. without head/body.
value type: boolean

Iterate over SQL
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#191
comment: Repeats a given sub-script for each matching result set of a given SQL Select query. The system will do a mapping of SQL values to suitable XSD datatypes. The start of the sub-script is specified by the body property, and the input RDF of the body is the same as the input of the iteration module itself. The result variables of the Select query will be bound in each iteration of the loop. The result of this module are the accumulated triples from the end nodes of the body scripts. No internal variable bindings of the body will be used outside of the body.
subclass of: Control Flow
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#192
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#193
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#194
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#195
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#196

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#191
type: Argument
value type: string
optional: true
comment: The password for the database.
predicate: password

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#192
type: Argument
value type: string
predicate: sql
comment: The SQL SELECT query to send to the database.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#193
type: Attribute
max count: 1
min count: 1
predicate: body
comment: The body of the iteration loop.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#194
type: Argument
comment: The user name for the database.
optional: true
value type: string
predicate: userName

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#195
type: Argument
predicate: url
comment: The URL of the database.
value type: string

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#196
type: Argument
predicate: database type
comment: The type of the database.
value type: Database type

Post request
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#197
subclass of: Export to Remote
comment: Sends a POST request to a web server and binds the result stream with the outputVariable. By default, the request will not include any variable bindings. In order to pass in any other parameters, you need to subclass the sml:PostRequest class and declare the additional arguments as spin:constraints. The system will then iterate over all arguments (other than url and outputVariable) that are declared for this type.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#198

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#197
type: Argument
comment: The URL to post to.
predicate: url
value type: string

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#198
type: Argument
value type: string
predicate: outputVariable
comment: The name of the output variable to bind the result with.
default value: response

Return node
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#199
subclass of: Export to Remote
comment: Returns an RDF node as a result of a script. This module is typically used as exit point of a user-defined SPIN function and web service. The sm:returnModule of the function will point to this.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#199
type: Argument
comment: the result, usually passed in from a previous module
predicate: result

Collect garbage
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#200
comment: Collects "garbage" to clean up memory from RDF models that are no longer used. Currently, this requires specifying the base URI of a graph that has been previously loaded. Note that the use of this module is not safe in a multi-user setting, and should only be used if you know what you are doing.
subclass of: Control Flow

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#200
type: Argument
comment: The base URI of the RDF model to "forget".
predicate: baseURI
value type: string

Track EMails
type: Module
comment: Serves as an entry point for scripts that are triggered by incoming emails. If a new message has been detected for the provided account, then this module will produce triple representing the new message as an anonymous instance of the email:Message class.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#201
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#202
subclass of: Import from Various

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#201
type: Argument
comment: The email account to track messages at.
predicate: emailAccount
value type: Address

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#202
type: Argument
value type: string
comment: The path to the folder to get (e.g. "INBOX")
predicate: path

Import GRDDL
type: Module
subclass of: Import from Remote
comment: Imports RDF triples from a GRDDL-enabled web page.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#203

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#203
type: Argument
predicate: url
comment: The URL of the GRDDL source document.

Import SDB
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#204
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#205
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#206
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#207
subclass of: Import from Remote
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#208
comment: Connects to an existing Jena SDB database. Note: This is a low-level system module. The preferred way of operating on existing SDBs is using sml:ImportRDFFromWorkspace.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#204
type: Argument
value type: string
comment: the named graph URI
optional: true
predicate: graph name

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#205
type: Argument
predicate: url
comment: The database URL.
value type: string

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#206
type: Argument
predicate: password
value type: string
optional: true
comment: The password of the connection.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#207
type: Argument
value type: string
optional: true
predicate: userName
comment: The user name of the connection.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#208
type: Argument
value type: Database type
comment: The database type, such as Oracle.
predicate: database type

NTriple
type: Serialization

Diff
type: Module
subclass of: RDF Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#209
comment: Returns a diff graph between an old graph and a new graph. This module is related to the old graph with sml:oldGraph and the new graph with sml:newGraph properties.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#210

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#209
type: Argument
predicate: old graph
comment: The module representing the old graph. Must be a predecessor of the current module to ensure that the module has been executed before.
value type: Modules

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#210
type: Argument
comment: The module representing the new graph. Must be a predecessor of the current module to ensure that the module has been executed before.
value type: Modules
predicate: new graph

Create matrix
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#211
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#212
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#213
subclass of: Text Processing
comment: Creates a matrix (spreadsheet) and binds it as a text value to a given output variable. The rows and columns of the matrix are specified by two SPARQL queries. These queries must deliver variable bindings to enumerate the resources that shall be used as rows and columns. The cell values are then computed using a third query (cellQuery) that should reference the bound variable names from the row and column queries.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#214

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#211
type: Argument
default value: text
comment: The variable that will contain the resulting matrix as an xsd:string literal. Default: text.
predicate: outputVariable

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#212
type: Attribute
min count: 1
comment: A SPARQL Select query that delivers the resources or literals that define the rows. The query should have a single result variable, and this variable should be used in the cell query.
max count: 1
predicate: rowQuery

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#213
type: Attribute
comment: A SPARQL Select query that is executed for each cell in the matrix. The query should reference the result variables of column and row queries (these will be bound automatically by the engine).
min count: 1
max count: 1
predicate: cellQuery

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#214
type: Attribute
comment: A SPARQL Select query that delivers the resources or literals that define the colums. The query should have a single result variable, and this variable should be used in the cell query.
max count: 1
predicate: columnQuery
min count: 1

Send emails
type: Module
subclass of: Export to Remote
comment: Sends one or more emails. In a typical scenario, previous steps such as sml:ApplyConstruct have created instances of email:Message. The body of the emails could be created using sml:CreateTextFromJSP. A SPARQL Select query is then used to select those messages that shall be sent out, based on the given server parameters.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#215
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#216

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#215
type: Argument
predicate: smtpServer
comment: The SMTP server that shall be used to send the emails from.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#216
type: Attribute
min count: 1
max count: 1
predicate: select query
comment: A SPARQL Select query that binds instances of email:Message to send out.

Export to TDB
type: Module
subclass of: Export to Local
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#217
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#218
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#219
comment: Export the input RDF triples to a given Jena TDB database. Note: This is a low-level system module. The preferred way of writing to databases is using sml:PerformUpdate.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#217
type: Argument
optional: true
value type: boolean
predicate: replace
comment: True to overwrite any pre-existing database at this location.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#218
type: Argument
predicate: targetFilePath
comment: The path to the TDB database.
value type: string

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#219
type: Argument
value type: string
comment: The base URI for the TDB repository.
predicate: baseURI

Call Calais
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#220
comment: Runs the OpenCalais web service to extract RDF entities from text. The result will be the input triples plus the extracted triples (instances of the Calais ontology classes).
subclass of: Text Processing

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#220
type: Argument
comment: The text that shall be sent to the Calais service.
predicate: text

Request lock
type: Module
subclass of: Control Flow
comment: Requests a lock to get exclusive access to the TopBraid platform. This will make sure that no other thread is executing, so that the following modules in the script can proceed without risking interrupts or concurrent modification exceptions. When reached, the module will wait until all other threads have finished, then continue execution. The lock will be released if the script terminates or sml:ReleaseLock is reached. Please use this module with care and release the lock as quickly as possible to avoid contention issues. Other concurrent requests may need to wait until the script has been finished.

Release lock
type: Module
comment: Releases any exclusive system lock previously received using sml:RequestLock.
subclass of: Control Flow

Import Excel cell instances
type: Module
comment: Loads an Excel file into instances of the TopBraid spreadsheets ontology - each non-empty cell becomes an instance of ss:Cell. In a typical scenario, the resulting cell instances are passed into other modules (such as sml:ApplyConstruct) to convert the raw data into a more useful format. This module provides the functionality that is accessible from TBC, as described in Help > Import > Import Excel File into Spreadsheet Ontology. This module is distinct from the Semantic Tables importer, which can be used with sml:ImportRDFFormWorkspace to also import Excel files. The latter is better suited for spreadsheets consisting of regular tables, while this module here is optimized for cases in which the Excel file is not well-structured and each individual cell has a different meaning or role.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#231
subclass of: Import from Local

Convert spreadsheet to RDF
type: Module
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#221
comment: Creates an RDF graph from a tab-separated spreadsheet which is specified from a given string variable. In a typical use case, this will be used after sml:ImportTextFile, which binds the variable text which is also the default input variable of this module. For very large files that cannot be loaded into memory, the module provides the option to specify a file directly using sml:sourceFilePath. Note that TopBraid supports multiple spreadsheet importer algorithms, including Semantic Tables and the Excel cell importer (sml:ImportExcelCellInstances). This module provides the functionality that is accessible through the TopBraid Composer Spreadsheet import wizard (Help > Import > Import Tab-Delimited Spreadsheet File).
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#222
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#223
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#224
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#225
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#226
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#227
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#228
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#229
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#230
subclass of: Text Processing

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#221
type: Argument
predicate: instancePattern
comment: The naming pattern for the generated instances. This can contain static characters or placeholders for columns. For example Person-%1 will create names that consist of the static string "Person-" and then the value of the first column.
optional: true

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#222
type: Argument
comment: The prefix that shall be used for the generated property names. Only used if no qname is specified for a column property and if a new graph is created from the spreadsheet, i.e. importToInputGraph value is false.
optional: true
predicate: propertyPrefix

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#223
type: Argument
optional: true
comment: The spreadsheet's text that shall be converted. If sml:sourceFilePath is set then this value is ignored.
predicate: text

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#224
type: Argument
optional: true
comment: An optional file path to the spreadsheet. If this is specified then the module will directly do streaming loading from the given file. This should make it possible to handle files of arbitrary size.
predicate: sourceFilePath

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#225
type: Argument
predicate: schemaNamespace
comment: The base namespace of the target schema.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#226
type: Argument
optional: true
predicate: useUnderscore
comment: If true, it replaces special characters, i.e. characters that cannot be imported by default to create a resource URI, with an underscore. If false, these characters are ignored during import.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#227
type: Argument
comment: The canonical name of the text encoding of the spreadsheet file. If no value for this property is given, then the default JRE encoding is used. If an encoding value is given for this property, then the spreadsheet file will be evaluated using this value. The supported encodings can be found at the website: <http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html>
predicate: encoding
optional: true

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#228
type: Argument
predicate: useVerbatim
optional: true
comment: If true, it imports special characters, i.e. characters that cannot be imported by default to create a resource URI. If false, these characters are ignored during import.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#229
type: Argument
comment: The optional name of the target class. If this value is unspecified, then cell (0, 0) of the spreadsheet is used instead. This value can be a localname, a qname or a URI string. If it doesn't exist, then it is created.
optional: true
predicate: className

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#230
type: Argument
optional: true
value type: boolean
predicate: import to input graph
comment: If set to true, then the import will attempt to reuse properties defined in the input RDF graph for the column-to-property mapping.

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#231
type: Argument
comment: The path to the Excel source file in the workspace. The path can be relative to the current script's folder (e.g., myFolder/test.xls) or absolute to the workspace root /myProject/myFolder/test.xls.
predicate: sourceFilePath
value type: string

Import RDF from workspace
type: Module
comment: Loads an RDF file from the workspace, based on its base URI (or a path to the file). If the file is already open, it will reuse the currently open model (including any changes that it has compared to the persistent version). The system will use which ever physical file has been registered for the given base URI. This is the recommended module to load any file type supported by TopBraid, including file serializations (N3, Turtle, RDF/XML and N-TRIPLE), data connectors, XML files (Semantic XML), Excel 2003xls files (Semantic Tables), etc. If the file being opened is a file, the file is loaded into memory. If it is a data connector (RDF or relational back-end), the data source is opened, but no data is loaded into memory.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#232
subclass of: Import from Local
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#233
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#234

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#232
type: Argument
comment: An (optional) file path pointing to the file that shall be opened. The system will look up the base URI of that file and then open that base URI. This means that if the workspace contains multiple copies of that base URI then it may actually load a different file than the one specified here (it will always use the primary file).
predicate: sourceFilePath
value type: string
optional: true

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#233
type: Argument
comment: Indicates whether owl:imports shall be ignored. If false, then the union of the base graph plus its (transitive) imports will be returned.
optional: true
value type: boolean
default value: false
predicate: ignore imports

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#234
type: Argument
predicate: baseURI
value type: string
optional: true
comment: The (optional) base URI of the model to open. Either this baseURI must be specified or the sourceFilePath. If both are present then the baseURI has priority.

Convert RDF to XML
type: Module
comment: Converts RDF into XML using the Semantic XML (sxml) ontology for the round-tripping. The resulting XML will be bound to the specified output variable. Note that this requires the RDF model to contain an SXML root document element - this function does not work with arbitrary RDF data! For more, see Help > Import and Export > Creating, Importing, Querying, Saving XML documents with Semantic XML.
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#235
subclass of: XML Processing

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#235
type: Argument
default value: xml
comment: The name of the variable that will hold the resulting XML data. Default: xml.
predicate: outputVariable

Convert XML to RDF
type: Module
comment: Converts an arbitrary XML input model into an RDF graph using the Semantic XML mapping approach. For more, see Help > Import and Export > Creating, Importing, Querying, Saving XML documents with Semantic XML.
subclass of: XML Processing
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#236
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#237
constraint: http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#238

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#236
type: Argument
comment: The XML document that shall be converted to RDF.
predicate: xml

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#237
type: Argument
predicate: baseURI
comment: The base URI of the new RDF (for the creation of the new class and property names).

http://lodlaundromat.org/.well-known/genid/6ed8b171fe19654c609ef233cb108763#238
type: Argument
predicate: xmlType
comment: An (optional) type indicator for the Semantic XML conversion. Current supported values are "XHTML" (treats the input as HTML source, and may run a tidy algorithm in case the HTML is not well-formed XHTML).
optional: true