SPARQL Insert

This node inserts Semantic Web triples in an endpoint. A triple consists of subject (URI), predicate (URI), object (URI, literal). URIs have to be encapsulated in angled brackets (<, >), literals can be in their lexical form or in combination with their data type. Graph names do not need to be placed in angled brackets when entering them in the dialogue, or when they are given in table. Setting subject, predicate and object is mandatory.

In order to prepend namespaces it is necessary to choose Prepend in the settings dialogue.

The usage of option "Graph name" and "Global graph name":

Graph name Graph name cell Global Graph name Used
selected not missing don't care Graph name cell
selected missing not empty Global Graph name
selected missing empty Default graph
not selected don't care not empty Global graph name
not selected don't care empty Default graph
Attention: It depends on connected Semantic Web endpoint whether using default graph is permitted.

Functionality is provided using the Apache Jena Framework

Options

Subject
Column containing subjects of triples.
Predicate
Column containing predicates of triples.
Object
Column containing objects of triples.
Subject Namespace
If a namespace is given, the namespace of subject URIs will be changed.
Predicate Namespace
If a namespace is given, the namespace of predicate URIs will be changed.
Object Namespace
If a namespace is given, the namespace of object URIs will be changed.
Graph name
Column containing the names of the graphs in which the triplets should be stored.
Graph Namespace
If a namespace is given, the namespace of Graph URIs will be changed.
Global graph name
Graph name used for all input triples in the input table.
Subject Prepend
If chosen, the subject namespace will always be prepended.
Predicate Prepend
If chosen, the predicate namespace will always be prepended.
Object Prepend
If chosen, the object namespace will always be prepended.
Graph Prepend
If chosen, the graph namespace will always be prepended.

Input Ports

Icon
Semantic Web connection
Icon
Table containing triples and graph names

Output Ports

Icon
Semantic Web connection

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.