- library
- semweb
- rdf_db.pl -- Core RDF database
- rdf_prefixes.pl -- RDF prefixes management
- rdfs.pl -- RDFS handling
- rdf11.pl -- RDF 1.1 API
- rdf_persistency.pl -- RDF persistency plugin
- rdf_litindex.pl -- Search literals
- rdf_ntriples.pl -- Process files in the RDF N-Triples format
- sparql_client.pl -- SPARQL client library
- rdf_http_plugin.pl -- RDF HTTP Plugin
- rdf_turtle_write.pl -- Turtle - Terse RDF Triple Language writer
- turtle.pl -- Turtle: Terse RDF Triple Language
- rdf_library.pl -- RDF Library Manager
- rdf_sandbox.pl -- Declare RDF API sandbox-safe
- rdf_cache.pl -- Cache RDF triples
- rdf_zlib_plugin.pl -- RDF compressed-data plugin
- semweb
- rdf_read_ntriples(+Input, -Triples, +Options) is det
- rdf_read_nquads(+Input, -Quads, +Options) is det
- True when Triples/Quads is a list of triples/quads from Input.
Options:
- anon_prefix(+AtomOrNode)
- Prefix nodeIDs with this atom. If AtomOrNode is the term
node(_)
, bnodes are returned asnode(Id)
. - base_uri(+Atom)
- Defines the default anon_prefix as _:<baseuri>_
- on_error(Action)
- One of
warning
(default) orerror
- error_count(-Count)
- If
on_error
iswarning
, unify Count with th number of errors. - graph(+Graph)
- For rdf_read_nquads/3, this defines the graph associated to triples loaded from the input. For rdf_read_ntriples/3 this opion is ignored.
- Arguments:
-
Triples - is a list of rdf(Subject, Predicate, Object)
Quads - is a list of rdf(Subject, Predicate, Object, Graph)