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

  • library
    • 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_db.pl -- Core RDF database
 rdf_register_prefix(+Prefix, +URI) is det
 rdf_register_prefix(+Prefix, +URI, +Options) is det
Register Prefix as an abbreviation for URI. Options:
force(Boolean)
If true, replace existing namespace alias. Please note that replacing a namespace is dangerous as namespaces affect preprocessing. Make sure all code that depends on a namespace is compiled after changing the registration.
keep(Boolean)
If true and Alias is already defined, keep the original binding for Prefix and succeed silently.

Without options, an attempt to redefine an alias raises a permission error.

Predefined prefixes are:

AliasIRI prefix
dchttp://purl.org/dc/elements/1.1/
dctermshttp://purl.org/dc/terms/
eorhttp://dublincore.org/2000/03/13/eor#
foafhttp://xmlns.com/foaf/0.1/
owlhttp://www.w3.org/2002/07/owl#
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfshttp://www.w3.org/2000/01/rdf-schema#
serqlhttp://www.openrdf.org/schema/serql#
skoshttp://www.w3.org/2004/02/skos/core#
voidhttp://rdfs.org/ns/void#
xsdhttp://www.w3.org/2001/XMLSchema#