Skip to content

Adding annotations to GeneralClassAxiom #50

@giuseppefilippone

Description

@giuseppefilippone

Hi everyone!

I am using your library, and I need to replicate the behaviour of getOWLSubClassOfAxiom from the OWLDataFactory in the OWLAPI Java library. In particular, this command generates the following RDF/XML code:

<owl:Axiom>
    MY_ANNOTATION
    <owl:annotatedTarget rdf:resource="URI_TO_MY_RESOURCE"/>
    <owl:annotatedProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
    <owl:annotatedSource>
        MY_ANONYMOUS_CLASS
    </owl:annotatedSource>
</owl:Axiom> 

For instance, in this case, I want to annotate the subClassOf property between a GeneralClassAxiom and a Thing class.
How can I achieve this using your library?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions