문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top