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

Triple File Reader

KNIME Labs Semantic Web/Linked Data IO Streamable
Drag & drop
Like
Copy short link

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:

  1. Go to item

Related workflows & nodes

  1. Go to item
    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 Endpoin…
    knime > Examples > 08_Other_Analytics_Types > 06_Semantic_Web > 01_Read_and_write_triples_from_and_to_file
  2. Go to item
    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 t…
    knime > Examples > 08_Other_Analytics_Types > 06_Semantic_Web > 08_SPARQL_Executor
  3. Go to item
    Exploring A Pizza Ontology with an OWL file
    Ontology OWL Triples
    +6
    This workflow uses a semantic web technology - OWL - to extract knowledge from an ontolog…
    knime > Examples > 08_Other_Analytics_Types > 06_Semantic_Web > 12_Exploring-pizza-ontology-with-semantic-web
  4. Go to item
    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 ontolog…
    anthonycarvalho > Public > 12_Exploring-pizza-ontology-with-semantic-web
  5. Go to item
    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. …
    knime > Life Sciences > Text_Processing > Document_Tagging_Using_Ontology_Terms
  6. Go to item
    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. …
    knime > Digital Healthcare > Tag Genes in Disease related Literature
  7. Go to item
    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 …
    knime > Examples > 08_Other_Analytics_Types > 02_Chemistry_and_Life_Sciences > 05_ChEBI_ontology_explorer
  8. Go to item
    Search for Ethnicity Related Adverse Events of a Drug
    Adverse Events Life Sciences Ontologies
    This workflow allows a user to search literature to analyze relationships between adverse…
    knime > Digital Healthcare > Literature Search on Ethnicity related Adverse Events
  1. Go to item
  2. Go to item
  3. Go to item
  4. Go to item
  5. Go to item
  6. Go to item

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
© 2022 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Credits