Skip to content

Commit 7d7b7e9

Browse files
Jean-Baptiste "Jiba" LamyJean-Baptiste "Jiba" Lamy
authored andcommitted
Add missing test files
1 parent d8ed816 commit 7d7b7e9

File tree

2 files changed

+187
-0
lines changed

2 files changed

+187
-0
lines changed

test/test_ntriples_bug.ntriples

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<http://test.org/test_ntriples_bug.owl> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Ontology> .
2+
<http://test.org/test_ntriples_bug.owl#P2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
3+
<http://test.org/test_ntriples_bug.owl#P> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> .
4+
<http://test.org/test_ntriples_bug.owl#C> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
5+
_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
6+
_:genid1 <http://www.w3.org/2002/07/owl#onProperty> <http://test.org/test_ntriples_bug.owl#P> .
7+
_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Datatype> .
8+
_:genid2 <http://www.w3.org/2002/07/owl#onDatatype> <http://www.w3.org/2001/XMLSchema#float> .
9+
_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid3 .
10+
_:genid3 <http://www.w3.org/2001/XMLSchema#minInclusive> "100.0"^^<http://www.w3.org/2001/XMLSchema#float> .
11+
_:genid6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid5 .
12+
_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid6 .
13+
_:genid5 <http://www.w3.org/2001/XMLSchema#maxExclusive> "110.0"^^<http://www.w3.org/2001/XMLSchema#float> .
14+
_:genid6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
15+
_:genid2 <http://www.w3.org/2002/07/owl#withRestrictions> _:genid4 .
16+
_:genid1 <http://www.w3.org/2002/07/owl#someValuesFrom> _:genid2 .
17+
<http://test.org/test_ntriples_bug.owl#C> <http://www.w3.org/2002/07/owl#equivalentClass> _:genid1 .
18+
_:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
19+
_:genid8 <http://www.w3.org/2002/07/owl#inverseOf> <http://test.org/test_ntriples_bug.owl#P2> .
20+
_:genid7
21+
_:genid7 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://www.w3.org/2002/07/owl#Thing> .
22+
<http://test.org/test_ntriples_bug.owl#C> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:genid7 .

test/test_owlxml_bug.owl

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
<?xml version="1.0"?>
2+
3+
4+
<!DOCTYPE Ontology [
5+
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
6+
<!ENTITY xml "http://www.w3.org/XML/1998/namespace" >
7+
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
8+
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
9+
]>
10+
11+
12+
<Ontology xmlns="http://www.w3.org/2002/07/owl#"
13+
xml:base="http://www.semanticweb.org/jiba/ontologies/2017/3/test_owlxml_bug.owl"
14+
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
15+
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
16+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
17+
xmlns:xml="http://www.w3.org/XML/1998/namespace"
18+
ontologyIRI="http://www.semanticweb.org/jiba/ontologies/2017/3/test_owlxml_bug.owl">
19+
<Prefix name="" IRI="http://www.w3.org/2002/07/owl#"/>
20+
<Prefix name="owl" IRI="http://www.w3.org/2002/07/owl#"/>
21+
<Prefix name="rdf" IRI="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
22+
<Prefix name="xsd" IRI="http://www.w3.org/2001/XMLSchema#"/>
23+
<Prefix name="rdfs" IRI="http://www.w3.org/2000/01/rdf-schema#"/>
24+
<Declaration>
25+
<Class IRI="#C"/>
26+
</Declaration>
27+
<Declaration>
28+
<Class IRI="#C2"/>
29+
</Declaration>
30+
<Declaration>
31+
<Class IRI="#D"/>
32+
</Declaration>
33+
<Declaration>
34+
<Class IRI="#DC"/>
35+
</Declaration>
36+
<Declaration>
37+
<ObjectProperty IRI="#p1"/>
38+
</Declaration>
39+
<Declaration>
40+
<ObjectProperty IRI="#p2"/>
41+
</Declaration>
42+
<Declaration>
43+
<ObjectProperty IRI="#p3"/>
44+
</Declaration>
45+
<Declaration>
46+
<DataProperty IRI="#d"/>
47+
</Declaration>
48+
<Declaration>
49+
<DataProperty IRI="#d2"/>
50+
</Declaration>
51+
<Declaration>
52+
<NamedIndividual IRI="#c1"/>
53+
</Declaration>
54+
<Declaration>
55+
<NamedIndividual IRI="#c2"/>
56+
</Declaration>
57+
<Declaration>
58+
<NamedIndividual IRI="#d1"/>
59+
</Declaration>
60+
<Declaration>
61+
<AnnotationProperty IRI="#annot"/>
62+
</Declaration>
63+
<EquivalentClasses>
64+
<Class IRI="#DC"/>
65+
<ObjectSomeValuesFrom>
66+
<ObjectProperty IRI="#p1"/>
67+
<Class IRI="#C"/>
68+
</ObjectSomeValuesFrom>
69+
</EquivalentClasses>
70+
<EquivalentClasses>
71+
<Class IRI="#DC"/>
72+
<ObjectAllValuesFrom>
73+
<ObjectProperty IRI="#p1"/>
74+
<Class IRI="#D"/>
75+
</ObjectAllValuesFrom>
76+
</EquivalentClasses>
77+
<EquivalentClasses>
78+
<Class IRI="#DC"/>
79+
<ObjectMaxCardinality cardinality="2">
80+
<ObjectProperty IRI="#p2"/>
81+
<ObjectIntersectionOf>
82+
<Class IRI="#C"/>
83+
<ObjectSomeValuesFrom>
84+
<ObjectProperty IRI="#p1"/>
85+
<Class IRI="#D"/>
86+
</ObjectSomeValuesFrom>
87+
</ObjectIntersectionOf>
88+
</ObjectMaxCardinality>
89+
</EquivalentClasses>
90+
<SubClassOf>
91+
<Class IRI="#C2"/>
92+
<Class IRI="#C"/>
93+
</SubClassOf>
94+
<SubClassOf>
95+
<Annotation>
96+
<AnnotationProperty abbreviatedIRI="rdfs:comment"/>
97+
<Literal xml:lang="en" datatypeIRI="&rdf;PlainLiteral">Test</Literal>
98+
</Annotation>
99+
<Class IRI="#DC"/>
100+
<Class IRI="#C"/>
101+
</SubClassOf>
102+
<SubClassOf>
103+
<Class IRI="#DC"/>
104+
<Class IRI="#D"/>
105+
</SubClassOf>
106+
<ClassAssertion>
107+
<Class IRI="#C"/>
108+
<NamedIndividual IRI="#c1"/>
109+
</ClassAssertion>
110+
<ClassAssertion>
111+
<Class IRI="#C"/>
112+
<NamedIndividual IRI="#c2"/>
113+
</ClassAssertion>
114+
<ClassAssertion>
115+
<Class IRI="#D"/>
116+
<NamedIndividual IRI="#d1"/>
117+
</ClassAssertion>
118+
<ObjectPropertyAssertion>
119+
<ObjectProperty IRI="#p3"/>
120+
<NamedIndividual IRI="#c1"/>
121+
<NamedIndividual IRI="#d1"/>
122+
</ObjectPropertyAssertion>
123+
<SubObjectPropertyOf>
124+
<ObjectProperty IRI="#p2"/>
125+
<ObjectProperty IRI="#p1"/>
126+
</SubObjectPropertyOf>
127+
<FunctionalObjectProperty>
128+
<ObjectProperty IRI="#p3"/>
129+
</FunctionalObjectProperty>
130+
<TransitiveObjectProperty>
131+
<ObjectProperty IRI="#p1"/>
132+
</TransitiveObjectProperty>
133+
<ObjectPropertyDomain>
134+
<ObjectProperty IRI="#p3"/>
135+
<Class IRI="#C"/>
136+
</ObjectPropertyDomain>
137+
<ObjectPropertyRange>
138+
<ObjectProperty IRI="#p3"/>
139+
<Class IRI="#D"/>
140+
</ObjectPropertyRange>
141+
<FunctionalDataProperty>
142+
<DataProperty IRI="#d"/>
143+
</FunctionalDataProperty>
144+
<DataPropertyRange>
145+
<DataProperty IRI="#d2"/>
146+
<DataUnionOf>
147+
<Datatype abbreviatedIRI="xsd:float"/>
148+
<Datatype abbreviatedIRI="xsd:int"/>
149+
</DataUnionOf>
150+
</DataPropertyRange>
151+
<AnnotationAssertion
152+
<AnnotationProperty abbreviatedIRI="rdfs:comment"/>
153+
<IRI>#d2</IRI>
154+
<Literal xml:lang="en" datatypeIRI="&rdf;PlainLiteral">Test2</Literal>
155+
</AnnotationAssertion>
156+
<AnnotationPropertyRange>
157+
<AnnotationProperty IRI="#annot"/>
158+
<AbbreviatedIRI>xsd:string</AbbreviatedIRI>
159+
</AnnotationPropertyRange>
160+
</Ontology>
161+
162+
163+
164+
<!-- Generated by the OWL API (version 3.4.2) http://owlapi.sourceforge.net -->
165+

0 commit comments

Comments
 (0)