
hdt.plThe following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.
rdf(?S, ?P, ?O, +G)hdt:Name, searching the HDT file Name.hdt
rdf_subject(?S, +G)
rdf_predicate(?P, +G)
rdf_object(?O, +G)
rdf_shared(?IRI, +G)
rdf_suggestions(+Base, +Role, +MaxCount, -List, +Graph)
rdf_graph_property(-Property, +Graph) is nondet
rdf_prefix(:Alias, +URI) is det
rdf_meta(+Heads)
As it is subject to term_expansion/2, the rdf_meta/1 declaration
can only be used as a directive. The directive must be processed
before the definition of the predicates as well as before
compiling code that uses the rdf meta-predicates. The atom
rdf_meta is declared as an operator exported from
library(semweb/rdf_db). Files using rdf_meta/1 must explicitly
load this library.
Beginning with SWI-Prolog 7.3.17, the low-level RDF interface
(rdf/3, rdf_assert/3, etc.) perform runtime expansion of
Prefix:Local terms. This eliminates the need for rdf_meta/1
for simple cases. However, runtime expansion comes at a
significant overhead and having two representations for IRIs (a
plain atom and a term Prefix:Local) implies that simple
operations such as comparison of IRIs no longer map to native
Prolog operations such as IRI1 == IRI2.