Hub
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
Sign in
  • KNIME Hub
  • Nodes
  • Triple File Reader
NodeNode / Source

Triple File Reader

streamable

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:

Preserve sub pred object
Yes <http://expl.org/expl> <http://expl.org/integer> 4
No http://expl.org/expl http://expl.org/integer 4
Yes <http://expl.org/expl> <http://expl.org/string> "4"
No http://expl.org/expl http://expl.org/string 4
Yes <http://expl.org/expl> <http://expl.org/string> "sometstring"@en
No http://expl.org/expl http://expl.org/string sometstring
Yes <http://expl.org/expl> <http://expl.org/own> "123k"^^<http://expl.org/owntype>
No http://expl.org/expl http://expl.org/own 123k


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:

Related workflows & nodes

  1. Read and write triples from and to file
    semantic web sparql rdf +2
    This workflow demonstrates how to write triples to files either directly from the Endpoint or from Table. Files can be …
    knime > Examples > 08_Other_Analytics_Types > 06_Semantic_Web > 01_Read_and_write_triples_from_and_to_file
  2. Delete data using the SPARQL Executor node
    sparql semantic web .ttl +2
    This workflow demonstrates how to use the SPARQL Executor node. The Exector node allows to perform custom update SPARQL…
    knime > Examples > 08_Other_Analytics_Types > 06_Semantic_Web > 08_SPARQL_Executor
  3. Exploring A Pizza Ontology with an OWL file
    ontology OWL triples +5
    This workflow uses a semantic web technology - OWL - to extract knowledge from an ontology on pizza. The workflow uses …
    knime > Examples > 08_Other_Analytics_Types > 06_Semantic_Web > 12_Exploring-pizza-ontology-with-semantic-web
  4. Exploring A Pizza Ontology with an OWL file
    ontology OWL triples +5
    This workflow uses a semantic web technology - OWL - to extract knowledge from an ontology on pizza. The workflow uses …
    anthonycarvalho > Public > 12_Exploring-pizza-ontology-with-semantic-web
  5. Tagging Genes in Disease Related Publications
    Life Sciences Ontologies RDF +4
    This example workflow shows how ontology terms can be used to tag biomedical literature. In the first step, the Triple …
    knime > Life Sciences > Text_Processing > Document_Tagging_Using_Ontology_Terms
  6. Explore the ChEBI Ontology
    owl chebi ontology +4
    In this example an ontology in OWL format was used. After loading the OWL file using the Triple File Reader node, the t…
    knime > Examples > 08_Other_Analytics_Types > 02_Chemistry_and_Life_Sciences > 05_ChEBI_ontology_explorer

KNIME
Open for Innovation

KNIME AG
Hardturmstrasse 66
8005 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • E-Learning course
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • KNIME Open Source Story
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more on KNIME Server
© 2021 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Credits