Re: Using Annotations for Object Property Assertions
Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Using-Annotations-for-Object-Property-Assertions-tp980p981.html
Hi,
Yes, you can annotation triples with Owlready. The syntax is the following:
annotation_class[subject, property, value] = annotation_value.
For example:
comment[individual, property, value] = ["my comment"]
You can use the 'comment' RDF annotation, or define your own annotations by subclassing the AnnotationProperty class.
Jiba