obook
obook copied to clipboard
Annotation properties: add examples
Summary
This page on annotation properties is helpful. Even with this, though, I still found it difficult to understand the difference between object and annotation properties. I was wondering if we could add some example code snippets in RDF .ttl
and/or .owl
?
I looked for some examples, but I don't think I found any that were super helpful. The only way I can seem to tell whether something is an annotation or object prop is by the name of the tag itself. Here are some random examples I picked from a CHEBI .owl
file:
Annotation properties
<owl:AnnotationProperty rdf:about="http://purl.obolibrary.org/obo/IAO_0000115"/>
I'm not sure if this is a good example. Shouldn't there be an inner tag in there, like in the 2nd object property example below? All the annotation properties I saw in all .owl
files I looked at were one-liners like this. I'm not sure what this single tag is even trying to express.
Object properties
<owl:ObjectProperty rdf:about="http://purl.obolibrary.org/obo/RO_0000087"/>
<owl:ObjectProperty rdf:about="http://purl.obolibrary.org/obo/BFO_0000051">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#TransitiveProperty"/>
</owl:ObjectProperty>
@matentzn FYI
I have no problem to add some more examples to the page, but I looked the docs over again and wondering how to deal with:
Even with this, though, I still found it difficult to understand the difference between object and annotation properties.
What exactly would help you to understand the difference? The actual, practical difference is one, annotation properties are not considered for reasoning. Do you think snippets of RDF serialisation would somehow help? Or lists of example annotation properties and a sentence why they are APs instead of OPs?
Both!
I was saying that after reading the article, I was still a bit confused. But after our meeting yesterday, I was less confused.