This project has retired. For details please refer to its Attic page.
Apache Stanbol - Ontology Registry Language

Ontology Registry Language

To create an ontology registry, simply create an ontology and upload it somewhere on the Web. Supported formats are RDF/XML, OWL/XML, Turtle, N3, Manchester OWL Syntax and OWL Functional Syntax. RDF/JSON and JSON-LD are not supported.

The ontology must contain individuals of type http://www.ontologydesignpatterns.org/cpont/codo/coddata.owl#OntologyLibrary (libraries) and/or http://www.ontologydesignpatterns.org/cpont/codo/codkernel.owl#Ontology (ontologies referenced by libraries). The URI that identifies an individual of type Ontology MUST be the (dereferenceable) physical location of the ontology document, no matter if it differs from the actual ontology ID (which is found out only after the ontology is laoded).

Relations between libraries and ontologies are assertions on the properties http://www.ontologydesignpatterns.org/schemas/meta.owl#hasOntology (with subject of type OntologyLibrary and object of type Ontology) and http://www.ontologydesignpatterns.org/schemas/meta.owl#isOntologyOf (with inverted subject and object types). It does not matter which property you choose.

Examples

Given the prefix mappings:

@prefix meta: <http://www.ontologydesignpatterns.org/schemas/meta.owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix : <http://www.example.org/ontologies/registries#> .
@base <http://www.example.org/ontologies/registries> .

The following RDF code (in Turtle syntax) shows how to create an OWL individual for a library called SocialOntologies which contains the ontologies of SIOC and Provenance.

:SocialOntologies rdf:type <http://www.ontologydesignpatterns.org/cpont/codo/coddata.owl#OntologyLibrary> ;
          rdfs:label "Social Network Ontologies"^^xsd:string ;
          meta:hasOntology <http://rdfs.org/sioc/ns> ;
          meta:hasOntology <http://trdf.sourceforge.net/provenance/ns.rdf> .

You can also specify Library-Ontology relations the other way around, by stating them in the OWL individual that represents the ontology.

<http://rdfs.org/sioc/ns> rdf:type <http://www.ontologydesignpatterns.org/cpont/codo/codkernel.owl#Ontology> ;
          meta:isOntologyOf :SocialOntologies .

Back to Registry Manager

Back to Ontology Manager