简体   繁体   中英

OWLAPI ObjectPropertyChain axioms

We know that in Protege is possible to create axioms with role chain and since Protege is based on OWLAPI should be possible to create them. I did not found examples in the official documentation, so it is possible to do it? One example here:

在此处输入图片说明

With the OWL syntax we have:

Declaration( ObjectProperty( :isEmployedAt ) )

ObjectPropertyAssertion( :isEmployedAt :Martin :SC )

SubObjectPropertyOf( ObjectPropertyChain( :isEmployedAt :isPartOf ) :isEmployedAt)

So, what is the equivalent in OWLAPI?

OWLDataFactory::getOWLSubPropertyChainOfAxiom(java.util.List<? extends OWLObjectPropertyExpression> chain,OWLObjectPropertyExpression superProperty)

参见Javadoc

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