0 ×

SPARQL Update

StreamableKNIME Semantic Web Nodes version 4.2.0.v201912131004 by KNIME AG, Zurich, Switzerland

This node updates triples in a Semantic Web endpoint based on the triples from the input table. It is mandatory to choose a column for "Update value".

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

Additionally, you have to select further columns for subject, predicate and object. If all triple columns are selected (i.e. subject, predicate, object), the table is read out row-wise. It is possible to leave out subject, predicate, object cells empty; but at least one of these cells has to be non-empty.
Always the least significant element is updated with the entry in column "Update value". For instance, the following inputs are permitted:

Subject Predicate Object Update value Which element is updated?
Peter Martin Subject
Country Home Predicate
Germany Austria Object
Peter Country Home Predicate
Peter Country Germany Austria Object


If only one or two of the triple columns are picked, only these selected columns will be read-out. For instance, if you desire to update an object in a specific triple like
Subject Predicate Object Update value Which element is updated?
Peter Country Germany Austria Object
but only subject and predicate column are chosen, the update query will be interpreted as
Subject Predicate Object Update value Which element is updated?
Peter Country Austria Predicate
This may yield wrong results.

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.
Update
Column containing update values.
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.
Update 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 update triples in the update 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.
Update Prepend
If chosen, the update 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

Best Friends (Incoming)

Best Friends (Outgoing)

  • WrappedNode Output (50 %) 
  • SPARQL Query (50 %) Streamable

Workflows

Installation

To use this node in KNIME, install KNIME Semantic Web from the following update site:

KNIME 4.2

A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.

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.