Question

I'm mot sure if I'm doing this wrong or not I don't know if I am supposed to add other ontologies

If not, what can I do to get a camera ontology working please?

http://protege.cim3.net/file/pub/ontologies/camera/camera.owl

Thanks

Was it helpful?

Solution

I tried you ontology with the OwlGrinder, and I indeed got an error message. (Next time please, report that). Normally these messages report if your ontology is not valid. In your case, your ontology is OK, ROWLEX assumed that maxCardinality is always greater than zero, but according to the OWL spec, zero is a perfectly valid value. Therefore, this is a bug in ROWLEX, I recorded it, it will be fixed in the next version.

As a temporary solution, you need to change the ontology if you want to use ROWLEX. You can get rid of the restriction of #shutter-speed, or you may change the restriction like this:

<owl:maxCardinality>1</owl:maxCardinality>

instead of

 <owl:cardinality>0</owl:cardinality>

Important! The proposed change alter the meaning of your classes significantly, but it shuts OwlGrinder up.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top