-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The ontology should express inverseOf for its relationships #66
Comments
@azaroth42 ok. |
If the PCDM ontology has an |
@DiegoPino I think you could define the predicates as both rdf:Property and an owl:ObjectProperty, e.g.:
|
Open World lets us assert anything about anything. The implication is that the subject and object are instances of owl:ObjectProperty, but we don't need to materialize those assertions. Systems that care will know from inference on OWL. Systems that don't care or don't do inferencing, don't care. |
@acoburn I don't think that's true — I think you'd know their super-properties were inverses, but you wouldn't know which PCDM properties were inverses of what. |
o no. Open World means that if not explicitly stated it can be possible somewhere |
@escowles ah, you're correct, you'd only know that |
I agree with @azaroth42 too — we wouldn't have to explicitly declare that our predicates were owl:ObjectProperties — it could be inferred from the domain and range of I don't have a strong preference either way. |
I also agree with @azaroth42: there is no need to materialize those triples, since the types can be inferred (if the client cares about such things). |
@DiegoPino I'm not sure how that's helpful? My point stands that we CAN assert owl:inverseOf about something that we declare as an rdf:Property because if is possible for it to be declared somewhere as an owl:ObjectProperty. And indeed, the fact that the domain and range of owl:inverseOf are specified as owl:ObjectProperty means that it can trivially be inferred, even by a system that only does RDFS. Sorry if the shorthand for that was too short. |
@azaroth42 maybe i'm too rigid, sorry, i'm really trying to be helpful. But according to this |
Domain and range do not restrict anything, they simply assert that any resource that is the subject or object (respectively) can be inferred to also have that class. |
@DiegoPino you'll see in the ORE ontology that
|
@acoburn scary! specs say different again. I'm so confused |
I hope this quote from RDF Schema 1.1 helps:
Therefore, given that:
We can conclude that owl:inverseOf is an rdf:Property, and that owl:ObjectProperty is an rdfs:Class. Thus it cannot be wrong to state:
Convinced? :) |
Agreed with @azaroth42 that the Note that this addition implies that no instances of |
Issue:
The ontology currently does not express the inverse for the relationships it defines. For example, hasMember and memberOf are not declared as inverses.
Rationale:
The presence of inverses in the data is useful for Linked Open Data representations to ensure that regardless of which resource you enter the dataset at, you can trace your way to all of the other related resources by simply following your nose, rather than requiring sparql queries against the entire dataset. The formal definition of the inverse allows these to be automatically computed rather than materialized in the database.
Proposal:
Add the following triples to the model:
The text was updated successfully, but these errors were encountered: