
This vocabulary allows prefix declarations to be represented for arbitrary resources.
Explanation of this vocabulary
This vocabulary innovates over current vocabularies, which only allow one single prefix declaration to be defined (VANN), and/or only allow prefix declarations to be asserted for ontologies (SHACL, VANN).
At the same time, this vocabulary does reuse those aspects of SHACL and VANN that are generic enough to be reused here. From SHACL the following class and properties are reused:
From VANN the following properties are reused:
The following property is newly introduced by this vocabulary:
The following diagram shows how these classes and properties interact:
Use cases for this vocabulary
Examples of resource types for which prefix declarations are commonly asserted include:
- Datasets
- Prefix declarations to abbreviate IRIs that appear in the dataset.
- Queries
- Prefix declarations used in (collections of) SPARQL queries.
- Rules
- Prefix declarations that are used in (collections of) SHACL rules.
- Services
- Prefix declarations that can be used to query service endpoints.
Relation to sh:declare
At Triply we our policy is to not publish direct assertions about nodes published by other organizations, but the intention of the property introduced by this vocabulary is to act as a superproperty of sh:declare
:
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix sh: <http://www.w3.org/ns/shacl#>
prefix tp: <https://triplydb.com/Triply/tp/def/>
sh:declare rdfs:subPropertyOf tp:prefixDeclaration.