As it is said in the subject, I want to retrieve the comment of my SWRL/SQWRL rule from java. Is there any method in OWL API to do that.
Thank you in advance for any help
Re: Retrieve the comment from the SWRL or SQWRL rule
SWRL rule and SQWRL query comments are stored as rdfs:label annotations on the underlying OWLAPI-based SWRLRule objects. SWRL rules are a type of OWL axiom so you can use the standard OWLAPI approach for retrieving annotations from axioms.