There are three ways to bring the QUDT ontology into your environment.
- Download the latest GitHub Release here.
- Use the resolved graph and instance URIs available here.
- Use GitHub fork to get the sources and build them using the instructions here.
This QUDT1 public repository contains the schema and vocabulary source files for the graphs making up the QUDT collection. It is probably the most convenient way for software developers to include the QUDT ontologies in their work, and is the most up-to-date. However, for those who prefer the linked data world, each QUDT graph is also available in both a versioned and an unversioned form on the qudt.org website.
DOI reference for citations: https://doi.org/10.25504/FAIRsharing.d3pqw7
Here is the core design pattern of the QUDT ontology:
Here is the imports closure graph, so you can see which files you need to explicitly import, depending on your application:
Note that the default schema is expressed in SHACL. You can change this to use the OWL schema if you prefer, as documented here.
Our current plan is to deliver this material in even more powerful ways. The website now hosts an engine supporting SPARQL and GraphQL queries. Fully resolvable URIs at the graph and instance level are available online. Eventually we will also support resolvable class URIs as well. We are also creating a series of User Guides on the wiki for this repository.
We encourage you to get involved. If you have particular needs or see errors, please create an Issue and/or make changes or additions yourself (please see our Wiki for more detailed instructions, and specifically the Units Submission Guide if you would like to suggest additional units.) We are a volunteer-staffed effort, but we do have infrastructural expenses. Please consider making a DONATION.
Installing QUDT for Contributors
The QUDT ontology is provided in two forms: OWL and SHACL. By default, the vocabularies are configured to use the SHACL schema. To configure it to use the OWL schema instead, just make the following single change in the file schema/SDHEMA-FACADE_QUDT.ttl. You can see in the imports closure diagram above how all the vocabularies import this single "facade" file to make it easy to switch the ontology.
Change this line:
owl:imports <http://qudt.org/2.1/schema/shacl/qudt> ;
To:
owl:imports <http://qudt.org/2.1/schema/qudt> ;
If you are using the tools from TopQuadrant, you should also change the comment line at the top of the same file:
Change this line:
# imports: http://qudt.org/2.1/schema/shacl/qudt
To:
# imports: http://qudt.org/2.1/schema/qudt
QUDT SHACL is supported by a set of validation rules that check the integrity and consistency of class, property and instance definitions of the QUDT collection. However, for someone who wishes to simply use the QUDT ontologies without modifying the schema or vocabularies, these validation rules impose an unnecessary computational load. For QUDT users, you can skip the validation of QUDT itself by making the following change in the FACADE file mentioned above:
Change this line:
owl:imports <http://qudt.org/2.1/collection/qa/all> ;
To:
owl:imports <http://qudt.org/2.1/collection/usertest> ;
If you are using the tools from TopQuadrant, you should also change the comment line at the top of the same file:
Change this line:
# imports: http://qudt.org/2.1/collection/qa/all
To:
# imports: http://qudt.org/2.1/collection/usertest
Currently, the tests in the usertest graph check for references to deprecated instances or properties and recommend the updated instance or property.
The QUDT ontologies have been tested to load without error in Protege 5.6.4.
To load QUDT into Protege, choose "Open from URI" from the file menu, and enter http://qudt.org/2.1/vocab/unit
(The "facade" file that is resolvable on the web (http://qudt.org/2.1/schema/facade/qudt) is already configured to load the OWL schema rather than the SHACL schema, so Protege users will be in the OWL world using this method.)
Please note that various libraries exhibit different behaviors when importing the QUDT ontology, see this discussion.
Please see the New Features and Releases topic in the Discussions section for status updates.
1 QUDT.org is a 501(c)(3) not-for-profit organization founded to provide semantic specifications for units of measure, quantity kind, dimensions and data types. QUDT is an advocate for the development and implementation of standards to quantify data expressed in RDF and JSON. Our mission is to improve interoperability of data and the specification of information structures through industry standards for Units of Measure, Quantity Kinds, Dimensions and Data Types. Sponsorships are greatly appreciated!
QUDT.org is a member of the World Wide Web Consortium (W3C)
Last updated by: Steve Ray ([email protected])
Last updated: November 14, 2024