This module extends module `rdf_prefixes' that is part of the
standards SWI-Prolog distribution.
- To be done
- - There is currently no way to retract prefix declarations.
- assert_prefixes(+File:atom) is det
- Asserts prefixes that appear at the top of the given N-Quads,
N-Triples, TriG, or Turtle file.
- rdf_prefix(+Alias:atom) is semidet
- rdf_prefix(-Alias:atom) is nondet
- rdf_prefix_append(+Lists:list(list), +List:list) is semidet
- rdf_prefix_append(+Lists:list(list), -List:list) is det
- rdf_prefix_iri(-Alias:atom, -Local:atom, +Iri:atom) is det
- rdf_prefix_iri(+Alias:atom, +Local:atom, -Iri:atom) is det
- rdf_prefix_iri(+Alias:atom, +Local:list(atom), -Iri:atom) is det
-
- See also
- - Like rdf_prefix_iri/2, but works with maplist/3.
- rdf_prefix_map(-Alias2Prefix:assoc(atom,iri)) is det
- rdf_prefix_maplist(:Goal_1, +Args1:list) is det
- rdf_prefix_maplist(:Goal_2, +Args1:list, +Args2:list) is det
- rdf_prefix_maplist(:Goal_3, +Args1:list, +Args2:list, +Args3:list) is det
- rdf_prefix_member(?Elem, +L:list) is nondet
- Calls member/2 under RDF prefix expansion.
- rdf_prefix_memberchk(?Elem, +L:list) is nondet
- Calls memberchk/2 under RDF prefix expansion.
- rdf_prefix_selectchk(+Elem, +L:list, -Rest:list) is det
- Calls selectchk/3 under RDF prefix expansion.
- rdf_register_prefix(+PairOrAlias:or([atom,pair(atom)])) is det
- Syntactic variant of rdf_register_prefix/2 that allows for pair
notation (i.e., pairs of the form `Alias-Prefix'), which in
convenient in combination with maplist/2.
- rdf_register_prefixes is det
- Registers RDF prefixes that are standardized and/or commonly used
in the LOD Cloud.
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
- rdf_prefix_append(Arg1, Arg2, Arg3)
- rdf_prefix_maplist(Arg1, Arg2, Arg3)
- rdf_prefix_maplist(Arg1, Arg2, Arg3, Arg4)
- rdf_equal(Arg1, Arg2)
- rdf_prefix(Arg1, Arg2)
- rdf_prefix_iri(Arg1, Arg2)
- rdf_prefix_term(Arg1, Arg2)
- rdf_prefix_any(Arg1, Arg2)
- rdf_register_prefix(Arg1, Arg2)
- rdf_register_prefix(Arg1, Arg2, Arg3)
- rdf_meta(Arg1)