Settings > Namespaces and Prefixes
This feature from the Settings Tab can be used to view and edit the namespace prefixes for the current asset collection.
Note
Namespace prefixes are used to abbreviate the full IDs/URIs of assets.
For example if the full URI of an asset is http://schema.org/Person
and the namespace
prefix for http://schema.org/
is schema
then the full URI can be abbreviated
as schema:Person
.
These shortened names are often called qnames.
In TopBraid, namespace prefixes are used in the Turtle export format (which is also used by the Source Code Panel), in SPARQL (for example the SPARQL Query Panel) and on all panels where the user has activated the setting to prefer qnames over display labels.
Namespace prefixes are also used in some code generation algorithms such as GraphQL schemas and the generated ADS APIs.
Caution
There should only be one prefix for each namespace.
Unfortunately even some well-known namespaces are used inconsistently across the RDF world,
for example dct
and dcterms
.
Avoid this at all costs, and establish concise namespace practices for your projects.
See Also
Further Reading on TopBraid