rdf(Subject, Predicate, Object [, Graph])
The representation is consistent with the SWI-Prolog RDF/XML and ntriples parsers. Provided options are:
node(1)
, node(2)
, ...auto
(default), turtle
or trig
. The
auto mode switches to TriG format of there is a
{
before the first triple. Finally, of the
format is explicitly stated as turtle
and the
file appears to be a TriG file, a warning is printed
and the data is loaded while ignoring the graphs.iri
.prefixes(Pairs)
. Compatibility to rdf_load/2.warning
(default), print the error and continue
parsing the remainder of the file. If error
, abort
with an exception on the first error encountered.on_error(warning)
is active, this option cane be
used to retrieve the number of generated errors.Input | - is one of stream(Stream) , atom(Atom) , a http ,
https or file url or a filename specification as
accepted by absolute_file_name/3. |