Hub
Pricing About
NodeNode / Manipulator

SPARQL Update

KNIME LabsSemantic Web/Linked DataRead/WriteStreamable
Drag & drop
Like

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:

SubjectPredicateObjectUpdate valueWhich element is updated?PeterMartinSubjectCountryHomePredicateGermanyAustriaObjectPeterCountryHomePredicatePeterCountryGermanyAustriaObject

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 SubjectPredicateObjectUpdate valueWhich element is updated?PeterCountryGermanyAustriaObject but only subject and predicate column are chosen, the update query will be interpreted as SubjectPredicateObjectUpdate valueWhich element is updated?PeterCountryAustriaPredicate This may yield wrong results.

Functionality is provided using the Apache Jena Framework

Node details

Input ports
  1. Type: Semantic Web Connection
    Semantic Web Connection
    Semantic Web connection
  2. Type: Table
    Buffered Data Table
    Table containing triples and graph names
Output ports
  1. Type: Semantic Web Connection
    Semantic Web Connection
    Semantic Web connection

Extension

The SPARQL Update node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
  2. Go to item
  3. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits