RDFLib / prez

Prez is a data-configurable Linked Data API framework that delivers profiles of Knowledge Graph data according to the Content Negotiation by Profile standard.
BSD 3-Clause "New" or "Revised" License
22 stars 8 forks source link

Add ability to declare prefixes in remote Repos #240

Closed recalcitrantsupplant closed 3 months ago

recalcitrantsupplant commented 3 months ago

Prefixes can be declared in remote repositories using the vann namespace as per the example below. These are loaded first and will take priority over namespaces declared within the prez/reference_data/prefixes/*.ttl files.

@prefix vann: <http://purl.org/vocab/vann/> .

[ vann:preferredNamespacePrefix "altr-ext" ;
 vann:preferredNamespaceUri <http://www.w3.org/ns/dx/connegp/altr-ext#>
] .