Did you know ... Search Documentation:
Pack prolog_rdf -- prolog/rdf_deref.pl
PublicShow source
 rdf_deref_file(+FileSpec:term, :Goal_3) is det
 rdf_deref_file(+FileSpec:term, :Goal_3, +Options:options) is det
Options- allows the following options to be set.
  • base_iri(+atom) By default, the base IRI is the file URI.
  • Other options are passed to rdf_defer_stream/4.
  • Tries to set the ‘media_type’ option based on the file name, if this option is not explicitly specified by the caller.
 rdf_deref_stream(+BaseIri:iri, +In:istream, :Goal_3) is det
 rdf_deref_stream(+BaseIri:iri, +In:istream, :Goal_3, +Options:options) is det
The following call will be made:
call(:Goal_3, +BaseIri:iri, +Tuples:list(rdf_tuple), ?GraphName:rdf_graph_name)

The following options are supported:

The default is a well-known IRI as per RDF 1.1.
The parsed value of the HTTP ‘Content-Type’ header, if any.
Overrules the RDF serialization format.
 rdf_deref_uri(+Uri:uri, :Goal_3) is det
 rdf_deref_uri(+Uri:uri, :Goal_3, +Options:options) is det
Options- The following options are supported:
The value of the HTTP Accept header, from high to low precedence. The default value is a list of all and only standardized Media Types.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

 rdf_deref_file(Arg1, Arg2, Arg3)
 rdf_deref_stream(Arg1, Arg2, Arg3, Arg4)
 rdf_deref_uri(Arg1, Arg2, Arg3)