简体   繁体   中英

What is the usage of Restriction in Jena of OWL?

If I define a owl class A with a mincardinalityRestriction (for example, at least K) of a property, does it mean I have to add at least K values to the property when I create a individual of this class A ? If I ignore this restriction, can the individual be created successfully?

Yes. A reasoner does not require the assertions to be available, it just needs to know that the restriction exists.

By "created successfully" I assume you mean "the ontology is consistent". Jena (and most other APIs) will allow you to create inconsistent ontologies "successfully", as in, without any errors.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM