TopBraid SparqlMotion Library

Apply Jena inferencing

URL: http://topbraid.org/sparqlmotionlib#ApplyJenaInferencing 
Input type: RDF  
Output type: RDF  
Description: Applies one of the Jena inference engines on the input triples.

 

Apply Jena rules

URL: http://topbraid.org/sparqlmotionlib#ApplyJenaRules 
Input type: RDF  
Output type: RDF  
Description: Applies the rules specified as values of the jena:rule property in the source ontologies.

 

Apply OWLIM

URL: http://topbraid.org/sparqlmotionlib#ApplyOWLIM 
Input type: RDF  
Output type: RDF  
Description: Runs the OWLIM inferencer over the input triples, adding the inferred triples.

 

Apply resource constructors

URL: http://topbraid.org/sparqlmotionlib#ApplyResourceConstructors 
Input type: RDF  
Output type: RDF  
Description: Runs all sparql:constructors for all resources in the input model and adds the resulting triples.

 

Convert XML to XMap

URL: http://topbraid.org/sparqlmotionlib#ConvertXML2XMap 
Input type: XML  
Output type: RDF  
Description: Converts an XML input model into an XMap RDF graph.

 

Convert XMap to XML

URL: http://topbraid.org/sparqlmotionlib#ConvertXMapToXML 
Input type: RDF  
Output type: XML  
Description: Converts XMap RDF into XML.

 

Convert datatype

URL: http://topbraid.org/sparqlmotionlib#ConvertDatatype 
Input type:  
Output type:  
Description: 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).

 

Create RDF file

URL: http://topbraid.org/sparqlmotionlib#CreateRDFFile 
Input type: RDF  
Output type:  
Description: Creates a new RDF file at the specified path inside the workspace and with the specified base URI.

 

Create XML file

URL: http://topbraid.org/sparqlmotionlib#CreateXMLFile 
Input type:  
Output type: XML  
Description: Creates an XML file from the input XML model.

 

Create XML from JSP

URL: http://topbraid.org/sparqlmotionlib#CreateXMLFromJSP 
Input type:  
Output type:  
Description: Executes a given Java Server Page and renders the result into XML output.

 

Create calendar

URL: http://topbraid.org/sparqlmotionlib#CreateCalendar 
Input type: RDF  
Output type:  
Description: Creates a calendar view showing resources from one or more SPARQL select queries.

 

Create file from JSP

URL: http://topbraid.org/sparqlmotionlib#CreateFileFromJSP 
Input type: RDF  
Output type:  
Description: Runs a JSP page (typically containing SPARQL calls) and saves the resulting output into a specified file. The targetFilePath points to the output file (relative to the workspace root). The sourceFilePath (relative to the workspace root) has to point to a valid JSP file.

 

Create map

URL: http://topbraid.org/sparqlmotionlib#CreateMap 
Input type: RDF  
Output type:  
Description: Creates a geographical map displaying resources from one or more given SPARQL queries.

 

Create matrix

URL: http://topbraid.org/sparqlmotionlib#CreateMatrix 
Input type: RDF  
Output type:  
Description: Creates a matrix and (optionally) writes it into a spreadsheet file. If no target file is specified, the engine can decide what it wants to do with the results. 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.

 

Create spreadsheet file

URL: http://topbraid.org/sparqlmotionlib#CreateSpreadsheetFile 
Input type: RDF  
Output type:  
Description: Creates a (tab-separated) spreadsheet text file from all bindings of a SPARQL SELECT query.

 

Enter literal

URL: http://topbraid.org/sparqlmotionlib#EnterLiteral 
Input type:  
Output type: RDF  
Description: Prompts the user to enter a literal. The resulting literal will be the object of a triple with specified rdf:subject and rdf:predicate.

 

Filter by construct

URL: http://topbraid.org/sparqlmotionlib#FilterByConstruct 
Input type: RDF  
Output type: RDF  
Description: Uses SPARQL CONSTRUCT queries to enumerate triples that shall be dropped from the input triple stream.

 

Iterate over select

URL: http://topbraid.org/sparqlmotionlib#IterateOverSelect 
Input type: RDF  
Output type: RDF  
Description: Repeats a given sub-script for each matching result set of a given SPARQL Select query. The start of the sub-script is specified by the body property, and the module must handle RDF input, which is the same as the Iterate 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. *** Note that the current TopBraid implementation of this assumes that body points to a single module, i.e. no nested chains are supported yet ***

 

Load Oracle RDF database

URL: http://topbraid.org/sparqlmotionlib#LoadOracleRDFDatabase 
Input type:  
Output type: RDF  
Description: A connection to an Oracle 11g RDF database.

 

Load RDF from URL

URL: http://topbraid.org/sparqlmotionlib#LoadRDFFromURL 
Input type:  
Output type: RDF  
Description: Gets RDF data from a given URL. The URL may just point to an RDF/OWL file on the web, or call a web service with REST-style parameters to receive RDF/XML back. The parameters will be assigned from the execution context's variable bindings.

 

Load RDF from workspace

URL: http://topbraid.org/sparqlmotionlib#LoadRDFFromWorkspace 
Input type:  
Output type: RDF  
Description: Loads an RDF project from the workspace, based on its base URI. If the file is already open, it will reuse the currently open model (including any changes that it has compared to the persistent version).

 

Load XHTML file

URL: http://topbraid.org/sparqlmotionlib#LoadXHTMLFile 
Input type:  
Output type: XML  
Description: An HTML file, using Tidy to convert it to XHTML. The url must point to the URL of the file. The URL may contain variables from the input modules.

 

Load XML file

URL: http://topbraid.org/sparqlmotionlib#LoadXMLFile 
Input type:  
Output type: XML  
Description: An XML file, specified by a file path.

 

Load current RDF

URL: http://topbraid.org/sparqlmotionlib#LoadCurrentRDF 
Input type:  
Output type: RDF  
Description: The RDF triples of this SparqlMotion script itself. This is most useful to include the namespace prefix definitions from this file.

 

Load news feed

URL: http://topbraid.org/sparqlmotionlib#LoadNewsFeed 
Input type:  
Output type: RDF  
Description: 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.

 

Load system triples

URL: http://topbraid.org/sparqlmotionlib#LoadSystemTriples 
Input type:  
Output type: RDF  
Description: The RDF Schema and OWL system triples.

 

Select instance

URL: http://topbraid.org/sparqlmotionlib#SelectInstance 
Input type: RDF  
Output type: RDF  
Description: Prompts the user to select an instance by class, and binds the selected resource into the specified variable. If not selectInstanceClass is specified, then the selection dialog would start at the root class. Any RDF triples that come in as input are forwarded as output.

 

Select resource

URL: http://topbraid.org/sparqlmotionlib#SelectResource 
Input type: RDF  
Output type: RDF  
Description: 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.