Hi,
I have a rdf file (file.trp) in n-triples format, where each line is a well-formed triple:
"subject predicate object ."
I tried to use rdf_load in semweb/rdf_db to load it into memory, but failed. Here is what I tried:
?- rdf_load('file.trp').
?- rdf_load('file.trp', [format(triples)]).
The trace shows that the goal fails at:
rdf_db:rdf_load_stream/3
which calls
rdf_load_db_/3
which is probably defined in a foreign library.
the manual says it supports xml and triples. But it only loads rdf xml files. How can I load such rdf triple file?
Thanks, Li