-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OBI import is causing DL violations #1500
Comments
Thanks @shawntanzk. We should have been checking this automatically, but we haven't been. These axioms come from the
The logic seems fine to me. I think that ROBOT There are still some violations for undeclared AnnotationProperties. Action Items:
|
I was able to fix the ROBOT issue and regenerate the biobank template to pass the validation, but OBI as a whole still does not pass:
I looked into it, and found this weird axiom in
This axiom is not in
This axiom disappears from OBI after the release process, probably because it's not correct... I don't know what was intended with this axiom (or how it was added), or if it was somehow added by mistake. If I remove that chunk of lines from |
Ok, let's drop that weird |
I'm trying to import OBI into an ontology and it is causing error in qc
Error seems to be coming from the following (see separated out section for example single operand in intersection):
#################################################
<owl:intersectionOf rdf:parseType="Collection">
owl:Class
#################################################
#################################################
</owl:intersectionOf>
</owl:Class>
#################################################
Related to BICCN/TMN#83
full report here
OWL 2 DL Profile Report: Ontology and imports closure NOT in profile. The following violations are present: Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Use of undeclared annotation property: in annotation [Annotation( "This is an ontology that captures techniques and methods in neuroscience to support work at AIBS and BICCN. The techniques and methods ontology is designed to help scientists communicate about their experiments and results by defining a set of terms for techniques, methods, modalities, assays, devices, tools, and the like.") in null] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Use of undeclared annotation property: in annotation [Annotation( "Techniques and Methods for Neuroscience Ontology") in null] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Use of undeclared annotation property: in annotation [Annotation( ) in null] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) [EquivalentClasses( ObjectIntersectionOf(ObjectIntersectionOf( ObjectSomeValuesFrom( ) ObjectSomeValuesFrom( ))) ) in OntologyID(OntologyIRI() VersionIRI())] Not enough operands; at least two needed: ObjectIntersectionOf(ObjectIntersectionOf(The text was updated successfully, but these errors were encountered: