Hub
Pricing About
NodeNode / Manipulator

SPARQL Delete

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

Deletes triples in a Semantic Web endpoint based on the triples from the input table. The triples in the table have to match the triples in the endpoint exactly.

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

If all triple columns are selected (i.e. subject, predicate, object column), the table is read out row-wise, so exactly the given triples are deleted. It is possible to leave out subject, predicate, object cells empty; but at least one cell as to be non-empty. For instance, the following entries for triples are possible:

SubjectPredicateObjectPeterPeterCountryPeterGermanyPeterCountryGermanyCountryGermanyCountryGermany

If one or two of the triple columns are selected, only the selected columns will be read-out. For instance, if the input table is like SubjectPredicateObjectPeterCountryGermany but only subject and object column is selected, the triple will be interpreted as SubjectPredicateObjectPeterGermany

If only "graph name" column is selected, corresponding graph including stored triples, will be deleted. Attention: If all triples in a graph are deleted, the graph can stil exists (depends on connected endpoint). To be sure that a graph is completely deleted, it has to be deleted by selecting only the "Graph name" column.

Please see node description of Semantic Web node "SPARQL Insert" for usage of options "Graph name" and "Global Graph name".

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 Delete 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