Hub
Pricing About
NodeNode / Source

Triple File Reader

KNIME LabsSemantic Web/Linked DataIOStreamable
Drag & drop
Like

This node reads triples stored in a file into a Data Table. It supports files such as *.ttl, *.rdf. *.rj, *.nt, *.trig, *.trix. Please check Jena Documentation for further information.

The N-Triples format for the query result is necessary to be kept if you want to insert the triples in an endstore. This is especially imporant for (typed) literals. If the N-Triples format is not preserved type information will get lost (a String representation of the literal is returned). For URIs the angled brackets are not preserved, which are necessary for insertion. Here is an example showing triples with and without format preservation:

PreservesubpredobjectYes<http://expl.org/expl><http://expl.org/integer>4Nohttp://expl.org/explhttp://expl.org/integer4Yes<http://expl.org/expl><http://expl.org/string>"4"Nohttp://expl.org/explhttp://expl.org/string4Yes<http://expl.org/expl><http://expl.org/string>"sometstring"@enNohttp://expl.org/explhttp://expl.org/stringsometstringYes<http://expl.org/expl><http://expl.org/own>"123k"^^<http://expl.org/owntype>Nohttp://expl.org/explhttp://expl.org/own123k

Functionality is provided using the Apache Jena Framework

Node details

Output ports
  1. Type: Table
    Triples
    Buffered Data Table containing triples

Extension

The Triple File Reader 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