/usr/lib/swipl/library/semweb/rdf_prefixes.pl
AllApplicationManualNameSummaryHelp

  • semweb
    • rdf_prefixes.pl -- RDF prefixes management
      • rdf_empty_prefix_cache/2
      • rdf_current_prefix/2
      • rdf_prefix/2
      • rdf_register_prefix/2
      • rdf_register_prefix/3
      • rdf_unregister_prefix/1
      • rdf_current_ns/2
      • rdf_register_ns/2
      • rdf_register_ns/3
      • register_file_prefixes/1
      • rdf_global_id/2
      • rdf_global_object/2
      • rdf_global_term/2
      • rdf_meta/1
      • ns/2
 rdf_global_term(+TermIn, :GlobalTerm) is det
Performs rdf_global_id/2 on predixed IRIs and rdf_global_object/2 on RDF literals, by recursively analysing the term. Note that the predicate is a meta-predicate on the output argument. This is necessary to get the module context while the first argument may be of the form (:)/2.

Terms of the form Prefix:Local that appear in TermIn for which Prefix is not defined are not replaced. Unlike rdf_global_id/2 and rdf_global_object/2, no error is raised.