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 |
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension KNIME Semantic Web from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!