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

  • semweb
    • rdf_prefixes.pl -- RDF prefixes management
      • ns/2
      • 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
 rdf_current_prefix(:Alias, ?URI) is nondet
Query predefined prefixes and prefixes defined with rdf_register_prefix/2 and local prefixes defined with rdf_prefix/2. If Alias is unbound and one URI is the prefix of another, the longest is returned first. This allows turning a resource into a prefix/local couple using the simple enumeration below. See rdf_global_id/2.
rdf_current_prefix(Prefix, Expansion),
atom_concat(Expansion, Local, URI),