Skip to content

class expressions read as 'rdfs:about' string from template #962

@debuos512

Description

@debuos512

We are trying to use class expressions to establish sc of axioms for classes in a template, e.g.

"('has atomic number' value ""2""^^xsd:nonNegativeInteger) and "('mass number' value ""4""^^xsd:nonNegativeInteger)"

in a column with "SC %" as the definition. In the file produced by robot, instead of having these class expression as subclassof axioms, the classes appear as subclasses of empty classes with an "rdfs:about" property of a string equivalent to the class expression in the template, e.g.:

image

In the OWL file, the classes look like this:

    <owl:Class rdf:about="(&apos;has atomic number&apos; value &quot;10&quot;^^xsd:nonNegativeInteger) and (&apos;mass number&apos; value &quot;20&quot;^^xsd:nonNegativeInteger)"/>

If I try to make a new axiom in Protege with the class expression as it appears in the file, it works fine, which implies that OWLAPI can parse it. I also tried removing the surrounding " from the axioms in the file, which didn't work. My guess would be some kind of encoding or processing of the quote symbols?

You can see the template here: https://github.com/Radiobiology-Informatics-Consortium/RBO/blob/luke-testing/src/templates/RBO_nuclei.tsv (and the owl file is also in that dir)

Thanks a lot in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions