Updated schema to include top-level 'prefixes' property and 'Ontology Component.uri' property - #332
Updated schema to include top-level 'prefixes' property and 'Ontology Component.uri' property#332scotthenninger wants to merge 2 commits into
Conversation
…Component.uri' property
|
I like the prefixes / namespaces on ontology level. This clearly helps for mapping RDF/OWL. What about a more generic |
|
I think we should also add the |
|
I added URI to Relationships. To be clear I think we're specifically looking for a URI here, which leads to a globally unique identifier, and not an informal identifier, so I think |
|
Just be careful with the 'verbalizes' field. This is incorrect: "verbalizes: [ "Agent has a home page" ]" For your example, we should have: i.e. the "verbalizes" field is not freeform, or notes. It specifies object types separated by predicates.
NB verbalizes is not only for Binary Fact Types/Triples, to my understanding, but in this case it is a binary relationship. ==== === |
|
Thanks I updated the verbalizes field in my example. |
Edited: qname is too specific. I think |
|
@scotthenninger, I have a question that sems from the motivation for the PR. You write:
It makes sense for an Ossie model to declare relationships that refer to constructs from another Ossie model if:
(1) is easy by adding a prefix for the ontology itself. Regarding (2), I'm wondering if we get into trouble if one Ossie model with an ontology mapping depends on another that also has an ontology mapping? Wouldn't we have some obligation to make sure the BI semantic models and the ontology mappings are consistent with one another? Or would you propose to outlaw this case -- meaning that if an Ossie model with an ontology contains a BI semantic-model and an ontology mapping that it could not be referenced using another Ossie model?
I also have a light preference for |
Motivation
The Ossie Ontology Specification currently treats each model as a self-contained, stand-alone entity. Because all concept names are local to a model, there is no way to establish relationships or correspondences between models. This proposal adds an optional mechanism for assigning globally unique identifiers to concepts by adopting the Uniform Resource Identifier (URI) convention from the XML/RDF ecosystem.
To keep URIs concise and readable, this proposal also adopts the RDF/XML notion of namespace prefixes, allowing URIs to be written as compact QNames - e.g.,
foaf:Agentrepresenting the URI[http://xmlns.com/foaf/0.1/Agent](http://xmlns.com/foaf/0.1/Agent).Both additions are optional: models that do not need cross-model identity are unaffected and remain valid.
Proposed Changes
This involves two changes to the current Ossie ontology Specification:
At the ontology level, create a
prefixesproperty.Defines a mapping from a prefix to the namespace URI it abbreviates, enabling QName expansion throughout the model.
Example:
foaf: http://xmlns.com/foaf/0.1/At the Concept level, create a
uriproperty.Assigns a global identifier to a concept (
OntologyComponent), expressed either as a full URI or as a QName resolved against the declaredprefixes.Examples:
uri: foaf:Agent,uri: http://xmlns.com/foaf/0.1/AgentHere's an example using the proposed changes:
Schema impact
Both properties are optional, so existing valid models remain valid (backward compatible). The changes affect two objects: