-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #637 from EBISPOT/nesting-issue
Nesting issue
- Loading branch information
Showing
16 changed files
with
116,689 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"ontologies": [ | ||
{ | ||
"id": "owl2primer-datatype-enumeration", | ||
"preferredPrefix": "owl2primer-datatype-enumeration", | ||
"ontology_purl": "./testcases/owl2-primer/datatype-enumeration.owl" | ||
} | ||
] | ||
} |
101 changes: 101 additions & 0 deletions
101
testcases/datatypes/nesting-issue/datatype-enumeration.owl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
<?xml version="1.0"?> | ||
<rdf:RDF xmlns="http://www.ebi.ac.uk/testcases/owl2primer/datatype-enumeration.owl#" | ||
xml:base="http://www.ebi.ac.uk/testcases/owl2primer/datatype-enumeration.owl" | ||
xmlns:owl="http://www.w3.org/2002/07/owl#" | ||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
xmlns:xml="http://www.w3.org/XML/1998/namespace" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema#" | ||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" | ||
xmlns:datatype-enumeration="http://www.ebi.ac.uk/testcases/owl2primer/datatype-enumeration#"> | ||
<owl:Ontology rdf:about="http://www.ebi.ac.uk/testcases/owl2primer/datatype-enumeration.owl"> | ||
<owl:versionIRI rdf:resource="http://www.ebi.ac.uk/testcases/owl2primer/v.0.0.1/datatype-enumeration.owl"/> | ||
</owl:Ontology> | ||
|
||
|
||
|
||
<!-- | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Datatypes | ||
// | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
--> | ||
|
||
|
||
|
||
|
||
<!-- http://www.ebi.ac.uk/testcases/owl2primer/datatype-enumeration.owl#toddlerAge --> | ||
|
||
<rdfs:Datatype rdf:about="http://www.ebi.ac.uk/testcases/owl2primer/datatype-enumeration.owl#toddlerAge"> | ||
<owl:equivalentClass> | ||
<rdfs:Datatype> | ||
<owl:oneOf> | ||
<rdf:Description> | ||
<rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#List"/> | ||
<rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</rdf:first> | ||
<rdf:rest> | ||
<rdf:Description> | ||
<rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#List"/> | ||
<rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">2</rdf:first> | ||
<rdf:rest> | ||
<rdf:Description> | ||
<rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#List"/> | ||
<rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">3</rdf:first> | ||
<rdf:rest> | ||
<rdf:Description> | ||
<rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#List"/> | ||
<rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">4</rdf:first> | ||
<rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> | ||
</rdf:Description> | ||
</rdf:rest> | ||
</rdf:Description> | ||
</rdf:rest> | ||
</rdf:Description> | ||
</rdf:rest> | ||
</rdf:Description> | ||
</owl:oneOf> | ||
</rdfs:Datatype> | ||
</owl:equivalentClass> | ||
</rdfs:Datatype> | ||
|
||
|
||
|
||
<!-- | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Data properties | ||
// | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
--> | ||
|
||
|
||
|
||
|
||
<!-- http://www.ebi.ac.uk/testcases/owl2primer/datatype-enumeration.owl#ageOfToddler --> | ||
|
||
<owl:DatatypeProperty rdf:about="http://www.ebi.ac.uk/testcases/owl2primer/datatype-enumeration.owl#ageOfToddler"> | ||
<rdfs:range rdf:resource="http://www.ebi.ac.uk/testcases/owl2primer/datatype-enumeration.owl#toddlerAge"/> | ||
</owl:DatatypeProperty> | ||
|
||
|
||
|
||
<!-- | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Classes | ||
// | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
--> | ||
|
||
|
||
|
||
|
||
<!-- http://www.ebi.ac.uk/testcases/owl2primer/datatype-enumeration.owl#Dummy --> | ||
|
||
<owl:Class rdf:about="http://www.ebi.ac.uk/testcases/owl2primer/datatype-enumeration.owl#Dummy"/> | ||
</rdf:RDF> | ||
|
||
|
||
|
||
<!-- Generated by the OWL API (version 4.5.24.2023-01-14T21:28:32Z) https://github.com/owlcs/owlapi --> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"ontologies": [ | ||
{ | ||
"id": "owl2primer-datatype-exclusion", | ||
"preferredPrefix": "owl2primer-datatype-exclusion", | ||
"ontology_purl": "./testcases/datatypes/nesting-issue/datatype-exclusion.owl" | ||
} | ||
] | ||
} |
142 changes: 142 additions & 0 deletions
142
testcases/datatypes/nesting-issue/datatype-exclusion.owl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
<?xml version="1.0"?> | ||
<rdf:RDF xmlns="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#" | ||
xml:base="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl" | ||
xmlns:owl="http://www.w3.org/2002/07/owl#" | ||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
xmlns:xml="http://www.w3.org/XML/1998/namespace" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema#" | ||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" | ||
xmlns:datatype-exclusion="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion#"> | ||
<owl:Ontology rdf:about="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl"> | ||
<owl:versionIRI rdf:resource="http://www.ebi.ac.uk/testcases/owl2primer/v.0.0.1/datatype-exclusion.owl"/> | ||
</owl:Ontology> | ||
|
||
|
||
|
||
<!-- | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Datatypes | ||
// | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
--> | ||
|
||
|
||
|
||
|
||
<!-- http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#majorAge --> | ||
|
||
<rdfs:Datatype rdf:about="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#majorAge"> | ||
<owl:equivalentClass> | ||
<rdfs:Datatype> | ||
<owl:intersectionOf rdf:parseType="Collection"> | ||
<rdf:Description rdf:about="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#personAge"/> | ||
<rdfs:Datatype> | ||
<owl:datatypeComplementOf rdf:resource="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#minorAge"/> | ||
</rdfs:Datatype> | ||
</owl:intersectionOf> | ||
</rdfs:Datatype> | ||
</owl:equivalentClass> | ||
</rdfs:Datatype> | ||
|
||
|
||
|
||
<!-- http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#minorAge --> | ||
|
||
<rdfs:Datatype rdf:about="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#minorAge"> | ||
<owl:equivalentClass> | ||
<rdfs:Datatype> | ||
<owl:onDatatype rdf:resource="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#personAge"/> | ||
<owl:withRestrictions rdf:parseType="Collection"> | ||
<rdf:Description> | ||
<xsd:minInclusive rdf:datatype="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#personAge">0</xsd:minInclusive> | ||
</rdf:Description> | ||
<rdf:Description> | ||
<xsd:maxInclusive rdf:datatype="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#personAge">18</xsd:maxInclusive> | ||
</rdf:Description> | ||
</owl:withRestrictions> | ||
</rdfs:Datatype> | ||
</owl:equivalentClass> | ||
</rdfs:Datatype> | ||
|
||
|
||
|
||
<!-- http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#personAge --> | ||
|
||
<rdfs:Datatype rdf:about="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#personAge"> | ||
<owl:equivalentClass> | ||
<rdfs:Datatype> | ||
<owl:onDatatype rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/> | ||
<owl:withRestrictions rdf:parseType="Collection"> | ||
<rdf:Description> | ||
<xsd:minInclusive rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">150</xsd:minInclusive> | ||
</rdf:Description> | ||
<rdf:Description> | ||
<xsd:maxInclusive rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</xsd:maxInclusive> | ||
</rdf:Description> | ||
</owl:withRestrictions> | ||
</rdfs:Datatype> | ||
</owl:equivalentClass> | ||
</rdfs:Datatype> | ||
|
||
|
||
|
||
<!-- http://www.w3.org/2001/XMLSchema#integer --> | ||
|
||
<rdf:Description rdf:about="http://www.w3.org/2001/XMLSchema#integer"> | ||
<owl:equivalentClass> | ||
<rdfs:Datatype> | ||
<owl:onDatatype rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/> | ||
<owl:withRestrictions rdf:parseType="Collection"> | ||
<rdf:Description> | ||
<xsd:minInclusive rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</xsd:minInclusive> | ||
</rdf:Description> | ||
<rdf:Description> | ||
<xsd:maxInclusive rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">150</xsd:maxInclusive> | ||
</rdf:Description> | ||
</owl:withRestrictions> | ||
</rdfs:Datatype> | ||
</owl:equivalentClass> | ||
</rdf:Description> | ||
|
||
|
||
|
||
<!-- | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Data properties | ||
// | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
--> | ||
|
||
|
||
|
||
|
||
<!-- http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#ageOfAdult --> | ||
|
||
<owl:DatatypeProperty rdf:about="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#ageOfAdult"> | ||
<rdfs:range rdf:resource="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#majorAge"/> | ||
</owl:DatatypeProperty> | ||
|
||
|
||
|
||
<!-- | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Classes | ||
// | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
--> | ||
|
||
|
||
|
||
|
||
<!-- http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#Dummy --> | ||
|
||
<owl:Class rdf:about="http://www.ebi.ac.uk/testcases/owl2primer/datatype-exclusion.owl#Dummy"/> | ||
</rdf:RDF> | ||
|
||
|
||
|
||
<!-- Generated by the OWL API (version 4.5.24.2023-01-14T21:28:32Z) https://github.com/owlcs/owlapi --> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"ontologies": [ | ||
{ | ||
"id": "owl2primer-datatype-minmax", | ||
"preferredPrefix": "owl2primer-datatype-minmax", | ||
"ontology_purl": "./testcases/datatypes/nesting-issue/datatype-minmax.owl" | ||
} | ||
] | ||
} |
Oops, something went wrong.