| 1 |
package conformancetests; |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
import static org.junit.Assert.*; |
| 9 |
|
| 10 |
import org.junit.Ignore; |
| 11 |
import org.junit.Test; |
| 12 |
import org.semanticweb.owlapi.apibinding.OWLManager; |
| 13 |
import org.semanticweb.owlapi.model.IRI; |
| 14 |
import org.semanticweb.owlapi.model.OWLClass; |
| 15 |
import org.semanticweb.owlapi.model.OWLDataFactory; |
| 16 |
import org.semanticweb.owlapi.model.OWLDataProperty; |
| 17 |
import org.semanticweb.owlapi.model.OWLObjectAllValuesFrom; |
| 18 |
import org.semanticweb.owlapi.model.OWLObjectMaxCardinality; |
| 19 |
import org.semanticweb.owlapi.model.OWLObjectMinCardinality; |
| 20 |
import org.semanticweb.owlapi.model.OWLObjectProperty; |
| 21 |
import org.semanticweb.owlapi.model.OWLOntology; |
| 22 |
import org.semanticweb.owlapi.model.OWLOntologyCreationException; |
| 23 |
import org.semanticweb.owlapi.model.OWLOntologyManager; |
| 24 |
import org.semanticweb.owlapi.reasoner.InferenceType; |
| 25 |
import org.semanticweb.owlapi.reasoner.OWLReasoner; |
| 26 |
import org.semanticweb.owlapi.vocab.OWL2Datatype; |
| 27 |
|
| 28 |
import testbase.TestBase; |
| 29 |
|
| 30 |
@SuppressWarnings("javadoc") |
| 31 |
public class WebOntTestCase extends TestBase { |
| 32 |
|
| 33 |
@Test |
| 34 |
public void testWebOnt_AnnotationProperty_003() { |
| 35 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/AnnotationProperty/consistent003#\"\n" |
| 36 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/AnnotationProperty/consistent003\" >\n" |
| 37 |
+ " <owl:Ontology/>\n" |
| 38 |
+ " <owl:AnnotationProperty rdf:ID=\"ap\"/>\n" |
| 39 |
+ " <owl:Class rdf:ID=\"A\"><first:ap><rdf:Description rdf:ID=\"B\"/></first:ap></owl:Class>\n" |
| 40 |
+ "</rdf:RDF>"; |
| 41 |
String conclusion = ""; |
| 42 |
String id = "WebOnt_AnnotationProperty_003"; |
| 43 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 44 |
String d = "URI references used in annotations don't need to be typed."; |
| 45 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 46 |
r.setReasonerFactory(factory()); |
| 47 |
r.run(); |
| 48 |
} |
| 49 |
|
| 50 |
@Test |
| 51 |
public void testWebOnt_AnnotationProperty_004() { |
| 52 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 53 |
+ " xml:base=\n" |
| 54 |
+ "\"http://www.w3.org/2002/03owlt/AnnotationProperty/consistent004\" >\n" |
| 55 |
+ " <owl:Ontology />\n" |
| 56 |
+ " <owl:AnnotationProperty rdf:ID=\"ap\">\n" |
| 57 |
+ " <rdfs:range rdf:resource=\"http://www.w3.org/2001/XMLSchema#string\"/></owl:AnnotationProperty></rdf:RDF>"; |
| 58 |
String conclusion = ""; |
| 59 |
String id = "WebOnt_AnnotationProperty_004"; |
| 60 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 61 |
String d = "AnnotationProperty's in OWL Lite and OWL DL, may not have range constraints. They are permitted in OWL 2 DL."; |
| 62 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 63 |
r.setReasonerFactory(factory()); |
| 64 |
r.run(); |
| 65 |
} |
| 66 |
|
| 67 |
@Test |
| 68 |
public void testWebOnt_I4_5_001() { |
| 69 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/I4.5/premises001#\"\n" |
| 70 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I4.5/premises001\" >\n" |
| 71 |
+ " <owl:Ontology/>\n" |
| 72 |
+ " <owl:Class rdf:ID=\"EuropeanCountry\" />\n" |
| 73 |
+ " <owl:Class rdf:ID=\"Person\" />\n" |
| 74 |
+ " <owl:Class rdf:ID=\"EUCountry\"><owl:oneOf rdf:parseType=\"Collection\"><first:EuropeanCountry rdf:ID=\"UK\"/><first:EuropeanCountry rdf:ID=\"BE\"/><first:EuropeanCountry rdf:ID=\"ES\"/><first:EuropeanCountry rdf:ID=\"FR\"/><first:EuropeanCountry rdf:ID=\"NL\"/><first:EuropeanCountry rdf:ID=\"PT\"/></owl:oneOf></owl:Class>\n" |
| 75 |
+ " <owl:ObjectProperty rdf:ID=\"hasEuroMP\" ><rdfs:domain rdf:resource=\"#EUCountry\"/></owl:ObjectProperty>\n" |
| 76 |
+ " <owl:ObjectProperty rdf:ID=\"isEuroMPFrom\" ><owl:inverseOf rdf:resource=\"#hasEuroMP\"/></owl:ObjectProperty>\n" |
| 77 |
+ " <owl:Class rdf:ID=\"EuroMP\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#isEuroMPFrom\" /><owl:someValuesFrom rdf:resource=\"http://www.w3.org/2002/07/owl#Thing\" /></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 78 |
+ " <first:Person rdf:ID=\"Kinnock\" />\n" |
| 79 |
+ " <first:EuropeanCountry rdf:about=\"#UK\"><first:hasEuroMP rdf:resource=\"#Kinnock\" /></first:EuropeanCountry></rdf:RDF>"; |
| 80 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:first=\"http://www.w3.org/2002/03owlt/I4.5/premises001#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 81 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I4.5/conclusions001\" >\n" |
| 82 |
+ " <owl:Ontology/>\n" |
| 83 |
+ " <first:EuroMP rdf:about=\"premises001#Kinnock\" />\n" |
| 84 |
+ " <owl:Class rdf:about=\"premises001#EuroMP\"/>\n" |
| 85 |
+ "</rdf:RDF>"; |
| 86 |
String id = "WebOnt_I4_5_001"; |
| 87 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 88 |
String d = "An example combinging owl:oneOf and owl:inverseOf."; |
| 89 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 90 |
r.setReasonerFactory(factory()); |
| 91 |
r.run(); |
| 92 |
} |
| 93 |
|
| 94 |
@Test |
| 95 |
public void testWebOnt_I4_5_002() { |
| 96 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/I4.5/inconsistent002#\"\n" |
| 97 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I4.5/inconsistent002\" >\n" |
| 98 |
+ " <owl:Ontology/>\n" |
| 99 |
+ " <owl:Class rdf:ID=\"EuropeanCountry\" />\n" |
| 100 |
+ " <owl:Class rdf:ID=\"Person\" />\n" |
| 101 |
+ " <owl:Class rdf:ID=\"EUCountry\"><owl:oneOf rdf:parseType=\"Collection\"><first:EuropeanCountry rdf:ID=\"UK\"/><first:EuropeanCountry rdf:ID=\"BE\"/><first:EuropeanCountry rdf:ID=\"ES\"/><first:EuropeanCountry rdf:ID=\"FR\"/><first:EuropeanCountry rdf:ID=\"NL\"/><first:EuropeanCountry rdf:ID=\"PT\"/></owl:oneOf></owl:Class>\n" |
| 102 |
+ " <owl:ObjectProperty rdf:ID=\"hasEuroMP\" ><rdfs:domain rdf:resource=\"#EUCountry\"/></owl:ObjectProperty>\n" |
| 103 |
+ " <owl:ObjectProperty rdf:ID=\"isEuroMPFrom\" ><owl:inverseOf rdf:resource=\"#hasEuroMP\"/></owl:ObjectProperty>\n" |
| 104 |
+ " <owl:Class rdf:ID=\"EuroMP\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#isEuroMPFrom\" /><owl:someValuesFrom rdf:resource=\"http://www.w3.org/2002/07/owl#Thing\" /></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 105 |
+ " <first:Person rdf:ID=\"Kinnock\" ><rdf:type><owl:Class><owl:complementOf rdf:resource=\"#EuroMP\"/></owl:Class></rdf:type></first:Person>\n" |
| 106 |
+ " <first:EuropeanCountry rdf:about=\"#UK\"><first:hasEuroMP rdf:resource=\"#Kinnock\" /></first:EuropeanCountry></rdf:RDF>"; |
| 107 |
String conclusion = ""; |
| 108 |
String id = "WebOnt_I4_5_002"; |
| 109 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 110 |
String d = "An example combining owl:oneOf and owl:inverseOf."; |
| 111 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 112 |
r.setReasonerFactory(factory()); |
| 113 |
r.run(); |
| 114 |
} |
| 115 |
|
| 116 |
@Test |
| 117 |
public void testWebOnt_I4_6_005_Direct() { |
| 118 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\"\n" |
| 119 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I4.6/premises005\" >\n" |
| 120 |
+ " <owl:Ontology/>\n" |
| 121 |
+ " <owl:Class rdf:about=\"nonconclusions005#C1\"><rdfs:comment>An example class.</rdfs:comment><owl:equivalentClass><owl:Class rdf:about=\"nonconclusions005#C2\"/></owl:equivalentClass></owl:Class></rdf:RDF>"; |
| 122 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\"\n" |
| 123 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I4.6/nonconclusions005\" >\n" |
| 124 |
+ " <owl:Ontology/>\n" |
| 125 |
+ " <owl:Class rdf:ID=\"C2\"><rdfs:comment>An example class.</rdfs:comment></owl:Class></rdf:RDF>"; |
| 126 |
String id = "WebOnt_I4_6_005_Direct"; |
| 127 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 128 |
String d = "Under the direct semantics, test WebOnt-I4.6-005 must be treated as a positive entailment test because the direct semantics ignore annotations in the conclusion ontology."; |
| 129 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 130 |
r.setReasonerFactory(factory()); |
| 131 |
r.run(); |
| 132 |
} |
| 133 |
|
| 134 |
@Test |
| 135 |
public void testWebOnt_I5_24_003() { |
| 136 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 137 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.24/premises003\" >\n" |
| 138 |
+ " <owl:Ontology/>\n" |
| 139 |
+ " <owl:ObjectProperty rdf:ID=\"prop\">\n" |
| 140 |
+ " <rdfs:range>\n" |
| 141 |
+ " <owl:Class rdf:about=\"#A\"/></rdfs:range></owl:ObjectProperty>\n" |
| 142 |
+ "</rdf:RDF>"; |
| 143 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 144 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.24/conclusions003\" >\n" |
| 145 |
+ " <owl:Ontology/>\n" |
| 146 |
+ " <owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"><rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"premises003#prop\"/></owl:onProperty><owl:allValuesFrom><owl:Class rdf:about=\"premises003#A\"/></owl:allValuesFrom></owl:Restriction></rdfs:subClassOf></owl:Class></rdf:RDF>"; |
| 147 |
String id = "WebOnt_I5_24_003"; |
| 148 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 149 |
String d = "This is a typical definition of range from description logic."; |
| 150 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 151 |
r.setReasonerFactory(factory()); |
| 152 |
r.run(); |
| 153 |
} |
| 154 |
|
| 155 |
@Test |
| 156 |
public void testWebOnt_I5_24_004() { |
| 157 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 158 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.24/premises004\" >\n" |
| 159 |
+ " <owl:Ontology/>\n" |
| 160 |
+ " <owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"><rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"conclusions004#prop\"/></owl:onProperty><owl:allValuesFrom><owl:Class rdf:about=\"conclusions004#A\"/></owl:allValuesFrom></owl:Restriction></rdfs:subClassOf></owl:Class></rdf:RDF>"; |
| 161 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 162 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.24/conclusions004\" >\n" |
| 163 |
+ " <owl:Ontology/>\n" |
| 164 |
+ " <owl:ObjectProperty rdf:ID=\"prop\">\n" |
| 165 |
+ " <rdfs:range>\n" |
| 166 |
+ " <owl:Class rdf:about=\"#A\"/></rdfs:range></owl:ObjectProperty>\n" |
| 167 |
+ "</rdf:RDF>"; |
| 168 |
String id = "WebOnt_I5_24_004"; |
| 169 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 170 |
String d = "This is a typical definition of range from description logic.\n" |
| 171 |
+ "It works both ways."; |
| 172 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 173 |
r.setReasonerFactory(factory()); |
| 174 |
r.run(); |
| 175 |
} |
| 176 |
|
| 177 |
@Test |
| 178 |
public void testWebOnt_I5_26_001() { |
| 179 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 180 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.26/consistent001\" >\n" |
| 181 |
+ " <owl:Ontology/>\n" |
| 182 |
+ " <owl:Class rdf:nodeID=\"B\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"A\"/><owl:Class rdf:ID=\"B\"/></owl:intersectionOf></owl:Class>\n" |
| 183 |
+ " <rdf:Description><rdf:type rdf:nodeID=\"B\"/></rdf:Description>\n" |
| 184 |
+ " <owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"C\"/><rdf:Description rdf:nodeID=\"B\"/></owl:intersectionOf></owl:Class></rdf:RDF>"; |
| 185 |
String conclusion = ""; |
| 186 |
String id = "WebOnt_I5_26_001"; |
| 187 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 188 |
String d = "Structure sharing was not permitted in OWL DL, between a class description\n" |
| 189 |
+ "and a type triple, but is permitted in OWL 2 DL."; |
| 190 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 191 |
r.setReasonerFactory(factory()); |
| 192 |
r.run(); |
| 193 |
} |
| 194 |
|
| 195 |
@Test |
| 196 |
public void testWebOnt_I5_26_002() { |
| 197 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 198 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.26/consistent002\" >\n" |
| 199 |
+ " <owl:Ontology/>\n" |
| 200 |
+ " <owl:Class rdf:nodeID=\"B\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"J\"/><owl:Class rdf:ID=\"B\"/></owl:intersectionOf><owl:equivalentClass><owl:Class rdf:ID=\"A\"/><owl:Class rdf:ID=\"K\"/></owl:equivalentClass></owl:Class>\n" |
| 201 |
+ " <rdf:Description><rdf:type rdf:nodeID=\"B\"/></rdf:Description></rdf:RDF>"; |
| 202 |
String conclusion = ""; |
| 203 |
String id = "WebOnt_I5_26_002"; |
| 204 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 205 |
String d = "Structure sharing was not permitted in OWL DL, between an\n" |
| 206 |
+ "owl:equivalentClass triple\n" |
| 207 |
+ "and a type triple, but is permitted in OWL 2 DL."; |
| 208 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 209 |
r.setReasonerFactory(factory()); |
| 210 |
r.run(); |
| 211 |
} |
| 212 |
|
| 213 |
@Test |
| 214 |
public void testWebOnt_I5_26_003() { |
| 215 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 216 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.26/consistent003\" >\n" |
| 217 |
+ " <owl:Ontology/>\n" |
| 218 |
+ " <owl:Class rdf:nodeID=\"B\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"B\"/><owl:Class rdf:ID=\"K\"/></owl:intersectionOf></owl:Class>\n" |
| 219 |
+ " <owl:Class rdf:ID=\"notB\"><owl:complementOf rdf:nodeID=\"B\"/></owl:Class>\n" |
| 220 |
+ " <owl:Class rdf:ID=\"u\"><owl:unionOf rdf:parseType=\"Collection\"><rdf:Description rdf:nodeID=\"B\"/><owl:Class rdf:ID=\"A\"/></owl:unionOf></owl:Class></rdf:RDF>"; |
| 221 |
String conclusion = ""; |
| 222 |
String id = "WebOnt_I5_26_003"; |
| 223 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 224 |
String d = "Structure sharing was not permitted in OWL DL, between two class descriptions, but is permitted in OWL 2 DL."; |
| 225 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 226 |
r.setReasonerFactory(factory()); |
| 227 |
r.run(); |
| 228 |
} |
| 229 |
|
| 230 |
@Test |
| 231 |
public void testWebOnt_I5_26_004() { |
| 232 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 233 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.26/consistent004\" >\n" |
| 234 |
+ " <owl:Ontology/>\n" |
| 235 |
+ " <owl:Class rdf:nodeID=\"B\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"A\"/><owl:Class rdf:ID=\"B\"/></owl:intersectionOf><owl:disjointWith><owl:Class rdf:ID=\"C\"/></owl:disjointWith></owl:Class>\n" |
| 236 |
+ " <owl:Class rdf:ID=\"notB\"><owl:complementOf rdf:nodeID=\"B\"/></owl:Class></rdf:RDF>"; |
| 237 |
String conclusion = ""; |
| 238 |
String id = "WebOnt_I5_26_004"; |
| 239 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 240 |
String d = "Structure sharing was not permitted in OWL DL, between a class description and an\n" |
| 241 |
+ "owl:disjointWith triple, but is permitted in OWL 2 DL."; |
| 242 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 243 |
r.setReasonerFactory(factory()); |
| 244 |
r.run(); |
| 245 |
} |
| 246 |
|
| 247 |
@Test |
| 248 |
@Changed |
| 249 |
public void testWebOnt_I5_26_005() { |
| 250 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xml:base=\"http://www.w3.org/2002/03owlt/I5.26/consistent005\" ><owl:Ontology/>\n" |
| 251 |
+ " <owl:Class rdf:nodeID=\"B\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"A\"/><owl:Class rdf:ID=\"B\"/>" |
| 252 |
+ "</owl:intersectionOf><owl:disjointWith><owl:Class rdf:ID=\"C\"/></owl:disjointWith><owl:equivalentClass><owl:Class rdf:ID=\"D\"/></owl:equivalentClass></owl:Class></rdf:RDF>"; |
| 253 |
String conclusion = ""; |
| 254 |
String id = "WebOnt_I5_26_005"; |
| 255 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 256 |
String d = "Structure sharing was not permitted in OWL DL, between an owl:equivalentClass triple and an\n" |
| 257 |
+ "owl:disjointWith triple, but is permitted in OWL 2 DL."; |
| 258 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 259 |
r.setReasonerFactory(factory()); |
| 260 |
r.run(); |
| 261 |
} |
| 262 |
|
| 263 |
@Test |
| 264 |
@Changed(reason = "test doesn't make sense; This code does the test in a meaningful way") |
| 265 |
public |
| 266 |
void testWebOnt_I5_26_009() throws OWLOntologyCreationException { |
| 267 |
OWLOntologyManager m = OWLManager.createOWLOntologyManager(); |
| 268 |
OWLOntology o = m.createOntology(); |
| 269 |
OWLDataFactory f = m.getOWLDataFactory(); |
| 270 |
OWLObjectProperty p = f.getOWLObjectProperty(IRI |
| 271 |
.create("urn:test:test#p")); |
| 272 |
m.addAxiom(o, f.getOWLDeclarationAxiom(p)); |
| 273 |
OWLReasoner r = factory().createReasoner(o); |
| 274 |
assertTrue(r.isConsistent()); |
| 275 |
OWLObjectMinCardinality c = f.getOWLObjectMinCardinality(1, p); |
| 276 |
assertTrue(r.isEntailed(f.getOWLSubClassOfAxiom(c, c))); |
| 277 |
} |
| 278 |
|
| 279 |
@Test |
| 280 |
@Ignore("Conclusion does not contain axioms") |
| 281 |
public void testWebOnt_I5_26_010() { |
| 282 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/I5.26/premises010#\" xml:base=\"http://www.w3.org/2002/03owlt/I5.26/premises010\" ><owl:Ontology/><owl:ObjectProperty rdf:ID=\"p\" /></rdf:RDF>"; |
| 283 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xml:base=\"http://www.w3.org/2002/03owlt/I5.26/conclusions010\" >\n" |
| 284 |
+ " <owl:Ontology/>\n" |
| 285 |
+ " <owl:Restriction rdf:nodeID=\"n\">\n" |
| 286 |
+ " <owl:onProperty><owl:ObjectProperty rdf:about=\"premises010#p\" /></owl:onProperty>\n" |
| 287 |
+ " <owl:minCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></rdf:RDF>"; |
| 288 |
String id = "WebOnt_I5_26_010"; |
| 289 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 290 |
String d = "The abstract syntax form of the conclusions is:\n" |
| 291 |
+ " EquivalentClasses( restriction( first:p, minCardinality(1) ) )\n" |
| 292 |
+ " ObjectProperty( first:p )\n" |
| 293 |
+ "This is trivially true given that first:p is an \n" |
| 294 |
+ "individualvaluedPropertyID."; |
| 295 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 296 |
r.setReasonerFactory(factory()); |
| 297 |
r.run(); |
| 298 |
} |
| 299 |
|
| 300 |
@Test |
| 301 |
public void testWebOnt_I5_2_001() { |
| 302 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/I5.2/consistent001#\"\n" |
| 303 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.2/consistent001\" >\n" |
| 304 |
+ " <owl:Ontology/>\n" |
| 305 |
+ " <owl:Class rdf:ID=\"Nothing\"><rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#p\"/></owl:onProperty><owl:minCardinality rdf:datatype=\n" |
| 306 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:minCardinality></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#p\"/></owl:onProperty><owl:maxCardinality rdf:datatype=\n" |
| 307 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">0</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></owl:Class></rdf:RDF>"; |
| 308 |
String conclusion = ""; |
| 309 |
String id = "WebOnt_I5_2_001"; |
| 310 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 311 |
String d = "A class like owl:Nothing can be defined using OWL Lite restrictions."; |
| 312 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 313 |
r.setReasonerFactory(factory()); |
| 314 |
r.run(); |
| 315 |
} |
| 316 |
|
| 317 |
@Test |
| 318 |
public void testWebOnt_I5_2_002() { |
| 319 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 320 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.2/premises002\" >\n" |
| 321 |
+ " <owl:Ontology/>\n" |
| 322 |
+ " <owl:Class rdf:ID=\"Nothing\"><rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#p\"/></owl:onProperty><owl:minCardinality rdf:datatype=\n" |
| 323 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:minCardinality></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#p\"/></owl:onProperty><owl:maxCardinality rdf:datatype=\n" |
| 324 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">0</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></owl:Class></rdf:RDF>"; |
| 325 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 326 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.2/conclusions002\" >\n" |
| 327 |
+ " <owl:Ontology/>\n" |
| 328 |
+ " <owl:Class rdf:about=\"premises002#Nothing\"><owl:equivalentClass><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Nothing\" /></owl:equivalentClass></owl:Class></rdf:RDF>"; |
| 329 |
String id = "WebOnt_I5_2_002"; |
| 330 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 331 |
String d = "A class like owl:Nothing can be defined using OWL Lite restrictions."; |
| 332 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 333 |
r.setReasonerFactory(factory()); |
| 334 |
r.run(); |
| 335 |
} |
| 336 |
|
| 337 |
@Test |
| 338 |
public void testWebOnt_I5_2_003() { |
| 339 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/I5.2/consistent003#\"\n" |
| 340 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.2/consistent003\" >\n" |
| 341 |
+ " <owl:Ontology/>\n" |
| 342 |
+ " <owl:Class rdf:ID=\"Nothing\"><rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#p\"/></owl:onProperty><owl:minCardinality rdf:datatype=\n" |
| 343 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:minCardinality></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#p\"/></owl:onProperty><owl:maxCardinality rdf:datatype=\n" |
| 344 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">0</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 345 |
+ " <owl:Class rdf:ID=\"A\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#q\"/></owl:onProperty><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 346 |
+ " <owl:Class rdf:ID=\"notA\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#q\"/></owl:onProperty><owl:allValuesFrom><owl:Class rdf:about=\"#Nothing\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass>\n" |
| 347 |
+ " </owl:Class>\n" + "</rdf:RDF>"; |
| 348 |
String conclusion = ""; |
| 349 |
String id = "WebOnt_I5_2_003"; |
| 350 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 351 |
String d = "The complement of a class can be defined using OWL Lite restrictions."; |
| 352 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 353 |
r.setReasonerFactory(factory()); |
| 354 |
r.run(); |
| 355 |
} |
| 356 |
|
| 357 |
@Test |
| 358 |
public void testWebOnt_I5_2_004() { |
| 359 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/I5.2/premises004#\" xmlns:second=\"http://www.w3.org/2002/03owlt/I5.2/conclusions004#\"\n" |
| 360 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.2/premises004\" >\n" |
| 361 |
+ " <owl:Ontology/>\n" |
| 362 |
+ " <owl:Class rdf:ID=\"Nothing\"><rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#p\"/></owl:onProperty><owl:minCardinality rdf:datatype=\n" |
| 363 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:minCardinality></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#p\"/></owl:onProperty><owl:maxCardinality rdf:datatype=\n" |
| 364 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">0</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 365 |
+ " <owl:Class rdf:ID=\"A\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#q\"/></owl:onProperty><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 366 |
+ " <owl:Class rdf:ID=\"notA\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#q\"/></owl:onProperty><owl:allValuesFrom><owl:Class rdf:about=\"#Nothing\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass>\n" |
| 367 |
+ " </owl:Class>\n" + "</rdf:RDF>"; |
| 368 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 369 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.2/conclusions004\" >\n" |
| 370 |
+ " <owl:Ontology/>\n" |
| 371 |
+ " <owl:Class rdf:about=\"premises004#notA\">\n" |
| 372 |
+ " <owl:complementOf><owl:Class rdf:about=\"premises004#A\"/></owl:complementOf></owl:Class>\n" |
| 373 |
+ "</rdf:RDF>"; |
| 374 |
String id = "WebOnt_I5_2_004"; |
| 375 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 376 |
String d = "The complement of a class can be defined using OWL Lite restrictions."; |
| 377 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 378 |
r.setReasonerFactory(factory()); |
| 379 |
r.run(); |
| 380 |
} |
| 381 |
|
| 382 |
@Test |
| 383 |
public void testWebOnt_I5_2_005() { |
| 384 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/I5.2/consistent005#\"\n" |
| 385 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.2/consistent005\" >\n" |
| 386 |
+ " <owl:Ontology/>\n" |
| 387 |
+ " <owl:Class rdf:ID=\"Nothing\"><rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#p\"/></owl:onProperty><owl:minCardinality rdf:datatype=\n" |
| 388 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:minCardinality></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#p\"/></owl:onProperty><owl:maxCardinality rdf:datatype=\n" |
| 389 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">0</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 390 |
+ " <owl:Class rdf:ID=\"A\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#q\"/></owl:onProperty><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 391 |
+ " <owl:Class rdf:ID=\"notA\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#q\"/></owl:onProperty><owl:allValuesFrom><owl:Class rdf:about=\"#Nothing\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 392 |
+ " <owl:Class rdf:ID=\"B\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#r\"/></owl:onProperty><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 393 |
+ " <owl:Class rdf:ID=\"notB\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#r\"/></owl:onProperty><owl:allValuesFrom><owl:Class rdf:about=\"#Nothing\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 394 |
+ " <owl:Class rdf:ID=\"notAorB\"><owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 395 |
+ " <owl:Class rdf:about=\"#notA\"/>\n" |
| 396 |
+ " <owl:Class rdf:about=\"#notB\"/></owl:intersectionOf></owl:Class>\n" |
| 397 |
+ " <owl:Class rdf:ID=\"AorB\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#s\"/></owl:onProperty><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 398 |
+ " <owl:Class rdf:about=\"#notAorB\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#s\"/></owl:onProperty><owl:allValuesFrom><owl:Class rdf:about=\"#Nothing\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass>\n" |
| 399 |
+ " </owl:Class>\n" + "</rdf:RDF>"; |
| 400 |
String conclusion = ""; |
| 401 |
String id = "WebOnt_I5_2_005"; |
| 402 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 403 |
String d = "The union of two classes can be defined using OWL Lite restrictions, and owl:intersectionOf."; |
| 404 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 405 |
r.setReasonerFactory(factory()); |
| 406 |
r.run(); |
| 407 |
} |
| 408 |
|
| 409 |
@Test |
| 410 |
public void testWebOnt_I5_2_006() { |
| 411 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 412 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.2/premises006\" >\n" |
| 413 |
+ " <owl:Ontology/>\n" |
| 414 |
+ " <owl:Class rdf:ID=\"Nothing\"><rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#p\"/></owl:onProperty><owl:minCardinality rdf:datatype=\n" |
| 415 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:minCardinality></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#p\"/></owl:onProperty><owl:maxCardinality rdf:datatype=\n" |
| 416 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">0</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 417 |
+ " <owl:Class rdf:ID=\"A\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#q\"/></owl:onProperty><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 418 |
+ " <owl:Class rdf:ID=\"notA\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#q\"/></owl:onProperty><owl:allValuesFrom><owl:Class rdf:about=\"#Nothing\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 419 |
+ " <owl:Class rdf:ID=\"B\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#r\"/></owl:onProperty><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 420 |
+ " <owl:Class rdf:ID=\"notB\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#r\"/></owl:onProperty><owl:allValuesFrom><owl:Class rdf:about=\"#Nothing\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 421 |
+ " <owl:Class rdf:ID=\"notAorB\">\n" |
| 422 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 423 |
+ " <owl:Class rdf:about=\"#notA\"/>\n" |
| 424 |
+ " <owl:Class rdf:about=\"#notB\"/></owl:intersectionOf></owl:Class>\n" |
| 425 |
+ " <owl:Class rdf:ID=\"AorB\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#s\"/></owl:onProperty><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 426 |
+ " <owl:Class rdf:about=\"#notAorB\"><owl:equivalentClass><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#s\"/></owl:onProperty><owl:allValuesFrom><owl:Class rdf:about=\"#Nothing\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass>\n" |
| 427 |
+ " </owl:Class>\n" + "</rdf:RDF>"; |
| 428 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 429 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.2/conclusions006\" >\n" |
| 430 |
+ " <owl:Ontology/>\n" |
| 431 |
+ " <owl:Class rdf:about=\"premises006#AorB\">\n" |
| 432 |
+ " <owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"premises006#A\"/><owl:Class rdf:about=\"premises006#B\"/></owl:unionOf></owl:Class>\n" |
| 433 |
+ "</rdf:RDF>"; |
| 434 |
String id = "WebOnt_I5_2_006"; |
| 435 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 436 |
String d = "The union of two classes can be defined using OWL Lite restrictions, and owl:intersectionOf."; |
| 437 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 438 |
r.setReasonerFactory(factory()); |
| 439 |
r.run(); |
| 440 |
} |
| 441 |
|
| 442 |
@Test |
| 443 |
public void testWebOnt_I5_3_006() { |
| 444 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/I5.3/consistent006#\"\n" |
| 445 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.3/consistent006\" >\n" |
| 446 |
+ " <owl:Ontology/>\n" |
| 447 |
+ " <owl:Thing><first:p><owl:Thing/></first:p>\n" |
| 448 |
+ " </owl:Thing>\n" |
| 449 |
+ " <owl:ObjectProperty rdf:ID=\"p\" />\n" + "</rdf:RDF>"; |
| 450 |
String conclusion = ""; |
| 451 |
String id = "WebOnt_I5_3_006"; |
| 452 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 453 |
String d = "A minimal OWL Lite version of <a xmlns=\"http://www.w3.org/1999/xhtml\" href=\"#I5.3-005\">test 005</a>."; |
| 454 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 455 |
r.setReasonerFactory(factory()); |
| 456 |
r.run(); |
| 457 |
} |
| 458 |
|
| 459 |
@Test |
| 460 |
public void testWebOnt_I5_3_008() { |
| 461 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/I5.3/consistent008#\"\n" |
| 462 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.3/consistent008\" >\n" |
| 463 |
+ " <owl:Ontology/>\n" |
| 464 |
+ " <owl:Thing><first:dp>value</first:dp></owl:Thing>\n" |
| 465 |
+ " <owl:DatatypeProperty rdf:ID=\"dp\" />\n" + "</rdf:RDF>"; |
| 466 |
String conclusion = ""; |
| 467 |
String id = "WebOnt_I5_3_008"; |
| 468 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 469 |
String d = "An OWL Lite version of <a xmlns=\"http://www.w3.org/1999/xhtml\" href=\"#I5.3-007\">test 007</a>."; |
| 470 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 471 |
r.setReasonerFactory(factory()); |
| 472 |
r.run(); |
| 473 |
} |
| 474 |
|
| 475 |
@Test |
| 476 |
public void testWebOnt_I5_3_010() { |
| 477 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/I5.3/consistent010#\"\n" |
| 478 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.3/consistent010\" >\n" |
| 479 |
+ " <owl:Ontology/>\n" |
| 480 |
+ " <owl:ObjectProperty rdf:ID=\"p\"/> \n" |
| 481 |
+ " <owl:Thing><first:p><owl:Class rdf:ID=\"c\"/></first:p></owl:Thing></rdf:RDF>"; |
| 482 |
String conclusion = ""; |
| 483 |
String id = "WebOnt_I5_3_010"; |
| 484 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 485 |
String d = "Classes could not be the object of regular properties in OWL DL. This ontology is permissible in OWL 2 DL due to class / individual punning."; |
| 486 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 487 |
r.setReasonerFactory(factory()); |
| 488 |
r.run(); |
| 489 |
} |
| 490 |
|
| 491 |
@Test |
| 492 |
public void testWebOnt_I5_3_011() { |
| 493 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/I5.3/consistent011#\"\n" |
| 494 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.3/consistent011\" >\n" |
| 495 |
+ " <owl:Ontology/>\n" |
| 496 |
+ " <owl:AnnotationProperty rdf:ID=\"p\"/> \n" |
| 497 |
+ " <owl:Thing><first:p><owl:Class rdf:ID=\"c\"/></first:p></owl:Thing></rdf:RDF>"; |
| 498 |
String conclusion = ""; |
| 499 |
String id = "WebOnt_I5_3_011"; |
| 500 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 501 |
String d = "Classes can be the object of annotation properties in OWL Lite and DL."; |
| 502 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 503 |
r.setReasonerFactory(factory()); |
| 504 |
r.run(); |
| 505 |
} |
| 506 |
|
| 507 |
@Test |
| 508 |
public void testWebOnt_I5_5_005() { |
| 509 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 510 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.5/premises005\" >\n" |
| 511 |
+ " <owl:Class rdf:ID=\"a\" />\n" + "</rdf:RDF>"; |
| 512 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 513 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.5/conclusions005\" >\n" |
| 514 |
+ " <owl:Class>\n" |
| 515 |
+ " <owl:unionOf><rdf:List><rdf:first><owl:Class rdf:about=\"premises005#a\"/></rdf:first><rdf:rest rdf:resource = \"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil\"/></rdf:List></owl:unionOf></owl:Class>\n" |
| 516 |
+ "</rdf:RDF>"; |
| 517 |
String id = "WebOnt_I5_5_005"; |
| 518 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 519 |
String d = "This test exhibits the effect of the comprehension principles in OWL Full. The conclusion ontology only contains a class declaration, ObjectUnionOf class expression does not appear in an axiom."; |
| 520 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 521 |
r.setReasonerFactory(factory()); |
| 522 |
r.run(); |
| 523 |
} |
| 524 |
|
| 525 |
@Test |
| 526 |
@Ignore("FaCT++ unsupported datatype") |
| 527 |
public void testWebOnt_I5_8_007() throws OWLOntologyCreationException { |
| 528 |
OWLOntologyManager m = OWLManager.createOWLOntologyManager(); |
| 529 |
OWLDataFactory f = m.getOWLDataFactory(); |
| 530 |
OWLOntology o = m.createOntology(); |
| 531 |
OWLDataProperty p = f.getOWLDataProperty(IRI.create("urn:p")); |
| 532 |
m.addAxiom( |
| 533 |
o, |
| 534 |
f.getOWLDataPropertyRangeAxiom(p, |
| 535 |
f.getOWLDatatype(OWL2Datatype.XSD_SHORT.getIRI()))); |
| 536 |
OWLReasoner r = factory().createReasoner(o); |
| 537 |
assertFalse("unsigned byte should not be inferred", r.isEntailed(f |
| 538 |
.getOWLDataPropertyRangeAxiom(p, |
| 539 |
f.getOWLDatatype(OWL2Datatype.XSD_UNSIGNED_BYTE |
| 540 |
.getIRI())))); |
| 541 |
} |
| 542 |
|
| 543 |
@Test |
| 544 |
public void testWebOnt_I5_8_011() { |
| 545 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\">\n" |
| 546 |
+ " <owl:Ontology/>\n" + "</rdf:RDF>"; |
| 547 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 548 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/I5.8/conclusions011\" >\n" |
| 549 |
+ " <owl:Ontology/>\n" |
| 550 |
+ " <rdfs:Datatype rdf:about=\"http://www.w3.org/2001/XMLSchema#integer\"/>\n" |
| 551 |
+ " <rdfs:Datatype rdf:about=\"http://www.w3.org/2001/XMLSchema#string\"/></rdf:RDF>"; |
| 552 |
String id = "WebOnt_I5_8_011"; |
| 553 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 554 |
String d = "The empty graph entails that xsd:integer and xsd:string\n" |
| 555 |
+ "are a rdfs:Datatype"; |
| 556 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 557 |
r.setReasonerFactory(factory()); |
| 558 |
r.run(); |
| 559 |
} |
| 560 |
|
| 561 |
@Test |
| 562 |
public void testWebOnt_InverseFunctionalProperty_001() { |
| 563 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl =\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/InverseFunctionalProperty/premises001#\" \n" |
| 564 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/InverseFunctionalProperty/premises001\" >\n" |
| 565 |
+ " <owl:Ontology/>\n" |
| 566 |
+ " <owl:InverseFunctionalProperty rdf:ID=\"prop\"/>\n" |
| 567 |
+ " <rdf:Description rdf:ID=\"subject1\"><first:prop rdf:resource=\"#object\" /></rdf:Description>\n" |
| 568 |
+ " <rdf:Description rdf:ID=\"subject2\"><first:prop rdf:resource=\"#object\" /></rdf:Description>\n" |
| 569 |
+ " <rdf:Description rdf:about=\"http://www.w3.org/2002/03owlt/InverseFunctionalProperty/premises001#object\">\n" |
| 570 |
+ " <rdf:type rdf:resource=\"http://www.w3.org/2002/07/owl#Thing\"/></rdf:Description>\n" |
| 571 |
+ " <rdf:Description rdf:about=\"http://www.w3.org/2002/03owlt/InverseFunctionalProperty/premises001#subject2\">\n" |
| 572 |
+ " <rdf:type rdf:resource=\"http://www.w3.org/2002/07/owl#Thing\"/></rdf:Description>\n" |
| 573 |
+ " <rdf:Description rdf:about=\"http://www.w3.org/2002/03owlt/InverseFunctionalProperty/premises001#subject1\">\n" |
| 574 |
+ " <rdf:type rdf:resource=\"http://www.w3.org/2002/07/owl#Thing\"/></rdf:Description></rdf:RDF>"; |
| 575 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl =\"http://www.w3.org/2002/07/owl#\"\n" |
| 576 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/InverseFunctionalProperty/conclusions001\" >\n" |
| 577 |
+ " <owl:Ontology/>\n" |
| 578 |
+ " <rdf:Description rdf:about=\"premises001#subject1\"><owl:sameAs rdf:resource=\"premises001#subject2\" /></rdf:Description></rdf:RDF>"; |
| 579 |
String id = "WebOnt_InverseFunctionalProperty_001"; |
| 580 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 581 |
String d = "If prop belongs to owl:InverseFunctionalProperty,\n" |
| 582 |
+ "and object denotes a resource\n" |
| 583 |
+ "which is the object of two prop triples, then the subjects\n" |
| 584 |
+ "of these triples have the same denotation."; |
| 585 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 586 |
r.setReasonerFactory(factory()); |
| 587 |
r.run(); |
| 588 |
} |
| 589 |
|
| 590 |
@Test |
| 591 |
public void testWebOnt_Nothing_001() { |
| 592 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 593 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/Nothing/inconsistent001\" >\n" |
| 594 |
+ " <owl:Ontology/>\n" + " <owl:Nothing/>\n" + "</rdf:RDF>"; |
| 595 |
String conclusion = ""; |
| 596 |
String id = "WebOnt_Nothing_001"; |
| 597 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 598 |
String d = "The triple asserts something of type owl:Nothing, however\n" |
| 599 |
+ "that is the empty class."; |
| 600 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 601 |
r.setReasonerFactory(factory()); |
| 602 |
r.run(); |
| 603 |
} |
| 604 |
|
| 605 |
@Test |
| 606 |
public void testWebOnt_Ontology_001() { |
| 607 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/Ontology/premises001#\"\n" |
| 608 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/Ontology/premises001\" >\n" |
| 609 |
+ " <owl:Ontology rdf:about=\"\" />\n" |
| 610 |
+ " <owl:Class rdf:ID=\"Car\">\n" |
| 611 |
+ " <owl:equivalentClass><owl:Class rdf:ID=\"Automobile\"/></owl:equivalentClass></owl:Class>\n" |
| 612 |
+ " <first:Car rdf:ID=\"car\">\n" |
| 613 |
+ " <rdf:type rdf:resource=\"http://www.w3.org/2002/07/owl#Thing\" /></first:Car>\n" |
| 614 |
+ " <first:Automobile rdf:ID=\"auto\">\n" |
| 615 |
+ " <rdf:type rdf:resource=\"http://www.w3.org/2002/07/owl#Thing\" /></first:Automobile></rdf:RDF>"; |
| 616 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/Ontology/premises001#\"\n" |
| 617 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/Ontology/conclusions001\" >\n" |
| 618 |
+ " <owl:Ontology />\n" |
| 619 |
+ " <first:Car rdf:about=\"premises001#auto\">\n" |
| 620 |
+ " <rdf:type rdf:resource=\"http://www.w3.org/2002/07/owl#Thing\" /></first:Car>\n" |
| 621 |
+ " <first:Automobile rdf:about=\"premises001#car\">\n" |
| 622 |
+ " <rdf:type rdf:resource=\"http://www.w3.org/2002/07/owl#Thing\" /></first:Automobile>\n" |
| 623 |
+ " <owl:Class rdf:about=\"premises001#Car\"/>\n" |
| 624 |
+ " <owl:Class rdf:about=\"premises001#Automobile\"/>\n" |
| 625 |
+ "</rdf:RDF>"; |
| 626 |
String id = "WebOnt_Ontology_001"; |
| 627 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 628 |
String d = "This is a variation of <a xmlns=\"http://www.w3.org/1999/xhtml\" href=\"#equivalentClass-001\">equivalentClass-001</a>,\n" |
| 629 |
+ "showing the use of owl:Ontology triples in the premises and conclusions."; |
| 630 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 631 |
r.setReasonerFactory(factory()); |
| 632 |
r.run(); |
| 633 |
} |
| 634 |
|
| 635 |
@Test |
| 636 |
public void testWebOnt_Restriction_001() { |
| 637 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/Restriction/inconsistent001#\"\n" |
| 638 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/Restriction/inconsistent001\" >\n" |
| 639 |
+ " <owl:Ontology/>\n" |
| 640 |
+ " <owl:ObjectProperty rdf:ID=\"op\"/>\n" |
| 641 |
+ " <rdf:Description rdf:ID=\"a\">\n" |
| 642 |
+ " <rdf:type><owl:Restriction><owl:onProperty rdf:resource=\"#op\"/><owl:someValuesFrom rdf:resource=\n" |
| 643 |
+ " \"http://www.w3.org/2002/07/owl#Nothing\" /></owl:Restriction></rdf:type></rdf:Description>\n" |
| 644 |
+ " <rdf:Description rdf:ID=\"b\">\n" |
| 645 |
+ " <rdf:type><owl:Restriction><owl:onProperty rdf:resource=\"#op\"/><owl:someValuesFrom rdf:resource=\n" |
| 646 |
+ " \"http://www.w3.org/2002/07/owl#Nothing\" /></owl:Restriction></rdf:type></rdf:Description>\n" |
| 647 |
+ "</rdf:RDF>"; |
| 648 |
String conclusion = ""; |
| 649 |
String id = "WebOnt_Restriction_001"; |
| 650 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 651 |
String d = "This test shows the syntax for using the same restriction twice in OWL Lite."; |
| 652 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 653 |
r.setReasonerFactory(factory()); |
| 654 |
r.run(); |
| 655 |
} |
| 656 |
|
| 657 |
@Test |
| 658 |
public void testWebOnt_Restriction_002() { |
| 659 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 660 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/Restriction/inconsistent002\" >\n" |
| 661 |
+ " <owl:Ontology/>\n" |
| 662 |
+ " <owl:ObjectProperty rdf:ID=\"op\"/>\n" |
| 663 |
+ " <rdf:Description rdf:ID=\"a\">\n" |
| 664 |
+ " <rdf:type><owl:Restriction rdf:nodeID=\"r\"><owl:onProperty rdf:resource=\"#op\"/><owl:someValuesFrom rdf:resource=\n" |
| 665 |
+ " \"http://www.w3.org/2002/07/owl#Nothing\" /></owl:Restriction></rdf:type></rdf:Description>\n" |
| 666 |
+ " <rdf:Description rdf:ID=\"b\">\n" |
| 667 |
+ " <rdf:type rdf:nodeID=\"r\"/>\n" |
| 668 |
+ " </rdf:Description></rdf:RDF>"; |
| 669 |
String conclusion = ""; |
| 670 |
String id = "WebOnt_Restriction_002"; |
| 671 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 672 |
String d = "This test shows syntax that was not permitted in OWL Lite or OWL DL for using the same restriction twice, but is permitted in OWL 2 DL."; |
| 673 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 674 |
r.setReasonerFactory(factory()); |
| 675 |
r.run(); |
| 676 |
} |
| 677 |
|
| 678 |
@Test |
| 679 |
public void testWebOnt_Restriction_003() { |
| 680 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/Restriction/consistent003#\"\n" |
| 681 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/Restriction/consistent003\" >\n" |
| 682 |
+ " <owl:Ontology/>\n" |
| 683 |
+ " <owl:DatatypeProperty rdf:ID=\"dp\"/>\n" |
| 684 |
+ " <owl:Class rdf:ID=\"C\">\n" |
| 685 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"superC\"/><owl:Restriction rdf:nodeID=\"r\"><owl:onProperty rdf:resource=\"#dp\"/><owl:someValuesFrom rdf:resource=\n" |
| 686 |
+ " \"http://www.w3.org/2001/XMLSchema#byte\" /></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 687 |
+ " <owl:Class rdf:ID=\"D\">\n" |
| 688 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"superD\"/><rdf:Description rdf:nodeID=\"r\"/></owl:intersectionOf></owl:Class>\n" |
| 689 |
+ "</rdf:RDF>"; |
| 690 |
String conclusion = ""; |
| 691 |
String id = "WebOnt_Restriction_003"; |
| 692 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 693 |
String d = "This test shows syntax that was not permitted in OWL Lite or OWL DL for using the same restriction twice, but is permitted in OWL 2 DL."; |
| 694 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 695 |
r.setReasonerFactory(factory()); |
| 696 |
r.run(); |
| 697 |
} |
| 698 |
|
| 699 |
@Test |
| 700 |
public void testWebOnt_Restriction_004() { |
| 701 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 702 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/Restriction/consistent004\" >\n" |
| 703 |
+ " <owl:Ontology/>\n" |
| 704 |
+ " <owl:DatatypeProperty rdf:ID=\"dp\"/>\n" |
| 705 |
+ " <owl:Class rdf:ID=\"C\">\n" |
| 706 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"superC\"/><owl:Restriction><owl:onProperty rdf:resource=\"#dp\"/><owl:someValuesFrom rdf:resource=\n" |
| 707 |
+ " \"http://www.w3.org/2001/XMLSchema#byte\" /></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 708 |
+ " <owl:Class rdf:ID=\"D\">\n" |
| 709 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"superD\"/><owl:Restriction><owl:onProperty rdf:resource=\"#dp\"/><owl:someValuesFrom rdf:resource=\n" |
| 710 |
+ " \"http://www.w3.org/2001/XMLSchema#byte\" /></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 711 |
+ "</rdf:RDF>"; |
| 712 |
String conclusion = ""; |
| 713 |
String id = "WebOnt_Restriction_004"; |
| 714 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 715 |
String d = "This test shows OWL Lite syntax for using two equivalent restrictions."; |
| 716 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 717 |
r.setReasonerFactory(factory()); |
| 718 |
r.run(); |
| 719 |
} |
| 720 |
|
| 721 |
@Test |
| 722 |
public void testWebOnt_SymmetricProperty_002() { |
| 723 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/SymmetricProperty/premises002#\"\n" |
| 724 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/SymmetricProperty/premises002\" >\n" |
| 725 |
+ " <owl:Ontology/>\n" |
| 726 |
+ " <owl:InverseFunctionalProperty rdf:about=\"#equalityOnA\"><rdfs:range><owl:Class rdf:ID=\"A\"><owl:oneOf rdf:parseType=\"Collection\"><owl:Thing rdf:ID=\"a\"/><owl:Thing rdf:ID=\"b\"/></owl:oneOf></owl:Class></rdfs:range></owl:InverseFunctionalProperty>\n" |
| 727 |
+ " <owl:Thing rdf:about=\"#a\"><first:equalityOnA rdf:resource=\"#a\"/></owl:Thing>\n" |
| 728 |
+ " <owl:Thing rdf:about=\"#b\"><first:equalityOnA rdf:resource=\"#b\"/></owl:Thing>\n" |
| 729 |
+ " <owl:Thing rdf:ID=\"c\"/>\n" + "</rdf:RDF>"; |
| 730 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/SymmetricProperty/premises002#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\"\n" |
| 731 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/SymmetricProperty/conclusions002\" >\n" |
| 732 |
+ " <owl:Ontology/>\n" |
| 733 |
+ " <owl:SymmetricProperty rdf:about=\"premises002#equalityOnA\">\n" |
| 734 |
+ " <rdfs:domain><owl:Class><owl:oneOf rdf:parseType=\"Collection\"><owl:Thing rdf:about=\"premises002#a\"/><owl:Thing rdf:about=\"premises002#b\"/><owl:Thing rdf:about=\"premises002#c\"/></owl:oneOf></owl:Class></rdfs:domain></owl:SymmetricProperty>\n" |
| 735 |
+ " <owl:Thing rdf:about=\"premises002#a\">\n" |
| 736 |
+ " <first:equalityOnA rdf:resource=\"premises002#a\"/></owl:Thing></rdf:RDF>"; |
| 737 |
String id = "WebOnt_SymmetricProperty_002"; |
| 738 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 739 |
String d = "Test illustrating extensional semantics of owl:SymmetricProperty."; |
| 740 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 741 |
r.setReasonerFactory(factory()); |
| 742 |
r.run(); |
| 743 |
} |
| 744 |
|
| 745 |
@Test |
| 746 |
public void testWebOnt_SymmetricProperty_003() { |
| 747 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/SymmetricProperty/premises003#\"\n" |
| 748 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/SymmetricProperty/premises003\" >\n" |
| 749 |
+ " <owl:Ontology/>\n" |
| 750 |
+ " <owl:Thing rdf:about=\"premises003#Ghent\"><first:path><owl:Thing rdf:about=\"premises003#Antwerp\"/></first:path></owl:Thing>\n" |
| 751 |
+ " <owl:SymmetricProperty rdf:about=\"premises003#path\"/></rdf:RDF>"; |
| 752 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/SymmetricProperty/premises003#\"\n" |
| 753 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/SymmetricProperty/conclusions003\" >\n" |
| 754 |
+ " <owl:Ontology/>\n" |
| 755 |
+ " <owl:Thing rdf:about=\"premises003#Antwerp\"><first:path><owl:Thing rdf:about=\"premises003#Ghent\"/></first:path></owl:Thing>\n" |
| 756 |
+ " <owl:ObjectProperty rdf:about=\"premises003#path\"/></rdf:RDF>"; |
| 757 |
String id = "WebOnt_SymmetricProperty_003"; |
| 758 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 759 |
String d = "A Lite version of test <a xmlns=\"http://www.w3.org/1999/xhtml\" href=\"#SymmetricProperty-001\">001</a>."; |
| 760 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 761 |
r.setReasonerFactory(factory()); |
| 762 |
r.run(); |
| 763 |
} |
| 764 |
|
| 765 |
@Test |
| 766 |
public void testWebOnt_Thing_003() { |
| 767 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 768 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/Thing/inconsistent003\" >\n" |
| 769 |
+ " <owl:Ontology/>\n" |
| 770 |
+ " <owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\">\n" |
| 771 |
+ " <owl:equivalentClass rdf:resource\n" |
| 772 |
+ " =\"http://www.w3.org/2002/07/owl#Nothing\"/></owl:Class></rdf:RDF>"; |
| 773 |
String conclusion = ""; |
| 774 |
String id = "WebOnt_Thing_003"; |
| 775 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 776 |
String d = "The extension of OWL Thing may not be empty."; |
| 777 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 778 |
r.setReasonerFactory(factory()); |
| 779 |
r.run(); |
| 780 |
} |
| 781 |
|
| 782 |
@Test |
| 783 |
public void testWebOnt_Thing_004() { |
| 784 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 785 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/Thing/consistent004\" >\n" |
| 786 |
+ " <owl:Ontology/>\n" |
| 787 |
+ " <owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"><owl:oneOf rdf:parseType=\"Collection\"><owl:Thing rdf:about=\"#s\"/></owl:oneOf></owl:Class></rdf:RDF>"; |
| 788 |
String conclusion = ""; |
| 789 |
String id = "WebOnt_Thing_004"; |
| 790 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 791 |
String d = "The extension of OWL Thing may be a singleton in OWL DL."; |
| 792 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 793 |
r.setReasonerFactory(factory()); |
| 794 |
r.run(); |
| 795 |
} |
| 796 |
|
| 797 |
@Test |
| 798 |
public void testWebOnt_TransitiveProperty_002() { |
| 799 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/TransitiveProperty/premises002#\" xmlns:second=\"http://www.w3.org/2002/03owlt/TransitiveProperty/conclusions002#\"\n" |
| 800 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/TransitiveProperty/premises002\" >\n" |
| 801 |
+ " <owl:Ontology/>\n" |
| 802 |
+ " <owl:SymmetricProperty rdf:ID=\"symProp\">\n" |
| 803 |
+ " <rdfs:range><owl:Class><owl:oneOf rdf:parseType=\"Collection\"><owl:Thing rdf:ID=\"a\"/><owl:Thing rdf:ID=\"b\"/></owl:oneOf></owl:Class></rdfs:range></owl:SymmetricProperty>\n" |
| 804 |
+ " <owl:Thing rdf:about=\"#a\">\n" |
| 805 |
+ " <first:symProp rdf:resource=\"#a\"/>\n" |
| 806 |
+ " </owl:Thing>\n" |
| 807 |
+ " <owl:Thing rdf:about=\"#b\">\n" |
| 808 |
+ " <first:symProp rdf:resource=\"#b\"/>\n" |
| 809 |
+ " </owl:Thing></rdf:RDF>"; |
| 810 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/TransitiveProperty/premises002#\" xmlns:second=\"http://www.w3.org/2002/03owlt/TransitiveProperty/conclusions002#\"\n" |
| 811 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/TransitiveProperty/conclusions002\" >\n" |
| 812 |
+ " <owl:Ontology/>\n" |
| 813 |
+ " <owl:TransitiveProperty rdf:about=\"premises002#symProp\"/>\n" |
| 814 |
+ " <rdf:Description rdf:about=\"premises002#a\">\n" |
| 815 |
+ " <rdf:type><owl:Restriction><rdf:type rdf:resource=\"http://www.w3.org/2002/07/owl#Class\"/><owl:onProperty rdf:resource=\"premises002#symProp\"/><owl:someValuesFrom rdf:resource=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:Restriction></rdf:type></rdf:Description>\n" |
| 816 |
+ "</rdf:RDF>"; |
| 817 |
String id = "WebOnt_TransitiveProperty_002"; |
| 818 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 819 |
String d = "Test illustrating extensional semantics of owl:TransitiveProperty."; |
| 820 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 821 |
r.setReasonerFactory(factory()); |
| 822 |
r.run(); |
| 823 |
} |
| 824 |
|
| 825 |
@Test |
| 826 |
public void testWebOnt_backwardCompatibleWith_002() { |
| 827 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/backwardCompatibleWith/consistent002#\"\n" |
| 828 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/backwardCompatibleWith/consistent002\" >\n" |
| 829 |
+ " <rdf:Description><owl:backwardCompatibleWith><owl:Ontology rdf:about=\"http://www.example.org/\"/></owl:backwardCompatibleWith></rdf:Description></rdf:RDF>"; |
| 830 |
String conclusion = ""; |
| 831 |
String id = "WebOnt_backwardCompatibleWith_002"; |
| 832 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 833 |
String d = "In OWL Lite and DL the subject and object of a triple with predicate owl:backwardCompatibleWith must both be explicitly typed as owl:Ontology. In OWL 2, this RDF graph parses to a single ontology with URI http://www.example.org/ and an annotation assertion between a blank node and that URI."; |
| 834 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 835 |
r.setReasonerFactory(factory()); |
| 836 |
r.run(); |
| 837 |
} |
| 838 |
|
| 839 |
@Test |
| 840 |
public void testWebOnt_cardinality_001() { |
| 841 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 842 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/cardinality/premises001\" >\n" |
| 843 |
+ " <owl:Ontology/>\n" |
| 844 |
+ " <owl:Class rdf:ID=\"c\"><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"#p\"/><owl:cardinality\n" |
| 845 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:cardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 846 |
+ " <owl:ObjectProperty rdf:ID=\"p\"/>\n" + "</rdf:RDF>"; |
| 847 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 848 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/cardinality/conclusions001\" >\n" |
| 849 |
+ " <owl:Ontology/>\n" |
| 850 |
+ " <owl:Class rdf:about=\"premises001#c\"><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"premises001#p\"/><owl:maxCardinality\n" |
| 851 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"premises001#p\"/><owl:minCardinality\n" |
| 852 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:minCardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 853 |
+ " <owl:ObjectProperty rdf:about=\"premises001#p\"/></rdf:RDF>"; |
| 854 |
String id = "WebOnt_cardinality_001"; |
| 855 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 856 |
String d = "An owl:cardinality constraint is simply shorthand for a pair of owl:minCardinality and owl:maxCardinality constraints."; |
| 857 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 858 |
r.setReasonerFactory(factory()); |
| 859 |
r.run(); |
| 860 |
} |
| 861 |
|
| 862 |
@Test |
| 863 |
public void testWebOnt_cardinality_002() { |
| 864 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 865 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/cardinality/premises002\" > \n" |
| 866 |
+ " <owl:Ontology/>\n" |
| 867 |
+ " <owl:Class rdf:about=\"conclusions002#c\"><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"conclusions002#p\"/><owl:maxCardinality\n" |
| 868 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"conclusions002#p\"/><owl:minCardinality\n" |
| 869 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:minCardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 870 |
+ " <owl:ObjectProperty rdf:about=\"conclusions002#p\"/></rdf:RDF>"; |
| 871 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 872 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/cardinality/conclusions002\" >\n" |
| 873 |
+ " <owl:Ontology/>\n" |
| 874 |
+ " <owl:Class rdf:ID=\"c\"><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"#p\"/><owl:cardinality\n" |
| 875 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:cardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 876 |
+ " <owl:ObjectProperty rdf:ID=\"p\"/>\n" + "</rdf:RDF>"; |
| 877 |
String id = "WebOnt_cardinality_002"; |
| 878 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 879 |
String d = "An owl:cardinality constraint is simply shorthand for a pair of owl:minCardinality and owl:maxCardinality constraints."; |
| 880 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 881 |
r.setReasonerFactory(factory()); |
| 882 |
r.run(); |
| 883 |
} |
| 884 |
|
| 885 |
@Test |
| 886 |
public void testWebOnt_cardinality_003() { |
| 887 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 888 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/cardinality/premises003\" >\n" |
| 889 |
+ " <owl:Ontology/>\n" |
| 890 |
+ " <owl:Class rdf:ID=\"c\"><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"#p\"/><owl:cardinality\n" |
| 891 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:cardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 892 |
+ " <owl:ObjectProperty rdf:ID=\"p\"/>\n" + "</rdf:RDF>"; |
| 893 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 894 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/cardinality/conclusions003\" >\n" |
| 895 |
+ " <owl:Ontology/>\n" |
| 896 |
+ " <owl:Class rdf:about=\"premises003#c\"><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"premises003#p\"/><owl:maxCardinality\n" |
| 897 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:maxCardinality></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"premises003#p\"/><owl:minCardinality\n" |
| 898 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:minCardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 899 |
+ " <owl:ObjectProperty rdf:about=\"premises003#p\"/></rdf:RDF>"; |
| 900 |
String id = "WebOnt_cardinality_003"; |
| 901 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 902 |
String d = "An owl:cardinality constraint is simply shorthand for a pair of owl:minCardinality and owl:maxCardinality constraints."; |
| 903 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 904 |
r.setReasonerFactory(factory()); |
| 905 |
r.run(); |
| 906 |
} |
| 907 |
|
| 908 |
@Test |
| 909 |
public void testWebOnt_cardinality_004() { |
| 910 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 911 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/cardinality/premises004\" > \n" |
| 912 |
+ " <owl:Ontology/>\n" |
| 913 |
+ " <owl:Class rdf:about=\"conclusions004#c\"><rdfs:subClassOf><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"conclusions004#p\"/><owl:maxCardinality\n" |
| 914 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:maxCardinality></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"conclusions004#p\"/><owl:minCardinality\n" |
| 915 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:minCardinality></owl:Restriction></owl:intersectionOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 916 |
+ " <owl:ObjectProperty rdf:about=\"conclusions004#p\"/></rdf:RDF>"; |
| 917 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 918 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/cardinality/conclusions004\" >\n" |
| 919 |
+ " <owl:Ontology/>\n" |
| 920 |
+ " <owl:Class rdf:ID=\"c\"><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"#p\"/><owl:cardinality\n" |
| 921 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:cardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 922 |
+ " <owl:ObjectProperty rdf:ID=\"p\"/>\n" + "</rdf:RDF>"; |
| 923 |
String id = "WebOnt_cardinality_004"; |
| 924 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 925 |
String d = "An owl:cardinality constraint is simply shorthand for a pair of owl:minCardinality and owl:maxCardinality constraints."; |
| 926 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 927 |
r.setReasonerFactory(factory()); |
| 928 |
r.run(); |
| 929 |
} |
| 930 |
|
| 931 |
@Test |
| 932 |
public void testWebOnt_description_logic_001() { |
| 933 |
String premise = "<rdf:RDF\n" |
| 934 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent001\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 935 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 936 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#b\"/></owl:intersectionOf></owl:Class><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:intersectionOf></owl:Class><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#b\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:intersectionOf></owl:Class></owl:unionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 937 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#b\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 938 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#b\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 939 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/>\n" |
| 940 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 941 |
String conclusion = ""; |
| 942 |
String id = "WebOnt_description_logic_001"; |
| 943 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 944 |
String d = "DL Test: fact1.1\n" + "If a, b and c are disjoint, then:\n" |
| 945 |
+ "(a and b) or (b and c) or (c and a)\n" + "is unsatisfiable."; |
| 946 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 947 |
r.setReasonerFactory(factory()); |
| 948 |
r.run(); |
| 949 |
} |
| 950 |
|
| 951 |
@Test |
| 952 |
public void testWebOnt_description_logic_002() { |
| 953 |
String premise = "<rdf:RDF\n" |
| 954 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent002\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 955 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 956 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></rdfs:subClassOf><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 957 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:allValuesFrom></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 958 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/>\n" |
| 959 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 960 |
+ " <owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:allValuesFrom><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></rdfs:subClassOf></owl:Restriction>\n" |
| 961 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 962 |
String conclusion = ""; |
| 963 |
String id = "WebOnt_description_logic_002"; |
| 964 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 965 |
String d = "DL Test: fact2.1"; |
| 966 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 967 |
r.setReasonerFactory(factory()); |
| 968 |
r.run(); |
| 969 |
} |
| 970 |
|
| 971 |
@Test |
| 972 |
public void testWebOnt_description_logic_003() { |
| 973 |
String premise = "<rdf:RDF\n" |
| 974 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent003\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 975 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 976 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f2\"/><owl:someValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:complementOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f3\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 977 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 978 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/>\n" |
| 979 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 980 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 981 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f2\"/>\n" |
| 982 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f2\"/>\n" |
| 983 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f3\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f2\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 984 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f3\"/>\n" |
| 985 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 986 |
String conclusion = ""; |
| 987 |
String id = "WebOnt_description_logic_003"; |
| 988 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 989 |
String d = "DL Test: fact3.1"; |
| 990 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 991 |
r.setReasonerFactory(factory()); |
| 992 |
r.run(); |
| 993 |
} |
| 994 |
|
| 995 |
@Test |
| 996 |
public void testWebOnt_description_logic_004() { |
| 997 |
String premise = "<rdf:RDF\n" |
| 998 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent004\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 999 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1000 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#rx3\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#c2\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:complementOf></owl:Class><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#rx3\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#rx4\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#c2\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1001 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"/>\n" |
| 1002 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c2\"/>\n" |
| 1003 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx1\"/>\n" |
| 1004 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx2\"/>\n" |
| 1005 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx3\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx1\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx\"/></owl:ObjectProperty>\n" |
| 1006 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#rx3\"/>\n" |
| 1007 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx4\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx2\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx\"/></owl:ObjectProperty>\n" |
| 1008 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#rx4\"/>\n" |
| 1009 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rxa\"/>\n" |
| 1010 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx1a\"/>\n" |
| 1011 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx2a\"/>\n" |
| 1012 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx3a\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx1a\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rxa\"/></owl:ObjectProperty>\n" |
| 1013 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#rx3a\"/>\n" |
| 1014 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx4a\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx2a\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rxa\"/></owl:ObjectProperty>\n" |
| 1015 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#rx4a\"/>\n" |
| 1016 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx\"/>\n" |
| 1017 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#rx\"/>\n" |
| 1018 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1019 |
String conclusion = ""; |
| 1020 |
String id = "WebOnt_description_logic_004"; |
| 1021 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1022 |
String d = "DL Test: fact4.1"; |
| 1023 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1024 |
r.setReasonerFactory(factory()); |
| 1025 |
r.run(); |
| 1026 |
} |
| 1027 |
|
| 1028 |
@Test |
| 1029 |
public void testWebOnt_description_logic_005() { |
| 1030 |
String premise = "<rdf:RDF\n" |
| 1031 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent005\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1032 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1033 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#rx3a\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#c2\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:complementOf></owl:Class><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#rx3a\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#rx4a\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#c2\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1034 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"/>\n" |
| 1035 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c2\"/>\n" |
| 1036 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx1\"/>\n" |
| 1037 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx2\"/>\n" |
| 1038 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx3\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx1\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx\"/></owl:ObjectProperty>\n" |
| 1039 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#rx3\"/>\n" |
| 1040 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx4\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx2\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx\"/></owl:ObjectProperty>\n" |
| 1041 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#rx4\"/>\n" |
| 1042 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rxa\"/>\n" |
| 1043 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx1a\"/>\n" |
| 1044 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx2a\"/>\n" |
| 1045 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx3a\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx1a\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rxa\"/></owl:ObjectProperty>\n" |
| 1046 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#rx3a\"/>\n" |
| 1047 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx4a\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx2a\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rxa\"/></owl:ObjectProperty>\n" |
| 1048 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#rx4a\"/>\n" |
| 1049 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx\"/>\n" |
| 1050 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#rx\"/>\n" |
| 1051 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Satisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1052 |
String conclusion = ""; |
| 1053 |
String id = "WebOnt_description_logic_005"; |
| 1054 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 1055 |
String d = "DL Test: fact4.2"; |
| 1056 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1057 |
r.setReasonerFactory(factory()); |
| 1058 |
r.run(); |
| 1059 |
} |
| 1060 |
|
| 1061 |
@Test |
| 1062 |
public void testWebOnt_description_logic_006() { |
| 1063 |
String premise = "<rdf:RDF\n" |
| 1064 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent006\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1065 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1066 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 1067 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1068 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1069 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1070 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1071 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/>\n" |
| 1072 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1073 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1074 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Satisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1075 |
String conclusion = ""; |
| 1076 |
String id = "WebOnt_description_logic_006"; |
| 1077 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 1078 |
String d = "DL Test: t1.1"; |
| 1079 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1080 |
r.setReasonerFactory(factory()); |
| 1081 |
r.run(); |
| 1082 |
} |
| 1083 |
|
| 1084 |
@Test |
| 1085 |
public void testWebOnt_description_logic_007() { |
| 1086 |
String premise = "<rdf:RDF\n" |
| 1087 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent007\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1088 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1089 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:maxCardinality></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1090 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1091 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1092 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1093 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1094 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/>\n" |
| 1095 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1096 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1097 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1098 |
String conclusion = ""; |
| 1099 |
String id = "WebOnt_description_logic_007"; |
| 1100 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1101 |
String d = "DL Test: t1.2"; |
| 1102 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1103 |
r.setReasonerFactory(factory()); |
| 1104 |
r.run(); |
| 1105 |
} |
| 1106 |
|
| 1107 |
@Test |
| 1108 |
public void testWebOnt_description_logic_008() { |
| 1109 |
String premise = "<rdf:RDF\n" |
| 1110 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent008\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1111 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1112 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1113 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1114 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1115 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1116 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1117 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/>\n" |
| 1118 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1119 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1120 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1121 |
String conclusion = ""; |
| 1122 |
String id = "WebOnt_description_logic_008"; |
| 1123 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1124 |
String d = "DL Test: t1.3"; |
| 1125 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1126 |
r.setReasonerFactory(factory()); |
| 1127 |
r.run(); |
| 1128 |
} |
| 1129 |
|
| 1130 |
@Test |
| 1131 |
public void testWebOnt_description_logic_009() { |
| 1132 |
String premise = "<rdf:RDF\n" |
| 1133 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent009\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1134 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1135 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f1\"/><owl:someValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:complementOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1136 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1137 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1138 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#s\"/></owl:ObjectProperty>\n" |
| 1139 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF1\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 1140 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1141 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1142 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 1143 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#s\"/>\n" |
| 1144 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 1145 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 1146 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Satisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1147 |
String conclusion = ""; |
| 1148 |
String id = "WebOnt_description_logic_009"; |
| 1149 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 1150 |
String d = "DL Test: t10.1"; |
| 1151 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1152 |
r.setReasonerFactory(factory()); |
| 1153 |
r.run(); |
| 1154 |
} |
| 1155 |
|
| 1156 |
@Test |
| 1157 |
public void testWebOnt_description_logic_010() { |
| 1158 |
String premise = "<rdf:RDF\n" |
| 1159 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent010\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1160 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1161 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:complementOf></owl:Class><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invS\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:allValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invF\"/><owl:allValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#s\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:someValuesFrom></owl:Restriction></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1162 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1163 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1164 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#s\"/></owl:ObjectProperty>\n" |
| 1165 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF1\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 1166 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1167 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1168 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 1169 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#s\"/>\n" |
| 1170 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 1171 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 1172 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1173 |
String conclusion = ""; |
| 1174 |
String id = "WebOnt_description_logic_010"; |
| 1175 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1176 |
String d = "DL Test: t10.2"; |
| 1177 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1178 |
r.setReasonerFactory(factory()); |
| 1179 |
r.run(); |
| 1180 |
} |
| 1181 |
|
| 1182 |
@Test |
| 1183 |
public void testWebOnt_description_logic_011() { |
| 1184 |
String premise = "<rdf:RDF\n" |
| 1185 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent011\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1186 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1187 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#s\"/><owl:allValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:complementOf></owl:Class></owl:allValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#s\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invS\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1188 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1189 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1190 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#s\"/></owl:ObjectProperty>\n" |
| 1191 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF1\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 1192 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1193 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1194 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 1195 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#s\"/>\n" |
| 1196 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 1197 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 1198 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1199 |
String conclusion = ""; |
| 1200 |
String id = "WebOnt_description_logic_011"; |
| 1201 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1202 |
String d = "DL Test: t10.3"; |
| 1203 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1204 |
r.setReasonerFactory(factory()); |
| 1205 |
r.run(); |
| 1206 |
} |
| 1207 |
|
| 1208 |
@Test |
| 1209 |
public void testWebOnt_description_logic_012() { |
| 1210 |
String premise = "<rdf:RDF\n" |
| 1211 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent012\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1212 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1213 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#s\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f1\"/><owl:someValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:complementOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1214 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1215 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1216 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#s\"/></owl:ObjectProperty>\n" |
| 1217 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF1\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 1218 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1219 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1220 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 1221 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#s\"/>\n" |
| 1222 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 1223 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 1224 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1225 |
String conclusion = ""; |
| 1226 |
String id = "WebOnt_description_logic_012"; |
| 1227 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1228 |
String d = "DL Test: t10.4"; |
| 1229 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1230 |
r.setReasonerFactory(factory()); |
| 1231 |
r.run(); |
| 1232 |
} |
| 1233 |
|
| 1234 |
@Test |
| 1235 |
public void testWebOnt_description_logic_013() { |
| 1236 |
String premise = "<rdf:RDF\n" |
| 1237 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent013\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1238 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1239 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f1\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:complementOf></owl:Class><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invF1\"/><owl:allValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#s\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1240 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1241 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1242 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#s\"/></owl:ObjectProperty>\n" |
| 1243 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF1\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 1244 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1245 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1246 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 1247 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#s\"/>\n" |
| 1248 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 1249 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 1250 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1251 |
String conclusion = ""; |
| 1252 |
String id = "WebOnt_description_logic_013"; |
| 1253 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1254 |
String d = "DL Test: t10.5"; |
| 1255 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1256 |
r.setReasonerFactory(factory()); |
| 1257 |
r.run(); |
| 1258 |
} |
| 1259 |
|
| 1260 |
@Test |
| 1261 |
public void testWebOnt_description_logic_014() { |
| 1262 |
String premise = "<rdf:RDF\n" |
| 1263 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent014\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1264 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1265 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:complementOf></owl:Class><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invS\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:allValuesFrom></owl:Restriction></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#s\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1266 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1267 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#s\"/></owl:ObjectProperty>\n" |
| 1268 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1269 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1270 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1271 |
String conclusion = ""; |
| 1272 |
String id = "WebOnt_description_logic_014"; |
| 1273 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1274 |
String d = "DL Test: t11.1"; |
| 1275 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1276 |
r.setReasonerFactory(factory()); |
| 1277 |
r.run(); |
| 1278 |
} |
| 1279 |
|
| 1280 |
@Test |
| 1281 |
public void testWebOnt_description_logic_015() { |
| 1282 |
String premise = "<rdf:RDF\n" |
| 1283 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent015\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1284 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1285 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#s\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:complementOf></owl:Class><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#q\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:someValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#s\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:allValuesFrom></owl:Restriction></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1286 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1287 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#q\"/>\n" |
| 1288 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1289 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1290 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"/>\n" |
| 1291 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1292 |
String conclusion = ""; |
| 1293 |
String id = "WebOnt_description_logic_015"; |
| 1294 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1295 |
String d = "DL Test: t12.1"; |
| 1296 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1297 |
r.setReasonerFactory(factory()); |
| 1298 |
r.run(); |
| 1299 |
} |
| 1300 |
|
| 1301 |
@Test |
| 1302 |
public void testWebOnt_description_logic_016() { |
| 1303 |
String premise = "<rdf:RDF\n" |
| 1304 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent016\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1305 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1306 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f2\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1307 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1308 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/>\n" |
| 1309 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f2\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 1310 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 1311 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f2\"/>\n" |
| 1312 |
+ "<rdf:Description rdf:about='http://www.w3.org/2002/07/owl#Thing' ><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f1\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></rdf:Description>\n" |
| 1313 |
+ "<rdf:Description rdf:about='http://www.w3.org/2002/07/owl#Thing' ><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f2\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></rdf:Description>\n" |
| 1314 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Satisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1315 |
String conclusion = ""; |
| 1316 |
String id = "WebOnt_description_logic_016"; |
| 1317 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 1318 |
String d = "DL Test: t2.1"; |
| 1319 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1320 |
r.setReasonerFactory(factory()); |
| 1321 |
r.run(); |
| 1322 |
} |
| 1323 |
|
| 1324 |
@Test |
| 1325 |
public void testWebOnt_description_logic_017() { |
| 1326 |
String premise = "<rdf:RDF\n" |
| 1327 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent017\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1328 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1329 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f2\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1330 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1331 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/>\n" |
| 1332 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f2\"/><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 1333 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 1334 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f2\"/>\n" |
| 1335 |
+ "<rdf:Description rdf:about='http://www.w3.org/2002/07/owl#Thing' ><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f1\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></rdf:Description>\n" |
| 1336 |
+ "<rdf:Description rdf:about='http://www.w3.org/2002/07/owl#Thing' ><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f2\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></rdf:Description>\n" |
| 1337 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1338 |
String conclusion = ""; |
| 1339 |
String id = "WebOnt_description_logic_017"; |
| 1340 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1341 |
String d = "DL Test: t2.2"; |
| 1342 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1343 |
r.setReasonerFactory(factory()); |
| 1344 |
r.run(); |
| 1345 |
} |
| 1346 |
|
| 1347 |
@Test |
| 1348 |
public void testWebOnt_description_logic_018() { |
| 1349 |
String premise = "<rdf:RDF\n" |
| 1350 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent018\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1351 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1352 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">3</owl:maxCardinality></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1353 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1354 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1355 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1356 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1357 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1358 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/>\n" |
| 1359 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1360 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Satisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1361 |
String conclusion = ""; |
| 1362 |
String id = "WebOnt_description_logic_018"; |
| 1363 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 1364 |
String d = "DL Test: t3.1\n" |
| 1365 |
+ "There are 90 possible partitions in the satisfiable case"; |
| 1366 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1367 |
r.setReasonerFactory(factory()); |
| 1368 |
r.run(); |
| 1369 |
} |
| 1370 |
|
| 1371 |
@Test |
| 1372 |
public void testWebOnt_description_logic_019() { |
| 1373 |
String premise = "<rdf:RDF\n" |
| 1374 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent019\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1375 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1376 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">3</owl:maxCardinality></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1377 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1378 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1379 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1380 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1381 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1382 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/>\n" |
| 1383 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1384 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1385 |
String conclusion = ""; |
| 1386 |
String id = "WebOnt_description_logic_019"; |
| 1387 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1388 |
String d = "DL Test: t3.2\n" |
| 1389 |
+ "There are 301 possible partitions in the unsatisfiable case"; |
| 1390 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1391 |
r.setReasonerFactory(factory()); |
| 1392 |
r.run(); |
| 1393 |
} |
| 1394 |
|
| 1395 |
@Test |
| 1396 |
public void testWebOnt_description_logic_020() { |
| 1397 |
String premise = "<rdf:RDF\n" |
| 1398 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent020\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1399 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1400 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">4</owl:maxCardinality></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1401 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1402 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1403 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1404 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1405 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1406 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/>\n" |
| 1407 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1408 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Satisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1409 |
String conclusion = ""; |
| 1410 |
String id = "WebOnt_description_logic_020"; |
| 1411 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 1412 |
String d = "DL Test: t3a.1\n" |
| 1413 |
+ "there are 1,701 possible partitions in the satisfiable case"; |
| 1414 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1415 |
r.setReasonerFactory(factory()); |
| 1416 |
r.run(); |
| 1417 |
} |
| 1418 |
|
| 1419 |
@Test |
| 1420 |
public void testWebOnt_description_logic_021() { |
| 1421 |
String premise = "<rdf:RDF\n" |
| 1422 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent021\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1423 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1424 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">5</owl:maxCardinality></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1425 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1426 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1427 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1428 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1429 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1430 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/>\n" |
| 1431 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1432 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Satisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1433 |
String conclusion = ""; |
| 1434 |
String id = "WebOnt_description_logic_021"; |
| 1435 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 1436 |
String d = "DL Test: t3a.2\n" |
| 1437 |
+ "There are 7,770 possible partitions in the unsatisfiable case"; |
| 1438 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1439 |
r.setReasonerFactory(factory()); |
| 1440 |
r.run(); |
| 1441 |
} |
| 1442 |
|
| 1443 |
@Test |
| 1444 |
public void testWebOnt_description_logic_022() { |
| 1445 |
String premise = "<rdf:RDF\n" |
| 1446 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent022\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1447 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1448 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">4</owl:maxCardinality></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1449 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1450 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1451 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1452 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1453 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1454 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"/>\n" |
| 1455 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1456 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1457 |
String conclusion = ""; |
| 1458 |
String id = "WebOnt_description_logic_022"; |
| 1459 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1460 |
String d = "DL Test: t3a.3\n" |
| 1461 |
+ "There are 42,525 possible partitions in the satisfiable case"; |
| 1462 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1463 |
r.setReasonerFactory(factory()); |
| 1464 |
r.run(); |
| 1465 |
} |
| 1466 |
|
| 1467 |
@Test |
| 1468 |
public void testWebOnt_description_logic_023() { |
| 1469 |
String premise = "<rdf:RDF\n" |
| 1470 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent023\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1471 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1472 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#s\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#p\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:allValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#p\"/><owl:allValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:allValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#p\"/><owl:allValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#p\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:allValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#p\"/><owl:allValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:allValuesFrom></owl:Restriction></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 1473 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/>\n" |
| 1474 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:allValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invP\"/><owl:allValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invS\"/><owl:allValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/></owl:complementOf></owl:Class></owl:allValuesFrom></owl:Restriction></owl:allValuesFrom></owl:Restriction></owl:allValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 1475 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invP\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#p\"/></owl:ObjectProperty>\n" |
| 1476 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1477 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#s\"/></owl:ObjectProperty>\n" |
| 1478 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1479 |
+ " <owl:TransitiveProperty rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1480 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1481 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"/>\n" |
| 1482 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1483 |
String conclusion = ""; |
| 1484 |
String id = "WebOnt_description_logic_023"; |
| 1485 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1486 |
String d = "DL Test: t4.1\n" + "Dynamic blocking example"; |
| 1487 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1488 |
r.setReasonerFactory(factory()); |
| 1489 |
r.run(); |
| 1490 |
} |
| 1491 |
|
| 1492 |
@Test |
| 1493 |
public void testWebOnt_description_logic_024() { |
| 1494 |
String premise = "<rdf:RDF\n" |
| 1495 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent024\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1496 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1497 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/></owl:complementOf></owl:Class><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invF\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:someValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invF\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/></owl:someValuesFrom></owl:Restriction></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1498 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/>\n" |
| 1499 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1500 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1501 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1502 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1503 |
+ " <owl:TransitiveProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1504 |
+ "<rdf:Description rdf:about='http://www.w3.org/2002/07/owl#Thing' ><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></rdf:Description>\n" |
| 1505 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Satisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1506 |
String conclusion = ""; |
| 1507 |
String id = "WebOnt_description_logic_024"; |
| 1508 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 1509 |
String d = "DL Test: t5.1\n" + "Non-finite model example from paper\n" |
| 1510 |
+ "The concept should be coherent but has no finite model"; |
| 1511 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1512 |
r.setReasonerFactory(factory()); |
| 1513 |
r.run(); |
| 1514 |
} |
| 1515 |
|
| 1516 |
@Test |
| 1517 |
public void testWebOnt_description_logic_025() { |
| 1518 |
String premise = "<rdf:RDF\n" |
| 1519 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent025\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1520 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1521 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/></owl:complementOf></owl:Class><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invF\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:someValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invF\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/></owl:someValuesFrom></owl:Restriction></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1522 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/>\n" |
| 1523 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1524 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1525 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1526 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1527 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1528 |
+ " <owl:TransitiveProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1529 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Satisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1530 |
String conclusion = ""; |
| 1531 |
String id = "WebOnt_description_logic_025"; |
| 1532 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 1533 |
String d = "DL Test: t5f.1\n" + "Non-finite model example from paper\n" |
| 1534 |
+ "The concept should be coherent but has no finite model"; |
| 1535 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1536 |
r.setReasonerFactory(factory()); |
| 1537 |
r.run(); |
| 1538 |
} |
| 1539 |
|
| 1540 |
@Test |
| 1541 |
public void testWebOnt_description_logic_026() { |
| 1542 |
String premise = "<rdf:RDF\n" |
| 1543 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent026\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1544 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1545 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:complementOf></owl:Class><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invF\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:allValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invF\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:someValuesFrom></owl:Restriction></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1546 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/>\n" |
| 1547 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:someValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:complementOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1548 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1549 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1550 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1551 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1552 |
+ " <owl:TransitiveProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1553 |
+ "<rdf:Description rdf:about='http://www.w3.org/2002/07/owl#Thing' ><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></rdf:Description>\n" |
| 1554 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1555 |
String conclusion = ""; |
| 1556 |
String id = "WebOnt_description_logic_026"; |
| 1557 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1558 |
String d = "DL Test: t6.1\n" + "Double blocking example.\n" |
| 1559 |
+ "The concept should be incoherent but needs double blocking"; |
| 1560 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1561 |
r.setReasonerFactory(factory()); |
| 1562 |
r.run(); |
| 1563 |
} |
| 1564 |
|
| 1565 |
@Test |
| 1566 |
public void testWebOnt_description_logic_027() { |
| 1567 |
String premise = "<rdf:RDF\n" |
| 1568 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent027\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1569 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1570 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:complementOf></owl:Class><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invF\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:allValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invF\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:someValuesFrom></owl:Restriction></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1571 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/>\n" |
| 1572 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:someValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:complementOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1573 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1574 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1575 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1576 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1577 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1578 |
+ " <owl:TransitiveProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1579 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1580 |
String conclusion = ""; |
| 1581 |
String id = "WebOnt_description_logic_027"; |
| 1582 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1583 |
String d = "DL Test: t6f.1\n" + "Double blocking example.\n" |
| 1584 |
+ "The concept should be incoherent but needs double blocking"; |
| 1585 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1586 |
r.setReasonerFactory(factory()); |
| 1587 |
r.run(); |
| 1588 |
} |
| 1589 |
|
| 1590 |
@Test |
| 1591 |
public void testWebOnt_description_logic_028() { |
| 1592 |
String premise = "<rdf:RDF\n" |
| 1593 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent028\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1594 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1595 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:allValuesFrom><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:complementOf></owl:Class><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:allValuesFrom></owl:Restriction></owl:unionOf></owl:Class></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1596 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 1597 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1598 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1599 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1600 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1601 |
+ " <owl:TransitiveProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1602 |
+ "<rdf:Description rdf:about='http://www.w3.org/2002/07/owl#Thing' ><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></rdf:Description>\n" |
| 1603 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Satisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1604 |
String conclusion = ""; |
| 1605 |
String id = "WebOnt_description_logic_028"; |
| 1606 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 1607 |
String d = "DL Test: t7.1"; |
| 1608 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1609 |
r.setReasonerFactory(factory()); |
| 1610 |
r.run(); |
| 1611 |
} |
| 1612 |
|
| 1613 |
@Test |
| 1614 |
public void testWebOnt_description_logic_029() { |
| 1615 |
String premise = "<rdf:RDF\n" |
| 1616 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent029\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1617 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1618 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:allValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:complementOf></owl:Class></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1619 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 1620 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1621 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1622 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1623 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1624 |
+ " <owl:TransitiveProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1625 |
+ "<rdf:Description rdf:about='http://www.w3.org/2002/07/owl#Thing' ><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></rdf:Description>\n" |
| 1626 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1627 |
String conclusion = ""; |
| 1628 |
String id = "WebOnt_description_logic_029"; |
| 1629 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1630 |
String d = "DL Test: t7.2"; |
| 1631 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1632 |
r.setReasonerFactory(factory()); |
| 1633 |
r.run(); |
| 1634 |
} |
| 1635 |
|
| 1636 |
@Test |
| 1637 |
public void testWebOnt_description_logic_030() { |
| 1638 |
String premise = "<rdf:RDF\n" |
| 1639 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent030\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1640 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1641 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invF\"/><owl:someValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:someValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:complementOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 1642 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 1643 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1644 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1645 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1646 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1647 |
+ " <owl:TransitiveProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1648 |
+ "<rdf:Description rdf:about='http://www.w3.org/2002/07/owl#Thing' ><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:maxCardinality rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></rdf:Description>\n" |
| 1649 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1650 |
String conclusion = ""; |
| 1651 |
String id = "WebOnt_description_logic_030"; |
| 1652 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1653 |
String d = "DL Test: t7.3"; |
| 1654 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1655 |
r.setReasonerFactory(factory()); |
| 1656 |
r.run(); |
| 1657 |
} |
| 1658 |
|
| 1659 |
@Test |
| 1660 |
public void testWebOnt_description_logic_031() { |
| 1661 |
String premise = "<rdf:RDF\n" |
| 1662 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent031\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1663 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1664 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:allValuesFrom><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:complementOf></owl:Class><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:allValuesFrom></owl:Restriction></owl:unionOf></owl:Class></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1665 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 1666 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1667 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1668 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1669 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1670 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1671 |
+ " <owl:TransitiveProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1672 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Satisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1673 |
String conclusion = ""; |
| 1674 |
String id = "WebOnt_description_logic_031"; |
| 1675 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 1676 |
String d = "DL Test: t7f.1"; |
| 1677 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1678 |
r.setReasonerFactory(factory()); |
| 1679 |
r.run(); |
| 1680 |
} |
| 1681 |
|
| 1682 |
@Test |
| 1683 |
public void testWebOnt_description_logic_032() { |
| 1684 |
String premise = "<rdf:RDF\n" |
| 1685 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent032\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1686 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1687 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:allValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:complementOf></owl:Class></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1688 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 1689 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1690 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1691 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1692 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1693 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1694 |
+ " <owl:TransitiveProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1695 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1696 |
String conclusion = ""; |
| 1697 |
String id = "WebOnt_description_logic_032"; |
| 1698 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1699 |
String d = "DL Test: t7f.2"; |
| 1700 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1701 |
r.setReasonerFactory(factory()); |
| 1702 |
r.run(); |
| 1703 |
} |
| 1704 |
|
| 1705 |
@Test |
| 1706 |
public void testWebOnt_description_logic_033() { |
| 1707 |
String premise = "<rdf:RDF\n" |
| 1708 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent033\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1709 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1710 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invF\"/><owl:allValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/><owl:someValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:complementOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 1711 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 1712 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 1713 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1714 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1715 |
+ " <owl:FunctionalProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 1716 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1717 |
+ " <owl:TransitiveProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1718 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1719 |
String conclusion = ""; |
| 1720 |
String id = "WebOnt_description_logic_033"; |
| 1721 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1722 |
String d = "DL Test: t7f.3"; |
| 1723 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1724 |
r.setReasonerFactory(factory()); |
| 1725 |
r.run(); |
| 1726 |
} |
| 1727 |
|
| 1728 |
@Test |
| 1729 |
public void testWebOnt_description_logic_034() { |
| 1730 |
String premise = "<rdf:RDF\n" |
| 1731 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent034\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1732 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1733 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:allValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r1\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:allValuesFrom></owl:Restriction></owl:allValuesFrom></owl:Restriction></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invR\"/><owl:allValuesFrom><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r1\"/><owl:allValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:complementOf></owl:Class></owl:allValuesFrom></owl:Restriction></owl:allValuesFrom></owl:Restriction></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1734 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1735 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"><owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 1736 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1737 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r1\"/>\n" |
| 1738 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Satisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1739 |
String conclusion = ""; |
| 1740 |
String id = "WebOnt_description_logic_034"; |
| 1741 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 1742 |
String d = "DL Test: t8.1"; |
| 1743 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1744 |
r.setReasonerFactory(factory()); |
| 1745 |
r.run(); |
| 1746 |
} |
| 1747 |
|
| 1748 |
@Test |
| 1749 |
public void testWebOnt_description_logic_035() { |
| 1750 |
String premise = "<rdf:RDF xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" \n" |
| 1751 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent035\" xmlns:oiled=\"http://oiled.man.example.net/test#\">\n" |
| 1752 |
+ "<owl:Ontology rdf:about=\"\">\n" |
| 1753 |
+ " <rdfs:comment>An ontology illustrating the use of a spy point that\n" |
| 1754 |
+ "limits the cardinality of the interpretation domain to having only two\n" |
| 1755 |
+ "objects.</rdfs:comment> </owl:Ontology>\n" |
| 1756 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 1757 |
+ " <rdfs:subClassOf>\n" |
| 1758 |
+ " <owl:Restriction>\n" |
| 1759 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1760 |
+ " <owl:minCardinality\n" |
| 1761 |
+ "rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">3</owl:minCardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 1762 |
+ "<owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#p\">\n" |
| 1763 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#invP\"/></owl:ObjectProperty>\n" |
| 1764 |
+ "<owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1765 |
+ "<owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invP\"/>\n" |
| 1766 |
+ "<owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\">\n" |
| 1767 |
+ " <rdfs:subClassOf> \n" |
| 1768 |
+ " <owl:Restriction>\n" |
| 1769 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#p\"/>\n" |
| 1770 |
+ " <owl:someValuesFrom>\n" |
| 1771 |
+ " <owl:Class>\n" |
| 1772 |
+ " <owl:oneOf rdf:parseType=\"Collection\"><owl:Thing rdf:about=\"http://oiled.man.example.net/test#spy\"/></owl:oneOf></owl:Class></owl:someValuesFrom></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 1773 |
+ "<rdf:Description rdf:about=\"http://oiled.man.example.net/test#spy\">\n" |
| 1774 |
+ " <rdf:type>\n" |
| 1775 |
+ " <owl:Restriction>\n" |
| 1776 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#invP\"/>\n" |
| 1777 |
+ " <owl:maxCardinality\n" |
| 1778 |
+ "rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:maxCardinality></owl:Restriction></rdf:type>\n" |
| 1779 |
+ "</rdf:Description>\n" + "<oiled:Unsatisfiable/></rdf:RDF>"; |
| 1780 |
String conclusion = ""; |
| 1781 |
String id = "WebOnt_description_logic_035"; |
| 1782 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1783 |
String d = "A test for the interaction of one-of and inverse using the idea of a spy point.\n" |
| 1784 |
+ "Everything is related to the spy via the property p and we know that the spy \n" |
| 1785 |
+ "has at most two invP successors, thus limiting the cardinality of the domain \n" |
| 1786 |
+ "to being at most 2."; |
| 1787 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1788 |
r.setReasonerFactory(factory()); |
| 1789 |
r.run(); |
| 1790 |
} |
| 1791 |
|
| 1792 |
@Test |
| 1793 |
public void testWebOnt_description_logic_040() { |
| 1794 |
String premise = "<rdf:RDF xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:eg=\"http://example.org/factkb#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" \n" |
| 1795 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent040\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1796 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1797 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A\"/>\n" |
| 1798 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B\"/>\n" |
| 1799 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A0\"/>\n" |
| 1800 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A1\"/>\n" |
| 1801 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A2\"/>\n" |
| 1802 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A3\"/>\n" |
| 1803 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A4\"/>\n" |
| 1804 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A5\"/>\n" |
| 1805 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A6\"/>\n" |
| 1806 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A7\"/>\n" |
| 1807 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A8\"/>\n" |
| 1808 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A9\"/>\n" |
| 1809 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B0\"/>\n" |
| 1810 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B1\"/>\n" |
| 1811 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B2\"/>\n" |
| 1812 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B3\"/>\n" |
| 1813 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B4\"/>\n" |
| 1814 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B5\"/>\n" |
| 1815 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B6\"/>\n" |
| 1816 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B7\"/>\n" |
| 1817 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B8\"/>\n" |
| 1818 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B9\"/>\n" |
| 1819 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#C1\"><rdfs:subClassOf><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A0\"/><owl:Class rdf:about=\"http://example.org/factkb#B0\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A1\"/><owl:Class rdf:about=\"http://example.org/factkb#B1\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A2\"/><owl:Class rdf:about=\"http://example.org/factkb#B2\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A3\"/><owl:Class rdf:about=\"http://example.org/factkb#B3\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A4\"/><owl:Class rdf:about=\"http://example.org/factkb#B4\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A5\"/><owl:Class rdf:about=\"http://example.org/factkb#B5\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A6\"/><owl:Class rdf:about=\"http://example.org/factkb#B6\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A7\"/><owl:Class rdf:about=\"http://example.org/factkb#B7\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A8\"/><owl:Class rdf:about=\"http://example.org/factkb#B8\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A9\"/><owl:Class rdf:about=\"http://example.org/factkb#B9\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A10\"/><owl:Class rdf:about=\"http://example.org/factkb#B10\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A11\"/><owl:Class rdf:about=\"http://example.org/factkb#B11\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A12\"/><owl:Class rdf:about=\"http://example.org/factkb#B12\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A13\"/><owl:Class rdf:about=\"http://example.org/factkb#B13\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A14\"/><owl:Class rdf:about=\"http://example.org/factkb#B14\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A15\"/><owl:Class rdf:about=\"http://example.org/factkb#B15\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A16\"/><owl:Class rdf:about=\"http://example.org/factkb#B16\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A17\"/><owl:Class rdf:about=\"http://example.org/factkb#B17\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A18\"/><owl:Class rdf:about=\"http://example.org/factkb#B18\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A19\"/><owl:Class rdf:about=\"http://example.org/factkb#B19\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A20\"/><owl:Class rdf:about=\"http://example.org/factkb#B20\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A21\"/><owl:Class rdf:about=\"http://example.org/factkb#B21\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A22\"/><owl:Class rdf:about=\"http://example.org/factkb#B22\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A23\"/><owl:Class rdf:about=\"http://example.org/factkb#B23\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A24\"/><owl:Class rdf:about=\"http://example.org/factkb#B24\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A25\"/><owl:Class rdf:about=\"http://example.org/factkb#B25\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A26\"/><owl:Class rdf:about=\"http://example.org/factkb#B26\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A27\"/><owl:Class rdf:about=\"http://example.org/factkb#B27\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A28\"/><owl:Class rdf:about=\"http://example.org/factkb#B28\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A29\"/><owl:Class rdf:about=\"http://example.org/factkb#B29\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A30\"/><owl:Class rdf:about=\"http://example.org/factkb#B30\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A31\"/><owl:Class rdf:about=\"http://example.org/factkb#B31\"/></owl:unionOf></owl:Class></owl:intersectionOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1820 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#C2\"><rdfs:subClassOf><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A\"/><owl:Class rdf:about=\"http://example.org/factkb#B\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#A\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://example.org/factkb#B\"/></owl:complementOf></owl:Class></owl:unionOf></owl:Class></owl:intersectionOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1821 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#C3\"><rdfs:subClassOf><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://example.org/factkb#A\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://example.org/factkb#B\"/></owl:unionOf></owl:Class><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://example.org/factkb#A\"/></owl:complementOf></owl:Class><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://example.org/factkb#B\"/></owl:complementOf></owl:Class></owl:unionOf></owl:Class></owl:intersectionOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1822 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#C4\"><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://example.org/factkb#R\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://example.org/factkb#C2\"/></owl:someValuesFrom></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 1823 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#C5\"><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://example.org/factkb#R\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://example.org/factkb#C3\"/></owl:allValuesFrom></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 1824 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A10\"/>\n" |
| 1825 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A11\"/>\n" |
| 1826 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A12\"/>\n" |
| 1827 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A13\"/>\n" |
| 1828 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A14\"/>\n" |
| 1829 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A15\"/>\n" |
| 1830 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A16\"/>\n" |
| 1831 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A17\"/>\n" |
| 1832 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A18\"/>\n" |
| 1833 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A19\"/>\n" |
| 1834 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A20\"/>\n" |
| 1835 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A21\"/>\n" |
| 1836 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A22\"/>\n" |
| 1837 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A23\"/>\n" |
| 1838 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A24\"/>\n" |
| 1839 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A25\"/>\n" |
| 1840 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A26\"/>\n" |
| 1841 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A27\"/>\n" |
| 1842 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A28\"/>\n" |
| 1843 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A29\"/>\n" |
| 1844 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A30\"/>\n" |
| 1845 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#A31\"/>\n" |
| 1846 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B10\"/>\n" |
| 1847 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B11\"/>\n" |
| 1848 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B12\"/>\n" |
| 1849 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B13\"/>\n" |
| 1850 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B14\"/>\n" |
| 1851 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B15\"/>\n" |
| 1852 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B16\"/>\n" |
| 1853 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B17\"/>\n" |
| 1854 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B18\"/>\n" |
| 1855 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B19\"/>\n" |
| 1856 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B20\"/>\n" |
| 1857 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B21\"/>\n" |
| 1858 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B22\"/>\n" |
| 1859 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B23\"/>\n" |
| 1860 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B24\"/>\n" |
| 1861 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B25\"/>\n" |
| 1862 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B26\"/>\n" |
| 1863 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B27\"/>\n" |
| 1864 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B28\"/>\n" |
| 1865 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B29\"/>\n" |
| 1866 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B30\"/>\n" |
| 1867 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#B31\"/>\n" |
| 1868 |
+ " <owl:Class rdf:about=\"http://example.org/factkb#TEST\"><rdfs:subClassOf><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://example.org/factkb#C1\"/><owl:Class rdf:about=\"http://example.org/factkb#C4\"/><owl:Class rdf:about=\"http://example.org/factkb#C5\"/></owl:intersectionOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1869 |
+ " <owl:ObjectProperty rdf:about=\"http://example.org/factkb#R\"/>\n" |
| 1870 |
+ " <eg:TEST/>\n" + "</rdf:RDF>"; |
| 1871 |
String conclusion = ""; |
| 1872 |
String id = "WebOnt_description_logic_040"; |
| 1873 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1874 |
String d = "This kind of pattern comes up a lot in more complex ontologies. \n" |
| 1875 |
+ "Failure to cope with this kind of pattern is one\n" |
| 1876 |
+ "of the reasons that many reasoners have been unable to \n" |
| 1877 |
+ "cope with such ontologies."; |
| 1878 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1879 |
r.setReasonerFactory(factory()); |
| 1880 |
r.run(); |
| 1881 |
} |
| 1882 |
|
| 1883 |
@Test |
| 1884 |
public void testWebOnt_description_logic_101() { |
| 1885 |
String premise = "<rdf:RDF\n" |
| 1886 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent101\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1887 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1888 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1889 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1890 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/>\n" |
| 1891 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#f\"><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></rdfs:subClassOf></owl:Class>\n" |
| 1892 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/></rdfs:subClassOf><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1893 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/>\n" |
| 1894 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e3\"><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></rdfs:subClassOf></owl:Class>\n" |
| 1895 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1896 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1897 |
String conclusion = ""; |
| 1898 |
String id = "WebOnt_description_logic_101"; |
| 1899 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1900 |
String d = "DL Test: heinsohn1.1\n" |
| 1901 |
+ "Tbox tests from Heinsohn et al.\n" |
| 1902 |
+ "Tests incoherency caused by disjoint concept"; |
| 1903 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1904 |
r.setReasonerFactory(factory()); |
| 1905 |
r.run(); |
| 1906 |
} |
| 1907 |
|
| 1908 |
@Test |
| 1909 |
public void testWebOnt_description_logic_102() { |
| 1910 |
String premise = "<rdf:RDF\n" |
| 1911 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent102\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1912 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1913 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:allValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:intersectionOf></owl:Class></owl:allValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://www.w3.org/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1914 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1915 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/>\n" |
| 1916 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#f\"><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></rdfs:subClassOf></owl:Class>\n" |
| 1917 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/></rdfs:subClassOf><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1918 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/>\n" |
| 1919 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e3\"><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></rdfs:subClassOf></owl:Class>\n" |
| 1920 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1921 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1922 |
String conclusion = ""; |
| 1923 |
String id = "WebOnt_description_logic_102"; |
| 1924 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1925 |
String d = "DL Test: heinsohn1.2\n" |
| 1926 |
+ "Tbox tests from Heinsohn et al.\n" |
| 1927 |
+ "Tests incoherency caused by disjoint concept"; |
| 1928 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1929 |
r.setReasonerFactory(factory()); |
| 1930 |
r.run(); |
| 1931 |
} |
| 1932 |
|
| 1933 |
@Test |
| 1934 |
public void testWebOnt_description_logic_103() { |
| 1935 |
String premise = "<rdf:RDF\n" |
| 1936 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent103\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1937 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1938 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#e3\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#f\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1939 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1940 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/>\n" |
| 1941 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#f\"><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></rdfs:subClassOf></owl:Class>\n" |
| 1942 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/></rdfs:subClassOf><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1943 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/>\n" |
| 1944 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e3\"><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></rdfs:subClassOf></owl:Class>\n" |
| 1945 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1946 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1947 |
String conclusion = ""; |
| 1948 |
String id = "WebOnt_description_logic_103"; |
| 1949 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1950 |
String d = "DL Test: heinsohn1.3\n" |
| 1951 |
+ "Tbox tests from Heinsohn et al.\n" |
| 1952 |
+ "Tests incoherency caused by disjoint concept"; |
| 1953 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1954 |
r.setReasonerFactory(factory()); |
| 1955 |
r.run(); |
| 1956 |
} |
| 1957 |
|
| 1958 |
@Test |
| 1959 |
public void testWebOnt_description_logic_104() { |
| 1960 |
String premise = "<rdf:RDF\n" |
| 1961 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent104\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1962 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1963 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"/></owl:equivalentClass></owl:Class>\n" |
| 1964 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1965 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/>\n" |
| 1966 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#f\"><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></rdfs:subClassOf></owl:Class>\n" |
| 1967 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/></rdfs:subClassOf><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1968 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/>\n" |
| 1969 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e3\"><rdfs:subClassOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></rdfs:subClassOf></owl:Class>\n" |
| 1970 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1971 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1972 |
String conclusion = ""; |
| 1973 |
String id = "WebOnt_description_logic_104"; |
| 1974 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1975 |
String d = "DL Test: heinsohn1.4\n" |
| 1976 |
+ "Tbox tests from Heinsohn et al.\n" |
| 1977 |
+ "Tests incoherency caused by disjoint concept"; |
| 1978 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 1979 |
r.setReasonerFactory(factory()); |
| 1980 |
r.run(); |
| 1981 |
} |
| 1982 |
|
| 1983 |
@Test |
| 1984 |
public void testWebOnt_description_logic_105() { |
| 1985 |
String premise = "<rdf:RDF\n" |
| 1986 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent105\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 1987 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 1988 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:minCardinality\n" |
| 1989 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:minCardinality></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:maxCardinality\n" |
| 1990 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 1991 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 1992 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/>\n" |
| 1993 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 1994 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 1995 |
String conclusion = ""; |
| 1996 |
String id = "WebOnt_description_logic_105"; |
| 1997 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 1998 |
String d = "DL Test: heinsohn2.1\n" |
| 1999 |
+ "Tbox tests from Heinsohn et al.\n" |
| 2000 |
+ "Tests incoherency caused by number restrictions"; |
| 2001 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 2002 |
r.setReasonerFactory(factory()); |
| 2003 |
r.run(); |
| 2004 |
} |
| 2005 |
|
| 2006 |
@Test |
| 2007 |
public void testWebOnt_description_logic_106() { |
| 2008 |
String premise = "<rdf:RDF \n" |
| 2009 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent106\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 2010 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 2011 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:maxCardinality\n" |
| 2012 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2013 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 2014 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/>\n" |
| 2015 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 2016 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 2017 |
String conclusion = ""; |
| 2018 |
String id = "WebOnt_description_logic_106"; |
| 2019 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 2020 |
String d = "DL Test: heinsohn2.2\n" |
| 2021 |
+ "Tbox tests from Heinsohn et al.\n" |
| 2022 |
+ "Tests incoherency caused by number restrictions"; |
| 2023 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 2024 |
r.setReasonerFactory(factory()); |
| 2025 |
r.run(); |
| 2026 |
} |
| 2027 |
|
| 2028 |
@Test |
| 2029 |
public void testWebOnt_description_logic_107() { |
| 2030 |
String premise = "<rdf:RDF\n" |
| 2031 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent107\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 2032 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 2033 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:minCardinality\n" |
| 2034 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:minCardinality></owl:Restriction></owl:complementOf></owl:Class><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:minCardinality\n" |
| 2035 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:minCardinality></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2036 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"><owl:equivalentClass><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:unionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2037 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/>\n" |
| 2038 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/>\n" |
| 2039 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e\"/>\n" |
| 2040 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 2041 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r1\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 2042 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r2\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 2043 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r3\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 2044 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#t1\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#tt\"/></owl:ObjectProperty>\n" |
| 2045 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#t2\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#tt\"/></owl:ObjectProperty>\n" |
| 2046 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#t3\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#tt\"/></owl:ObjectProperty>\n" |
| 2047 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#tt\"/>\n" |
| 2048 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><owl:disjointWith><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:disjointWith></owl:Class>\n" |
| 2049 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><owl:disjointWith><owl:Class rdf:about=\"http://oiled.man.example.net/test#e\"/></owl:disjointWith></owl:Class>\n" |
| 2050 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"><owl:disjointWith><owl:Class rdf:about=\"http://oiled.man.example.net/test#e\"/></owl:disjointWith></owl:Class>\n" |
| 2051 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 2052 |
String conclusion = ""; |
| 2053 |
String id = "WebOnt_description_logic_107"; |
| 2054 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 2055 |
String d = "DL Test: heinsohn3.1\n" |
| 2056 |
+ "Tbox tests from Heinsohn et al.\n" |
| 2057 |
+ "Tests incoherency caused by number restrictions and role hierarchy"; |
| 2058 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 2059 |
r.setReasonerFactory(factory()); |
| 2060 |
r.run(); |
| 2061 |
} |
| 2062 |
|
| 2063 |
@Test |
| 2064 |
public void testWebOnt_description_logic_108() { |
| 2065 |
String premise = "<rdf:RDF\n" |
| 2066 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent108\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 2067 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 2068 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:minCardinality\n" |
| 2069 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:minCardinality></owl:Restriction></owl:complementOf></owl:Class><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r1\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#tt\"/><owl:maxCardinality\n" |
| 2070 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#t1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r2\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#tt\"/><owl:maxCardinality\n" |
| 2071 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#t2\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r3\"/><owl:someValuesFrom><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#tt\"/><owl:maxCardinality\n" |
| 2072 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#t3\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#e\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2073 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"><owl:equivalentClass><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:unionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2074 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/>\n" |
| 2075 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/>\n" |
| 2076 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e\"/>\n" |
| 2077 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 2078 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r1\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 2079 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r2\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 2080 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r3\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 2081 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#t1\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#tt\"/></owl:ObjectProperty>\n" |
| 2082 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#t2\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#tt\"/></owl:ObjectProperty>\n" |
| 2083 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#t3\"><rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#tt\"/></owl:ObjectProperty>\n" |
| 2084 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#tt\"/>\n" |
| 2085 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><owl:disjointWith><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:disjointWith></owl:Class>\n" |
| 2086 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><owl:disjointWith><owl:Class rdf:about=\"http://oiled.man.example.net/test#e\"/></owl:disjointWith></owl:Class>\n" |
| 2087 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"><owl:disjointWith><owl:Class rdf:about=\"http://oiled.man.example.net/test#e\"/></owl:disjointWith></owl:Class>\n" |
| 2088 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 2089 |
String conclusion = ""; |
| 2090 |
String id = "WebOnt_description_logic_108"; |
| 2091 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 2092 |
String d = "DL Test: heinsohn3.2\n" |
| 2093 |
+ "Tbox tests from Heinsohn et al.\n" |
| 2094 |
+ "Tests incoherency caused by number restrictions and role hierarchy"; |
| 2095 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 2096 |
r.setReasonerFactory(factory()); |
| 2097 |
r.run(); |
| 2098 |
} |
| 2099 |
|
| 2100 |
@Test |
| 2101 |
public void testWebOnt_description_logic_109() { |
| 2102 |
String premise = "<rdf:RDF\n" |
| 2103 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent109\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 2104 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 2105 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#tt\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/></owl:allValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#tt\"/><owl:minCardinality\n" |
| 2106 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">3</owl:minCardinality></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#tt\"/><owl:maxCardinality\n" |
| 2107 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#tt\"/><owl:maxCardinality\n" |
| 2108 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2109 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"><rdfs:subClassOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:unionOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 2110 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 2111 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/>\n" |
| 2112 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#tt\"/>\n" |
| 2113 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 2114 |
String conclusion = ""; |
| 2115 |
String id = "WebOnt_description_logic_109"; |
| 2116 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 2117 |
String d = "DL Test: heinsohn3c.1\n" |
| 2118 |
+ "Tbox tests from Heinsohn et al.\n" |
| 2119 |
+ "Tests incoherency caused by number restrictions and role hierarchy"; |
| 2120 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 2121 |
r.setReasonerFactory(factory()); |
| 2122 |
r.run(); |
| 2123 |
} |
| 2124 |
|
| 2125 |
@Test |
| 2126 |
public void testWebOnt_description_logic_110() { |
| 2127 |
String premise = "<rdf:RDF\n" |
| 2128 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent110\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 2129 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 2130 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#e\"/></owl:complementOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:allValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:allValuesFrom><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#e\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:complementOf></owl:Class></owl:unionOf></owl:Class></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2131 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 2132 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/>\n" |
| 2133 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e\"/>\n" |
| 2134 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 2135 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"/>\n" |
| 2136 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 2137 |
String conclusion = ""; |
| 2138 |
String id = "WebOnt_description_logic_110"; |
| 2139 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 2140 |
String d = "DL Test: heinsohn4.1\n" |
| 2141 |
+ "Tbox tests from Heinsohn et al.\n" |
| 2142 |
+ "Tests role restrictions"; |
| 2143 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 2144 |
r.setReasonerFactory(factory()); |
| 2145 |
r.run(); |
| 2146 |
} |
| 2147 |
|
| 2148 |
@Test |
| 2149 |
public void testWebOnt_description_logic_111() { |
| 2150 |
String premise = "<rdf:RDF\n" |
| 2151 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent111\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 2152 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 2153 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:someValuesFrom><owl:Class><owl:complementOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#s\"/><owl:maxCardinality\n" |
| 2154 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></owl:complementOf></owl:Class></owl:someValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:allValuesFrom><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/><owl:Class><owl:complementOf><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#s\"/><owl:minCardinality\n" |
| 2155 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:minCardinality></owl:Restriction></owl:complementOf></owl:Class></owl:unionOf></owl:Class></owl:allValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2156 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><rdfs:subClassOf><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:complementOf></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 2157 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/>\n" |
| 2158 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e\"/>\n" |
| 2159 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 2160 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"/>\n" |
| 2161 |
+ " <rdf:Description><rdf:type rdf:resource=\"http://oiled.man.example.net/test#Unsatisfiable\"/></rdf:Description></rdf:RDF>"; |
| 2162 |
String conclusion = ""; |
| 2163 |
String id = "WebOnt_description_logic_111"; |
| 2164 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 2165 |
String d = "DL Test: heinsohn4.2\n" |
| 2166 |
+ "Tbox tests from Heinsohn et al.\n" |
| 2167 |
+ "Tests role restrictions"; |
| 2168 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 2169 |
r.setReasonerFactory(factory()); |
| 2170 |
r.run(); |
| 2171 |
} |
| 2172 |
|
| 2173 |
@Test |
| 2174 |
public void testWebOnt_description_logic_201() { |
| 2175 |
String premise = "<rdf:RDF\n" |
| 2176 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/premises201\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 2177 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 2178 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"/>\n" |
| 2179 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C12\">\n" |
| 2180 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2181 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C14\">\n" |
| 2182 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C8\"/></owl:complementOf></owl:Class><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C12\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2183 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"/>\n" |
| 2184 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C18\">\n" |
| 2185 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2186 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C20\">\n" |
| 2187 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C18\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2188 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C22\">\n" |
| 2189 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C20\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2190 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C24\">\n" |
| 2191 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2192 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C26\">\n" |
| 2193 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C24\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2194 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C28\">\n" |
| 2195 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C26\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2196 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C30\">\n" |
| 2197 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C22\"/></owl:complementOf></owl:Class><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C28\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2198 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C32\">\n" |
| 2199 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C30\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2200 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C34\"/>\n" |
| 2201 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C36\">\n" |
| 2202 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C34\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2203 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C38\">\n" |
| 2204 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C36\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2205 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C40\">\n" |
| 2206 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C38\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C34\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2207 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C42\">\n" |
| 2208 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C34\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2209 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C44\">\n" |
| 2210 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C42\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2211 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C46\">\n" |
| 2212 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C44\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C34\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2213 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C48\">\n" |
| 2214 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C40\"/></owl:complementOf></owl:Class><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C46\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2215 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C50\">\n" |
| 2216 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C48\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2217 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C52\">\n" |
| 2218 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C32\"/></owl:complementOf></owl:Class><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C50\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2219 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C54\">\n" |
| 2220 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C14\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C52\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2221 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C56\">\n" |
| 2222 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2223 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C58\">\n" |
| 2224 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C56\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C34\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2225 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C60\">\n" |
| 2226 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C58\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2227 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C62\">\n" |
| 2228 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2229 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C64\">\n" |
| 2230 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C62\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C34\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2231 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C66\">\n" |
| 2232 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C64\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2233 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C68\">\n" |
| 2234 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C60\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C66\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2235 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C70\">\n" |
| 2236 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2237 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C72\">\n" |
| 2238 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C68\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C70\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2239 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C74\">\n" |
| 2240 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C54\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C72\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2241 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C76\">\n" |
| 2242 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2243 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C78\">\n" |
| 2244 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2245 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C80\">\n" |
| 2246 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C76\"/></owl:complementOf></owl:Class><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C78\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2247 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C82\">\n" |
| 2248 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2249 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C84\">\n" |
| 2250 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C82\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2251 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C86\">\n" |
| 2252 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C84\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2253 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C88\">\n" |
| 2254 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2255 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C90\">\n" |
| 2256 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C88\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2257 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C92\">\n" |
| 2258 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C90\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2259 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C94\">\n" |
| 2260 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C86\"/></owl:complementOf></owl:Class><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C92\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2261 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C96\">\n" |
| 2262 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C94\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2263 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C98\">\n" |
| 2264 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C34\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2265 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/>\n" |
| 2266 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/>\n" |
| 2267 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C6\">\n" |
| 2268 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2269 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C8\">\n" |
| 2270 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2271 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C100\">\n" |
| 2272 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C98\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2273 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C102\">\n" |
| 2274 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C100\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C34\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2275 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C104\">\n" |
| 2276 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C34\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2277 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C106\">\n" |
| 2278 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C104\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2279 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C108\">\n" |
| 2280 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C106\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C34\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2281 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C110\">\n" |
| 2282 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C102\"/></owl:complementOf></owl:Class><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C108\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2283 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C112\">\n" |
| 2284 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C110\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2285 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C114\">\n" |
| 2286 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C96\"/></owl:complementOf></owl:Class><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C112\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2287 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C116\">\n" |
| 2288 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C80\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C114\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2289 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C118\">\n" |
| 2290 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2291 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C120\">\n" |
| 2292 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C118\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C34\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2293 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C122\">\n" |
| 2294 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C120\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2295 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C124\">\n" |
| 2296 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2297 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C126\">\n" |
| 2298 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C124\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C34\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2299 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C128\">\n" |
| 2300 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C126\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2301 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C130\">\n" |
| 2302 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C122\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C128\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2303 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C132\">\n" |
| 2304 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2305 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C134\">\n" |
| 2306 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C130\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C132\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2307 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C136\">\n" |
| 2308 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C116\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C134\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2309 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C138\">\n" |
| 2310 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C136\"/></owl:complementOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2311 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C140\">\n" |
| 2312 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C74\"/><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C138\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2313 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#TEST\">\n" |
| 2314 |
+ " <owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C6\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C140\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2315 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#R1\"/>\n" |
| 2316 |
+ " <owl:Thing rdf:about=\"http://oiled.man.example.net/test#V822576\">\n" |
| 2317 |
+ " <rdf:type><owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"/></rdf:type>\n" |
| 2318 |
+ " <rdf:type><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></rdf:type>\n" |
| 2319 |
+ " <rdf:type><owl:Class rdf:about=\"http://oiled.man.example.net/test#C34\"/></rdf:type>\n" |
| 2320 |
+ " <rdf:type><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></rdf:type>\n" |
| 2321 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C132\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2322 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C100\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2323 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C108\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2324 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C102\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2325 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C90\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2326 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C84\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2327 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C92\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2328 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C86\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2329 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C18\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2330 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C78\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2331 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C96\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2332 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C76\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2333 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C134\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2334 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2335 |
+ " <rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C112\"/></owl:complementOf></owl:Class></rdf:type>\n" |
| 2336 |
+ " <rdf:type><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:allValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C98\"/></owl:complementOf></owl:Class></owl:allValuesFrom></owl:Restriction></rdf:type>\n" |
| 2337 |
+ " <rdf:type><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:allValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C88\"/></owl:complementOf></owl:Class></owl:allValuesFrom></owl:Restriction></rdf:type>\n" |
| 2338 |
+ " <rdf:type><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:allValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C82\"/></owl:complementOf></owl:Class></owl:allValuesFrom></owl:Restriction></rdf:type></owl:Thing>\n" |
| 2339 |
+ "</rdf:RDF>"; |
| 2340 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 2341 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/conclusions201\"\n" |
| 2342 |
+ ">\n" |
| 2343 |
+ "<owl:Ontology/>\n" |
| 2344 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V822576\">\n" |
| 2345 |
+ " <rdf:type>\n" |
| 2346 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C110\"/></rdf:type></owl:Thing>\n" |
| 2347 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V822576\">\n" |
| 2348 |
+ " <rdf:type>\n" |
| 2349 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C94\"/></rdf:type></owl:Thing>\n" |
| 2350 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V822576\">\n" |
| 2351 |
+ " <rdf:type>\n" |
| 2352 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C136\"/></rdf:type></owl:Thing>\n" |
| 2353 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V822576\">\n" |
| 2354 |
+ " <rdf:type>\n" |
| 2355 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C58\"/></rdf:type></owl:Thing>\n" |
| 2356 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V822576\">\n" |
| 2357 |
+ " <rdf:type>\n" |
| 2358 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C80\"/></rdf:type></owl:Thing>\n" |
| 2359 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V822576\">\n" |
| 2360 |
+ " <rdf:type>\n" |
| 2361 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C56\"/></rdf:type></owl:Thing>\n" |
| 2362 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V822576\">\n" |
| 2363 |
+ " <rdf:type>\n" |
| 2364 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C116\"/></rdf:type></owl:Thing>\n" |
| 2365 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V822576\">\n" |
| 2366 |
+ " <rdf:type>\n" |
| 2367 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C114\"/></rdf:type>\n" |
| 2368 |
+ "</owl:Thing>\n" + "</rdf:RDF>"; |
| 2369 |
String id = "WebOnt_description_logic_201"; |
| 2370 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 2371 |
String d = "DL Test: \n" + "ABox test from DL98 systems comparison."; |
| 2372 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 2373 |
r.setReasonerFactory(factory()); |
| 2374 |
r.run(); |
| 2375 |
} |
| 2376 |
|
| 2377 |
@Test |
| 2378 |
public void testWebOnt_description_logic_205() { |
| 2379 |
String premise = "<rdf:RDF\n" |
| 2380 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/premises205\" xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 2381 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 2382 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:complementOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2383 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C12\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:complementOf></owl:Class><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2384 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C14\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C12\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2385 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C8\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C14\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2386 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C18\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#TOP\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2387 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#TOP\"/>\n" |
| 2388 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/>\n" |
| 2389 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:complementOf></owl:Class></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2390 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C6\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:complementOf></owl:Class><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:complementOf></owl:Class></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2391 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C8\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C6\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2392 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#TEST\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C18\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#TOP\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2393 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#R1\"/>\n" |
| 2394 |
+ " <owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16560\"><rdf:type><owl:Class rdf:about=\"http://oiled.man.example.net/test#TEST\"/></rdf:type><rdf:type><owl:Class rdf:about=\"http://oiled.man.example.net/test#TOP\"/></rdf:type><oiled:R1 rdf:resource=\"http://oiled.man.example.net/test#V16562\"/><oiled:R1 rdf:resource=\"http://oiled.man.example.net/test#V16561\"/></owl:Thing>\n" |
| 2395 |
+ " <owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16561\"><rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:complementOf></owl:Class></rdf:type><rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:complementOf></owl:Class></rdf:type><rdf:type><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:allValuesFrom></owl:Restriction></rdf:type></owl:Thing>\n" |
| 2396 |
+ " <owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16562\"><rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"/></owl:complementOf></owl:Class></rdf:type><rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:complementOf></owl:Class></rdf:type><rdf:type><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:allValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:allValuesFrom></owl:Restriction></rdf:type></owl:Thing></rdf:RDF>"; |
| 2397 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 2398 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/conclusions205\"\n" |
| 2399 |
+ ">\n" |
| 2400 |
+ "<owl:Ontology/>\n" |
| 2401 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16560\">\n" |
| 2402 |
+ " <rdf:type>\n" |
| 2403 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C18\"/></rdf:type></owl:Thing>\n" |
| 2404 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16560\">\n" |
| 2405 |
+ " <rdf:type>\n" |
| 2406 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C8\"/></rdf:type></owl:Thing>\n" |
| 2407 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16560\">\n" |
| 2408 |
+ " <rdf:type>\n" |
| 2409 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"/></rdf:type></owl:Thing>\n" |
| 2410 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16560\">\n" |
| 2411 |
+ " <rdf:type>\n" |
| 2412 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C14\"/></rdf:type></owl:Thing>\n" |
| 2413 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16561\">\n" |
| 2414 |
+ " <rdf:type>\n" |
| 2415 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C6\"/></rdf:type></owl:Thing>\n" |
| 2416 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16562\">\n" |
| 2417 |
+ " <rdf:type>\n" |
| 2418 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C12\"/></rdf:type>\n" |
| 2419 |
+ "</owl:Thing>\n" + "</rdf:RDF>"; |
| 2420 |
String id = "WebOnt_description_logic_205"; |
| 2421 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 2422 |
String d = "DL Test: k_lin\n" |
| 2423 |
+ "ABox test from DL98 systems comparison."; |
| 2424 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 2425 |
r.setReasonerFactory(factory()); |
| 2426 |
r.run(); |
| 2427 |
} |
| 2428 |
|
| 2429 |
@Test |
| 2430 |
public void testWebOnt_description_logic_207() { |
| 2431 |
String premise = "<rdf:RDF\n" |
| 2432 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/premises207\" xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\">\n" |
| 2433 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 2434 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2435 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C12\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2436 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/>\n" |
| 2437 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/>\n" |
| 2438 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C6\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2439 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C8\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:someValuesFrom><owl:Class rdf:about=\"http://oiled.man.example.net/test#C6\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 2440 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#TEST\"><owl:equivalentClass><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C8\"/></owl:complementOf></owl:Class><owl:Class rdf:about=\"http://oiled.man.example.net/test#C12\"/></owl:intersectionOf></owl:Class></owl:equivalentClass></owl:Class>\n" |
| 2441 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#R1\"/>\n" |
| 2442 |
+ " <owl:Thing rdf:about=\"http://oiled.man.example.net/test#V21080\"><rdf:type><owl:Class rdf:about=\"http://oiled.man.example.net/test#TEST\"/></rdf:type><rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C8\"/></owl:complementOf></owl:Class></rdf:type><rdf:type><owl:Restriction><owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/><owl:allValuesFrom><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C6\"/></owl:complementOf></owl:Class></owl:allValuesFrom></owl:Restriction></rdf:type><oiled:R1 rdf:resource=\"http://oiled.man.example.net/test#V21081\"/></owl:Thing>\n" |
| 2443 |
+ " <owl:Thing rdf:about=\"http://oiled.man.example.net/test#V21081\"><rdf:type><owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></rdf:type><rdf:type><owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/></rdf:type><rdf:type><owl:Class><owl:complementOf><owl:Class rdf:about=\"http://oiled.man.example.net/test#C6\"/></owl:complementOf></owl:Class></rdf:type></owl:Thing></rdf:RDF>"; |
| 2444 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 2445 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/conclusions207\"\n" |
| 2446 |
+ ">\n" |
| 2447 |
+ "<owl:Ontology/>\n" |
| 2448 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V21080\">\n" |
| 2449 |
+ " <rdf:type>\n" |
| 2450 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C12\"/></rdf:type></owl:Thing>\n" |
| 2451 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V21081\">\n" |
| 2452 |
+ " <rdf:type>\n" |
| 2453 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"/></rdf:type>\n" |
| 2454 |
+ "</owl:Thing>\n" + "</rdf:RDF>"; |
| 2455 |
String id = "WebOnt_description_logic_207"; |
| 2456 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 2457 |
String d = "DL Test: k_ph\n" |
| 2458 |
+ "ABox test from DL98 systems comparison."; |
| 2459 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 2460 |
r.setReasonerFactory(factory()); |
| 2461 |
r.run(); |
| 2462 |
} |
| 2463 |
|
| 2464 |
@Test |
| 2465 |
public void testWebOnt_description_logic_503() { |
| 2466 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/description-logic/consistent503#\"\n" |
| 2467 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent503\" >\n" |
| 2468 |
+ " <owl:Ontology/>\n" |
| 2469 |
+ " <first:Test />\n" |
| 2470 |
+ " <owl:Class rdf:about='#plus1'>\n" |
| 2471 |
+ " <owl:disjointWith>\n" |
| 2472 |
+ " <owl:Class rdf:about='#minus1'/>\n" |
| 2473 |
+ " </owl:disjointWith></owl:Class>\n" |
| 2474 |
+ " <owl:Class rdf:about='#plus2'>\n" |
| 2475 |
+ " <owl:disjointWith>\n" |
| 2476 |
+ " <owl:Class rdf:about='#minus2'/></owl:disjointWith></owl:Class>\n" |
| 2477 |
+ " <owl:Class rdf:about='#plus3'>\n" |
| 2478 |
+ " <owl:disjointWith>\n" |
| 2479 |
+ " <owl:Class rdf:about='#minus3'/></owl:disjointWith>\n" |
| 2480 |
+ " </owl:Class>\n" |
| 2481 |
+ " <owl:Class rdf:about='#plus4'>\n" |
| 2482 |
+ " <owl:disjointWith>\n" |
| 2483 |
+ " <owl:Class rdf:about='#minus4'/></owl:disjointWith></owl:Class>\n" |
| 2484 |
+ " <owl:Class rdf:about='#plus5'>\n" |
| 2485 |
+ " <owl:disjointWith>\n" |
| 2486 |
+ " <owl:Class rdf:about='#minus5'/></owl:disjointWith>\n" |
| 2487 |
+ " </owl:Class>\n" |
| 2488 |
+ " <owl:Class rdf:about='#plus6'>\n" |
| 2489 |
+ " <owl:disjointWith>\n" |
| 2490 |
+ " <owl:Class rdf:about='#minus6'/></owl:disjointWith></owl:Class>\n" |
| 2491 |
+ " <owl:Class rdf:about='#plus7'>\n" |
| 2492 |
+ " <owl:disjointWith>\n" |
| 2493 |
+ " <owl:Class rdf:about='#minus7'/></owl:disjointWith>\n" |
| 2494 |
+ " </owl:Class>\n" |
| 2495 |
+ " <owl:Class rdf:about='#plus8'>\n" |
| 2496 |
+ " <owl:disjointWith>\n" |
| 2497 |
+ " <owl:Class rdf:about='#minus8'/></owl:disjointWith></owl:Class>\n" |
| 2498 |
+ " <owl:Class rdf:about='#plus9'>\n" |
| 2499 |
+ " <owl:disjointWith>\n" |
| 2500 |
+ " <owl:Class rdf:about='#minus9'/></owl:disjointWith>\n" |
| 2501 |
+ " </owl:Class>\n" |
| 2502 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2503 |
+ " <rdfs:subClassOf>\n" |
| 2504 |
+ " <owl:Class>\n" |
| 2505 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2506 |
+ " <rdf:Description rdf:about='#plus7'/>\n" |
| 2507 |
+ " <rdf:Description rdf:about='#minus9'/>\n" |
| 2508 |
+ " <rdf:Description rdf:about='#minus8'/></owl:unionOf></owl:Class>\n" |
| 2509 |
+ " </rdfs:subClassOf>\n" |
| 2510 |
+ " </owl:Class>\n" |
| 2511 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2512 |
+ " <rdfs:subClassOf>\n" |
| 2513 |
+ " <owl:Class>\n" |
| 2514 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2515 |
+ " <rdf:Description rdf:about='#plus1'/>\n" |
| 2516 |
+ " <rdf:Description rdf:about='#plus2'/>\n" |
| 2517 |
+ " <rdf:Description rdf:about='#minus8'/></owl:unionOf></owl:Class>\n" |
| 2518 |
+ " </rdfs:subClassOf>\n" |
| 2519 |
+ " </owl:Class>\n" |
| 2520 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2521 |
+ " <rdfs:subClassOf>\n" |
| 2522 |
+ " <owl:Class>\n" |
| 2523 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2524 |
+ " <rdf:Description rdf:about='#plus4'/>\n" |
| 2525 |
+ " <rdf:Description rdf:about='#plus7'/>\n" |
| 2526 |
+ " <rdf:Description rdf:about='#minus5'/></owl:unionOf></owl:Class>\n" |
| 2527 |
+ " </rdfs:subClassOf>\n" |
| 2528 |
+ " </owl:Class>\n" |
| 2529 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2530 |
+ " <rdfs:subClassOf>\n" |
| 2531 |
+ " <owl:Class>\n" |
| 2532 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2533 |
+ " <rdf:Description rdf:about='#plus2'/>\n" |
| 2534 |
+ " <rdf:Description rdf:about='#plus3'/>\n" |
| 2535 |
+ " <rdf:Description rdf:about='#minus1'/></owl:unionOf></owl:Class>\n" |
| 2536 |
+ " </rdfs:subClassOf>\n" |
| 2537 |
+ " </owl:Class>\n" |
| 2538 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2539 |
+ " <rdfs:subClassOf>\n" |
| 2540 |
+ " <owl:Class>\n" |
| 2541 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2542 |
+ " <rdf:Description rdf:about='#minus1'/>\n" |
| 2543 |
+ " <rdf:Description rdf:about='#plus5'/>\n" |
| 2544 |
+ " <rdf:Description rdf:about='#plus8'/></owl:unionOf></owl:Class>\n" |
| 2545 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2546 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2547 |
+ " <rdfs:subClassOf>\n" |
| 2548 |
+ " <owl:Class>\n" |
| 2549 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2550 |
+ " <rdf:Description rdf:about='#minus8'/>\n" |
| 2551 |
+ " <rdf:Description rdf:about='#minus6'/>\n" |
| 2552 |
+ " <rdf:Description rdf:about='#minus3'/></owl:unionOf></owl:Class>\n" |
| 2553 |
+ " </rdfs:subClassOf>\n" |
| 2554 |
+ " </owl:Class>\n" |
| 2555 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2556 |
+ " <rdfs:subClassOf>\n" |
| 2557 |
+ " <owl:Class>\n" |
| 2558 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2559 |
+ " <rdf:Description rdf:about='#minus3'/>\n" |
| 2560 |
+ " <rdf:Description rdf:about='#minus8'/>\n" |
| 2561 |
+ " <rdf:Description rdf:about='#plus7'/></owl:unionOf></owl:Class>\n" |
| 2562 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2563 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2564 |
+ " <rdfs:subClassOf>\n" |
| 2565 |
+ " <owl:Class>\n" |
| 2566 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2567 |
+ " <rdf:Description rdf:about='#minus3'/>\n" |
| 2568 |
+ " <rdf:Description rdf:about='#plus6'/>\n" |
| 2569 |
+ " <rdf:Description rdf:about='#plus8'/></owl:unionOf></owl:Class>\n" |
| 2570 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2571 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2572 |
+ " <rdfs:subClassOf>\n" |
| 2573 |
+ " <owl:Class>\n" |
| 2574 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2575 |
+ " <rdf:Description rdf:about='#minus4'/>\n" |
| 2576 |
+ " <rdf:Description rdf:about='#minus6'/>\n" |
| 2577 |
+ " <rdf:Description rdf:about='#plus8'/></owl:unionOf></owl:Class>\n" |
| 2578 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2579 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2580 |
+ " <rdfs:subClassOf>\n" |
| 2581 |
+ " <owl:Class>\n" |
| 2582 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2583 |
+ " <rdf:Description rdf:about='#plus6'/>\n" |
| 2584 |
+ " <rdf:Description rdf:about='#plus7'/>\n" |
| 2585 |
+ " <rdf:Description rdf:about='#plus3'/></owl:unionOf></owl:Class>\n" |
| 2586 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2587 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2588 |
+ " <rdfs:subClassOf>\n" |
| 2589 |
+ " <owl:Class>\n" |
| 2590 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2591 |
+ " <rdf:Description rdf:about='#plus3'/>\n" |
| 2592 |
+ " <rdf:Description rdf:about='#plus6'/>\n" |
| 2593 |
+ " <rdf:Description rdf:about='#minus9'/></owl:unionOf></owl:Class>\n" |
| 2594 |
+ " </rdfs:subClassOf>\n" |
| 2595 |
+ " </owl:Class>\n" |
| 2596 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2597 |
+ " <rdfs:subClassOf>\n" |
| 2598 |
+ " <owl:Class>\n" |
| 2599 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2600 |
+ " <rdf:Description rdf:about='#minus5'/>\n" |
| 2601 |
+ " <rdf:Description rdf:about='#minus2'/>\n" |
| 2602 |
+ " <rdf:Description rdf:about='#plus3'/></owl:unionOf></owl:Class>\n" |
| 2603 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2604 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2605 |
+ " <rdfs:subClassOf>\n" |
| 2606 |
+ " <owl:Class>\n" |
| 2607 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2608 |
+ " <rdf:Description rdf:about='#plus5'/>\n" |
| 2609 |
+ " <rdf:Description rdf:about='#plus8'/>\n" |
| 2610 |
+ " <rdf:Description rdf:about='#plus2'/></owl:unionOf></owl:Class>\n" |
| 2611 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2612 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2613 |
+ " <rdfs:subClassOf>\n" |
| 2614 |
+ " <owl:Class>\n" |
| 2615 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2616 |
+ " <rdf:Description rdf:about='#minus2'/>\n" |
| 2617 |
+ " <rdf:Description rdf:about='#minus7'/>\n" |
| 2618 |
+ " <rdf:Description rdf:about='#minus3'/></owl:unionOf></owl:Class>\n" |
| 2619 |
+ " </rdfs:subClassOf>\n" |
| 2620 |
+ " </owl:Class>\n" |
| 2621 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2622 |
+ " <rdfs:subClassOf>\n" |
| 2623 |
+ " <owl:Class>\n" |
| 2624 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2625 |
+ " <rdf:Description rdf:about='#minus6'/>\n" |
| 2626 |
+ " <rdf:Description rdf:about='#minus8'/>\n" |
| 2627 |
+ " <rdf:Description rdf:about='#minus5'/></owl:unionOf></owl:Class>\n" |
| 2628 |
+ " </rdfs:subClassOf>\n" |
| 2629 |
+ " </owl:Class>\n" |
| 2630 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2631 |
+ " <rdfs:subClassOf>\n" |
| 2632 |
+ " <owl:Class>\n" |
| 2633 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2634 |
+ " <rdf:Description rdf:about='#plus2'/>\n" |
| 2635 |
+ " <rdf:Description rdf:about='#plus7'/>\n" |
| 2636 |
+ " <rdf:Description rdf:about='#minus3'/></owl:unionOf></owl:Class>\n" |
| 2637 |
+ " </rdfs:subClassOf>\n" |
| 2638 |
+ " </owl:Class>\n" |
| 2639 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2640 |
+ " <rdfs:subClassOf>\n" |
| 2641 |
+ " <owl:Class>\n" |
| 2642 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2643 |
+ " <rdf:Description rdf:about='#plus9'/>\n" |
| 2644 |
+ " <rdf:Description rdf:about='#minus1'/>\n" |
| 2645 |
+ " <rdf:Description rdf:about='#minus2'/></owl:unionOf></owl:Class>\n" |
| 2646 |
+ " </rdfs:subClassOf>\n" |
| 2647 |
+ " </owl:Class>\n" |
| 2648 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2649 |
+ " <rdfs:subClassOf>\n" |
| 2650 |
+ " <owl:Class>\n" |
| 2651 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2652 |
+ " <rdf:Description rdf:about='#plus1'/>\n" |
| 2653 |
+ " <rdf:Description rdf:about='#plus7'/>\n" |
| 2654 |
+ " <rdf:Description rdf:about='#minus6'/></owl:unionOf></owl:Class>\n" |
| 2655 |
+ " </rdfs:subClassOf>\n" |
| 2656 |
+ " </owl:Class>\n" |
| 2657 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2658 |
+ " <rdfs:subClassOf>\n" |
| 2659 |
+ " <owl:Class>\n" |
| 2660 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2661 |
+ " <rdf:Description rdf:about='#plus1'/>\n" |
| 2662 |
+ " <rdf:Description rdf:about='#plus9'/>\n" |
| 2663 |
+ " <rdf:Description rdf:about='#minus3'/></owl:unionOf></owl:Class>\n" |
| 2664 |
+ " </rdfs:subClassOf>\n" |
| 2665 |
+ " </owl:Class>\n" |
| 2666 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2667 |
+ " <rdfs:subClassOf>\n" |
| 2668 |
+ " <owl:Class>\n" |
| 2669 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2670 |
+ " <rdf:Description rdf:about='#minus8'/>\n" |
| 2671 |
+ " <rdf:Description rdf:about='#minus9'/>\n" |
| 2672 |
+ " <rdf:Description rdf:about='#minus2'/></owl:unionOf></owl:Class>\n" |
| 2673 |
+ " </rdfs:subClassOf>\n" |
| 2674 |
+ " </owl:Class>\n" |
| 2675 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2676 |
+ " <rdfs:subClassOf>\n" |
| 2677 |
+ " <owl:Class>\n" |
| 2678 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2679 |
+ " <rdf:Description rdf:about='#minus9'/>\n" |
| 2680 |
+ " <rdf:Description rdf:about='#minus8'/>\n" |
| 2681 |
+ " <rdf:Description rdf:about='#plus2'/></owl:unionOf></owl:Class>\n" |
| 2682 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2683 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2684 |
+ " <rdfs:subClassOf>\n" |
| 2685 |
+ " <owl:Class>\n" |
| 2686 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2687 |
+ " <rdf:Description rdf:about='#plus5'/>\n" |
| 2688 |
+ " <rdf:Description rdf:about='#plus8'/>\n" |
| 2689 |
+ " <rdf:Description rdf:about='#plus4'/></owl:unionOf></owl:Class>\n" |
| 2690 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2691 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2692 |
+ " <rdfs:subClassOf>\n" |
| 2693 |
+ " <owl:Class>\n" |
| 2694 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2695 |
+ " <rdf:Description rdf:about='#minus7'/>\n" |
| 2696 |
+ " <rdf:Description rdf:about='#plus2'/>\n" |
| 2697 |
+ " <rdf:Description rdf:about='#plus5'/></owl:unionOf></owl:Class>\n" |
| 2698 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2699 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2700 |
+ " <rdfs:subClassOf>\n" |
| 2701 |
+ " <owl:Class>\n" |
| 2702 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2703 |
+ " <rdf:Description rdf:about='#minus1'/>\n" |
| 2704 |
+ " <rdf:Description rdf:about='#plus7'/>\n" |
| 2705 |
+ " <rdf:Description rdf:about='#minus4'/></owl:unionOf></owl:Class>\n" |
| 2706 |
+ " </rdfs:subClassOf>\n" |
| 2707 |
+ " </owl:Class>\n" |
| 2708 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2709 |
+ " <rdfs:subClassOf>\n" |
| 2710 |
+ " <owl:Class>\n" |
| 2711 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2712 |
+ " <rdf:Description rdf:about='#plus7'/>\n" |
| 2713 |
+ " <rdf:Description rdf:about='#minus8'/>\n" |
| 2714 |
+ " <rdf:Description rdf:about='#plus4'/></owl:unionOf></owl:Class>\n" |
| 2715 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2716 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2717 |
+ " <rdfs:subClassOf>\n" |
| 2718 |
+ " <owl:Class>\n" |
| 2719 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2720 |
+ " <rdf:Description rdf:about='#minus3'/>\n" |
| 2721 |
+ " <rdf:Description rdf:about='#plus2'/>\n" |
| 2722 |
+ " <rdf:Description rdf:about='#minus6'/></owl:unionOf></owl:Class>\n" |
| 2723 |
+ " </rdfs:subClassOf>\n" |
| 2724 |
+ " </owl:Class>\n" |
| 2725 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2726 |
+ " <rdfs:subClassOf>\n" |
| 2727 |
+ " <owl:Class>\n" |
| 2728 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2729 |
+ " <rdf:Description rdf:about='#plus1'/>\n" |
| 2730 |
+ " <rdf:Description rdf:about='#minus2'/>\n" |
| 2731 |
+ " <rdf:Description rdf:about='#minus9'/></owl:unionOf></owl:Class>\n" |
| 2732 |
+ " </rdfs:subClassOf>\n" |
| 2733 |
+ " </owl:Class>\n" |
| 2734 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2735 |
+ " <rdfs:subClassOf>\n" |
| 2736 |
+ " <owl:Class>\n" |
| 2737 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2738 |
+ " <rdf:Description rdf:about='#plus7'/>\n" |
| 2739 |
+ " <rdf:Description rdf:about='#plus3'/>\n" |
| 2740 |
+ " <rdf:Description rdf:about='#minus2'/></owl:unionOf></owl:Class>\n" |
| 2741 |
+ " </rdfs:subClassOf>\n" |
| 2742 |
+ " </owl:Class>\n" |
| 2743 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2744 |
+ " <rdfs:subClassOf>\n" |
| 2745 |
+ " <owl:Class>\n" |
| 2746 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2747 |
+ " <rdf:Description rdf:about='#minus7'/>\n" |
| 2748 |
+ " <rdf:Description rdf:about='#plus8'/>\n" |
| 2749 |
+ " <rdf:Description rdf:about='#plus4'/></owl:unionOf></owl:Class>\n" |
| 2750 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2751 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2752 |
+ " <rdfs:subClassOf>\n" |
| 2753 |
+ " <owl:Class>\n" |
| 2754 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2755 |
+ " <rdf:Description rdf:about='#plus1'/>\n" |
| 2756 |
+ " <rdf:Description rdf:about='#minus7'/>\n" |
| 2757 |
+ " <rdf:Description rdf:about='#minus5'/></owl:unionOf></owl:Class>\n" |
| 2758 |
+ " </rdfs:subClassOf>\n" |
| 2759 |
+ " </owl:Class>\n" |
| 2760 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2761 |
+ " <rdfs:subClassOf>\n" |
| 2762 |
+ " <owl:Class>\n" |
| 2763 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2764 |
+ " <rdf:Description rdf:about='#minus5'/>\n" |
| 2765 |
+ " <rdf:Description rdf:about='#plus4'/>\n" |
| 2766 |
+ " <rdf:Description rdf:about='#minus3'/></owl:unionOf></owl:Class>\n" |
| 2767 |
+ " </rdfs:subClassOf>\n" |
| 2768 |
+ " </owl:Class>\n" |
| 2769 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2770 |
+ " <rdfs:subClassOf>\n" |
| 2771 |
+ " <owl:Class>\n" |
| 2772 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2773 |
+ " <rdf:Description rdf:about='#plus6'/>\n" |
| 2774 |
+ " <rdf:Description rdf:about='#plus7'/>\n" |
| 2775 |
+ " <rdf:Description rdf:about='#minus1'/></owl:unionOf></owl:Class>\n" |
| 2776 |
+ " </rdfs:subClassOf>\n" |
| 2777 |
+ " </owl:Class>\n" |
| 2778 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2779 |
+ " <rdfs:subClassOf>\n" |
| 2780 |
+ " <owl:Class>\n" |
| 2781 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2782 |
+ " <rdf:Description rdf:about='#minus1'/>\n" |
| 2783 |
+ " <rdf:Description rdf:about='#plus7'/>\n" |
| 2784 |
+ " <rdf:Description rdf:about='#minus9'/></owl:unionOf></owl:Class>\n" |
| 2785 |
+ " </rdfs:subClassOf>\n" |
| 2786 |
+ " </owl:Class>\n" |
| 2787 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2788 |
+ " <rdfs:subClassOf>\n" |
| 2789 |
+ " <owl:Class>\n" |
| 2790 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2791 |
+ " <rdf:Description rdf:about='#plus3'/>\n" |
| 2792 |
+ " <rdf:Description rdf:about='#plus2'/>\n" |
| 2793 |
+ " <rdf:Description rdf:about='#plus6'/></owl:unionOf></owl:Class>\n" |
| 2794 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2795 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2796 |
+ " <rdfs:subClassOf>\n" |
| 2797 |
+ " <owl:Class>\n" |
| 2798 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2799 |
+ " <rdf:Description rdf:about='#plus8'/>\n" |
| 2800 |
+ " <rdf:Description rdf:about='#plus3'/>\n" |
| 2801 |
+ " <rdf:Description rdf:about='#minus7'/></owl:unionOf></owl:Class>\n" |
| 2802 |
+ " </rdfs:subClassOf>\n" |
| 2803 |
+ " </owl:Class>\n" |
| 2804 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2805 |
+ " <rdfs:subClassOf>\n" |
| 2806 |
+ " <owl:Class>\n" |
| 2807 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2808 |
+ " <rdf:Description rdf:about='#minus1'/>\n" |
| 2809 |
+ " <rdf:Description rdf:about='#plus9'/>\n" |
| 2810 |
+ " <rdf:Description rdf:about='#minus8'/></owl:unionOf></owl:Class>\n" |
| 2811 |
+ " </rdfs:subClassOf>\n" |
| 2812 |
+ " </owl:Class>\n" |
| 2813 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2814 |
+ " <rdfs:subClassOf>\n" |
| 2815 |
+ " <owl:Class>\n" |
| 2816 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2817 |
+ " <rdf:Description rdf:about='#plus5'/>\n" |
| 2818 |
+ " <rdf:Description rdf:about='#minus9'/>\n" |
| 2819 |
+ " <rdf:Description rdf:about='#minus7'/></owl:unionOf></owl:Class>\n" |
| 2820 |
+ " </rdfs:subClassOf>\n" |
| 2821 |
+ " </owl:Class>\n" |
| 2822 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2823 |
+ " <rdfs:subClassOf>\n" |
| 2824 |
+ " <owl:Class>\n" |
| 2825 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2826 |
+ " <rdf:Description rdf:about='#minus7'/>\n" |
| 2827 |
+ " <rdf:Description rdf:about='#plus3'/>\n" |
| 2828 |
+ " <rdf:Description rdf:about='#minus9'/></owl:unionOf></owl:Class>\n" |
| 2829 |
+ " </rdfs:subClassOf>\n" |
| 2830 |
+ " </owl:Class>\n" |
| 2831 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2832 |
+ " <rdfs:subClassOf>\n" |
| 2833 |
+ " <owl:Class>\n" |
| 2834 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2835 |
+ " <rdf:Description rdf:about='#plus3'/>\n" |
| 2836 |
+ " <rdf:Description rdf:about='#minus1'/>\n" |
| 2837 |
+ " <rdf:Description rdf:about='#minus2'/></owl:unionOf></owl:Class>\n" |
| 2838 |
+ " </rdfs:subClassOf>\n" |
| 2839 |
+ " </owl:Class>\n" |
| 2840 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2841 |
+ " <rdfs:subClassOf>\n" |
| 2842 |
+ " <owl:Class>\n" |
| 2843 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2844 |
+ " <rdf:Description rdf:about='#plus6'/>\n" |
| 2845 |
+ " <rdf:Description rdf:about='#plus1'/>\n" |
| 2846 |
+ " <rdf:Description rdf:about='#plus4'/></owl:unionOf></owl:Class>\n" |
| 2847 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2848 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2849 |
+ " <rdfs:subClassOf>\n" |
| 2850 |
+ " <owl:Class>\n" |
| 2851 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2852 |
+ " <rdf:Description rdf:about='#plus6'/>\n" |
| 2853 |
+ " <rdf:Description rdf:about='#minus7'/>\n" |
| 2854 |
+ " <rdf:Description rdf:about='#plus5'/></owl:unionOf></owl:Class>\n" |
| 2855 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2856 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2857 |
+ " <rdfs:subClassOf>\n" |
| 2858 |
+ " <owl:Class>\n" |
| 2859 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2860 |
+ " <rdf:Description rdf:about='#plus8'/>\n" |
| 2861 |
+ " <rdf:Description rdf:about='#minus6'/>\n" |
| 2862 |
+ " <rdf:Description rdf:about='#plus3'/></owl:unionOf></owl:Class>\n" |
| 2863 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2864 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2865 |
+ " <rdfs:subClassOf>\n" |
| 2866 |
+ " <owl:Class>\n" |
| 2867 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2868 |
+ " <rdf:Description rdf:about='#plus5'/>\n" |
| 2869 |
+ " <rdf:Description rdf:about='#minus2'/>\n" |
| 2870 |
+ " <rdf:Description rdf:about='#plus6'/></owl:unionOf></owl:Class>\n" |
| 2871 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2872 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2873 |
+ " <rdfs:subClassOf>\n" |
| 2874 |
+ " <owl:Class>\n" |
| 2875 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2876 |
+ " <rdf:Description rdf:about='#plus8'/>\n" |
| 2877 |
+ " <rdf:Description rdf:about='#plus3'/>\n" |
| 2878 |
+ " <rdf:Description rdf:about='#minus5'/></owl:unionOf></owl:Class>\n" |
| 2879 |
+ " </rdfs:subClassOf>\n" |
| 2880 |
+ " </owl:Class>\n" |
| 2881 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2882 |
+ " <rdfs:subClassOf>\n" |
| 2883 |
+ " <owl:Class>\n" |
| 2884 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2885 |
+ " <rdf:Description rdf:about='#minus2'/>\n" |
| 2886 |
+ " <rdf:Description rdf:about='#minus4'/>\n" |
| 2887 |
+ " <rdf:Description rdf:about='#minus9'/></owl:unionOf></owl:Class>\n" |
| 2888 |
+ " </rdfs:subClassOf>\n" + " </owl:Class></rdf:RDF>"; |
| 2889 |
String conclusion = ""; |
| 2890 |
String id = "WebOnt_description_logic_503"; |
| 2891 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 2892 |
String d = "This is a different encoding of test 501."; |
| 2893 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 2894 |
r.setReasonerFactory(factory()); |
| 2895 |
r.run(); |
| 2896 |
} |
| 2897 |
|
| 2898 |
@Test |
| 2899 |
public void testWebOnt_description_logic_504() { |
| 2900 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent504#\"\n" |
| 2901 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent504\" >\n" |
| 2902 |
+ " <owl:Ontology/>\n" |
| 2903 |
+ " <first:Test />\n" |
| 2904 |
+ " <owl:Class rdf:about='#plus1'>\n" |
| 2905 |
+ " <owl:disjointWith>\n" |
| 2906 |
+ " <owl:Class rdf:about='#minus1'/>\n" |
| 2907 |
+ " </owl:disjointWith></owl:Class>\n" |
| 2908 |
+ " <owl:Class rdf:about='#plus2'>\n" |
| 2909 |
+ " <owl:disjointWith>\n" |
| 2910 |
+ " <owl:Class rdf:about='#minus2'/></owl:disjointWith></owl:Class>\n" |
| 2911 |
+ " <owl:Class rdf:about='#plus3'>\n" |
| 2912 |
+ " <owl:disjointWith>\n" |
| 2913 |
+ " <owl:Class rdf:about='#minus3'/></owl:disjointWith>\n" |
| 2914 |
+ " </owl:Class>\n" |
| 2915 |
+ " <owl:Class rdf:about='#plus4'>\n" |
| 2916 |
+ " <owl:disjointWith>\n" |
| 2917 |
+ " <owl:Class rdf:about='#minus4'/></owl:disjointWith></owl:Class>\n" |
| 2918 |
+ " <owl:Class rdf:about='#plus5'>\n" |
| 2919 |
+ " <owl:disjointWith>\n" |
| 2920 |
+ " <owl:Class rdf:about='#minus5'/></owl:disjointWith>\n" |
| 2921 |
+ " </owl:Class>\n" |
| 2922 |
+ " <owl:Class rdf:about='#plus6'>\n" |
| 2923 |
+ " <owl:disjointWith>\n" |
| 2924 |
+ " <owl:Class rdf:about='#minus6'/></owl:disjointWith></owl:Class>\n" |
| 2925 |
+ " <owl:Class rdf:about='#plus7'>\n" |
| 2926 |
+ " <owl:disjointWith>\n" |
| 2927 |
+ " <owl:Class rdf:about='#minus7'/></owl:disjointWith>\n" |
| 2928 |
+ " </owl:Class>\n" |
| 2929 |
+ " <owl:Class rdf:about='#plus8'>\n" |
| 2930 |
+ " <owl:disjointWith>\n" |
| 2931 |
+ " <owl:Class rdf:about='#minus8'/></owl:disjointWith></owl:Class>\n" |
| 2932 |
+ " <owl:Class rdf:about='#plus9'>\n" |
| 2933 |
+ " <owl:disjointWith>\n" |
| 2934 |
+ " <owl:Class rdf:about='#minus9'/></owl:disjointWith>\n" |
| 2935 |
+ " </owl:Class>\n" |
| 2936 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2937 |
+ " <rdfs:subClassOf>\n" |
| 2938 |
+ " <owl:Class>\n" |
| 2939 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2940 |
+ " <rdf:Description rdf:about='#plus1'/>\n" |
| 2941 |
+ " <rdf:Description rdf:about='#plus2'/>\n" |
| 2942 |
+ " <rdf:Description rdf:about='#minus4'/></owl:unionOf></owl:Class>\n" |
| 2943 |
+ " </rdfs:subClassOf>\n" |
| 2944 |
+ " </owl:Class>\n" |
| 2945 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2946 |
+ " <rdfs:subClassOf>\n" |
| 2947 |
+ " <owl:Class>\n" |
| 2948 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2949 |
+ " <rdf:Description rdf:about='#minus3'/>\n" |
| 2950 |
+ " <rdf:Description rdf:about='#plus6'/>\n" |
| 2951 |
+ " <rdf:Description rdf:about='#minus4'/></owl:unionOf></owl:Class>\n" |
| 2952 |
+ " </rdfs:subClassOf>\n" |
| 2953 |
+ " </owl:Class>\n" |
| 2954 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2955 |
+ " <rdfs:subClassOf>\n" |
| 2956 |
+ " <owl:Class>\n" |
| 2957 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2958 |
+ " <rdf:Description rdf:about='#plus9'/>\n" |
| 2959 |
+ " <rdf:Description rdf:about='#minus4'/>\n" |
| 2960 |
+ " <rdf:Description rdf:about='#plus5'/></owl:unionOf></owl:Class>\n" |
| 2961 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2962 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2963 |
+ " <rdfs:subClassOf>\n" |
| 2964 |
+ " <owl:Class>\n" |
| 2965 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2966 |
+ " <rdf:Description rdf:about='#plus4'/>\n" |
| 2967 |
+ " <rdf:Description rdf:about='#minus6'/>\n" |
| 2968 |
+ " <rdf:Description rdf:about='#minus2'/></owl:unionOf></owl:Class>\n" |
| 2969 |
+ " </rdfs:subClassOf>\n" |
| 2970 |
+ " </owl:Class>\n" |
| 2971 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2972 |
+ " <rdfs:subClassOf>\n" |
| 2973 |
+ " <owl:Class>\n" |
| 2974 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2975 |
+ " <rdf:Description rdf:about='#minus2'/>\n" |
| 2976 |
+ " <rdf:Description rdf:about='#minus3'/>\n" |
| 2977 |
+ " <rdf:Description rdf:about='#plus1'/></owl:unionOf></owl:Class>\n" |
| 2978 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2979 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2980 |
+ " <rdfs:subClassOf>\n" |
| 2981 |
+ " <owl:Class>\n" |
| 2982 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2983 |
+ " <rdf:Description rdf:about='#minus3'/>\n" |
| 2984 |
+ " <rdf:Description rdf:about='#plus8'/>\n" |
| 2985 |
+ " <rdf:Description rdf:about='#plus7'/></owl:unionOf></owl:Class>\n" |
| 2986 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2987 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2988 |
+ " <rdfs:subClassOf>\n" |
| 2989 |
+ " <owl:Class>\n" |
| 2990 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2991 |
+ " <rdf:Description rdf:about='#minus8'/>\n" |
| 2992 |
+ " <rdf:Description rdf:about='#minus2'/>\n" |
| 2993 |
+ " <rdf:Description rdf:about='#plus3'/></owl:unionOf></owl:Class>\n" |
| 2994 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 2995 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 2996 |
+ " <rdfs:subClassOf>\n" |
| 2997 |
+ " <owl:Class>\n" |
| 2998 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 2999 |
+ " <rdf:Description rdf:about='#minus7'/>\n" |
| 3000 |
+ " <rdf:Description rdf:about='#minus6'/>\n" |
| 3001 |
+ " <rdf:Description rdf:about='#plus9'/></owl:unionOf></owl:Class>\n" |
| 3002 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3003 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3004 |
+ " <rdfs:subClassOf>\n" |
| 3005 |
+ " <owl:Class>\n" |
| 3006 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3007 |
+ " <rdf:Description rdf:about='#plus1'/>\n" |
| 3008 |
+ " <rdf:Description rdf:about='#minus4'/>\n" |
| 3009 |
+ " <rdf:Description rdf:about='#minus6'/></owl:unionOf></owl:Class>\n" |
| 3010 |
+ " </rdfs:subClassOf>\n" |
| 3011 |
+ " </owl:Class>\n" |
| 3012 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3013 |
+ " <rdfs:subClassOf>\n" |
| 3014 |
+ " <owl:Class>\n" |
| 3015 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3016 |
+ " <rdf:Description rdf:about='#minus8'/>\n" |
| 3017 |
+ " <rdf:Description rdf:about='#minus5'/>\n" |
| 3018 |
+ " <rdf:Description rdf:about='#minus3'/></owl:unionOf></owl:Class>\n" |
| 3019 |
+ " </rdfs:subClassOf>\n" |
| 3020 |
+ " </owl:Class>\n" |
| 3021 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3022 |
+ " <rdfs:subClassOf>\n" |
| 3023 |
+ " <owl:Class>\n" |
| 3024 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3025 |
+ " <rdf:Description rdf:about='#plus4'/>\n" |
| 3026 |
+ " <rdf:Description rdf:about='#plus3'/>\n" |
| 3027 |
+ " <rdf:Description rdf:about='#plus6'/></owl:unionOf></owl:Class>\n" |
| 3028 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3029 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3030 |
+ " <rdfs:subClassOf>\n" |
| 3031 |
+ " <owl:Class>\n" |
| 3032 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3033 |
+ " <rdf:Description rdf:about='#plus2'/>\n" |
| 3034 |
+ " <rdf:Description rdf:about='#minus1'/>\n" |
| 3035 |
+ " <rdf:Description rdf:about='#plus4'/></owl:unionOf></owl:Class>\n" |
| 3036 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3037 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3038 |
+ " <rdfs:subClassOf>\n" |
| 3039 |
+ " <owl:Class>\n" |
| 3040 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3041 |
+ " <rdf:Description rdf:about='#minus3'/>\n" |
| 3042 |
+ " <rdf:Description rdf:about='#plus8'/>\n" |
| 3043 |
+ " <rdf:Description rdf:about='#plus2'/></owl:unionOf></owl:Class>\n" |
| 3044 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3045 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3046 |
+ " <rdfs:subClassOf>\n" |
| 3047 |
+ " <owl:Class>\n" |
| 3048 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3049 |
+ " <rdf:Description rdf:about='#plus6'/>\n" |
| 3050 |
+ " <rdf:Description rdf:about='#minus2'/>\n" |
| 3051 |
+ " <rdf:Description rdf:about='#plus9'/></owl:unionOf></owl:Class>\n" |
| 3052 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3053 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3054 |
+ " <rdfs:subClassOf>\n" |
| 3055 |
+ " <owl:Class>\n" |
| 3056 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3057 |
+ " <rdf:Description rdf:about='#plus7'/>\n" |
| 3058 |
+ " <rdf:Description rdf:about='#minus9'/>\n" |
| 3059 |
+ " <rdf:Description rdf:about='#minus2'/></owl:unionOf></owl:Class>\n" |
| 3060 |
+ " </rdfs:subClassOf>\n" |
| 3061 |
+ " </owl:Class>\n" |
| 3062 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3063 |
+ " <rdfs:subClassOf>\n" |
| 3064 |
+ " <owl:Class>\n" |
| 3065 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3066 |
+ " <rdf:Description rdf:about='#plus2'/>\n" |
| 3067 |
+ " <rdf:Description rdf:about='#minus5'/>\n" |
| 3068 |
+ " <rdf:Description rdf:about='#minus7'/></owl:unionOf></owl:Class>\n" |
| 3069 |
+ " </rdfs:subClassOf>\n" |
| 3070 |
+ " </owl:Class>\n" |
| 3071 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3072 |
+ " <rdfs:subClassOf>\n" |
| 3073 |
+ " <owl:Class>\n" |
| 3074 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3075 |
+ " <rdf:Description rdf:about='#plus5'/>\n" |
| 3076 |
+ " <rdf:Description rdf:about='#plus2'/>\n" |
| 3077 |
+ " <rdf:Description rdf:about='#plus9'/></owl:unionOf></owl:Class>\n" |
| 3078 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3079 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3080 |
+ " <rdfs:subClassOf>\n" |
| 3081 |
+ " <owl:Class>\n" |
| 3082 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3083 |
+ " <rdf:Description rdf:about='#plus6'/>\n" |
| 3084 |
+ " <rdf:Description rdf:about='#minus2'/>\n" |
| 3085 |
+ " <rdf:Description rdf:about='#minus7'/></owl:unionOf></owl:Class>\n" |
| 3086 |
+ " </rdfs:subClassOf>\n" |
| 3087 |
+ " </owl:Class>\n" |
| 3088 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3089 |
+ " <rdfs:subClassOf>\n" |
| 3090 |
+ " <owl:Class>\n" |
| 3091 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3092 |
+ " <rdf:Description rdf:about='#minus9'/>\n" |
| 3093 |
+ " <rdf:Description rdf:about='#plus3'/>\n" |
| 3094 |
+ " <rdf:Description rdf:about='#minus2'/></owl:unionOf></owl:Class>\n" |
| 3095 |
+ " </rdfs:subClassOf>\n" |
| 3096 |
+ " </owl:Class>\n" |
| 3097 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3098 |
+ " <rdfs:subClassOf>\n" |
| 3099 |
+ " <owl:Class>\n" |
| 3100 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3101 |
+ " <rdf:Description rdf:about='#plus1'/>\n" |
| 3102 |
+ " <rdf:Description rdf:about='#plus7'/>\n" |
| 3103 |
+ " <rdf:Description rdf:about='#plus4'/></owl:unionOf></owl:Class>\n" |
| 3104 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3105 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3106 |
+ " <rdfs:subClassOf>\n" |
| 3107 |
+ " <owl:Class>\n" |
| 3108 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3109 |
+ " <rdf:Description rdf:about='#minus4'/>\n" |
| 3110 |
+ " <rdf:Description rdf:about='#plus1'/>\n" |
| 3111 |
+ " <rdf:Description rdf:about='#plus9'/></owl:unionOf></owl:Class>\n" |
| 3112 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3113 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3114 |
+ " <rdfs:subClassOf>\n" |
| 3115 |
+ " <owl:Class>\n" |
| 3116 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3117 |
+ " <rdf:Description rdf:about='#plus2'/>\n" |
| 3118 |
+ " <rdf:Description rdf:about='#plus1'/>\n" |
| 3119 |
+ " <rdf:Description rdf:about='#minus6'/></owl:unionOf></owl:Class>\n" |
| 3120 |
+ " </rdfs:subClassOf>\n" |
| 3121 |
+ " </owl:Class>\n" |
| 3122 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3123 |
+ " <rdfs:subClassOf>\n" |
| 3124 |
+ " <owl:Class>\n" |
| 3125 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3126 |
+ " <rdf:Description rdf:about='#plus7'/>\n" |
| 3127 |
+ " <rdf:Description rdf:about='#minus4'/>\n" |
| 3128 |
+ " <rdf:Description rdf:about='#plus9'/></owl:unionOf></owl:Class>\n" |
| 3129 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3130 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3131 |
+ " <rdfs:subClassOf>\n" |
| 3132 |
+ " <owl:Class>\n" |
| 3133 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3134 |
+ " <rdf:Description rdf:about='#minus5'/>\n" |
| 3135 |
+ " <rdf:Description rdf:about='#plus3'/>\n" |
| 3136 |
+ " <rdf:Description rdf:about='#minus9'/></owl:unionOf></owl:Class>\n" |
| 3137 |
+ " </rdfs:subClassOf>\n" |
| 3138 |
+ " </owl:Class>\n" |
| 3139 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3140 |
+ " <rdfs:subClassOf>\n" |
| 3141 |
+ " <owl:Class>\n" |
| 3142 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3143 |
+ " <rdf:Description rdf:about='#minus4'/>\n" |
| 3144 |
+ " <rdf:Description rdf:about='#plus9'/>\n" |
| 3145 |
+ " <rdf:Description rdf:about='#minus8'/></owl:unionOf></owl:Class>\n" |
| 3146 |
+ " </rdfs:subClassOf>\n" |
| 3147 |
+ " </owl:Class>\n" |
| 3148 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3149 |
+ " <rdfs:subClassOf>\n" |
| 3150 |
+ " <owl:Class>\n" |
| 3151 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3152 |
+ " <rdf:Description rdf:about='#plus4'/>\n" |
| 3153 |
+ " <rdf:Description rdf:about='#plus3'/>\n" |
| 3154 |
+ " <rdf:Description rdf:about='#plus9'/></owl:unionOf></owl:Class>\n" |
| 3155 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3156 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3157 |
+ " <rdfs:subClassOf>\n" |
| 3158 |
+ " <owl:Class>\n" |
| 3159 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3160 |
+ " <rdf:Description rdf:about='#minus7'/>\n" |
| 3161 |
+ " <rdf:Description rdf:about='#plus9'/>\n" |
| 3162 |
+ " <rdf:Description rdf:about='#plus5'/></owl:unionOf></owl:Class>\n" |
| 3163 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3164 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3165 |
+ " <rdfs:subClassOf>\n" |
| 3166 |
+ " <owl:Class>\n" |
| 3167 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3168 |
+ " <rdf:Description rdf:about='#plus4'/>\n" |
| 3169 |
+ " <rdf:Description rdf:about='#plus1'/>\n" |
| 3170 |
+ " <rdf:Description rdf:about='#plus3'/></owl:unionOf></owl:Class>\n" |
| 3171 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3172 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3173 |
+ " <rdfs:subClassOf>\n" |
| 3174 |
+ " <owl:Class>\n" |
| 3175 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3176 |
+ " <rdf:Description rdf:about='#minus5'/>\n" |
| 3177 |
+ " <rdf:Description rdf:about='#plus8'/>\n" |
| 3178 |
+ " <rdf:Description rdf:about='#plus7'/></owl:unionOf></owl:Class>\n" |
| 3179 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3180 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3181 |
+ " <rdfs:subClassOf>\n" |
| 3182 |
+ " <owl:Class>\n" |
| 3183 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3184 |
+ " <rdf:Description rdf:about='#plus8'/>\n" |
| 3185 |
+ " <rdf:Description rdf:about='#minus7'/>\n" |
| 3186 |
+ " <rdf:Description rdf:about='#plus3'/></owl:unionOf></owl:Class>\n" |
| 3187 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3188 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3189 |
+ " <rdfs:subClassOf>\n" |
| 3190 |
+ " <owl:Class>\n" |
| 3191 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3192 |
+ " <rdf:Description rdf:about='#plus4'/>\n" |
| 3193 |
+ " <rdf:Description rdf:about='#minus8'/>\n" |
| 3194 |
+ " <rdf:Description rdf:about='#plus6'/></owl:unionOf></owl:Class>\n" |
| 3195 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3196 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3197 |
+ " <rdfs:subClassOf>\n" |
| 3198 |
+ " <owl:Class>\n" |
| 3199 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3200 |
+ " <rdf:Description rdf:about='#plus4'/>\n" |
| 3201 |
+ " <rdf:Description rdf:about='#plus6'/>\n" |
| 3202 |
+ " <rdf:Description rdf:about='#minus5'/></owl:unionOf></owl:Class>\n" |
| 3203 |
+ " </rdfs:subClassOf>\n" |
| 3204 |
+ " </owl:Class>\n" |
| 3205 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3206 |
+ " <rdfs:subClassOf>\n" |
| 3207 |
+ " <owl:Class>\n" |
| 3208 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3209 |
+ " <rdf:Description rdf:about='#minus6'/>\n" |
| 3210 |
+ " <rdf:Description rdf:about='#plus1'/>\n" |
| 3211 |
+ " <rdf:Description rdf:about='#minus9'/></owl:unionOf></owl:Class>\n" |
| 3212 |
+ " </rdfs:subClassOf>\n" |
| 3213 |
+ " </owl:Class>\n" |
| 3214 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3215 |
+ " <rdfs:subClassOf>\n" |
| 3216 |
+ " <owl:Class>\n" |
| 3217 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3218 |
+ " <rdf:Description rdf:about='#plus1'/>\n" |
| 3219 |
+ " <rdf:Description rdf:about='#plus9'/>\n" |
| 3220 |
+ " <rdf:Description rdf:about='#minus6'/></owl:unionOf></owl:Class>\n" |
| 3221 |
+ " </rdfs:subClassOf>\n" |
| 3222 |
+ " </owl:Class>\n" |
| 3223 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3224 |
+ " <rdfs:subClassOf>\n" |
| 3225 |
+ " <owl:Class>\n" |
| 3226 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3227 |
+ " <rdf:Description rdf:about='#plus9'/>\n" |
| 3228 |
+ " <rdf:Description rdf:about='#minus8'/>\n" |
| 3229 |
+ " <rdf:Description rdf:about='#plus3'/></owl:unionOf></owl:Class>\n" |
| 3230 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3231 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3232 |
+ " <rdfs:subClassOf>\n" |
| 3233 |
+ " <owl:Class>\n" |
| 3234 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3235 |
+ " <rdf:Description rdf:about='#plus6'/>\n" |
| 3236 |
+ " <rdf:Description rdf:about='#plus3'/>\n" |
| 3237 |
+ " <rdf:Description rdf:about='#minus4'/></owl:unionOf></owl:Class>\n" |
| 3238 |
+ " </rdfs:subClassOf>\n" |
| 3239 |
+ " </owl:Class>\n" |
| 3240 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3241 |
+ " <rdfs:subClassOf>\n" |
| 3242 |
+ " <owl:Class>\n" |
| 3243 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3244 |
+ " <rdf:Description rdf:about='#plus8'/>\n" |
| 3245 |
+ " <rdf:Description rdf:about='#minus4'/>\n" |
| 3246 |
+ " <rdf:Description rdf:about='#plus6'/></owl:unionOf></owl:Class>\n" |
| 3247 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3248 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3249 |
+ " <rdfs:subClassOf>\n" |
| 3250 |
+ " <owl:Class>\n" |
| 3251 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3252 |
+ " <rdf:Description rdf:about='#minus3'/>\n" |
| 3253 |
+ " <rdf:Description rdf:about='#plus5'/>\n" |
| 3254 |
+ " <rdf:Description rdf:about='#minus8'/></owl:unionOf></owl:Class>\n" |
| 3255 |
+ " </rdfs:subClassOf>\n" |
| 3256 |
+ " </owl:Class>\n" |
| 3257 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3258 |
+ " <rdfs:subClassOf>\n" |
| 3259 |
+ " <owl:Class>\n" |
| 3260 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3261 |
+ " <rdf:Description rdf:about='#minus9'/>\n" |
| 3262 |
+ " <rdf:Description rdf:about='#plus4'/>\n" |
| 3263 |
+ " <rdf:Description rdf:about='#plus3'/></owl:unionOf></owl:Class>\n" |
| 3264 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3265 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3266 |
+ " <rdfs:subClassOf>\n" |
| 3267 |
+ " <owl:Class>\n" |
| 3268 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3269 |
+ " <rdf:Description rdf:about='#plus8'/>\n" |
| 3270 |
+ " <rdf:Description rdf:about='#minus4'/>\n" |
| 3271 |
+ " <rdf:Description rdf:about='#plus2'/></owl:unionOf></owl:Class>\n" |
| 3272 |
+ " </rdfs:subClassOf></owl:Class>\n" |
| 3273 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3274 |
+ " <rdfs:subClassOf>\n" |
| 3275 |
+ " <owl:Class>\n" |
| 3276 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3277 |
+ " <rdf:Description rdf:about='#minus5'/>\n" |
| 3278 |
+ " <rdf:Description rdf:about='#minus2'/>\n" |
| 3279 |
+ " <rdf:Description rdf:about='#minus9'/></owl:unionOf></owl:Class>\n" |
| 3280 |
+ " </rdfs:subClassOf>\n" |
| 3281 |
+ " </owl:Class>\n" |
| 3282 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3283 |
+ " <rdfs:subClassOf>\n" |
| 3284 |
+ " <owl:Class>\n" |
| 3285 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3286 |
+ " <rdf:Description rdf:about='#minus7'/>\n" |
| 3287 |
+ " <rdf:Description rdf:about='#minus3'/>\n" |
| 3288 |
+ " <rdf:Description rdf:about='#minus4'/></owl:unionOf></owl:Class>\n" |
| 3289 |
+ " </rdfs:subClassOf>\n" |
| 3290 |
+ " </owl:Class>\n" |
| 3291 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3292 |
+ " <rdfs:subClassOf>\n" |
| 3293 |
+ " <owl:Class>\n" |
| 3294 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3295 |
+ " <rdf:Description rdf:about='#minus9'/>\n" |
| 3296 |
+ " <rdf:Description rdf:about='#minus4'/>\n" |
| 3297 |
+ " <rdf:Description rdf:about='#minus8'/></owl:unionOf></owl:Class>\n" |
| 3298 |
+ " </rdfs:subClassOf>\n" |
| 3299 |
+ " </owl:Class>\n" |
| 3300 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3301 |
+ " <rdfs:subClassOf>\n" |
| 3302 |
+ " <owl:Class>\n" |
| 3303 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3304 |
+ " <rdf:Description rdf:about='#plus6'/>\n" |
| 3305 |
+ " <rdf:Description rdf:about='#minus4'/>\n" |
| 3306 |
+ " <rdf:Description rdf:about='#minus1'/></owl:unionOf></owl:Class>\n" |
| 3307 |
+ " </rdfs:subClassOf>\n" |
| 3308 |
+ " </owl:Class>\n" |
| 3309 |
+ " <owl:Class rdf:about='#Test'>\n" |
| 3310 |
+ " <rdfs:subClassOf>\n" |
| 3311 |
+ " <owl:Class>\n" |
| 3312 |
+ " <owl:unionOf rdf:parseType='Collection'>\n" |
| 3313 |
+ " <rdf:Description rdf:about='#plus6'/>\n" |
| 3314 |
+ " <rdf:Description rdf:about='#minus7'/>\n" |
| 3315 |
+ " <rdf:Description rdf:about='#minus8'/></owl:unionOf></owl:Class>\n" |
| 3316 |
+ " </rdfs:subClassOf>\n" + " </owl:Class></rdf:RDF>"; |
| 3317 |
String conclusion = ""; |
| 3318 |
String id = "WebOnt_description_logic_504"; |
| 3319 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 3320 |
String d = "This is a different encoding of test 502."; |
| 3321 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 3322 |
r.setReasonerFactory(factory()); |
| 3323 |
r.run(); |
| 3324 |
} |
| 3325 |
|
| 3326 |
@Test |
| 3327 |
public void testWebOnt_description_logic_601() { |
| 3328 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 3329 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent601\">\n" |
| 3330 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 3331 |
+ " <owl:Class rdf:ID=\"C.1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3332 |
+ " <owl:onProperty>\n" |
| 3333 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 3334 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3335 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#b.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3336 |
+ " <owl:onProperty>\n" |
| 3337 |
+ " <owl:DatatypeProperty rdf:ID=\"P.3\"/></owl:onProperty>\n" |
| 3338 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#unsignedByte\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3339 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3340 |
+ " <owl:onProperty>\n" |
| 3341 |
+ " <owl:ObjectProperty rdf:ID=\"P.2\"/></owl:onProperty>\n" |
| 3342 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#short\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3343 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3344 |
+ " <owl:onProperty>\n" |
| 3345 |
+ " <owl:DatatypeProperty rdf:ID=\"P.5\"/></owl:onProperty>\n" |
| 3346 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#decimal\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass>\n" |
| 3347 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3348 |
+ " <owl:Class rdf:about=\"#C.6\"/>\n" |
| 3349 |
+ " <owl:Class rdf:about=\"#C.7\"/>\n" |
| 3350 |
+ " <owl:Class rdf:about=\"#C.8\"/></owl:intersectionOf></owl:Class>\n" |
| 3351 |
+ " <owl:Class rdf:ID=\"C.6.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3352 |
+ " <owl:onProperty>\n" |
| 3353 |
+ " <owl:ObjectProperty rdf:ID=\"P.6\"/></owl:onProperty>\n" |
| 3354 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#byte\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass>\n" |
| 3355 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3356 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/>\n" |
| 3357 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#b\"/></owl:intersectionOf></owl:Class>\n" |
| 3358 |
+ " <owl:Class rdf:ID=\"C.8\"><owl:equivalentClass><owl:Restriction>\n" |
| 3359 |
+ " <owl:onProperty>\n" |
| 3360 |
+ " <owl:ObjectProperty rdf:ID=\"P.8\"/></owl:onProperty>\n" |
| 3361 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3362 |
+ " <owl:Class rdf:ID=\"C.7.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3363 |
+ " <owl:onProperty>\n" |
| 3364 |
+ " <owl:DatatypeProperty rdf:ID=\"P.7\"/></owl:onProperty>\n" |
| 3365 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#integer\">0</owl:cardinality></owl:Restriction></owl:equivalentClass>\n" |
| 3366 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3367 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/>\n" |
| 3368 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:intersectionOf></owl:Class>\n" |
| 3369 |
+ " <owl:Class rdf:ID=\"C.7\"><owl:equivalentClass><owl:Restriction>\n" |
| 3370 |
+ " <owl:onProperty rdf:resource=\"#P.7\"/>\n" |
| 3371 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#integer\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3372 |
+ " <owl:Class rdf:ID=\"C.8.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3373 |
+ " <owl:onProperty rdf:resource=\"#P.8\"/>\n" |
| 3374 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass>\n" |
| 3375 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3376 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#b\"/>\n" |
| 3377 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:intersectionOf></owl:Class>\n" |
| 3378 |
+ " <owl:Class rdf:ID=\"C.6\"><owl:equivalentClass><owl:Restriction>\n" |
| 3379 |
+ " <owl:onProperty rdf:resource=\"#P.6\"/>\n" |
| 3380 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#byte\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3381 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Restriction>\n" |
| 3382 |
+ " <owl:onProperty rdf:resource=\"#P.5\"/>\n" |
| 3383 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#decimal\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3384 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><owl:equivalentClass><owl:Restriction>\n" |
| 3385 |
+ " <owl:onProperty rdf:resource=\"#P.2\"/>\n" |
| 3386 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#short\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3387 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#b\">\n" |
| 3388 |
+ " <rdfs:subClassOf rdf:resource=\"http://oiled.man.example.net/test#c.comp\"/><owl:equivalentClass><owl:Restriction>\n" |
| 3389 |
+ " <owl:onProperty rdf:resource=\"#P.3\"/>\n" |
| 3390 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#unsignedByte\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3391 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\">\n" |
| 3392 |
+ " <rdfs:subClassOf>\n" |
| 3393 |
+ " <owl:Class rdf:about=\"#C.1\"/></rdfs:subClassOf></owl:Class>\n" |
| 3394 |
+ " <owl:Class rdf:ID=\"C.1\"><owl:equivalentClass><owl:Restriction>\n" |
| 3395 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 3396 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass>\n" |
| 3397 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3398 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#b.comp\"/>\n" |
| 3399 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c.comp\"/></owl:intersectionOf></owl:Class>\n" |
| 3400 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 3401 |
String conclusion = ""; |
| 3402 |
String id = "WebOnt_description_logic_601"; |
| 3403 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 3404 |
String d = "DL Test: fact1.1\n" + "If a, b and c are disjoint, then:\n" |
| 3405 |
+ "(a and b) or (b and c) or (c and a)\n" + "is unsatisfiable."; |
| 3406 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 3407 |
r.setReasonerFactory(factory()); |
| 3408 |
r.run(); |
| 3409 |
} |
| 3410 |
|
| 3411 |
@Test |
| 3412 |
public void testWebOnt_description_logic_602_old() { |
| 3413 |
String premise = "Prefix(xsd:=<http://www.w3.org/2001/XMLSchema#>)\n" |
| 3414 |
+ "Prefix(owl:=<http://www.w3.org/2002/07/owl#>)\n" |
| 3415 |
+ "Prefix(xml:=<http://www.w3.org/XML/1998/namespace>)\n" |
| 3416 |
+ "Prefix(rdf:=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>)\n" |
| 3417 |
+ "Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>)\n" |
| 3418 |
+ "Prefix(urn:=<urn:test#>)\n" |
| 3419 |
+ "Ontology(<urn:testonto:>\n" |
| 3420 |
+ "Declaration(Class(<urn:A.2>))\n" |
| 3421 |
+ "EquivalentClasses(<urn:A.2> ObjectAllValuesFrom(<urn:r> <urn:c>))\n" |
| 3422 |
+ "SubClassOf(<urn:A.2> <urn:d>)\n" |
| 3423 |
+ "Declaration(Class(<urn:Unsatisfiable>))\n" |
| 3424 |
+ "SubClassOf(<urn:Unsatisfiable> <urn:c>)\n" |
| 3425 |
+ "SubClassOf(<urn:Unsatisfiable> <urn:d.comp>)\n" |
| 3426 |
+ "Declaration(Class(<urn:c>))\n" |
| 3427 |
+ "SubClassOf(<urn:c> ObjectAllValuesFrom(<urn:r> <urn:c>))\n" |
| 3428 |
+ "Declaration(Class(<urn:d>))\n" |
| 3429 |
+ "EquivalentClasses(<urn:d> ObjectMaxCardinality(0 <urn:p>))\n" |
| 3430 |
+ "Declaration(Class(<urn:d.comp>))\n" |
| 3431 |
+ "EquivalentClasses(<urn:d.comp> ObjectMinCardinality(1 <urn:p>))\n" |
| 3432 |
+ "Declaration(ObjectProperty(<urn:r>))\n" |
| 3433 |
+ "Declaration(ObjectProperty(<urn:p>))\n" |
| 3434 |
+ "ClassAssertion(<urn:Unsatisfiable> urn:ind))"; |
| 3435 |
String conclusion = ""; |
| 3436 |
String id = "WebOnt_description_logic_602"; |
| 3437 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 3438 |
String d = "DL Test: fact2.1"; |
| 3439 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 3440 |
r.setReasonerFactory(factory()); |
| 3441 |
r.run(); |
| 3442 |
} |
| 3443 |
|
| 3444 |
@Test |
| 3445 |
public void testWebOnt_description_logic_602() |
| 3446 |
throws OWLOntologyCreationException { |
| 3447 |
OWLOntologyManager m = OWLManager.createOWLOntologyManager(); |
| 3448 |
OWLDataFactory f = m.getOWLDataFactory(); |
| 3449 |
OWLOntology o = m.createOntology(); |
| 3450 |
OWLClass A = f.getOWLClass(IRI.create("urn:A")); |
| 3451 |
OWLClass C = f.getOWLClass(IRI.create("urn:C")); |
| 3452 |
OWLClass D = f.getOWLClass(IRI.create("urn:D")); |
| 3453 |
OWLClass B = f.getOWLClass(IRI.create("urn:B")); |
| 3454 |
OWLClass U = f.getOWLClass(IRI.create("urn:U")); |
| 3455 |
OWLObjectProperty p = f.getOWLObjectProperty(IRI.create("urn:p")); |
| 3456 |
OWLObjectProperty r = f.getOWLObjectProperty(IRI.create("urn:r")); |
| 3457 |
OWLObjectAllValuesFrom rAllC = f.getOWLObjectAllValuesFrom(r, C); |
| 3458 |
m.addAxiom(o, f.getOWLEquivalentClassesAxiom(A, rAllC)); |
| 3459 |
m.addAxiom(o, f.getOWLSubClassOfAxiom(A, D)); |
| 3460 |
m.addAxiom(o, f.getOWLSubClassOfAxiom(U, C)); |
| 3461 |
m.addAxiom(o, f.getOWLSubClassOfAxiom(U, B)); |
| 3462 |
m.addAxiom(o, f.getOWLSubClassOfAxiom(C, rAllC)); |
| 3463 |
OWLObjectMaxCardinality zeroP = f.getOWLObjectMaxCardinality(0, p); |
| 3464 |
m.addAxiom(o, f.getOWLEquivalentClassesAxiom(D, zeroP)); |
| 3465 |
OWLObjectMinCardinality oneP = f.getOWLObjectMinCardinality(1, p); |
| 3466 |
m.addAxiom(o, f.getOWLEquivalentClassesAxiom(B, oneP)); |
| 3467 |
OWLReasoner reasoner = factory().createReasoner(o); |
| 3468 |
reasoner.precomputeInferences(InferenceType.CLASS_HIERARCHY); |
| 3469 |
assertFalse("cannot find unsatisfiable class", |
| 3470 |
reasoner.isSatisfiable(U)); |
| 3471 |
assertTrue("cannot infer disjoint", |
| 3472 |
reasoner.isEntailed(f.getOWLDisjointClassesAxiom(D, B))); |
| 3473 |
assertTrue("cannot infer U [= B", |
| 3474 |
reasoner.isEntailed(f.getOWLSubClassOfAxiom(U, B))); |
| 3475 |
assertTrue("cannot infer U [= C", |
| 3476 |
reasoner.isEntailed(f.getOWLSubClassOfAxiom(U, C))); |
| 3477 |
assertTrue("cannot infer C [= r some C", |
| 3478 |
reasoner.isEntailed(f.getOWLSubClassOfAxiom(C, rAllC))); |
| 3479 |
assertTrue("cannot infer r some C = A", |
| 3480 |
reasoner.isEntailed(f.getOWLEquivalentClassesAxiom(rAllC, A))); |
| 3481 |
assertTrue("cannot infer A [= D", |
| 3482 |
reasoner.isEntailed(f.getOWLSubClassOfAxiom(A, D))); |
| 3483 |
assertTrue("cannot infer U [= D", |
| 3484 |
reasoner.isEntailed(f.getOWLSubClassOfAxiom(U, D))); |
| 3485 |
assertFalse("cannot find unsatisfiable class", |
| 3486 |
reasoner.isSatisfiable(U)); |
| 3487 |
} |
| 3488 |
|
| 3489 |
@Test |
| 3490 |
public void testWebOnt_description_logic_603() { |
| 3491 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 3492 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent603\">\n" |
| 3493 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 3494 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3495 |
+ " <owl:onProperty>\n" |
| 3496 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 3497 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3498 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 3499 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3500 |
+ " <owl:Restriction>\n" |
| 3501 |
+ " <owl:onProperty>\n" |
| 3502 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/></owl:onProperty>\n" |
| 3503 |
+ " <owl:someValuesFrom>\n" |
| 3504 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 3505 |
+ " <owl:Restriction>\n" |
| 3506 |
+ " <owl:onProperty>\n" |
| 3507 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f2\"/></owl:onProperty>\n" |
| 3508 |
+ " <owl:someValuesFrom rdf:resource=\"http://oiled.man.example.net/test#p1.comp\"/></owl:Restriction>\n" |
| 3509 |
+ " <owl:Restriction>\n" |
| 3510 |
+ " <owl:onProperty>\n" |
| 3511 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f3\"/></owl:onProperty>\n" |
| 3512 |
+ " <owl:someValuesFrom>\n" |
| 3513 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 3514 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><owl:equivalentClass><owl:Restriction>\n" |
| 3515 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 3516 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3517 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f3\">\n" |
| 3518 |
+ " <rdfs:subPropertyOf>\n" |
| 3519 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f2\"/></rdfs:subPropertyOf>\n" |
| 3520 |
+ " <rdfs:subPropertyOf>\n" |
| 3521 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/></rdfs:subPropertyOf>\n" |
| 3522 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3523 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f2\">\n" |
| 3524 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3525 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\">\n" |
| 3526 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3527 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 3528 |
String conclusion = ""; |
| 3529 |
String id = "WebOnt_description_logic_603"; |
| 3530 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 3531 |
String d = "DL Test: fact3.1"; |
| 3532 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 3533 |
r.setReasonerFactory(factory()); |
| 3534 |
r.run(); |
| 3535 |
} |
| 3536 |
|
| 3537 |
@Test |
| 3538 |
public void testWebOnt_description_logic_604() { |
| 3539 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 3540 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent604\">\n" |
| 3541 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 3542 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c2\"/>\n" |
| 3543 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"/>\n" |
| 3544 |
+ " <owl:Class rdf:ID=\"C.1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3545 |
+ " <owl:onProperty>\n" |
| 3546 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 3547 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass><owl:equivalentClass><owl:Restriction>\n" |
| 3548 |
+ " <owl:onProperty>\n" |
| 3549 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx3\"/></owl:onProperty>\n" |
| 3550 |
+ " <owl:someValuesFrom>\n" |
| 3551 |
+ " <owl:Class rdf:about=\"#A.2\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3552 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 3553 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3554 |
+ " <owl:Class rdf:about=\"#C.1\"/>\n" |
| 3555 |
+ " <owl:Restriction>\n" |
| 3556 |
+ " <owl:onProperty>\n" |
| 3557 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx3\"/></owl:onProperty>\n" |
| 3558 |
+ " <owl:someValuesFrom rdf:resource=\"http://oiled.man.example.net/test#c1\"/></owl:Restriction>\n" |
| 3559 |
+ " <owl:Restriction>\n" |
| 3560 |
+ " <owl:onProperty>\n" |
| 3561 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx4\"/></owl:onProperty>\n" |
| 3562 |
+ " <owl:someValuesFrom rdf:resource=\"http://oiled.man.example.net/test#c2\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 3563 |
+ " <owl:Class rdf:ID=\"C.1\"><owl:equivalentClass><owl:Restriction>\n" |
| 3564 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 3565 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3566 |
+ " <owl:Class rdf:ID=\"A.2\">\n" |
| 3567 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3568 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"/>\n" |
| 3569 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c2\"/></owl:intersectionOf></owl:Class>\n" |
| 3570 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx4\">\n" |
| 3571 |
+ " <rdfs:subPropertyOf>\n" |
| 3572 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx2\"/></rdfs:subPropertyOf>\n" |
| 3573 |
+ " <rdfs:subPropertyOf>\n" |
| 3574 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx\"/></rdfs:subPropertyOf>\n" |
| 3575 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3576 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx3\">\n" |
| 3577 |
+ " <rdfs:subPropertyOf>\n" |
| 3578 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx1\"/></rdfs:subPropertyOf>\n" |
| 3579 |
+ " <rdfs:subPropertyOf>\n" |
| 3580 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx\"/></rdfs:subPropertyOf>\n" |
| 3581 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3582 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rxa\"/>\n" |
| 3583 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx\">\n" |
| 3584 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3585 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx1a\"/>\n" |
| 3586 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx2a\"/>\n" |
| 3587 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx3a\">\n" |
| 3588 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx1a\"/>\n" |
| 3589 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rxa\"/>\n" |
| 3590 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3591 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx4a\">\n" |
| 3592 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx2a\"/>\n" |
| 3593 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rxa\"/>\n" |
| 3594 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3595 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 3596 |
String conclusion = ""; |
| 3597 |
String id = "WebOnt_description_logic_604"; |
| 3598 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 3599 |
String d = "DL Test: fact4.1"; |
| 3600 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 3601 |
r.setReasonerFactory(factory()); |
| 3602 |
r.run(); |
| 3603 |
} |
| 3604 |
|
| 3605 |
@Test |
| 3606 |
public void testWebOnt_description_logic_605() { |
| 3607 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 3608 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent605\">\n" |
| 3609 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 3610 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c2\"/>\n" |
| 3611 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\">\n" |
| 3612 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3613 |
+ " <owl:Class rdf:about=\"#C.1\"/>\n" |
| 3614 |
+ " <owl:Restriction>\n" |
| 3615 |
+ " <owl:onProperty>\n" |
| 3616 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx3a\"/></owl:onProperty>\n" |
| 3617 |
+ " <owl:someValuesFrom>\n" |
| 3618 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 3619 |
+ " <owl:Restriction>\n" |
| 3620 |
+ " <owl:onProperty>\n" |
| 3621 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx4a\"/></owl:onProperty>\n" |
| 3622 |
+ " <owl:someValuesFrom rdf:resource=\"http://oiled.man.example.net/test#c2\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 3623 |
+ " <owl:Class rdf:ID=\"C.1\"><owl:equivalentClass><owl:Restriction>\n" |
| 3624 |
+ " <owl:onProperty>\n" |
| 3625 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 3626 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3627 |
+ " <owl:Class rdf:ID=\"A.2\">\n" |
| 3628 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3629 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\"/>\n" |
| 3630 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c2\"/></owl:intersectionOf></owl:Class>\n" |
| 3631 |
+ " <owl:Class rdf:ID=\"C.1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3632 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 3633 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass><owl:equivalentClass><owl:Restriction>\n" |
| 3634 |
+ " <owl:onProperty>\n" |
| 3635 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx3a\"/></owl:onProperty>\n" |
| 3636 |
+ " <owl:someValuesFrom rdf:resource=\"#A.2\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3637 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx4\">\n" |
| 3638 |
+ " <rdfs:subPropertyOf>\n" |
| 3639 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx2\"/></rdfs:subPropertyOf>\n" |
| 3640 |
+ " <rdfs:subPropertyOf>\n" |
| 3641 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx\"/></rdfs:subPropertyOf>\n" |
| 3642 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3643 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx3\">\n" |
| 3644 |
+ " <rdfs:subPropertyOf>\n" |
| 3645 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx1\"/></rdfs:subPropertyOf>\n" |
| 3646 |
+ " <rdfs:subPropertyOf>\n" |
| 3647 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx\"/></rdfs:subPropertyOf>\n" |
| 3648 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3649 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rxa\"/>\n" |
| 3650 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx\">\n" |
| 3651 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3652 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx1a\"/>\n" |
| 3653 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx2a\"/>\n" |
| 3654 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx3a\">\n" |
| 3655 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx1a\"/>\n" |
| 3656 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rxa\"/>\n" |
| 3657 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3658 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#rx4a\">\n" |
| 3659 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rx2a\"/>\n" |
| 3660 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#rxa\"/>\n" |
| 3661 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3662 |
+ " <oiled:Satisfiable/>\n" + "</rdf:RDF>"; |
| 3663 |
String conclusion = ""; |
| 3664 |
String id = "WebOnt_description_logic_605"; |
| 3665 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 3666 |
String d = "DL Test: fact4.2"; |
| 3667 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 3668 |
r.setReasonerFactory(factory()); |
| 3669 |
r.run(); |
| 3670 |
} |
| 3671 |
|
| 3672 |
@Test |
| 3673 |
public void testWebOnt_description_logic_606() { |
| 3674 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 3675 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent606\">\n" |
| 3676 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 3677 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3678 |
+ " <owl:onProperty>\n" |
| 3679 |
+ " <owl:DatatypeProperty rdf:ID=\"P.5\"/></owl:onProperty>\n" |
| 3680 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#decimal\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3681 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3682 |
+ " <owl:onProperty>\n" |
| 3683 |
+ " <owl:ObjectProperty rdf:ID=\"P.6\"/></owl:onProperty>\n" |
| 3684 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#byte\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3685 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3686 |
+ " <owl:onProperty>\n" |
| 3687 |
+ " <owl:DatatypeProperty rdf:ID=\"P.7\"/></owl:onProperty>\n" |
| 3688 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#integer\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3689 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3690 |
+ " <owl:onProperty>\n" |
| 3691 |
+ " <owl:ObjectProperty rdf:ID=\"P.4\"/></owl:onProperty>\n" |
| 3692 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3693 |
+ " <owl:Class rdf:ID=\"C.1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3694 |
+ " <owl:onProperty>\n" |
| 3695 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 3696 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3697 |
+ " <owl:Class rdf:ID=\"C.2.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3698 |
+ " <owl:onProperty>\n" |
| 3699 |
+ " <owl:ObjectProperty rdf:ID=\"P.2\"/></owl:onProperty>\n" |
| 3700 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#short\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3701 |
+ " <owl:Class rdf:ID=\"C.3.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3702 |
+ " <owl:onProperty>\n" |
| 3703 |
+ " <owl:DatatypeProperty rdf:ID=\"P.3\"/></owl:onProperty>\n" |
| 3704 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#unsignedByte\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3705 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\"><owl:equivalentClass><owl:Restriction>\n" |
| 3706 |
+ " <owl:onProperty>\n" |
| 3707 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 3708 |
+ " <owl:someValuesFrom>\n" |
| 3709 |
+ " <owl:Class rdf:about=\"#A.14\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3710 |
+ " <owl:Class rdf:ID=\"A.14\">\n" |
| 3711 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3712 |
+ " <owl:Restriction>\n" |
| 3713 |
+ " <owl:onProperty>\n" |
| 3714 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 3715 |
+ " <owl:someValuesFrom>\n" |
| 3716 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 3717 |
+ " <owl:Restriction>\n" |
| 3718 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/>\n" |
| 3719 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 3720 |
+ " <owl:Class rdf:ID=\"C.3\"><owl:equivalentClass><owl:Restriction>\n" |
| 3721 |
+ " <owl:onProperty rdf:resource=\"#P.3\"/>\n" |
| 3722 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#unsignedByte\">0</owl:cardinality></owl:Restriction></owl:equivalentClass>\n" |
| 3723 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3724 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4.comp\"/>\n" |
| 3725 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5.comp\"/></owl:intersectionOf></owl:Class>\n" |
| 3726 |
+ " <owl:Class rdf:ID=\"C.2\"><owl:equivalentClass><owl:Restriction>\n" |
| 3727 |
+ " <owl:onProperty rdf:resource=\"#P.2\"/>\n" |
| 3728 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#short\">0</owl:cardinality></owl:Restriction></owl:equivalentClass>\n" |
| 3729 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3730 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3.comp\"/>\n" |
| 3731 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4.comp\"/>\n" |
| 3732 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5.comp\"/></owl:intersectionOf></owl:Class>\n" |
| 3733 |
+ " <owl:Class rdf:ID=\"C.1\"><owl:equivalentClass><owl:Restriction>\n" |
| 3734 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 3735 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass>\n" |
| 3736 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3737 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2.comp\"/>\n" |
| 3738 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3.comp\"/>\n" |
| 3739 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4.comp\"/>\n" |
| 3740 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5.comp\"/></owl:intersectionOf></owl:Class>\n" |
| 3741 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"><owl:equivalentClass><owl:Restriction>\n" |
| 3742 |
+ " <owl:onProperty rdf:resource=\"#P.4\"/>\n" |
| 3743 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3744 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\">\n" |
| 3745 |
+ " <rdfs:subClassOf rdf:resource=\"http://oiled.man.example.net/test#p5.comp\"/><owl:equivalentClass><owl:Restriction>\n" |
| 3746 |
+ " <owl:onProperty rdf:resource=\"#P.7\"/>\n" |
| 3747 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#integer\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3748 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\">\n" |
| 3749 |
+ " <rdfs:subClassOf rdf:resource=\"#C.3\"/><owl:equivalentClass><owl:Restriction>\n" |
| 3750 |
+ " <owl:onProperty rdf:resource=\"#P.6\"/>\n" |
| 3751 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#byte\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3752 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\">\n" |
| 3753 |
+ " <rdfs:subClassOf rdf:resource=\"#C.2\"/><owl:equivalentClass><owl:Restriction>\n" |
| 3754 |
+ " <owl:onProperty rdf:resource=\"#P.5\"/>\n" |
| 3755 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#decimal\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3756 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\">\n" |
| 3757 |
+ " <rdfs:subClassOf rdf:resource=\"#C.1\"/></owl:Class>\n" |
| 3758 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 3759 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 3760 |
+ " <oiled:Satisfiable/>\n" + "</rdf:RDF>"; |
| 3761 |
String conclusion = ""; |
| 3762 |
String id = "WebOnt_description_logic_606"; |
| 3763 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 3764 |
String d = "DL Test: t1.1"; |
| 3765 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 3766 |
r.setReasonerFactory(factory()); |
| 3767 |
r.run(); |
| 3768 |
} |
| 3769 |
|
| 3770 |
@Test |
| 3771 |
public void testWebOnt_description_logic_608() { |
| 3772 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 3773 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent608\">\n" |
| 3774 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 3775 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3776 |
+ " <owl:onProperty>\n" |
| 3777 |
+ " <owl:DatatypeProperty rdf:ID=\"P.5\"/></owl:onProperty>\n" |
| 3778 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#decimal\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3779 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3780 |
+ " <owl:onProperty>\n" |
| 3781 |
+ " <owl:ObjectProperty rdf:ID=\"P.6\"/></owl:onProperty>\n" |
| 3782 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#byte\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3783 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3784 |
+ " <owl:onProperty>\n" |
| 3785 |
+ " <owl:DatatypeProperty rdf:ID=\"P.7\"/></owl:onProperty>\n" |
| 3786 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#integer\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3787 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3788 |
+ " <owl:onProperty>\n" |
| 3789 |
+ " <owl:ObjectProperty rdf:ID=\"P.4\"/></owl:onProperty>\n" |
| 3790 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3791 |
+ " <owl:Class rdf:ID=\"C.1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3792 |
+ " <owl:onProperty>\n" |
| 3793 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 3794 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3795 |
+ " <owl:Class rdf:ID=\"C.2.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3796 |
+ " <owl:onProperty>\n" |
| 3797 |
+ " <owl:ObjectProperty rdf:ID=\"P.2\"/></owl:onProperty>\n" |
| 3798 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#short\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3799 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 3800 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3801 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/>\n" |
| 3802 |
+ " <owl:Restriction>\n" |
| 3803 |
+ " <owl:onProperty>\n" |
| 3804 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 3805 |
+ " <owl:someValuesFrom>\n" |
| 3806 |
+ " <owl:Class rdf:about=\"#A.14\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 3807 |
+ " <owl:Class rdf:ID=\"C.3.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3808 |
+ " <owl:onProperty>\n" |
| 3809 |
+ " <owl:DatatypeProperty rdf:ID=\"P.3\"/></owl:onProperty>\n" |
| 3810 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#unsignedByte\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3811 |
+ " <owl:Class rdf:ID=\"A.14\">\n" |
| 3812 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3813 |
+ " <owl:Restriction>\n" |
| 3814 |
+ " <owl:onProperty>\n" |
| 3815 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 3816 |
+ " <owl:someValuesFrom>\n" |
| 3817 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 3818 |
+ " <owl:Restriction>\n" |
| 3819 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/>\n" |
| 3820 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 3821 |
+ " <owl:Class rdf:ID=\"C.3\"><owl:equivalentClass><owl:Restriction>\n" |
| 3822 |
+ " <owl:onProperty rdf:resource=\"#P.3\"/>\n" |
| 3823 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#unsignedByte\">0</owl:cardinality></owl:Restriction></owl:equivalentClass>\n" |
| 3824 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3825 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4.comp\"/>\n" |
| 3826 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5.comp\"/></owl:intersectionOf></owl:Class>\n" |
| 3827 |
+ " <owl:Class rdf:ID=\"C.2\"><owl:equivalentClass><owl:Restriction>\n" |
| 3828 |
+ " <owl:onProperty rdf:resource=\"#P.2\"/>\n" |
| 3829 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#short\">0</owl:cardinality></owl:Restriction></owl:equivalentClass>\n" |
| 3830 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3831 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3.comp\"/>\n" |
| 3832 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4.comp\"/>\n" |
| 3833 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5.comp\"/></owl:intersectionOf></owl:Class>\n" |
| 3834 |
+ " <owl:Class rdf:ID=\"C.1\"><owl:equivalentClass><owl:Restriction>\n" |
| 3835 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 3836 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass>\n" |
| 3837 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3838 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2.comp\"/>\n" |
| 3839 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3.comp\"/>\n" |
| 3840 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4.comp\"/>\n" |
| 3841 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5.comp\"/></owl:intersectionOf></owl:Class>\n" |
| 3842 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p5\"><owl:equivalentClass><owl:Restriction>\n" |
| 3843 |
+ " <owl:onProperty rdf:resource=\"#P.4\"/>\n" |
| 3844 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3845 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p4\">\n" |
| 3846 |
+ " <rdfs:subClassOf rdf:resource=\"http://oiled.man.example.net/test#p5.comp\"/><owl:equivalentClass><owl:Restriction>\n" |
| 3847 |
+ " <owl:onProperty rdf:resource=\"#P.7\"/>\n" |
| 3848 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#integer\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3849 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p3\">\n" |
| 3850 |
+ " <rdfs:subClassOf rdf:resource=\"#C.3\"/><owl:equivalentClass><owl:Restriction>\n" |
| 3851 |
+ " <owl:onProperty rdf:resource=\"#P.6\"/>\n" |
| 3852 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#byte\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3853 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\">\n" |
| 3854 |
+ " <rdfs:subClassOf rdf:resource=\"#C.2\"/><owl:equivalentClass><owl:Restriction>\n" |
| 3855 |
+ " <owl:onProperty rdf:resource=\"#P.5\"/>\n" |
| 3856 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#decimal\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3857 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\">\n" |
| 3858 |
+ " <rdfs:subClassOf rdf:resource=\"#C.1\"/></owl:Class>\n" |
| 3859 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 3860 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 3861 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 3862 |
String conclusion = ""; |
| 3863 |
String id = "WebOnt_description_logic_608"; |
| 3864 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 3865 |
String d = "DL Test: t1.3"; |
| 3866 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 3867 |
r.setReasonerFactory(factory()); |
| 3868 |
r.run(); |
| 3869 |
} |
| 3870 |
|
| 3871 |
@Test |
| 3872 |
public void testWebOnt_description_logic_609() { |
| 3873 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 3874 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent609\">\n" |
| 3875 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 3876 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\">\n" |
| 3877 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3878 |
+ " <owl:Restriction>\n" |
| 3879 |
+ " <owl:onProperty>\n" |
| 3880 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/></owl:onProperty>\n" |
| 3881 |
+ " <owl:someValuesFrom>\n" |
| 3882 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 3883 |
+ " <owl:Restriction>\n" |
| 3884 |
+ " <owl:onProperty>\n" |
| 3885 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/></owl:onProperty>\n" |
| 3886 |
+ " <owl:someValuesFrom>\n" |
| 3887 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p.comp\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 3888 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3889 |
+ " <owl:onProperty>\n" |
| 3890 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 3891 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3892 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"><owl:equivalentClass><owl:Restriction>\n" |
| 3893 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 3894 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3895 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF1\">\n" |
| 3896 |
+ " <owl:inverseOf>\n" |
| 3897 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/></owl:inverseOf></owl:ObjectProperty>\n" |
| 3898 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\">\n" |
| 3899 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3900 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 3901 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3902 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 3903 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 3904 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\">\n" |
| 3905 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f\"/>\n" |
| 3906 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 3907 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3908 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\">\n" |
| 3909 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#s\"/></owl:ObjectProperty>\n" |
| 3910 |
+ " <oiled:Satisfiable/>\n" + "</rdf:RDF>"; |
| 3911 |
String conclusion = ""; |
| 3912 |
String id = "WebOnt_description_logic_609"; |
| 3913 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 3914 |
String d = "DL Test: t10.1"; |
| 3915 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 3916 |
r.setReasonerFactory(factory()); |
| 3917 |
r.run(); |
| 3918 |
} |
| 3919 |
|
| 3920 |
@Test |
| 3921 |
public void testWebOnt_description_logic_610() { |
| 3922 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 3923 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent610\">\n" |
| 3924 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 3925 |
+ " <owl:Class rdf:ID=\"A.2\">\n" |
| 3926 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3927 |
+ " <owl:Restriction>\n" |
| 3928 |
+ " <owl:onProperty>\n" |
| 3929 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\"/></owl:onProperty>\n" |
| 3930 |
+ " <owl:allValuesFrom>\n" |
| 3931 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:allValuesFrom></owl:Restriction>\n" |
| 3932 |
+ " <owl:Restriction>\n" |
| 3933 |
+ " <owl:onProperty>\n" |
| 3934 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"/></owl:onProperty>\n" |
| 3935 |
+ " <owl:allValuesFrom>\n" |
| 3936 |
+ " <owl:Class rdf:about=\"#V.3\"/></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 3937 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3938 |
+ " <owl:onProperty>\n" |
| 3939 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 3940 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3941 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 3942 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3943 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p.comp\"/>\n" |
| 3944 |
+ " <owl:Restriction>\n" |
| 3945 |
+ " <owl:onProperty>\n" |
| 3946 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/></owl:onProperty>\n" |
| 3947 |
+ " <owl:someValuesFrom rdf:resource=\"#A.2\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 3948 |
+ " <owl:Class rdf:ID=\"V.3\"><owl:equivalentClass><owl:Restriction>\n" |
| 3949 |
+ " <owl:onProperty>\n" |
| 3950 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"/></owl:onProperty>\n" |
| 3951 |
+ " <owl:someValuesFrom>\n" |
| 3952 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3953 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"><owl:equivalentClass><owl:Restriction>\n" |
| 3954 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 3955 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3956 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF1\">\n" |
| 3957 |
+ " <owl:inverseOf>\n" |
| 3958 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/></owl:inverseOf></owl:ObjectProperty>\n" |
| 3959 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\">\n" |
| 3960 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3961 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 3962 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3963 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 3964 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 3965 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\">\n" |
| 3966 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f\"/>\n" |
| 3967 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 3968 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 3969 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\">\n" |
| 3970 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#s\"/></owl:ObjectProperty>\n" |
| 3971 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 3972 |
String conclusion = ""; |
| 3973 |
String id = "WebOnt_description_logic_610"; |
| 3974 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 3975 |
String d = "DL Test: t10.2"; |
| 3976 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 3977 |
r.setReasonerFactory(factory()); |
| 3978 |
r.run(); |
| 3979 |
} |
| 3980 |
|
| 3981 |
@Test |
| 3982 |
public void testWebOnt_description_logic_611() { |
| 3983 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 3984 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent611\">\n" |
| 3985 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 3986 |
+ " <owl:Class rdf:ID=\"A.2\">\n" |
| 3987 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 3988 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/>\n" |
| 3989 |
+ " <owl:Restriction>\n" |
| 3990 |
+ " <owl:onProperty>\n" |
| 3991 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\"/></owl:onProperty>\n" |
| 3992 |
+ " <owl:someValuesFrom>\n" |
| 3993 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 3994 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 3995 |
+ " <owl:onProperty>\n" |
| 3996 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 3997 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 3998 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 3999 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4000 |
+ " <owl:Restriction>\n" |
| 4001 |
+ " <owl:onProperty>\n" |
| 4002 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"/></owl:onProperty>\n" |
| 4003 |
+ " <owl:allValuesFrom rdf:resource=\"http://oiled.man.example.net/test#p.comp\"/></owl:Restriction>\n" |
| 4004 |
+ " <owl:Restriction>\n" |
| 4005 |
+ " <owl:onProperty>\n" |
| 4006 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"/></owl:onProperty>\n" |
| 4007 |
+ " <owl:someValuesFrom rdf:resource=\"#A.2\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4008 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"><owl:equivalentClass><owl:Restriction>\n" |
| 4009 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4010 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4011 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF1\">\n" |
| 4012 |
+ " <owl:inverseOf>\n" |
| 4013 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/></owl:inverseOf></owl:ObjectProperty>\n" |
| 4014 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\">\n" |
| 4015 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 4016 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 4017 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 4018 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 4019 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 4020 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\">\n" |
| 4021 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f\"/>\n" |
| 4022 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 4023 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 4024 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\">\n" |
| 4025 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#s\"/></owl:ObjectProperty>\n" |
| 4026 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 4027 |
String conclusion = ""; |
| 4028 |
String id = "WebOnt_description_logic_611"; |
| 4029 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 4030 |
String d = "DL Test: t10.3"; |
| 4031 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4032 |
r.setReasonerFactory(factory()); |
| 4033 |
r.run(); |
| 4034 |
} |
| 4035 |
|
| 4036 |
@Test |
| 4037 |
public void testWebOnt_description_logic_612() { |
| 4038 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4039 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent612\">\n" |
| 4040 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4041 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4042 |
+ " <owl:onProperty>\n" |
| 4043 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4044 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4045 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 4046 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4047 |
+ " <owl:Restriction>\n" |
| 4048 |
+ " <owl:onProperty>\n" |
| 4049 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/></owl:onProperty>\n" |
| 4050 |
+ " <owl:someValuesFrom>\n" |
| 4051 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 4052 |
+ " <owl:Restriction>\n" |
| 4053 |
+ " <owl:onProperty>\n" |
| 4054 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"/></owl:onProperty>\n" |
| 4055 |
+ " <owl:someValuesFrom>\n" |
| 4056 |
+ " <owl:Class rdf:about=\"/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 4057 |
+ " <owl:Restriction>\n" |
| 4058 |
+ " <owl:onProperty>\n" |
| 4059 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/></owl:onProperty>\n" |
| 4060 |
+ " <owl:someValuesFrom rdf:resource=\"http://oiled.man.example.net/test#p.comp\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4061 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"><owl:equivalentClass><owl:Restriction>\n" |
| 4062 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4063 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4064 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF1\">\n" |
| 4065 |
+ " <owl:inverseOf>\n" |
| 4066 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/></owl:inverseOf></owl:ObjectProperty>\n" |
| 4067 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\">\n" |
| 4068 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 4069 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 4070 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 4071 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 4072 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 4073 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\">\n" |
| 4074 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f\"/>\n" |
| 4075 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 4076 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 4077 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\">\n" |
| 4078 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#s\"/></owl:ObjectProperty>\n" |
| 4079 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 4080 |
String conclusion = ""; |
| 4081 |
String id = "WebOnt_description_logic_612"; |
| 4082 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 4083 |
String d = "DL Test: t10.4"; |
| 4084 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4085 |
r.setReasonerFactory(factory()); |
| 4086 |
r.run(); |
| 4087 |
} |
| 4088 |
|
| 4089 |
@Test |
| 4090 |
public void testWebOnt_description_logic_613() { |
| 4091 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4092 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent613\">\n" |
| 4093 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4094 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4095 |
+ " <owl:onProperty>\n" |
| 4096 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4097 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4098 |
+ " <owl:Class rdf:ID=\"V.3\"><owl:equivalentClass><owl:Restriction>\n" |
| 4099 |
+ " <owl:onProperty>\n" |
| 4100 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"/></owl:onProperty>\n" |
| 4101 |
+ " <owl:someValuesFrom>\n" |
| 4102 |
+ " <owl:Class rdf:about=\"/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4103 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 4104 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4105 |
+ " <owl:Restriction>\n" |
| 4106 |
+ " <owl:onProperty>\n" |
| 4107 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/></owl:onProperty>\n" |
| 4108 |
+ " <owl:someValuesFrom>\n" |
| 4109 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 4110 |
+ " <owl:Restriction>\n" |
| 4111 |
+ " <owl:onProperty>\n" |
| 4112 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/></owl:onProperty>\n" |
| 4113 |
+ " <owl:someValuesFrom>\n" |
| 4114 |
+ " <owl:Class rdf:about=\"#A.2\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4115 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"><owl:equivalentClass><owl:Restriction>\n" |
| 4116 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4117 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4118 |
+ " <owl:Class rdf:ID=\"A.2\">\n" |
| 4119 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4120 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p.comp\"/>\n" |
| 4121 |
+ " <owl:Restriction>\n" |
| 4122 |
+ " <owl:onProperty>\n" |
| 4123 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF1\"/></owl:onProperty>\n" |
| 4124 |
+ " <owl:allValuesFrom rdf:resource=\"#V.3\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4125 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF1\">\n" |
| 4126 |
+ " <owl:inverseOf>\n" |
| 4127 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/></owl:inverseOf></owl:ObjectProperty>\n" |
| 4128 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\">\n" |
| 4129 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 4130 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 4131 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 4132 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 4133 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 4134 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\">\n" |
| 4135 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f\"/>\n" |
| 4136 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 4137 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 4138 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\">\n" |
| 4139 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#s\"/></owl:ObjectProperty>\n" |
| 4140 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 4141 |
String conclusion = ""; |
| 4142 |
String id = "WebOnt_description_logic_613"; |
| 4143 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 4144 |
String d = "DL Test: t10.5"; |
| 4145 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4146 |
r.setReasonerFactory(factory()); |
| 4147 |
r.run(); |
| 4148 |
} |
| 4149 |
|
| 4150 |
@Test |
| 4151 |
public void testWebOnt_description_logic_614() { |
| 4152 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4153 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent614\">\n" |
| 4154 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4155 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4156 |
+ " <owl:onProperty>\n" |
| 4157 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4158 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4159 |
+ " <owl:Class rdf:ID=\"V.2\"><owl:equivalentClass><owl:Restriction>\n" |
| 4160 |
+ " <owl:onProperty>\n" |
| 4161 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\"/></owl:onProperty>\n" |
| 4162 |
+ " <owl:allValuesFrom>\n" |
| 4163 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4164 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 4165 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4166 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p.comp\"/>\n" |
| 4167 |
+ " <owl:Restriction>\n" |
| 4168 |
+ " <owl:onProperty>\n" |
| 4169 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 4170 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction>\n" |
| 4171 |
+ " <owl:Restriction>\n" |
| 4172 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/>\n" |
| 4173 |
+ " <owl:someValuesFrom rdf:resource=\"#V.2\"/></owl:Restriction>\n" |
| 4174 |
+ " <owl:Restriction>\n" |
| 4175 |
+ " <owl:onProperty>\n" |
| 4176 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"/></owl:onProperty>\n" |
| 4177 |
+ " <owl:someValuesFrom>\n" |
| 4178 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4179 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"><owl:equivalentClass><owl:Restriction>\n" |
| 4180 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4181 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4182 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\">\n" |
| 4183 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 4184 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\">\n" |
| 4185 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#s\"/></owl:ObjectProperty>\n" |
| 4186 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 4187 |
String conclusion = ""; |
| 4188 |
String id = "WebOnt_description_logic_614"; |
| 4189 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 4190 |
String d = "DL Test: t11.1"; |
| 4191 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4192 |
r.setReasonerFactory(factory()); |
| 4193 |
r.run(); |
| 4194 |
} |
| 4195 |
|
| 4196 |
@Test |
| 4197 |
public void testWebOnt_description_logic_615() { |
| 4198 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4199 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent615\">\n" |
| 4200 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4201 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4202 |
+ " <owl:onProperty>\n" |
| 4203 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4204 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4205 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#q.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4206 |
+ " <owl:onProperty>\n" |
| 4207 |
+ " <owl:ObjectProperty rdf:ID=\"P.2\"/></owl:onProperty>\n" |
| 4208 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#short\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4209 |
+ " <owl:Class rdf:ID=\"V.5\"><owl:equivalentClass><owl:Restriction>\n" |
| 4210 |
+ " <owl:onProperty>\n" |
| 4211 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"/></owl:onProperty>\n" |
| 4212 |
+ " <owl:allValuesFrom>\n" |
| 4213 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4214 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 4215 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4216 |
+ " <owl:Restriction>\n" |
| 4217 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#s\"/>\n" |
| 4218 |
+ " <owl:someValuesFrom>\n" |
| 4219 |
+ " <owl:Class rdf:about=\"#A.3\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 4220 |
+ " <owl:Restriction>\n" |
| 4221 |
+ " <owl:onProperty>\n" |
| 4222 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 4223 |
+ " <owl:someValuesFrom>\n" |
| 4224 |
+ " <owl:Class rdf:about=\"#A.4\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4225 |
+ " <owl:Class rdf:ID=\"A.4\">\n" |
| 4226 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4227 |
+ " <owl:Restriction>\n" |
| 4228 |
+ " <owl:onProperty>\n" |
| 4229 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 4230 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction>\n" |
| 4231 |
+ " <owl:Restriction>\n" |
| 4232 |
+ " <owl:onProperty>\n" |
| 4233 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 4234 |
+ " <owl:someValuesFrom rdf:resource=\"#V.5\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4235 |
+ " <owl:Class rdf:ID=\"A.3\">\n" |
| 4236 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4237 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p.comp\"/>\n" |
| 4238 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#q.comp\"/></owl:intersectionOf></owl:Class>\n" |
| 4239 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#q\"><owl:equivalentClass><owl:Restriction>\n" |
| 4240 |
+ " <owl:onProperty rdf:resource=\"#P.2\"/>\n" |
| 4241 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#short\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4242 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"><owl:equivalentClass><owl:Restriction>\n" |
| 4243 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4244 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4245 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 4246 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 4247 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 4248 |
String conclusion = ""; |
| 4249 |
String id = "WebOnt_description_logic_615"; |
| 4250 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 4251 |
String d = "DL Test: t12.1"; |
| 4252 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4253 |
r.setReasonerFactory(factory()); |
| 4254 |
r.run(); |
| 4255 |
} |
| 4256 |
|
| 4257 |
@Test |
| 4258 |
public void testWebOnt_description_logic_616() { |
| 4259 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4260 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent616\">\n" |
| 4261 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4262 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\">\n" |
| 4263 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4264 |
+ " <owl:Restriction>\n" |
| 4265 |
+ " <owl:onProperty>\n" |
| 4266 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/></owl:onProperty>\n" |
| 4267 |
+ " <owl:someValuesFrom>\n" |
| 4268 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 4269 |
+ " <owl:Restriction>\n" |
| 4270 |
+ " <owl:onProperty>\n" |
| 4271 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f2\"/></owl:onProperty>\n" |
| 4272 |
+ " <owl:someValuesFrom>\n" |
| 4273 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4274 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4275 |
+ " <owl:onProperty>\n" |
| 4276 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4277 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4278 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"><owl:equivalentClass><owl:Restriction>\n" |
| 4279 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4280 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4281 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\">\n" |
| 4282 |
+ " <rdfs:subClassOf rdf:resource=\"http://oiled.man.example.net/test#p2.comp\"/></owl:Class>\n" |
| 4283 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\">\n" |
| 4284 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f2\"/>\n" |
| 4285 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 4286 |
+ " <oiled:Satisfiable/>\n" |
| 4287 |
+ " <rdf:Description rdf:about=\"/2002/07/owl#Thing\">\n" |
| 4288 |
+ " <rdfs:subClassOf>\n" |
| 4289 |
+ " <owl:Restriction>\n" |
| 4290 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 4291 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf>\n" |
| 4292 |
+ " <rdfs:subClassOf>\n" |
| 4293 |
+ " <owl:Restriction>\n" |
| 4294 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f2\"/>\n" |
| 4295 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf>\n" |
| 4296 |
+ " </rdf:Description>\n" + "</rdf:RDF>"; |
| 4297 |
String conclusion = ""; |
| 4298 |
String id = "WebOnt_description_logic_616"; |
| 4299 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 4300 |
String d = "DL Test: t2.1"; |
| 4301 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4302 |
r.setReasonerFactory(factory()); |
| 4303 |
r.run(); |
| 4304 |
} |
| 4305 |
|
| 4306 |
@Test |
| 4307 |
public void testWebOnt_description_logic_617() { |
| 4308 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4309 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent617\">\n" |
| 4310 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4311 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4312 |
+ " <owl:onProperty>\n" |
| 4313 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4314 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4315 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 4316 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4317 |
+ " <owl:Restriction>\n" |
| 4318 |
+ " <owl:onProperty>\n" |
| 4319 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f1\"/></owl:onProperty>\n" |
| 4320 |
+ " <owl:someValuesFrom>\n" |
| 4321 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 4322 |
+ " <owl:Restriction>\n" |
| 4323 |
+ " <owl:onProperty>\n" |
| 4324 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f2\"/></owl:onProperty>\n" |
| 4325 |
+ " <owl:someValuesFrom>\n" |
| 4326 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 4327 |
+ " <owl:Restriction>\n" |
| 4328 |
+ " <owl:onProperty>\n" |
| 4329 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 4330 |
+ " <owl:someValuesFrom>\n" |
| 4331 |
+ " <owl:Class rdf:about=\"/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4332 |
+ " <owl:Class rdf:about=\"/2002/07/owl#Thing\">\n" |
| 4333 |
+ " <rdfs:subClassOf>\n" |
| 4334 |
+ " <owl:Restriction>\n" |
| 4335 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f1\"/>\n" |
| 4336 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf>\n" |
| 4337 |
+ " <rdfs:subClassOf>\n" |
| 4338 |
+ " <owl:Restriction>\n" |
| 4339 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f2\"/>\n" |
| 4340 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 4341 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p2\"><owl:equivalentClass><owl:Restriction>\n" |
| 4342 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4343 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4344 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\">\n" |
| 4345 |
+ " <rdfs:subClassOf rdf:resource=\"http://oiled.man.example.net/test#p2.comp\"/></owl:Class>\n" |
| 4346 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\">\n" |
| 4347 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f2\"/>\n" |
| 4348 |
+ " <rdfs:subPropertyOf rdf:resource=\"http://oiled.man.example.net/test#f1\"/></owl:ObjectProperty>\n" |
| 4349 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 4350 |
String conclusion = ""; |
| 4351 |
String id = "WebOnt_description_logic_617"; |
| 4352 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 4353 |
String d = "DL Test: t2.2"; |
| 4354 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4355 |
r.setReasonerFactory(factory()); |
| 4356 |
r.run(); |
| 4357 |
} |
| 4358 |
|
| 4359 |
@Test |
| 4360 |
public void testWebOnt_description_logic_623() { |
| 4361 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4362 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent623\">\n" |
| 4363 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4364 |
+ " <owl:Class rdf:ID=\"A.2\">\n" |
| 4365 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4366 |
+ " <owl:Restriction>\n" |
| 4367 |
+ " <owl:onProperty>\n" |
| 4368 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 4369 |
+ " <owl:someValuesFrom>\n" |
| 4370 |
+ " <owl:Class rdf:about=\"/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 4371 |
+ " <owl:Restriction>\n" |
| 4372 |
+ " <owl:onProperty>\n" |
| 4373 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:onProperty>\n" |
| 4374 |
+ " <owl:someValuesFrom rdf:resource=\"/2002/07/owl#Thing\"/></owl:Restriction>\n" |
| 4375 |
+ " <owl:Restriction>\n" |
| 4376 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/>\n" |
| 4377 |
+ " <owl:allValuesFrom>\n" |
| 4378 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:allValuesFrom></owl:Restriction>\n" |
| 4379 |
+ " <owl:Restriction>\n" |
| 4380 |
+ " <owl:onProperty>\n" |
| 4381 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:onProperty>\n" |
| 4382 |
+ " <owl:allValuesFrom>\n" |
| 4383 |
+ " <owl:Class rdf:about=\"#V.3\"/></owl:allValuesFrom></owl:Restriction>\n" |
| 4384 |
+ " <owl:Restriction>\n" |
| 4385 |
+ " <owl:onProperty>\n" |
| 4386 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:onProperty>\n" |
| 4387 |
+ " <owl:allValuesFrom>\n" |
| 4388 |
+ " <owl:Class rdf:about=\"#V.4\"/></owl:allValuesFrom></owl:Restriction>\n" |
| 4389 |
+ " <owl:Restriction>\n" |
| 4390 |
+ " <owl:onProperty>\n" |
| 4391 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:onProperty>\n" |
| 4392 |
+ " <owl:allValuesFrom>\n" |
| 4393 |
+ " <owl:Class rdf:about=\"#V.5\"/></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4394 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4395 |
+ " <owl:onProperty>\n" |
| 4396 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4397 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4398 |
+ " <owl:Class rdf:ID=\"V.7\"><owl:equivalentClass><owl:Restriction>\n" |
| 4399 |
+ " <owl:onProperty>\n" |
| 4400 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invP\"/></owl:onProperty>\n" |
| 4401 |
+ " <owl:allValuesFrom>\n" |
| 4402 |
+ " <owl:Class rdf:about=\"#V.6\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4403 |
+ " <owl:Class rdf:ID=\"V.6\"><owl:equivalentClass><owl:Restriction>\n" |
| 4404 |
+ " <owl:onProperty>\n" |
| 4405 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\"/></owl:onProperty>\n" |
| 4406 |
+ " <owl:allValuesFrom rdf:resource=\"http://oiled.man.example.net/test#a.comp\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4407 |
+ " <owl:Class rdf:ID=\"V.5\"><owl:equivalentClass><owl:Restriction>\n" |
| 4408 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/>\n" |
| 4409 |
+ " <owl:allValuesFrom>\n" |
| 4410 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4411 |
+ " <owl:Class rdf:ID=\"V.4\"><owl:equivalentClass><owl:Restriction>\n" |
| 4412 |
+ " <owl:onProperty>\n" |
| 4413 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:onProperty>\n" |
| 4414 |
+ " <owl:someValuesFrom rdf:resource=\"/2002/07/owl#Thing\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4415 |
+ " <owl:Class rdf:ID=\"V.3\"><owl:equivalentClass><owl:Restriction>\n" |
| 4416 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/>\n" |
| 4417 |
+ " <owl:someValuesFrom rdf:resource=\"/2002/07/owl#Thing\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4418 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 4419 |
+ " <rdfs:subClassOf>\n" |
| 4420 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/></rdfs:subClassOf>\n" |
| 4421 |
+ " <rdfs:subClassOf>\n" |
| 4422 |
+ " <owl:Restriction>\n" |
| 4423 |
+ " <owl:onProperty>\n" |
| 4424 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"/></owl:onProperty>\n" |
| 4425 |
+ " <owl:someValuesFrom rdf:resource=\"#A.2\"/></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 4426 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><owl:equivalentClass><owl:Restriction>\n" |
| 4427 |
+ " <owl:onProperty>\n" |
| 4428 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 4429 |
+ " <owl:allValuesFrom rdf:resource=\"#V.7\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4430 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"><owl:equivalentClass><owl:Restriction>\n" |
| 4431 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4432 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4433 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invP\">\n" |
| 4434 |
+ " <owl:inverseOf>\n" |
| 4435 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:inverseOf></owl:ObjectProperty>\n" |
| 4436 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invS\">\n" |
| 4437 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#s\"/></owl:ObjectProperty>\n" |
| 4438 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#p\">\n" |
| 4439 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#TransitiveProperty\"/></owl:ObjectProperty>\n" |
| 4440 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 4441 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 4442 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 4443 |
String conclusion = ""; |
| 4444 |
String id = "WebOnt_description_logic_623"; |
| 4445 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 4446 |
String d = "DL Test: t4.1\n" + "Dynamic blocking example"; |
| 4447 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4448 |
r.setReasonerFactory(factory()); |
| 4449 |
r.run(); |
| 4450 |
} |
| 4451 |
|
| 4452 |
@Test |
| 4453 |
public void testWebOnt_description_logic_624() { |
| 4454 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4455 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent624\">\n" |
| 4456 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4457 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\">\n" |
| 4458 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4459 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a.comp\"/>\n" |
| 4460 |
+ " <owl:Restriction>\n" |
| 4461 |
+ " <owl:onProperty>\n" |
| 4462 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"/></owl:onProperty>\n" |
| 4463 |
+ " <owl:someValuesFrom>\n" |
| 4464 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 4465 |
+ " <owl:Restriction>\n" |
| 4466 |
+ " <owl:onProperty>\n" |
| 4467 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 4468 |
+ " <owl:someValuesFrom>\n" |
| 4469 |
+ " <owl:Class rdf:about=\"#V.2\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4470 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4471 |
+ " <owl:onProperty>\n" |
| 4472 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4473 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4474 |
+ " <owl:Class rdf:ID=\"V.2\"><owl:equivalentClass><owl:Restriction>\n" |
| 4475 |
+ " <owl:onProperty>\n" |
| 4476 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"/></owl:onProperty>\n" |
| 4477 |
+ " <owl:someValuesFrom>\n" |
| 4478 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4479 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"><owl:equivalentClass><owl:Restriction>\n" |
| 4480 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4481 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4482 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 4483 |
+ " <rdfs:subPropertyOf>\n" |
| 4484 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></rdfs:subPropertyOf></owl:ObjectProperty>\n" |
| 4485 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 4486 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 4487 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\">\n" |
| 4488 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#TransitiveProperty\"/></owl:ObjectProperty>\n" |
| 4489 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 4490 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 4491 |
+ " <oiled:Satisfiable/>\n" |
| 4492 |
+ " <rdf:Description rdf:about=\"/2002/07/owl#Thing\">\n" |
| 4493 |
+ " <rdfs:subClassOf>\n" |
| 4494 |
+ " <owl:Restriction>\n" |
| 4495 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/>\n" |
| 4496 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf>\n" |
| 4497 |
+ " </rdf:Description>\n" + "</rdf:RDF>"; |
| 4498 |
String conclusion = ""; |
| 4499 |
String id = "WebOnt_description_logic_624"; |
| 4500 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 4501 |
String d = "DL Test: t5.1\n" + "Non-finite model example from paper\n" |
| 4502 |
+ "The concept should be coherent but has no finite model"; |
| 4503 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4504 |
r.setReasonerFactory(factory()); |
| 4505 |
r.run(); |
| 4506 |
} |
| 4507 |
|
| 4508 |
@Test |
| 4509 |
public void testWebOnt_description_logic_625() { |
| 4510 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4511 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent625\">\n" |
| 4512 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4513 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\">\n" |
| 4514 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4515 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a.comp\"/>\n" |
| 4516 |
+ " <owl:Restriction>\n" |
| 4517 |
+ " <owl:onProperty>\n" |
| 4518 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"/></owl:onProperty>\n" |
| 4519 |
+ " <owl:someValuesFrom>\n" |
| 4520 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 4521 |
+ " <owl:Restriction>\n" |
| 4522 |
+ " <owl:onProperty>\n" |
| 4523 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 4524 |
+ " <owl:someValuesFrom>\n" |
| 4525 |
+ " <owl:Class rdf:about=\"#V.2\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4526 |
+ " <owl:Class rdf:ID=\"V.2\"><owl:equivalentClass><owl:Restriction>\n" |
| 4527 |
+ " <owl:onProperty>\n" |
| 4528 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"/></owl:onProperty>\n" |
| 4529 |
+ " <owl:someValuesFrom>\n" |
| 4530 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4531 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4532 |
+ " <owl:onProperty>\n" |
| 4533 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4534 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4535 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#a\"><owl:equivalentClass><owl:Restriction>\n" |
| 4536 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4537 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4538 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 4539 |
+ " <rdfs:subPropertyOf>\n" |
| 4540 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></rdfs:subPropertyOf>\n" |
| 4541 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 4542 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 4543 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 4544 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\">\n" |
| 4545 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#TransitiveProperty\"/></owl:ObjectProperty>\n" |
| 4546 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 4547 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 4548 |
+ " <oiled:Satisfiable/>\n" + "</rdf:RDF>"; |
| 4549 |
String conclusion = ""; |
| 4550 |
String id = "WebOnt_description_logic_625"; |
| 4551 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 4552 |
String d = "DL Test: t5f.1\n" + "Non-finite model example from paper\n" |
| 4553 |
+ "The concept should be coherent but has no finite model"; |
| 4554 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4555 |
r.setReasonerFactory(factory()); |
| 4556 |
r.run(); |
| 4557 |
} |
| 4558 |
|
| 4559 |
@Test |
| 4560 |
public void testWebOnt_description_logic_626() { |
| 4561 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4562 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent626\">\n" |
| 4563 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4564 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4565 |
+ " <owl:onProperty>\n" |
| 4566 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4567 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4568 |
+ " <owl:Class rdf:ID=\"V.3\"><owl:equivalentClass><owl:Restriction>\n" |
| 4569 |
+ " <owl:onProperty>\n" |
| 4570 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"/></owl:onProperty>\n" |
| 4571 |
+ " <owl:someValuesFrom>\n" |
| 4572 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4573 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 4574 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4575 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c.comp\"/>\n" |
| 4576 |
+ " <owl:Restriction>\n" |
| 4577 |
+ " <owl:onProperty>\n" |
| 4578 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"/></owl:onProperty>\n" |
| 4579 |
+ " <owl:someValuesFrom>\n" |
| 4580 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 4581 |
+ " <owl:Restriction>\n" |
| 4582 |
+ " <owl:onProperty>\n" |
| 4583 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 4584 |
+ " <owl:allValuesFrom rdf:resource=\"#V.3\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4585 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\">\n" |
| 4586 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4587 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/>\n" |
| 4588 |
+ " <owl:Restriction>\n" |
| 4589 |
+ " <owl:onProperty>\n" |
| 4590 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/></owl:onProperty>\n" |
| 4591 |
+ " <owl:someValuesFrom rdf:resource=\"http://oiled.man.example.net/test#c.comp\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4592 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><owl:equivalentClass><owl:Restriction>\n" |
| 4593 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4594 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4595 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 4596 |
+ " <rdfs:subPropertyOf>\n" |
| 4597 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></rdfs:subPropertyOf></owl:ObjectProperty>\n" |
| 4598 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 4599 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 4600 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\">\n" |
| 4601 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#TransitiveProperty\"/></owl:ObjectProperty>\n" |
| 4602 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 4603 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 4604 |
+ " <rdf:Description rdf:about=\"/2002/07/owl#Thing\">\n" |
| 4605 |
+ " <rdfs:subClassOf>\n" |
| 4606 |
+ " <owl:Restriction>\n" |
| 4607 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/>\n" |
| 4608 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf>\n" |
| 4609 |
+ " </rdf:Description>\n" |
| 4610 |
+ " <oiled:Unsatisfiable/>\n" |
| 4611 |
+ "</rdf:RDF>"; |
| 4612 |
String conclusion = ""; |
| 4613 |
String id = "WebOnt_description_logic_626"; |
| 4614 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 4615 |
String d = "DL Test: t6.1\n" + "Double blocking example.\n" |
| 4616 |
+ "The concept should be incoherent but needs double blocking"; |
| 4617 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4618 |
r.setReasonerFactory(factory()); |
| 4619 |
r.run(); |
| 4620 |
} |
| 4621 |
|
| 4622 |
@Test |
| 4623 |
public void testWebOnt_description_logic_627() { |
| 4624 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4625 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent627\">\n" |
| 4626 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4627 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4628 |
+ " <owl:onProperty>\n" |
| 4629 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4630 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4631 |
+ " <owl:Class rdf:ID=\"V.3\"><owl:equivalentClass><owl:Restriction>\n" |
| 4632 |
+ " <owl:onProperty>\n" |
| 4633 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"/></owl:onProperty>\n" |
| 4634 |
+ " <owl:someValuesFrom>\n" |
| 4635 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4636 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\">\n" |
| 4637 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4638 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/>\n" |
| 4639 |
+ " <owl:Restriction>\n" |
| 4640 |
+ " <owl:onProperty>\n" |
| 4641 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/></owl:onProperty>\n" |
| 4642 |
+ " <owl:someValuesFrom rdf:resource=\"http://oiled.man.example.net/test#c.comp\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4643 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 4644 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4645 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c.comp\"/>\n" |
| 4646 |
+ " <owl:Restriction>\n" |
| 4647 |
+ " <owl:onProperty>\n" |
| 4648 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"/></owl:onProperty>\n" |
| 4649 |
+ " <owl:someValuesFrom rdf:resource=\"http://oiled.man.example.net/test#d\"/></owl:Restriction>\n" |
| 4650 |
+ " <owl:Restriction>\n" |
| 4651 |
+ " <owl:onProperty>\n" |
| 4652 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 4653 |
+ " <owl:allValuesFrom rdf:resource=\"#V.3\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4654 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"><owl:equivalentClass><owl:Restriction>\n" |
| 4655 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4656 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4657 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 4658 |
+ " <rdfs:subPropertyOf>\n" |
| 4659 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></rdfs:subPropertyOf>\n" |
| 4660 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 4661 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 4662 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 4663 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\">\n" |
| 4664 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#TransitiveProperty\"/></owl:ObjectProperty>\n" |
| 4665 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 4666 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 4667 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 4668 |
String conclusion = ""; |
| 4669 |
String id = "WebOnt_description_logic_627"; |
| 4670 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 4671 |
String d = "DL Test: t6f.1\n" + "Double blocking example.\n" |
| 4672 |
+ "The concept should be incoherent but needs double blocking"; |
| 4673 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4674 |
r.setReasonerFactory(factory()); |
| 4675 |
r.run(); |
| 4676 |
} |
| 4677 |
|
| 4678 |
@Test |
| 4679 |
public void testWebOnt_description_logic_628() { |
| 4680 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4681 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent628\">\n" |
| 4682 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4683 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\">\n" |
| 4684 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4685 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 4686 |
+ " <owl:Restriction>\n" |
| 4687 |
+ " <owl:onProperty>\n" |
| 4688 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 4689 |
+ " <owl:someValuesFrom>\n" |
| 4690 |
+ " <owl:Class rdf:about=\"#V.5\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4691 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4692 |
+ " <owl:onProperty>\n" |
| 4693 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4694 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4695 |
+ " <owl:Class rdf:ID=\"C.3\"><owl:equivalentClass><owl:Restriction>\n" |
| 4696 |
+ " <owl:onProperty>\n" |
| 4697 |
+ " <owl:DatatypeProperty rdf:ID=\"P.3\"/></owl:onProperty>\n" |
| 4698 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#unsignedByte\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4699 |
+ " <owl:Class rdf:ID=\"C.2\"><owl:equivalentClass><owl:Restriction>\n" |
| 4700 |
+ " <owl:onProperty>\n" |
| 4701 |
+ " <owl:ObjectProperty rdf:ID=\"P.2\"/></owl:onProperty>\n" |
| 4702 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#short\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4703 |
+ " <owl:Class rdf:ID=\"A.4\">\n" |
| 4704 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4705 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 4706 |
+ " <owl:Restriction>\n" |
| 4707 |
+ " <owl:onProperty>\n" |
| 4708 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 4709 |
+ " <owl:allValuesFrom rdf:resource=\"#C.2\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4710 |
+ " <owl:Class rdf:ID=\"C.2.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4711 |
+ " <owl:onProperty rdf:resource=\"#P.2\"/>\n" |
| 4712 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#short\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass>\n" |
| 4713 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4714 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 4715 |
+ " <owl:Class rdf:about=\"#C.3\"/></owl:intersectionOf></owl:Class>\n" |
| 4716 |
+ " <owl:Class rdf:ID=\"V.5\"><owl:equivalentClass><owl:Restriction>\n" |
| 4717 |
+ " <owl:onProperty>\n" |
| 4718 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 4719 |
+ " <owl:someValuesFrom rdf:resource=\"#A.4\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4720 |
+ " <owl:Class rdf:ID=\"C.3.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4721 |
+ " <owl:onProperty rdf:resource=\"#P.3\"/>\n" |
| 4722 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#unsignedByte\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass><owl:equivalentClass><owl:Restriction>\n" |
| 4723 |
+ " <owl:onProperty>\n" |
| 4724 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 4725 |
+ " <owl:allValuesFrom>\n" |
| 4726 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4727 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><owl:equivalentClass><owl:Restriction>\n" |
| 4728 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4729 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4730 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 4731 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 4732 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 4733 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\">\n" |
| 4734 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#TransitiveProperty\"/></owl:ObjectProperty>\n" |
| 4735 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 4736 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 4737 |
+ " <oiled:Satisfiable/>\n" |
| 4738 |
+ " <rdf:Description rdf:about=\"/2002/07/owl#Thing\">\n" |
| 4739 |
+ " <rdfs:subClassOf>\n" |
| 4740 |
+ " <owl:Restriction>\n" |
| 4741 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/>\n" |
| 4742 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf>\n" |
| 4743 |
+ " </rdf:Description>\n" + "</rdf:RDF>"; |
| 4744 |
String conclusion = ""; |
| 4745 |
String id = "WebOnt_description_logic_628"; |
| 4746 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 4747 |
String d = "DL Test: t7.1"; |
| 4748 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4749 |
r.setReasonerFactory(factory()); |
| 4750 |
r.run(); |
| 4751 |
} |
| 4752 |
|
| 4753 |
@Test |
| 4754 |
public void testWebOnt_description_logic_629() { |
| 4755 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4756 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent629\">\n" |
| 4757 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4758 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4759 |
+ " <owl:onProperty>\n" |
| 4760 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4761 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4762 |
+ " <owl:Class rdf:ID=\"V.3\"><owl:equivalentClass><owl:Restriction>\n" |
| 4763 |
+ " <owl:onProperty>\n" |
| 4764 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 4765 |
+ " <owl:someValuesFrom>\n" |
| 4766 |
+ " <owl:Class rdf:about=\"#A.2\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4767 |
+ " <owl:Class rdf:ID=\"A.2\">\n" |
| 4768 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4769 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 4770 |
+ " <owl:Restriction>\n" |
| 4771 |
+ " <owl:onProperty>\n" |
| 4772 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 4773 |
+ " <owl:allValuesFrom rdf:resource=\"http://oiled.man.example.net/test#p1.comp\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4774 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 4775 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4776 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 4777 |
+ " <owl:Restriction>\n" |
| 4778 |
+ " <owl:onProperty>\n" |
| 4779 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 4780 |
+ " <owl:someValuesFrom rdf:resource=\"#V.3\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4781 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><owl:equivalentClass><owl:Restriction>\n" |
| 4782 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4783 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4784 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/>\n" |
| 4785 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 4786 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 4787 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\">\n" |
| 4788 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#TransitiveProperty\"/></owl:ObjectProperty>\n" |
| 4789 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 4790 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 4791 |
+ " <oiled:Unsatisfiable/>\n" |
| 4792 |
+ " <rdf:Description rdf:about=\"/2002/07/owl#Thing\">\n" |
| 4793 |
+ " <rdfs:subClassOf>\n" |
| 4794 |
+ " <owl:Restriction>\n" |
| 4795 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/>\n" |
| 4796 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf>\n" |
| 4797 |
+ " </rdf:Description>\n" + "</rdf:RDF>"; |
| 4798 |
String conclusion = ""; |
| 4799 |
String id = "WebOnt_description_logic_629"; |
| 4800 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 4801 |
String d = "DL Test: t7.2"; |
| 4802 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4803 |
r.setReasonerFactory(factory()); |
| 4804 |
r.run(); |
| 4805 |
} |
| 4806 |
|
| 4807 |
@Test |
| 4808 |
public void testWebOnt_description_logic_630() { |
| 4809 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4810 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent630\">\n" |
| 4811 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4812 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4813 |
+ " <owl:onProperty>\n" |
| 4814 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4815 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4816 |
+ " <owl:Class rdf:ID=\"A.2\">\n" |
| 4817 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4818 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 4819 |
+ " <owl:Restriction>\n" |
| 4820 |
+ " <owl:onProperty>\n" |
| 4821 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"/></owl:onProperty>\n" |
| 4822 |
+ " <owl:someValuesFrom>\n" |
| 4823 |
+ " <owl:Class rdf:about=\"#V.3\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4824 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Restriction>\n" |
| 4825 |
+ " <owl:onProperty>\n" |
| 4826 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/></owl:onProperty>\n" |
| 4827 |
+ " <owl:someValuesFrom rdf:resource=\"#A.2\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4828 |
+ " <owl:Class rdf:ID=\"V.3\"><owl:equivalentClass><owl:Restriction>\n" |
| 4829 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/>\n" |
| 4830 |
+ " <owl:someValuesFrom rdf:resource=\"http://oiled.man.example.net/test#p1.comp\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4831 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><owl:equivalentClass><owl:Restriction>\n" |
| 4832 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4833 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4834 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 4835 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 4836 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\">\n" |
| 4837 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#TransitiveProperty\"/></owl:ObjectProperty>\n" |
| 4838 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 4839 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 4840 |
+ " <oiled:Unsatisfiable/>\n" |
| 4841 |
+ " <rdf:Description rdf:about=\"/2002/07/owl#Thing\">\n" |
| 4842 |
+ " <rdfs:subClassOf>\n" |
| 4843 |
+ " <owl:Restriction>\n" |
| 4844 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#f\"/>\n" |
| 4845 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction></rdfs:subClassOf>\n" |
| 4846 |
+ " </rdf:Description>\n" + "</rdf:RDF>"; |
| 4847 |
String conclusion = ""; |
| 4848 |
String id = "WebOnt_description_logic_630"; |
| 4849 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 4850 |
String d = "DL Test: t7.3"; |
| 4851 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4852 |
r.setReasonerFactory(factory()); |
| 4853 |
r.run(); |
| 4854 |
} |
| 4855 |
|
| 4856 |
@Test |
| 4857 |
public void testWebOnt_description_logic_631() { |
| 4858 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4859 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent631\">\n" |
| 4860 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4861 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\">\n" |
| 4862 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4863 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 4864 |
+ " <owl:Restriction>\n" |
| 4865 |
+ " <owl:onProperty>\n" |
| 4866 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 4867 |
+ " <owl:someValuesFrom>\n" |
| 4868 |
+ " <owl:Class rdf:about=\"#V.5\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4869 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4870 |
+ " <owl:onProperty>\n" |
| 4871 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4872 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4873 |
+ " <owl:Class rdf:ID=\"C.2.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4874 |
+ " <owl:onProperty>\n" |
| 4875 |
+ " <owl:ObjectProperty rdf:ID=\"P.2\"/></owl:onProperty>\n" |
| 4876 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#short\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass>\n" |
| 4877 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4878 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 4879 |
+ " <owl:Class rdf:about=\"#C.3\"/></owl:intersectionOf></owl:Class>\n" |
| 4880 |
+ " <owl:Class rdf:ID=\"C.3.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4881 |
+ " <owl:onProperty>\n" |
| 4882 |
+ " <owl:DatatypeProperty rdf:ID=\"P.3\"/></owl:onProperty>\n" |
| 4883 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#unsignedByte\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass><owl:equivalentClass><owl:Restriction>\n" |
| 4884 |
+ " <owl:onProperty>\n" |
| 4885 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 4886 |
+ " <owl:allValuesFrom>\n" |
| 4887 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4888 |
+ " <owl:Class rdf:ID=\"V.5\"><owl:equivalentClass><owl:Restriction>\n" |
| 4889 |
+ " <owl:onProperty>\n" |
| 4890 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 4891 |
+ " <owl:someValuesFrom>\n" |
| 4892 |
+ " <owl:Class rdf:about=\"#A.4\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4893 |
+ " <owl:Class rdf:ID=\"C.3\"><owl:equivalentClass><owl:Restriction>\n" |
| 4894 |
+ " <owl:onProperty rdf:resource=\"#P.3\"/>\n" |
| 4895 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#unsignedByte\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4896 |
+ " <owl:Class rdf:ID=\"C.2\"><owl:equivalentClass><owl:Restriction>\n" |
| 4897 |
+ " <owl:onProperty rdf:resource=\"#P.2\"/>\n" |
| 4898 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#short\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4899 |
+ " <owl:Class rdf:ID=\"A.4\">\n" |
| 4900 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4901 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 4902 |
+ " <owl:Restriction>\n" |
| 4903 |
+ " <owl:onProperty>\n" |
| 4904 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 4905 |
+ " <owl:allValuesFrom rdf:resource=\"#C.2\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4906 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><owl:equivalentClass><owl:Restriction>\n" |
| 4907 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4908 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4909 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 4910 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 4911 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 4912 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 4913 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\">\n" |
| 4914 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#TransitiveProperty\"/></owl:ObjectProperty>\n" |
| 4915 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 4916 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 4917 |
+ " <oiled:Satisfiable/>\n" + "</rdf:RDF>"; |
| 4918 |
String conclusion = ""; |
| 4919 |
String id = "WebOnt_description_logic_631"; |
| 4920 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 4921 |
String d = "DL Test: t7f.1"; |
| 4922 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4923 |
r.setReasonerFactory(factory()); |
| 4924 |
r.run(); |
| 4925 |
} |
| 4926 |
|
| 4927 |
@Test |
| 4928 |
public void testWebOnt_description_logic_632() { |
| 4929 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4930 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent632\">\n" |
| 4931 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4932 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4933 |
+ " <owl:onProperty>\n" |
| 4934 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4935 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4936 |
+ " <owl:Class rdf:ID=\"A.2\">\n" |
| 4937 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4938 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 4939 |
+ " <owl:Restriction>\n" |
| 4940 |
+ " <owl:onProperty>\n" |
| 4941 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 4942 |
+ " <owl:allValuesFrom rdf:resource=\"http://oiled.man.example.net/test#p1.comp\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4943 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 4944 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4945 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 4946 |
+ " <owl:Restriction>\n" |
| 4947 |
+ " <owl:onProperty>\n" |
| 4948 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 4949 |
+ " <owl:someValuesFrom>\n" |
| 4950 |
+ " <owl:Class rdf:about=\"#V.3\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4951 |
+ " <owl:Class rdf:ID=\"V.3\"><owl:equivalentClass><owl:Restriction>\n" |
| 4952 |
+ " <owl:onProperty>\n" |
| 4953 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 4954 |
+ " <owl:someValuesFrom rdf:resource=\"#A.2\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4955 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><owl:equivalentClass><owl:Restriction>\n" |
| 4956 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 4957 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4958 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 4959 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 4960 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 4961 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 4962 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\">\n" |
| 4963 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#TransitiveProperty\"/></owl:ObjectProperty>\n" |
| 4964 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 4965 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 4966 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 4967 |
String conclusion = ""; |
| 4968 |
String id = "WebOnt_description_logic_632"; |
| 4969 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 4970 |
String d = "DL Test: t7f.2"; |
| 4971 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 4972 |
r.setReasonerFactory(factory()); |
| 4973 |
r.run(); |
| 4974 |
} |
| 4975 |
|
| 4976 |
@Test |
| 4977 |
public void testWebOnt_description_logic_633() { |
| 4978 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 4979 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent633\">\n" |
| 4980 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 4981 |
+ " <owl:Class rdf:ID=\"A.2\">\n" |
| 4982 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 4983 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"/>\n" |
| 4984 |
+ " <owl:Restriction>\n" |
| 4985 |
+ " <owl:onProperty>\n" |
| 4986 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\"/></owl:onProperty>\n" |
| 4987 |
+ " <owl:allValuesFrom>\n" |
| 4988 |
+ " <owl:Class rdf:about=\"#V.3\"/></owl:allValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 4989 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 4990 |
+ " <owl:onProperty>\n" |
| 4991 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 4992 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4993 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\"><owl:equivalentClass><owl:Restriction>\n" |
| 4994 |
+ " <owl:onProperty>\n" |
| 4995 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/></owl:onProperty>\n" |
| 4996 |
+ " <owl:someValuesFrom rdf:resource=\"#A.2\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 4997 |
+ " <owl:Class rdf:ID=\"V.3\"><owl:equivalentClass><owl:Restriction>\n" |
| 4998 |
+ " <owl:onProperty>\n" |
| 4999 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\"/></owl:onProperty>\n" |
| 5000 |
+ " <owl:someValuesFrom rdf:resource=\"http://oiled.man.example.net/test#p1.comp\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5001 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p1\"><owl:equivalentClass><owl:Restriction>\n" |
| 5002 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 5003 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5004 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 5005 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#FunctionalProperty\"/></owl:ObjectProperty>\n" |
| 5006 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invF\">\n" |
| 5007 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#f\"/></owl:ObjectProperty>\n" |
| 5008 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\">\n" |
| 5009 |
+ " <rdf:type rdf:resource=\"/2002/07/owl#TransitiveProperty\"/></owl:ObjectProperty>\n" |
| 5010 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 5011 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 5012 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 5013 |
String conclusion = ""; |
| 5014 |
String id = "WebOnt_description_logic_633"; |
| 5015 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 5016 |
String d = "DL Test: t7f.3"; |
| 5017 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5018 |
r.setReasonerFactory(factory()); |
| 5019 |
r.run(); |
| 5020 |
} |
| 5021 |
|
| 5022 |
@Test |
| 5023 |
public void testWebOnt_description_logic_634() { |
| 5024 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 5025 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent634\">\n" |
| 5026 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 5027 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Satisfiable\">\n" |
| 5028 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5029 |
+ " <owl:Restriction>\n" |
| 5030 |
+ " <owl:onProperty>\n" |
| 5031 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 5032 |
+ " <owl:someValuesFrom>\n" |
| 5033 |
+ " <owl:Class rdf:about=\"#V.4\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 5034 |
+ " <owl:Restriction>\n" |
| 5035 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/>\n" |
| 5036 |
+ " <owl:someValuesFrom>\n" |
| 5037 |
+ " <owl:Class rdf:about=\"#V.5\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 5038 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5039 |
+ " <owl:onProperty>\n" |
| 5040 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 5041 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5042 |
+ " <owl:Class rdf:ID=\"V.5\"><owl:equivalentClass><owl:Restriction>\n" |
| 5043 |
+ " <owl:onProperty>\n" |
| 5044 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 5045 |
+ " <owl:allValuesFrom>\n" |
| 5046 |
+ " <owl:Class rdf:about=\"#V.3\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5047 |
+ " <owl:Class rdf:ID=\"V.4\"><owl:equivalentClass><owl:Restriction>\n" |
| 5048 |
+ " <owl:onProperty>\n" |
| 5049 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\"/></owl:onProperty>\n" |
| 5050 |
+ " <owl:allValuesFrom>\n" |
| 5051 |
+ " <owl:Class rdf:about=\"#V.2\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5052 |
+ " <owl:Class rdf:ID=\"V.3\"><owl:equivalentClass><owl:Restriction>\n" |
| 5053 |
+ " <owl:onProperty>\n" |
| 5054 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r1\"/></owl:onProperty>\n" |
| 5055 |
+ " <owl:allValuesFrom rdf:resource=\"http://oiled.man.example.net/test#p.comp\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5056 |
+ " <owl:Class rdf:ID=\"V.2\"><owl:equivalentClass><owl:Restriction>\n" |
| 5057 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r1\"/>\n" |
| 5058 |
+ " <owl:allValuesFrom>\n" |
| 5059 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"/></owl:allValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5060 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#p\"><owl:equivalentClass><owl:Restriction>\n" |
| 5061 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 5062 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5063 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#invR\">\n" |
| 5064 |
+ " <owl:inverseOf rdf:resource=\"http://oiled.man.example.net/test#r\"/></owl:ObjectProperty>\n" |
| 5065 |
+ " <oiled:Satisfiable/>\n" + "</rdf:RDF>"; |
| 5066 |
String conclusion = ""; |
| 5067 |
String id = "WebOnt_description_logic_634"; |
| 5068 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 5069 |
String d = "DL Test: t8.1"; |
| 5070 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5071 |
r.setReasonerFactory(factory()); |
| 5072 |
r.run(); |
| 5073 |
} |
| 5074 |
|
| 5075 |
@Test |
| 5076 |
public void testWebOnt_description_logic_641() { |
| 5077 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 5078 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent641\">\n" |
| 5079 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 5080 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\">\n" |
| 5081 |
+ " <rdfs:subClassOf>\n" |
| 5082 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/></rdfs:subClassOf>\n" |
| 5083 |
+ " <rdfs:subClassOf>\n" |
| 5084 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1.comp\"/></rdfs:subClassOf></owl:Class>\n" |
| 5085 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e3\">\n" |
| 5086 |
+ " <rdfs:subClassOf>\n" |
| 5087 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></rdfs:subClassOf></owl:Class>\n" |
| 5088 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"><owl:equivalentClass><owl:Restriction>\n" |
| 5089 |
+ " <owl:onProperty>\n" |
| 5090 |
+ " <owl:ObjectProperty rdf:ID=\"P.2\"/></owl:onProperty>\n" |
| 5091 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#short\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5092 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5093 |
+ " <owl:onProperty>\n" |
| 5094 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 5095 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5096 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 5097 |
+ " <rdfs:subClassOf>\n" |
| 5098 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></rdfs:subClassOf></owl:Class>\n" |
| 5099 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"><owl:equivalentClass><owl:Restriction>\n" |
| 5100 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 5101 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5102 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 5103 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5104 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/>\n" |
| 5105 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:intersectionOf></owl:Class>\n" |
| 5106 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\">\n" |
| 5107 |
+ " <rdfs:subClassOf rdf:resource=\"http://oiled.man.example.net/test#d.comp\"/></owl:Class>\n" |
| 5108 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5109 |
+ " <owl:onProperty rdf:resource=\"#P.2\"/>\n" |
| 5110 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#short\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5111 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 5112 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 5113 |
String conclusion = ""; |
| 5114 |
String id = "WebOnt_description_logic_641"; |
| 5115 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 5116 |
String d = "DL Test: heinsohn1.1\n" |
| 5117 |
+ "Tbox tests from Heinsohn et al.\n" |
| 5118 |
+ "Tests incoherency caused by disjoint concept"; |
| 5119 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5120 |
r.setReasonerFactory(factory()); |
| 5121 |
r.run(); |
| 5122 |
} |
| 5123 |
|
| 5124 |
@Test |
| 5125 |
public void testWebOnt_description_logic_642() { |
| 5126 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 5127 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent642\">\n" |
| 5128 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 5129 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e3\">\n" |
| 5130 |
+ " <rdfs:subClassOf>\n" |
| 5131 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></rdfs:subClassOf></owl:Class>\n" |
| 5132 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\">\n" |
| 5133 |
+ " <rdfs:subClassOf>\n" |
| 5134 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/></rdfs:subClassOf>\n" |
| 5135 |
+ " <rdfs:subClassOf>\n" |
| 5136 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1.comp\"/></rdfs:subClassOf></owl:Class>\n" |
| 5137 |
+ " <owl:Class rdf:ID=\"A.3\">\n" |
| 5138 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5139 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/>\n" |
| 5140 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:intersectionOf></owl:Class>\n" |
| 5141 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"><owl:equivalentClass><owl:Restriction>\n" |
| 5142 |
+ " <owl:onProperty>\n" |
| 5143 |
+ " <owl:ObjectProperty rdf:ID=\"P.2\"/></owl:onProperty>\n" |
| 5144 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#short\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5145 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5146 |
+ " <owl:onProperty>\n" |
| 5147 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 5148 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5149 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 5150 |
+ " <rdfs:subClassOf>\n" |
| 5151 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></rdfs:subClassOf></owl:Class>\n" |
| 5152 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 5153 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5154 |
+ " <owl:Restriction>\n" |
| 5155 |
+ " <owl:onProperty>\n" |
| 5156 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 5157 |
+ " <owl:allValuesFrom rdf:resource=\"#A.3\"/></owl:Restriction>\n" |
| 5158 |
+ " <owl:Restriction>\n" |
| 5159 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/>\n" |
| 5160 |
+ " <owl:someValuesFrom>\n" |
| 5161 |
+ " <owl:Class rdf:about=\"/2002/07/owl#Thing\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 5162 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"><owl:equivalentClass><owl:Restriction>\n" |
| 5163 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 5164 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5165 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\">\n" |
| 5166 |
+ " <rdfs:subClassOf rdf:resource=\"http://oiled.man.example.net/test#d.comp\"/></owl:Class>\n" |
| 5167 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5168 |
+ " <owl:onProperty rdf:resource=\"#P.2\"/>\n" |
| 5169 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#short\">0</owl:cardinality></owl:Restriction></owl:equivalentClass>\n" |
| 5170 |
+ " </owl:Class>\n" |
| 5171 |
+ " <oiled:Unsatisfiable/>\n" |
| 5172 |
+ "</rdf:RDF>"; |
| 5173 |
String conclusion = ""; |
| 5174 |
String id = "WebOnt_description_logic_642"; |
| 5175 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 5176 |
String d = "DL Test: heinsohn1.2\n" |
| 5177 |
+ "Tbox tests from Heinsohn et al.\n" |
| 5178 |
+ "Tests incoherency caused by disjoint concept"; |
| 5179 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5180 |
r.setReasonerFactory(factory()); |
| 5181 |
r.run(); |
| 5182 |
} |
| 5183 |
|
| 5184 |
@Test |
| 5185 |
public void testWebOnt_description_logic_643() { |
| 5186 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 5187 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent643\">\n" |
| 5188 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 5189 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c1\">\n" |
| 5190 |
+ " <rdfs:subClassOf>\n" |
| 5191 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"/></rdfs:subClassOf>\n" |
| 5192 |
+ " <rdfs:subClassOf>\n" |
| 5193 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1.comp\"/></rdfs:subClassOf></owl:Class>\n" |
| 5194 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e3\">\n" |
| 5195 |
+ " <rdfs:subClassOf>\n" |
| 5196 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></rdfs:subClassOf></owl:Class>\n" |
| 5197 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"><owl:equivalentClass><owl:Restriction>\n" |
| 5198 |
+ " <owl:onProperty>\n" |
| 5199 |
+ " <owl:ObjectProperty rdf:ID=\"P.2\"/></owl:onProperty>\n" |
| 5200 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#short\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5201 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5202 |
+ " <owl:onProperty>\n" |
| 5203 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 5204 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5205 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 5206 |
+ " <rdfs:subClassOf>\n" |
| 5207 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></rdfs:subClassOf></owl:Class>\n" |
| 5208 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"><owl:equivalentClass><owl:Restriction>\n" |
| 5209 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 5210 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5211 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 5212 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5213 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e3\"/>\n" |
| 5214 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#f\"/></owl:intersectionOf></owl:Class>\n" |
| 5215 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\">\n" |
| 5216 |
+ " <rdfs:subClassOf rdf:resource=\"http://oiled.man.example.net/test#d.comp\"/></owl:Class>\n" |
| 5217 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5218 |
+ " <owl:onProperty rdf:resource=\"#P.2\"/>\n" |
| 5219 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#short\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5220 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 5221 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 5222 |
String conclusion = ""; |
| 5223 |
String id = "WebOnt_description_logic_643"; |
| 5224 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 5225 |
String d = "DL Test: heinsohn1.3\n" |
| 5226 |
+ "Tbox tests from Heinsohn et al.\n" |
| 5227 |
+ "Tests incoherency caused by disjoint concept"; |
| 5228 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5229 |
r.setReasonerFactory(factory()); |
| 5230 |
r.run(); |
| 5231 |
} |
| 5232 |
|
| 5233 |
@Test |
| 5234 |
public void testWebOnt_description_logic_644() { |
| 5235 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 5236 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent644\">\n" |
| 5237 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 5238 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e3\">\n" |
| 5239 |
+ " <rdfs:subClassOf>\n" |
| 5240 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></rdfs:subClassOf></owl:Class>\n" |
| 5241 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1\"><owl:equivalentClass><owl:Restriction>\n" |
| 5242 |
+ " <owl:onProperty>\n" |
| 5243 |
+ " <owl:ObjectProperty rdf:ID=\"P.2\"/></owl:onProperty>\n" |
| 5244 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#short\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5245 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5246 |
+ " <owl:onProperty>\n" |
| 5247 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 5248 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5249 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#f\">\n" |
| 5250 |
+ " <rdfs:subClassOf>\n" |
| 5251 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></rdfs:subClassOf></owl:Class>\n" |
| 5252 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"><owl:equivalentClass><owl:Restriction>\n" |
| 5253 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 5254 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5255 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 5256 |
+ " <rdfs:subClassOf rdf:resource=\"http://oiled.man.example.net/test#d1\"/>\n" |
| 5257 |
+ " <rdfs:subClassOf>\n" |
| 5258 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1.comp\"/></rdfs:subClassOf></owl:Class>\n" |
| 5259 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\">\n" |
| 5260 |
+ " <rdfs:subClassOf rdf:resource=\"http://oiled.man.example.net/test#d.comp\"/></owl:Class>\n" |
| 5261 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d1.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5262 |
+ " <owl:onProperty rdf:resource=\"#P.2\"/>\n" |
| 5263 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#short\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5264 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/>\n" |
| 5265 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 5266 |
String conclusion = ""; |
| 5267 |
String id = "WebOnt_description_logic_644"; |
| 5268 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 5269 |
String d = "DL Test: heinsohn1.4\n" |
| 5270 |
+ "Tbox tests from Heinsohn et al.\n" |
| 5271 |
+ "Tests incoherency caused by disjoint concept"; |
| 5272 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5273 |
r.setReasonerFactory(factory()); |
| 5274 |
r.run(); |
| 5275 |
} |
| 5276 |
|
| 5277 |
@Test |
| 5278 |
public void testWebOnt_description_logic_646() { |
| 5279 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 5280 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent646\">\n" |
| 5281 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 5282 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5283 |
+ " <owl:onProperty>\n" |
| 5284 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 5285 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5286 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 5287 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5288 |
+ " <owl:Restriction>\n" |
| 5289 |
+ " <owl:onProperty>\n" |
| 5290 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 5291 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:maxCardinality></owl:Restriction>\n" |
| 5292 |
+ " <owl:Restriction>\n" |
| 5293 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/>\n" |
| 5294 |
+ " <owl:someValuesFrom>\n" |
| 5295 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\"/></owl:someValuesFrom></owl:Restriction>\n" |
| 5296 |
+ " <owl:Restriction>\n" |
| 5297 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/>\n" |
| 5298 |
+ " <owl:someValuesFrom>\n" |
| 5299 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 5300 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"><owl:equivalentClass><owl:Restriction>\n" |
| 5301 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 5302 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5303 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\">\n" |
| 5304 |
+ " <rdfs:subClassOf rdf:resource=\"http://oiled.man.example.net/test#d.comp\"/></owl:Class>\n" |
| 5305 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 5306 |
String conclusion = ""; |
| 5307 |
String id = "WebOnt_description_logic_646"; |
| 5308 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 5309 |
String d = "DL Test: heinsohn2.2\n" |
| 5310 |
+ "Tbox tests from Heinsohn et al.\n" |
| 5311 |
+ "Tests incoherency caused by number restrictions"; |
| 5312 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5313 |
r.setReasonerFactory(factory()); |
| 5314 |
r.run(); |
| 5315 |
} |
| 5316 |
|
| 5317 |
@Test |
| 5318 |
public void testWebOnt_description_logic_650() { |
| 5319 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 5320 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/inconsistent650\">\n" |
| 5321 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 5322 |
+ " <owl:Class rdf:ID=\"C.4\"><owl:equivalentClass><owl:Restriction>\n" |
| 5323 |
+ " <owl:onProperty>\n" |
| 5324 |
+ " <owl:ObjectProperty rdf:ID=\"P.4\"/></owl:onProperty>\n" |
| 5325 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5326 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5327 |
+ " <owl:onProperty>\n" |
| 5328 |
+ " <owl:ObjectProperty rdf:ID=\"P.2\"/></owl:onProperty>\n" |
| 5329 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#short\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5330 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5331 |
+ " <owl:onProperty>\n" |
| 5332 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 5333 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5334 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e\"><owl:equivalentClass><owl:Restriction>\n" |
| 5335 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 5336 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5337 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#Unsatisfiable\">\n" |
| 5338 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5339 |
+ " <owl:Restriction>\n" |
| 5340 |
+ " <owl:onProperty>\n" |
| 5341 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#r\"/></owl:onProperty>\n" |
| 5342 |
+ " <owl:someValuesFrom rdf:resource=\"http://oiled.man.example.net/test#e.comp\"/></owl:Restriction>\n" |
| 5343 |
+ " <owl:Restriction>\n" |
| 5344 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/>\n" |
| 5345 |
+ " <owl:allValuesFrom>\n" |
| 5346 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:allValuesFrom></owl:Restriction>\n" |
| 5347 |
+ " <owl:Restriction>\n" |
| 5348 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#r\"/>\n" |
| 5349 |
+ " <owl:allValuesFrom rdf:resource=\"#C.4\"/></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 5350 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"><owl:equivalentClass><owl:Restriction>\n" |
| 5351 |
+ " <owl:onProperty rdf:resource=\"#P.2\"/>\n" |
| 5352 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#short\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5353 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#c\">\n" |
| 5354 |
+ " <rdfs:subClassOf rdf:resource=\"http://oiled.man.example.net/test#d.comp\"/></owl:Class>\n" |
| 5355 |
+ " <owl:Class rdf:ID=\"C.4.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5356 |
+ " <owl:onProperty rdf:resource=\"#P.4\"/>\n" |
| 5357 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">0</owl:cardinality></owl:Restriction></owl:equivalentClass>\n" |
| 5358 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5359 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#e.comp\"/>\n" |
| 5360 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#d\"/></owl:intersectionOf></owl:Class>\n" |
| 5361 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#s\"/>\n" |
| 5362 |
+ " <oiled:Unsatisfiable/>\n" + "</rdf:RDF>"; |
| 5363 |
String conclusion = ""; |
| 5364 |
String id = "WebOnt_description_logic_650"; |
| 5365 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 5366 |
String d = "DL Test: heinsohn4.1\n" |
| 5367 |
+ "Tbox tests from Heinsohn et al.\n" |
| 5368 |
+ "Tests role restrictions"; |
| 5369 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5370 |
r.setReasonerFactory(factory()); |
| 5371 |
r.run(); |
| 5372 |
} |
| 5373 |
|
| 5374 |
@Test |
| 5375 |
public void testWebOnt_description_logic_665() { |
| 5376 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 5377 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/premises665\">\n" |
| 5378 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 5379 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C2.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5380 |
+ " <owl:onProperty>\n" |
| 5381 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 5382 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5383 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"><owl:equivalentClass><owl:Restriction>\n" |
| 5384 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 5385 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5386 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C4.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5387 |
+ " <owl:onProperty>\n" |
| 5388 |
+ " <owl:ObjectProperty rdf:ID=\"P.6\"/></owl:onProperty>\n" |
| 5389 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#byte\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5390 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C18\">\n" |
| 5391 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5392 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#TOP\"/>\n" |
| 5393 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"/></owl:intersectionOf></owl:Class>\n" |
| 5394 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C10.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5395 |
+ " <owl:onProperty>\n" |
| 5396 |
+ " <owl:DatatypeProperty rdf:ID=\"P.3\"/></owl:onProperty>\n" |
| 5397 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#unsignedByte\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5398 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\">\n" |
| 5399 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5400 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C8\"/>\n" |
| 5401 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C14\"/></owl:intersectionOf></owl:Class>\n" |
| 5402 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C14\"><owl:equivalentClass><owl:Restriction>\n" |
| 5403 |
+ " <owl:onProperty>\n" |
| 5404 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#R1\"/></owl:onProperty>\n" |
| 5405 |
+ " <owl:someValuesFrom>\n" |
| 5406 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C12\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5407 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C12\">\n" |
| 5408 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5409 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C2.comp\"/>\n" |
| 5410 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C10.comp\"/></owl:intersectionOf></owl:Class>\n" |
| 5411 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C8\"><owl:equivalentClass><owl:Restriction>\n" |
| 5412 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/>\n" |
| 5413 |
+ " <owl:someValuesFrom>\n" |
| 5414 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C6\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5415 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"><owl:equivalentClass><owl:Restriction>\n" |
| 5416 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/>\n" |
| 5417 |
+ " <owl:someValuesFrom rdf:resource=\"http://oiled.man.example.net/test#C2.comp\"/></owl:Restriction></owl:equivalentClass><owl:equivalentClass><owl:Restriction>\n" |
| 5418 |
+ " <owl:onProperty rdf:resource=\"#P.3\"/>\n" |
| 5419 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#unsignedByte\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5420 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C6\">\n" |
| 5421 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5422 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C2.comp\"/>\n" |
| 5423 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C4.comp\"/></owl:intersectionOf></owl:Class>\n" |
| 5424 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#TEST\">\n" |
| 5425 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5426 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C18\"/>\n" |
| 5427 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#TOP\"/></owl:intersectionOf></owl:Class>\n" |
| 5428 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"><owl:equivalentClass><owl:Restriction>\n" |
| 5429 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/>\n" |
| 5430 |
+ " <owl:someValuesFrom rdf:resource=\"http://oiled.man.example.net/test#C2.comp\"/></owl:Restriction></owl:equivalentClass><owl:equivalentClass><owl:Restriction>\n" |
| 5431 |
+ " <owl:onProperty rdf:resource=\"#P.6\"/>\n" |
| 5432 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#byte\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5433 |
+ " <owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16562\">\n" |
| 5434 |
+ " <rdf:type>\n" |
| 5435 |
+ " <owl:Restriction>\n" |
| 5436 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/>\n" |
| 5437 |
+ " <owl:allValuesFrom rdf:resource=\"http://oiled.man.example.net/test#C2\"/></owl:Restriction></rdf:type>\n" |
| 5438 |
+ " <rdf:type rdf:resource=\"http://oiled.man.example.net/test#C10.comp\"/>\n" |
| 5439 |
+ " <rdf:type rdf:resource=\"http://oiled.man.example.net/test#C2.comp\"/></owl:Thing>\n" |
| 5440 |
+ " <owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16561\">\n" |
| 5441 |
+ " <rdf:type>\n" |
| 5442 |
+ " <owl:Restriction>\n" |
| 5443 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/>\n" |
| 5444 |
+ " <owl:allValuesFrom rdf:resource=\"http://oiled.man.example.net/test#C2\"/></owl:Restriction></rdf:type>\n" |
| 5445 |
+ " <rdf:type rdf:resource=\"http://oiled.man.example.net/test#C4.comp\"/>\n" |
| 5446 |
+ " <rdf:type rdf:resource=\"http://oiled.man.example.net/test#C2.comp\"/></owl:Thing>\n" |
| 5447 |
+ " <owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16560\">\n" |
| 5448 |
+ " <rdf:type rdf:resource=\"http://oiled.man.example.net/test#TEST\"/>\n" |
| 5449 |
+ " <rdf:type rdf:resource=\"http://oiled.man.example.net/test#TOP\"/>\n" |
| 5450 |
+ " <oiled:R1 rdf:resource=\"http://oiled.man.example.net/test#V16562\"/>\n" |
| 5451 |
+ " <oiled:R1 rdf:resource=\"http://oiled.man.example.net/test#V16561\"/></owl:Thing>\n" |
| 5452 |
+ "</rdf:RDF>"; |
| 5453 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5454 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/conclusions665\"\n" |
| 5455 |
+ ">\n" |
| 5456 |
+ "<owl:Ontology/>\n" |
| 5457 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16560\">\n" |
| 5458 |
+ " <rdf:type>\n" |
| 5459 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C18\"/></rdf:type></owl:Thing>\n" |
| 5460 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16560\">\n" |
| 5461 |
+ " <rdf:type>\n" |
| 5462 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C8\"/></rdf:type></owl:Thing>\n" |
| 5463 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16560\">\n" |
| 5464 |
+ " <rdf:type>\n" |
| 5465 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C16\"/></rdf:type></owl:Thing>\n" |
| 5466 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16560\">\n" |
| 5467 |
+ " <rdf:type>\n" |
| 5468 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C14\"/></rdf:type></owl:Thing>\n" |
| 5469 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16561\">\n" |
| 5470 |
+ " <rdf:type>\n" |
| 5471 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C6\"/></rdf:type></owl:Thing>\n" |
| 5472 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V16562\">\n" |
| 5473 |
+ " <rdf:type>\n" |
| 5474 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C12\"/></rdf:type>\n" |
| 5475 |
+ "</owl:Thing>\n" + "</rdf:RDF>"; |
| 5476 |
String id = "WebOnt_description_logic_665"; |
| 5477 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 5478 |
String d = "DL Test: k_lin\n" |
| 5479 |
+ "ABox test from DL98 systems comparison."; |
| 5480 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5481 |
r.setReasonerFactory(factory()); |
| 5482 |
r.run(); |
| 5483 |
} |
| 5484 |
|
| 5485 |
@Test |
| 5486 |
public void testWebOnt_description_logic_667() { |
| 5487 |
String premise = "<rdf:RDF xmlns:oiled=\"http://oiled.man.example.net/test#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n" |
| 5488 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/premises667\">\n" |
| 5489 |
+ " <owl:Ontology rdf:about=\"\"/>\n" |
| 5490 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C2.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5491 |
+ " <owl:onProperty>\n" |
| 5492 |
+ " <owl:DatatypeProperty rdf:ID=\"P.1\"/></owl:onProperty>\n" |
| 5493 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#int\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5494 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"><owl:equivalentClass><owl:Restriction>\n" |
| 5495 |
+ " <owl:onProperty rdf:resource=\"#P.1\"/>\n" |
| 5496 |
+ " <owl:maxCardinality rdf:datatype=\"/2001/XMLSchema#int\">0</owl:maxCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5497 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C6.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5498 |
+ " <owl:onProperty>\n" |
| 5499 |
+ " <owl:ObjectProperty rdf:ID=\"P.4\"/></owl:onProperty>\n" |
| 5500 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5501 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C8.comp\"><owl:equivalentClass><owl:Restriction>\n" |
| 5502 |
+ " <owl:onProperty>\n" |
| 5503 |
+ " <owl:ObjectProperty rdf:ID=\"P.2\"/></owl:onProperty>\n" |
| 5504 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#short\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5505 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C12\"><owl:equivalentClass><owl:Restriction>\n" |
| 5506 |
+ " <owl:onProperty>\n" |
| 5507 |
+ " <owl:ObjectProperty rdf:about=\"http://oiled.man.example.net/test#R1\"/></owl:onProperty>\n" |
| 5508 |
+ " <owl:someValuesFrom>\n" |
| 5509 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5510 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C8\"><owl:equivalentClass><owl:Restriction>\n" |
| 5511 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/>\n" |
| 5512 |
+ " <owl:someValuesFrom>\n" |
| 5513 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C6\"/></owl:someValuesFrom></owl:Restriction></owl:equivalentClass><owl:equivalentClass><owl:Restriction>\n" |
| 5514 |
+ " <owl:onProperty rdf:resource=\"#P.2\"/>\n" |
| 5515 |
+ " <owl:minCardinality rdf:datatype=\"/2001/XMLSchema#short\">1</owl:minCardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5516 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\">\n" |
| 5517 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5518 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C2\"/>\n" |
| 5519 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:intersectionOf></owl:Class>\n" |
| 5520 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C6\">\n" |
| 5521 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5522 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C2.comp\"/>\n" |
| 5523 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C4\"/></owl:intersectionOf><owl:equivalentClass><owl:Restriction>\n" |
| 5524 |
+ " <owl:onProperty rdf:resource=\"#P.4\"/>\n" |
| 5525 |
+ " <owl:cardinality rdf:datatype=\"/2001/XMLSchema#nonNegativeInteger\">0</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5526 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#TEST\">\n" |
| 5527 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5528 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C8.comp\"/>\n" |
| 5529 |
+ " <owl:Class rdf:about=\"http://oiled.man.example.net/test#C12\"/></owl:intersectionOf></owl:Class>\n" |
| 5530 |
+ " <owl:Thing rdf:about=\"http://oiled.man.example.net/test#V21081\">\n" |
| 5531 |
+ " <rdf:type rdf:resource=\"http://oiled.man.example.net/test#C4\"/>\n" |
| 5532 |
+ " <rdf:type rdf:resource=\"http://oiled.man.example.net/test#C2\"/>\n" |
| 5533 |
+ " <rdf:type rdf:resource=\"http://oiled.man.example.net/test#C6.comp\"/></owl:Thing>\n" |
| 5534 |
+ " <owl:Thing rdf:about=\"http://oiled.man.example.net/test#V21080\">\n" |
| 5535 |
+ " <rdf:type rdf:resource=\"http://oiled.man.example.net/test#TEST\"/>\n" |
| 5536 |
+ " <rdf:type>\n" |
| 5537 |
+ " <owl:Restriction>\n" |
| 5538 |
+ " <owl:onProperty rdf:resource=\"http://oiled.man.example.net/test#R1\"/>\n" |
| 5539 |
+ " <owl:allValuesFrom rdf:resource=\"http://oiled.man.example.net/test#C6.comp\"/></owl:Restriction></rdf:type>\n" |
| 5540 |
+ " <oiled:R1 rdf:resource=\"http://oiled.man.example.net/test#V21081\"/>\n" |
| 5541 |
+ " <rdf:type rdf:resource=\"http://oiled.man.example.net/test#C8.comp\"/></owl:Thing>\n" |
| 5542 |
+ "</rdf:RDF>"; |
| 5543 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5544 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/conclusions667\"\n" |
| 5545 |
+ ">\n" |
| 5546 |
+ "<owl:Ontology/>\n" |
| 5547 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V21080\">\n" |
| 5548 |
+ " <rdf:type>\n" |
| 5549 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C12\"/></rdf:type></owl:Thing>\n" |
| 5550 |
+ "<owl:Thing rdf:about=\"http://oiled.man.example.net/test#V21081\">\n" |
| 5551 |
+ " <rdf:type>\n" |
| 5552 |
+ "<owl:Class rdf:about=\"http://oiled.man.example.net/test#C10\"/></rdf:type>\n" |
| 5553 |
+ "</owl:Thing>\n" + "</rdf:RDF>"; |
| 5554 |
String id = "WebOnt_description_logic_667"; |
| 5555 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 5556 |
String d = "DL Test: k_ph\n" |
| 5557 |
+ "ABox test from DL98 systems comparison."; |
| 5558 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5559 |
r.setReasonerFactory(factory()); |
| 5560 |
r.run(); |
| 5561 |
} |
| 5562 |
|
| 5563 |
@Test |
| 5564 |
public void testWebOnt_description_logic_901() { |
| 5565 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5566 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/premises901\" >\n" |
| 5567 |
+ " <owl:Ontology/>\n" |
| 5568 |
+ " <owl:ObjectProperty rdf:ID=\"r\"/>\n" |
| 5569 |
+ " <owl:ObjectProperty rdf:ID=\"p\">\n" |
| 5570 |
+ " <rdfs:subPropertyOf rdf:resource=\"#r\"/>\n" |
| 5571 |
+ " <rdfs:range>\n" |
| 5572 |
+ " <owl:Class rdf:ID=\"A\"/></rdfs:range></owl:ObjectProperty>\n" |
| 5573 |
+ " <owl:ObjectProperty rdf:ID=\"q\">\n" |
| 5574 |
+ " <rdfs:subPropertyOf rdf:resource=\"#r\"/>\n" |
| 5575 |
+ " <rdfs:range>\n" |
| 5576 |
+ " <owl:Class rdf:ID=\"B\"/></rdfs:range></owl:ObjectProperty>\n" |
| 5577 |
+ " <owl:Class rdf:about=\"#A\">\n" |
| 5578 |
+ " <owl:disjointWith rdf:resource=\"#B\"/>\n" |
| 5579 |
+ " </owl:Class></rdf:RDF>"; |
| 5580 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/description-logic/premises901#\" xmlns:second=\"http://www.w3.org/2002/03owlt/description-logic/conclusions901#\"\n" |
| 5581 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/conclusions901\" >\n" |
| 5582 |
+ " <owl:Ontology/>\n" |
| 5583 |
+ " <owl:Class>\n" |
| 5584 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"premises901#p\"/></owl:onProperty><owl:minCardinality rdf:datatype=\n" |
| 5585 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:minCardinality></owl:Restriction><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"premises901#q\"/></owl:onProperty><owl:minCardinality rdf:datatype=\n" |
| 5586 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">3</owl:minCardinality></owl:Restriction></owl:intersectionOf>\n" |
| 5587 |
+ " <rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"premises901#r\"/></owl:onProperty><owl:minCardinality rdf:datatype=\n" |
| 5588 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">5</owl:minCardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 5589 |
+ "</rdf:RDF>"; |
| 5590 |
String id = "WebOnt_description_logic_901"; |
| 5591 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 5592 |
String d = "This entailment can be replicated for any three natural numbers i, j, k such that i+j >= k. In this example, they are chosen as 2, 3 and 5."; |
| 5593 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5594 |
r.setReasonerFactory(factory()); |
| 5595 |
r.run(); |
| 5596 |
} |
| 5597 |
|
| 5598 |
@Test |
| 5599 |
public void testWebOnt_description_logic_902() { |
| 5600 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5601 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/premises902\" >\n" |
| 5602 |
+ " <owl:Ontology/>\n" |
| 5603 |
+ " <owl:ObjectProperty rdf:ID=\"r\"/>\n" |
| 5604 |
+ " <owl:ObjectProperty rdf:ID=\"p\">\n" |
| 5605 |
+ " <rdfs:subPropertyOf rdf:resource=\"#r\"/>\n" |
| 5606 |
+ " <rdfs:range>\n" |
| 5607 |
+ " <owl:Class rdf:ID=\"A\"/></rdfs:range></owl:ObjectProperty>\n" |
| 5608 |
+ " <owl:ObjectProperty rdf:ID=\"q\">\n" |
| 5609 |
+ " <rdfs:subPropertyOf rdf:resource=\"#r\"/>\n" |
| 5610 |
+ " <rdfs:range>\n" |
| 5611 |
+ " <owl:Class rdf:ID=\"B\"/></rdfs:range></owl:ObjectProperty>\n" |
| 5612 |
+ " <owl:Class rdf:about=\"#A\">\n" |
| 5613 |
+ " <owl:disjointWith rdf:resource=\"#B\"/>\n" |
| 5614 |
+ " </owl:Class></rdf:RDF>"; |
| 5615 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5616 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/nonconclusions902\" >\n" |
| 5617 |
+ " <owl:Ontology/>\n" |
| 5618 |
+ " <owl:Class>\n" |
| 5619 |
+ " <owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"premises902#p\"/></owl:onProperty><owl:minCardinality rdf:datatype=\n" |
| 5620 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:minCardinality></owl:Restriction><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"premises902#q\"/></owl:onProperty><owl:minCardinality rdf:datatype=\n" |
| 5621 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">3</owl:minCardinality></owl:Restriction></owl:intersectionOf>\n" |
| 5622 |
+ " <rdfs:subClassOf><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"premises902#r\"/></owl:onProperty><owl:minCardinality rdf:datatype=\n" |
| 5623 |
+ "\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">6</owl:minCardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 5624 |
+ "</rdf:RDF>"; |
| 5625 |
String id = "WebOnt_description_logic_902"; |
| 5626 |
TestClasses tc = TestClasses.valueOf("NEGATIVE_IMPL"); |
| 5627 |
String d = "This non-entailment can be replicated for any three natural numbers i, j, k such that i+j < k. In this example, they are chosen as 2, 3 and 6."; |
| 5628 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5629 |
r.setReasonerFactory(factory()); |
| 5630 |
r.run(); |
| 5631 |
} |
| 5632 |
|
| 5633 |
@Test |
| 5634 |
public void testWebOnt_description_logic_905() { |
| 5635 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs= \"http://www.w3.org/2000/01/rdf-schema#\"\n" |
| 5636 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent905\" >\n" |
| 5637 |
+ " <owl:Ontology/>\n" |
| 5638 |
+ " <owl:FunctionalProperty rdf:ID=\"p-N-to-1\" >\n" |
| 5639 |
+ " <owl:inverseOf><owl:ObjectProperty rdf:ID=\"invP-1-to-N\" /></owl:inverseOf>\n" |
| 5640 |
+ " <rdfs:domain rdf:resource=\"#cardinality-N\" />\n" |
| 5641 |
+ " <rdfs:range rdf:resource=\"#only-d\" /></owl:FunctionalProperty>\n" |
| 5642 |
+ " <owl:ObjectProperty rdf:about=\"#p-N-to-1\" />\n" |
| 5643 |
+ " <owl:FunctionalProperty rdf:ID=\"q-M-to-1\" >\n" |
| 5644 |
+ " <owl:inverseOf><owl:ObjectProperty rdf:ID=\"invQ-1-to-M\" /></owl:inverseOf>\n" |
| 5645 |
+ " <rdfs:domain rdf:resource=\"#cardinality-N-times-M\" />\n" |
| 5646 |
+ " <rdfs:range rdf:resource=\"#cardinality-N\" /></owl:FunctionalProperty>\n" |
| 5647 |
+ " <owl:ObjectProperty rdf:about=\"#q-M-to-1\" />\n" |
| 5648 |
+ " <owl:FunctionalProperty rdf:ID=\"r-N-times-M-to-1\">\n" |
| 5649 |
+ " <owl:inverseOf><owl:ObjectProperty rdf:ID=\"invR-N-times-M-to-1\" /></owl:inverseOf>\n" |
| 5650 |
+ " <rdfs:domain rdf:resource=\"#cardinality-N-times-M\" />\n" |
| 5651 |
+ " <rdfs:range rdf:resource=\"#only-d\" /></owl:FunctionalProperty>\n" |
| 5652 |
+ " <owl:ObjectProperty rdf:about=\"#r-N-times-M-to-1\"/>\n" |
| 5653 |
+ " <owl:Class rdf:ID=\"only-d\"><owl:oneOf rdf:parseType=\"Collection\"><owl:Thing rdf:ID=\"d\"/></owl:oneOf><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#invP-1-to-N\"/><owl:cardinality rdf:datatype=\n" |
| 5654 |
+ " \"http://www.w3.org/2001/XMLSchema#integer\">2</owl:cardinality></owl:Restriction></owl:equivalentClass><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#invR-N-times-M-to-1\"/><owl:cardinality rdf:datatype=\n" |
| 5655 |
+ " \"http://www.w3.org/2001/XMLSchema#integer\">6</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5656 |
+ " <owl:Class rdf:ID=\"cardinality-N\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#p-N-to-1\"/><owl:someValuesFrom rdf:resource=\"#only-d\"/></owl:Restriction></owl:equivalentClass><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#invQ-1-to-M\"/><owl:cardinality rdf:datatype=\n" |
| 5657 |
+ " \"http://www.w3.org/2001/XMLSchema#integer\">3</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5658 |
+ " <owl:Class rdf:ID=\"cardinality-N-times-M\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#q-M-to-1\"/><owl:someValuesFrom rdf:resource=\"#cardinality-N\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5659 |
+ " <owl:Class rdf:about=\"#cardinality-N-times-M\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#r-N-times-M-to-1\"/><owl:someValuesFrom rdf:resource=\"#only-d\"/></owl:Restriction></owl:equivalentClass></owl:Class></rdf:RDF>"; |
| 5660 |
String conclusion = ""; |
| 5661 |
String id = "WebOnt_description_logic_905"; |
| 5662 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 5663 |
String d = "This test shows integer multiplication in OWL DL.\n" |
| 5664 |
+ "N is 2. M is 3. N times M is 6."; |
| 5665 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5666 |
r.setReasonerFactory(factory()); |
| 5667 |
r.run(); |
| 5668 |
} |
| 5669 |
|
| 5670 |
@Test |
| 5671 |
public void testWebOnt_description_logic_908() { |
| 5672 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs= \"http://www.w3.org/2000/01/rdf-schema#\"\n" |
| 5673 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/description-logic/consistent908\" >\n" |
| 5674 |
+ " <owl:Ontology/>\n" |
| 5675 |
+ " <owl:FunctionalProperty rdf:ID=\"p-N-to-1\" >\n" |
| 5676 |
+ " <owl:inverseOf><owl:ObjectProperty rdf:ID=\"invP-1-to-N\" /></owl:inverseOf>\n" |
| 5677 |
+ " <rdfs:domain rdf:resource=\"#cardinality-N\" />\n" |
| 5678 |
+ " <rdfs:range rdf:resource=\"#infinite\" /></owl:FunctionalProperty>\n" |
| 5679 |
+ " <owl:ObjectProperty rdf:about=\"#p-N-to-1\" />\n" |
| 5680 |
+ " <owl:FunctionalProperty rdf:ID=\"q-M-to-1\" >\n" |
| 5681 |
+ " <owl:inverseOf><owl:ObjectProperty rdf:ID=\"invQ-1-to-M\" /></owl:inverseOf>\n" |
| 5682 |
+ " <rdfs:domain rdf:resource=\"#cardinality-N-times-M\" />\n" |
| 5683 |
+ " <rdfs:range rdf:resource=\"#cardinality-N\" /></owl:FunctionalProperty>\n" |
| 5684 |
+ " <owl:ObjectProperty rdf:about=\"#q-M-to-1\" />\n" |
| 5685 |
+ " <owl:FunctionalProperty rdf:ID=\"r-N-times-M-to-1\">\n" |
| 5686 |
+ " <owl:inverseOf><owl:ObjectProperty rdf:ID=\"invR-N-times-M-to-1\" /></owl:inverseOf>\n" |
| 5687 |
+ " <rdfs:domain rdf:resource=\"#cardinality-N-times-M\" />\n" |
| 5688 |
+ " <rdfs:range rdf:resource=\"#infinite\" /></owl:FunctionalProperty>\n" |
| 5689 |
+ " <owl:ObjectProperty rdf:about=\"#r-N-times-M-to-1\"/>\n" |
| 5690 |
+ " <owl:Class rdf:ID=\"infinite\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#invP-1-to-N\"/><owl:cardinality rdf:datatype=\n" |
| 5691 |
+ " \"http://www.w3.org/2001/XMLSchema#integer\">2</owl:cardinality></owl:Restriction></owl:equivalentClass><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#invR-N-times-M-to-1\"/><owl:cardinality rdf:datatype=\n" |
| 5692 |
+ " \"http://www.w3.org/2001/XMLSchema#integer\">5</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5693 |
+ " <owl:Class rdf:ID=\"cardinality-N\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#p-N-to-1\"/><owl:someValuesFrom rdf:resource=\"#infinite\"/></owl:Restriction></owl:equivalentClass><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#invQ-1-to-M\"/><owl:cardinality rdf:datatype=\n" |
| 5694 |
+ " \"http://www.w3.org/2001/XMLSchema#integer\">3</owl:cardinality></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5695 |
+ " <owl:Class rdf:ID=\"cardinality-N-times-M\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#q-M-to-1\"/><owl:someValuesFrom rdf:resource=\"#cardinality-N\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 5696 |
+ " <owl:Class rdf:about=\"#cardinality-N-times-M\"><owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#r-N-times-M-to-1\"/><owl:someValuesFrom rdf:resource=\"#infinite\"/></owl:Restriction></owl:equivalentClass></owl:Class></rdf:RDF>"; |
| 5697 |
String conclusion = ""; |
| 5698 |
String id = "WebOnt_description_logic_908"; |
| 5699 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 5700 |
String d = "This test shows integer multiplication in OWL DL, interacting with infinity.\n" |
| 5701 |
+ "N times infinity is 2 times infinity. \n" |
| 5702 |
+ "M times infinity is 3 times infinity. \n" |
| 5703 |
+ "N times M times infinity is 5 times infinity."; |
| 5704 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5705 |
r.setReasonerFactory(factory()); |
| 5706 |
r.run(); |
| 5707 |
} |
| 5708 |
|
| 5709 |
@Test |
| 5710 |
public void testWebOnt_differentFrom_001() { |
| 5711 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/differentFrom/premises001#\" xmlns:second=\"http://www.w3.org/2002/03owlt/differentFrom/conclusions001#\"\n" |
| 5712 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/differentFrom/premises001\" >\n" |
| 5713 |
+ " <owl:Ontology/>\n" |
| 5714 |
+ " <rdf:Description rdf:about=\"premises001#a\"><owl:differentFrom rdf:resource=\"premises001#b\"/></rdf:Description></rdf:RDF>"; |
| 5715 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/differentFrom/premises001#\" xmlns:second=\"http://www.w3.org/2002/03owlt/differentFrom/conclusions001#\"\n" |
| 5716 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/differentFrom/conclusions001\" >\n" |
| 5717 |
+ " <owl:Ontology/>\n" |
| 5718 |
+ " <rdf:Description rdf:about=\"premises001#b\"><owl:differentFrom rdf:resource=\"premises001#a\"/></rdf:Description></rdf:RDF>"; |
| 5719 |
String id = "WebOnt_differentFrom_001"; |
| 5720 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 5721 |
String d = "differentFrom is a SymmetricProperty."; |
| 5722 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5723 |
r.setReasonerFactory(factory()); |
| 5724 |
r.run(); |
| 5725 |
} |
| 5726 |
|
| 5727 |
@Test |
| 5728 |
public void testWebOnt_disjointWith_001() { |
| 5729 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:first=\"http://www.w3.org/2002/03owlt/disjointWith/premises001#\"\n" |
| 5730 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/disjointWith/premises001\" >\n" |
| 5731 |
+ " <owl:Ontology/>\n" |
| 5732 |
+ " <owl:Class rdf:ID=\"A\"><owl:disjointWith><owl:Class rdf:ID=\"B\"/></owl:disjointWith></owl:Class>\n" |
| 5733 |
+ " <first:A rdf:ID=\"a\"/>\n" |
| 5734 |
+ " <owl:Thing rdf:about=\"#a\"/>\n" |
| 5735 |
+ " <first:B rdf:ID=\"b\"/>\n" |
| 5736 |
+ " <owl:Thing rdf:about=\"#b\"/></rdf:RDF>"; |
| 5737 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/disjointWith/premises001#\"\n" |
| 5738 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/disjointWith/conclusions001\" >\n" |
| 5739 |
+ " <owl:Ontology/>\n" |
| 5740 |
+ " <owl:Thing rdf:about=\"premises001#a\"><owl:differentFrom><owl:Thing rdf:about=\"premises001#b\"/></owl:differentFrom></owl:Thing></rdf:RDF>"; |
| 5741 |
String id = "WebOnt_disjointWith_001"; |
| 5742 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 5743 |
String d = "Disjoint classes have different members."; |
| 5744 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5745 |
r.setReasonerFactory(factory()); |
| 5746 |
r.run(); |
| 5747 |
} |
| 5748 |
|
| 5749 |
@Test |
| 5750 |
public void testWebOnt_disjointWith_003() { |
| 5751 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5752 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/disjointWith/consistent003\" >\n" |
| 5753 |
+ " <owl:Ontology/>\n" |
| 5754 |
+ " <owl:Class rdf:nodeID=\"A\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"A\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"B\"/><owl:disjointWith rdf:nodeID=\"D\"/><owl:disjointWith rdf:nodeID=\"E\"/></owl:Class>\n" |
| 5755 |
+ " <owl:Class rdf:nodeID=\"B\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"B\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"A\"/><owl:disjointWith rdf:nodeID=\"C\"/><owl:disjointWith rdf:nodeID=\"E\"/></owl:Class>\n" |
| 5756 |
+ " <owl:Class rdf:nodeID=\"C\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"C\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"A\"/><owl:disjointWith rdf:nodeID=\"D\"/><owl:disjointWith rdf:nodeID=\"E\"/></owl:Class>\n" |
| 5757 |
+ " <owl:Class rdf:nodeID=\"D\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"D\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"C\"/><owl:disjointWith rdf:nodeID=\"B\"/><owl:disjointWith rdf:nodeID=\"E\"/></owl:Class>\n" |
| 5758 |
+ " <owl:Class rdf:nodeID=\"E\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"E\"/></owl:intersectionOf></owl:Class></rdf:RDF>"; |
| 5759 |
String conclusion = ""; |
| 5760 |
String id = "WebOnt_disjointWith_003"; |
| 5761 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 5762 |
String d = "If the owl:disjointWith edges in the graph form an undirected complete subgraph \n" |
| 5763 |
+ "then this may be within OWL DL."; |
| 5764 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5765 |
r.setReasonerFactory(factory()); |
| 5766 |
r.run(); |
| 5767 |
} |
| 5768 |
|
| 5769 |
@Test |
| 5770 |
public void testWebOnt_disjointWith_004() { |
| 5771 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5772 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/disjointWith/consistent004\" >\n" |
| 5773 |
+ " <owl:Ontology/>\n" |
| 5774 |
+ " <owl:Class rdf:nodeID=\"A\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"A\"/><owl:Class rdf:ID=\"K\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"B\"/><owl:disjointWith rdf:nodeID=\"D\"/><owl:disjointWith rdf:nodeID=\"E\"/></owl:Class>\n" |
| 5775 |
+ " <owl:Class rdf:nodeID=\"B\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"B\"/><owl:Class rdf:ID=\"K\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"A\"/><owl:disjointWith rdf:nodeID=\"C\"/><owl:disjointWith rdf:nodeID=\"E\"/></owl:Class>\n" |
| 5776 |
+ " <owl:Class rdf:nodeID=\"C\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"C\"/><owl:Class rdf:ID=\"K\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"A\"/><owl:disjointWith rdf:nodeID=\"E\"/></owl:Class>\n" |
| 5777 |
+ " <owl:Class rdf:nodeID=\"D\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"D\"/><owl:Class rdf:ID=\"K\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"B\"/><owl:disjointWith rdf:nodeID=\"E\"/></owl:Class>\n" |
| 5778 |
+ " <owl:Class rdf:nodeID=\"E\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"E\"/></owl:intersectionOf></owl:Class></rdf:RDF>"; |
| 5779 |
String conclusion = ""; |
| 5780 |
String id = "WebOnt_disjointWith_004"; |
| 5781 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 5782 |
String d = "This example has owl:disjointWith edges in the graph which cannot be generated\n" |
| 5783 |
+ "by the mapping rules for DisjointClasses. Consider the lack of owl:disjointWith edge\n" |
| 5784 |
+ "between nodes C and D."; |
| 5785 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5786 |
r.setReasonerFactory(factory()); |
| 5787 |
r.run(); |
| 5788 |
} |
| 5789 |
|
| 5790 |
@Test |
| 5791 |
public void testWebOnt_disjointWith_005() { |
| 5792 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5793 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/disjointWith/consistent005\" >\n" |
| 5794 |
+ " <owl:Ontology/>\n" |
| 5795 |
+ " <owl:Class rdf:nodeID=\"A\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"A\"/><owl:Class rdf:ID=\"K\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"D\"/><owl:disjointWith rdf:nodeID=\"E\"/></owl:Class>\n" |
| 5796 |
+ " <owl:Class rdf:nodeID=\"B\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"B\"/><owl:Class rdf:ID=\"K\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"C\"/></owl:Class>\n" |
| 5797 |
+ " <owl:Class rdf:nodeID=\"C\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"C\"/><owl:Class rdf:ID=\"K\"/></owl:intersectionOf></owl:Class>\n" |
| 5798 |
+ " <owl:Class rdf:nodeID=\"D\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"D\"/><owl:Class rdf:ID=\"K\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"E\"/></owl:Class>\n" |
| 5799 |
+ " <owl:Class rdf:nodeID=\"E\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"E\"/><owl:Class rdf:ID=\"K\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"D\"/></owl:Class></rdf:RDF>"; |
| 5800 |
String conclusion = ""; |
| 5801 |
String id = "WebOnt_disjointWith_005"; |
| 5802 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 5803 |
String d = "If the owl:disjointWith edges in the graph form unconnected\n" |
| 5804 |
+ "undirected complete subgraphs\n" |
| 5805 |
+ "then this may be within OWL DL."; |
| 5806 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5807 |
r.setReasonerFactory(factory()); |
| 5808 |
r.run(); |
| 5809 |
} |
| 5810 |
|
| 5811 |
@Test |
| 5812 |
public void testWebOnt_disjointWith_006() { |
| 5813 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5814 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/disjointWith/consistent006\" >\n" |
| 5815 |
+ " <owl:Ontology/>\n" |
| 5816 |
+ " <owl:Class rdf:nodeID=\"A\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"A\"/><owl:Class rdf:ID=\"K\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"D\"/><owl:disjointWith rdf:nodeID=\"E\"/></owl:Class>\n" |
| 5817 |
+ " <owl:Class rdf:nodeID=\"B\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"B\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"C\"/><owl:disjointWith rdf:nodeID=\"A\"/></owl:Class>\n" |
| 5818 |
+ " <owl:Class rdf:nodeID=\"C\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"C\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"A\"/></owl:Class>\n" |
| 5819 |
+ " <owl:Class rdf:nodeID=\"D\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"D\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"E\"/></owl:Class>\n" |
| 5820 |
+ " <owl:Class rdf:nodeID=\"E\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"E\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"D\"/></owl:Class></rdf:RDF>"; |
| 5821 |
String conclusion = ""; |
| 5822 |
String id = "WebOnt_disjointWith_006"; |
| 5823 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 5824 |
String d = "If the owl:disjointWith edges in the graph form\n" |
| 5825 |
+ "undirected complete subgraphs which share blank nodes\n" |
| 5826 |
+ "then this was not within OWL DL, but is permissible in OWL 2 DL."; |
| 5827 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5828 |
r.setReasonerFactory(factory()); |
| 5829 |
r.run(); |
| 5830 |
} |
| 5831 |
|
| 5832 |
@Test |
| 5833 |
public void testWebOnt_disjointWith_007() { |
| 5834 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5835 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/disjointWith/consistent007\" >\n" |
| 5836 |
+ " <owl:Ontology/>\n" |
| 5837 |
+ " <owl:Class rdf:ID=\"A\"><owl:disjointWith rdf:nodeID=\"D\"/><owl:disjointWith rdf:nodeID=\"E\"/></owl:Class>\n" |
| 5838 |
+ " <owl:Class rdf:nodeID=\"B\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"B\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"C\"/><owl:disjointWith rdf:resource=\"#A\"/></owl:Class>\n" |
| 5839 |
+ " <owl:Class rdf:nodeID=\"C\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"C\"/></owl:intersectionOf><owl:disjointWith rdf:resource=\"#A\"/></owl:Class>\n" |
| 5840 |
+ " <owl:Class rdf:nodeID=\"D\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"D\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"E\"/></owl:Class>\n" |
| 5841 |
+ " <owl:Class rdf:nodeID=\"E\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"E\"/></owl:intersectionOf><owl:disjointWith rdf:nodeID=\"D\"/></owl:Class></rdf:RDF>"; |
| 5842 |
String conclusion = ""; |
| 5843 |
String id = "WebOnt_disjointWith_007"; |
| 5844 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 5845 |
String d = "If the owl:disjointWith edges in the graph form\n" |
| 5846 |
+ "undirected complete subgraphs which share URIref nodes\n" |
| 5847 |
+ "but do not share blank node\n" |
| 5848 |
+ "then this may be within OWL DL."; |
| 5849 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5850 |
r.setReasonerFactory(factory()); |
| 5851 |
r.run(); |
| 5852 |
} |
| 5853 |
|
| 5854 |
@Test |
| 5855 |
public void testWebOnt_disjointWith_008() { |
| 5856 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5857 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/disjointWith/consistent008\" >\n" |
| 5858 |
+ " <owl:Ontology/>\n" |
| 5859 |
+ " <owl:Class rdf:ID=\"A\"/>\n" |
| 5860 |
+ " <owl:Class rdf:nodeID=\"B\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"B\"/></owl:intersectionOf><owl:disjointWith rdf:resource=\"#A\"/></owl:Class>\n" |
| 5861 |
+ " <owl:Class rdf:nodeID=\"C\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"C\"/></owl:intersectionOf><owl:disjointWith rdf:resource=\"#A\"/></owl:Class>\n" |
| 5862 |
+ " <owl:Class rdf:ID=\"D\"><owl:disjointWith rdf:nodeID=\"B\"/><owl:disjointWith rdf:nodeID=\"C\"/></owl:Class></rdf:RDF>"; |
| 5863 |
String conclusion = ""; |
| 5864 |
String id = "WebOnt_disjointWith_008"; |
| 5865 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 5866 |
String d = "A further example that cannot be generated from the mapping rule\n" |
| 5867 |
+ "for DisjointClasses."; |
| 5868 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5869 |
r.setReasonerFactory(factory()); |
| 5870 |
r.run(); |
| 5871 |
} |
| 5872 |
|
| 5873 |
@Test |
| 5874 |
public void testWebOnt_disjointWith_009() { |
| 5875 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5876 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/disjointWith/consistent009\" >\n" |
| 5877 |
+ " <owl:Ontology/>\n" |
| 5878 |
+ " <owl:Class rdf:ID=\"A\"/>\n" |
| 5879 |
+ " <owl:Class rdf:nodeID=\"B\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"B\"/></owl:intersectionOf><owl:disjointWith rdf:resource=\"#A\"/></owl:Class>\n" |
| 5880 |
+ " <owl:Class rdf:nodeID=\"C\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"C\"/></owl:intersectionOf><owl:disjointWith rdf:resource=\"#A\"/></owl:Class>\n" |
| 5881 |
+ " <owl:Class rdf:ID=\"D\"><owl:disjointWith rdf:nodeID=\"B\"/><owl:disjointWith rdf:nodeID=\"C\"/><owl:disjointWith rdf:resource=\"#A\"/></owl:Class></rdf:RDF>"; |
| 5882 |
String conclusion = ""; |
| 5883 |
String id = "WebOnt_disjointWith_009"; |
| 5884 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 5885 |
String d = "If the owl:disjointWith edges in the graph form\n" |
| 5886 |
+ "undirected complete subgraphs which share URIref nodes\n" |
| 5887 |
+ "but do not share blank node\n" |
| 5888 |
+ "then this may be within OWL DL."; |
| 5889 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5890 |
r.setReasonerFactory(factory()); |
| 5891 |
r.run(); |
| 5892 |
} |
| 5893 |
|
| 5894 |
@Test |
| 5895 |
public void testWebOnt_equivalentClass_001() { |
| 5896 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/equivalentClass/premises001#\"\n" |
| 5897 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/premises001\" >\n" |
| 5898 |
+ " <owl:Ontology/>\n" |
| 5899 |
+ " <owl:Class rdf:ID=\"Car\">\n" |
| 5900 |
+ " <owl:equivalentClass><owl:Class rdf:ID=\"Automobile\"/></owl:equivalentClass></owl:Class>\n" |
| 5901 |
+ " <first:Car rdf:ID=\"car\">\n" |
| 5902 |
+ " <rdf:type rdf:resource=\"http://www.w3.org/2002/07/owl#Thing\" /></first:Car>\n" |
| 5903 |
+ " <first:Automobile rdf:ID=\"auto\">\n" |
| 5904 |
+ " <rdf:type rdf:resource=\"http://www.w3.org/2002/07/owl#Thing\" /></first:Automobile></rdf:RDF>"; |
| 5905 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/equivalentClass/premises001#\"\n" |
| 5906 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/conclusions001\" >\n" |
| 5907 |
+ " <owl:Ontology/>\n" |
| 5908 |
+ " <first:Car rdf:about=\"premises001#auto\">\n" |
| 5909 |
+ " <rdf:type rdf:resource=\"http://www.w3.org/2002/07/owl#Thing\" /></first:Car>\n" |
| 5910 |
+ " <first:Automobile rdf:about=\"premises001#car\">\n" |
| 5911 |
+ " <rdf:type rdf:resource=\"http://www.w3.org/2002/07/owl#Thing\" /></first:Automobile>\n" |
| 5912 |
+ " <owl:Class rdf:about=\"premises001#Car\"/>\n" |
| 5913 |
+ " <owl:Class rdf:about=\"premises001#Automobile\"/>\n" |
| 5914 |
+ "</rdf:RDF>"; |
| 5915 |
String id = "WebOnt_equivalentClass_001"; |
| 5916 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 5917 |
String d = "Two classes may have the same class extension."; |
| 5918 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5919 |
r.setReasonerFactory(factory()); |
| 5920 |
r.run(); |
| 5921 |
} |
| 5922 |
|
| 5923 |
@Test |
| 5924 |
public void testWebOnt_equivalentClass_002() { |
| 5925 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5926 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/premises002\" >\n" |
| 5927 |
+ " <owl:Ontology/>\n" |
| 5928 |
+ " <owl:Class rdf:ID=\"Car\">\n" |
| 5929 |
+ " <owl:equivalentClass><owl:Class rdf:ID=\"Automobile\"/></owl:equivalentClass></owl:Class>\n" |
| 5930 |
+ "</rdf:RDF>"; |
| 5931 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5932 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/conclusions002\" >\n" |
| 5933 |
+ " <owl:Ontology/>\n" |
| 5934 |
+ " <owl:Class rdf:about=\"premises002#Car\">\n" |
| 5935 |
+ " <rdfs:subClassOf><owl:Class rdf:about=\"premises002#Automobile\"><rdfs:subClassOf rdf:resource=\"premises002#Car\" /></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 5936 |
+ "</rdf:RDF>"; |
| 5937 |
String id = "WebOnt_equivalentClass_002"; |
| 5938 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 5939 |
String d = "Two classes may be different names for the same set of individuals"; |
| 5940 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5941 |
r.setReasonerFactory(factory()); |
| 5942 |
r.run(); |
| 5943 |
} |
| 5944 |
|
| 5945 |
@Test |
| 5946 |
public void testWebOnt_equivalentClass_003() { |
| 5947 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5948 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/premises003\" >\n" |
| 5949 |
+ " <owl:Ontology/>\n" |
| 5950 |
+ " <owl:Class rdf:about=\"conclusions003#Car\">\n" |
| 5951 |
+ " <rdfs:subClassOf><owl:Class rdf:about=\"conclusions003#Automobile\"><rdfs:subClassOf rdf:resource=\"conclusions003#Car\" /></owl:Class></rdfs:subClassOf></owl:Class>\n" |
| 5952 |
+ "</rdf:RDF>"; |
| 5953 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5954 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/conclusions003\" >\n" |
| 5955 |
+ " <owl:Ontology/>\n" |
| 5956 |
+ " <owl:Class rdf:ID=\"Car\">\n" |
| 5957 |
+ " <owl:equivalentClass><owl:Class rdf:ID=\"Automobile\"/></owl:equivalentClass></owl:Class>\n" |
| 5958 |
+ "</rdf:RDF>"; |
| 5959 |
String id = "WebOnt_equivalentClass_003"; |
| 5960 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 5961 |
String d = "Two classes may be different names for the same set of individuals"; |
| 5962 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5963 |
r.setReasonerFactory(factory()); |
| 5964 |
r.run(); |
| 5965 |
} |
| 5966 |
|
| 5967 |
@Test |
| 5968 |
public void testWebOnt_equivalentClass_004() { |
| 5969 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5970 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/premises004\" >\n" |
| 5971 |
+ " <owl:Ontology/>\n" |
| 5972 |
+ " <owl:Class rdf:ID=\"c1\"><owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5973 |
+ " <owl:Class rdf:ID=\"c3\"/><owl:Restriction><owl:onProperty rdf:resource=\"#p\"/><owl:cardinality\n" |
| 5974 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:cardinality></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 5975 |
+ " <owl:Class rdf:ID=\"c2\"><owl:intersectionOf rdf:parseType=\"Collection\">\n" |
| 5976 |
+ " <owl:Class rdf:ID=\"c3\"/><owl:Restriction><owl:onProperty rdf:resource=\"#p\"/><owl:cardinality\n" |
| 5977 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:cardinality></owl:Restriction></owl:intersectionOf></owl:Class>\n" |
| 5978 |
+ " <owl:ObjectProperty rdf:ID=\"p\"/>\n" + "</rdf:RDF>"; |
| 5979 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5980 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/conclusions004\" >\n" |
| 5981 |
+ " <owl:Ontology/>\n" |
| 5982 |
+ " <owl:Class rdf:about=\"premises004#c1\">\n" |
| 5983 |
+ " <owl:equivalentClass><owl:Class rdf:about=\"premises004#c2\"/></owl:equivalentClass></owl:Class>\n" |
| 5984 |
+ "</rdf:RDF>"; |
| 5985 |
String id = "WebOnt_equivalentClass_004"; |
| 5986 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 5987 |
String d = "Two classes with the same complete description are equivalent."; |
| 5988 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 5989 |
r.setReasonerFactory(factory()); |
| 5990 |
r.run(); |
| 5991 |
} |
| 5992 |
|
| 5993 |
@Test |
| 5994 |
public void testWebOnt_equivalentClass_005() { |
| 5995 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 5996 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/premises005\" >\n" |
| 5997 |
+ " <owl:Ontology/>\n" |
| 5998 |
+ " <owl:Class rdf:ID=\"c1\"><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"#p\"/><owl:cardinality\n" |
| 5999 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:cardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 6000 |
+ " <owl:Class rdf:ID=\"c2\"><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"#p\"/><owl:cardinality\n" |
| 6001 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">1</owl:cardinality></owl:Restriction></rdfs:subClassOf></owl:Class>\n" |
| 6002 |
+ " <owl:ObjectProperty rdf:ID=\"p\"/>\n" + "</rdf:RDF>"; |
| 6003 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 6004 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/nonconclusions005\" >\n" |
| 6005 |
+ " <owl:Ontology/>\n" |
| 6006 |
+ "<owl:Class rdf:about=\"premises005#c1\">\n" |
| 6007 |
+ " <owl:equivalentClass><owl:Class rdf:about=\"premises005#c2\"/></owl:equivalentClass></owl:Class>\n" |
| 6008 |
+ "</rdf:RDF>"; |
| 6009 |
String id = "WebOnt_equivalentClass_005"; |
| 6010 |
TestClasses tc = TestClasses.valueOf("NEGATIVE_IMPL"); |
| 6011 |
String d = "Two classes with the same partial description are not equivalent."; |
| 6012 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6013 |
r.setReasonerFactory(factory()); |
| 6014 |
r.run(); |
| 6015 |
} |
| 6016 |
|
| 6017 |
@Test |
| 6018 |
public void testWebOnt_equivalentClass_006() { |
| 6019 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 6020 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/premises006\" >\n" |
| 6021 |
+ " <owl:Ontology/>\n" |
| 6022 |
+ " <owl:Class rdf:ID=\"A\"/>\n" |
| 6023 |
+ " <owl:Class rdf:ID=\"B\"/>\n" + "</rdf:RDF>"; |
| 6024 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 6025 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/conclusions006\" >\n" |
| 6026 |
+ " <owl:Ontology/>\n" |
| 6027 |
+ " <owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class><owl:complementOf rdf:resource=\"premises006#A\"/></owl:Class><owl:Class><owl:complementOf rdf:resource=\"premises006#B\"/></owl:Class></owl:intersectionOf><owl:equivalentClass><owl:Class><owl:complementOf><owl:Class><owl:unionOf rdf:parseType=\"Collection\"><rdf:Description rdf:about=\"premises006#A\"/><rdf:Description rdf:about=\"premises006#B\"/></owl:unionOf></owl:Class></owl:complementOf></owl:Class></owl:equivalentClass></owl:Class> \n" |
| 6028 |
+ " <owl:Class rdf:about=\"premises006#A\"/>\n" |
| 6029 |
+ " <owl:Class rdf:about=\"premises006#B\"/>\n" |
| 6030 |
+ "</rdf:RDF>"; |
| 6031 |
String id = "WebOnt_equivalentClass_006"; |
| 6032 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 6033 |
String d = "De Morgan's law."; |
| 6034 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6035 |
r.setReasonerFactory(factory()); |
| 6036 |
r.run(); |
| 6037 |
} |
| 6038 |
|
| 6039 |
@Test |
| 6040 |
public void testWebOnt_equivalentClass_008_Direct() { |
| 6041 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/equivalentClass/premises008#\" \n" |
| 6042 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/premises008\" >\n" |
| 6043 |
+ " <owl:Ontology/>\n" |
| 6044 |
+ " <owl:Class rdf:ID=\"c1\"><owl:equivalentClass><owl:Class rdf:ID=\"c2\"/></owl:equivalentClass>\n" |
| 6045 |
+ " <first:annotate>description of c1</first:annotate></owl:Class>\n" |
| 6046 |
+ " <owl:AnnotationProperty rdf:ID=\"annotate\" />\n" |
| 6047 |
+ "</rdf:RDF>"; |
| 6048 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/equivalentClass/premises008#\"\n" |
| 6049 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/nonconclusions008\" >\n" |
| 6050 |
+ " <owl:Ontology/>\n" |
| 6051 |
+ " <owl:Class rdf:about=\"premises008#c2\">\n" |
| 6052 |
+ " <first:annotate>description of c1</first:annotate></owl:Class>\n" |
| 6053 |
+ " <owl:AnnotationProperty rdf:about=\"premises008#annotate\" /></rdf:RDF>"; |
| 6054 |
String id = "WebOnt_equivalentClass_008_Direct"; |
| 6055 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 6056 |
String d = "A version of WebOnt-equivalentClass-008 modified for the Direct Semantics, under which annotations in the entailed ontology are ignored."; |
| 6057 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6058 |
r.setReasonerFactory(factory()); |
| 6059 |
r.run(); |
| 6060 |
} |
| 6061 |
|
| 6062 |
@Test |
| 6063 |
public void testWebOnt_equivalentClass_009() { |
| 6064 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 6065 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentClass/consistent009\" >\n" |
| 6066 |
+ " <owl:Ontology/>\n" |
| 6067 |
+ " <owl:Class rdf:nodeID=\"a\">\n" |
| 6068 |
+ " <owl:oneOf rdf:parseType=\"Collection\"><owl:Thing rdf:ID=\"A\"/></owl:oneOf>\n" |
| 6069 |
+ " <owl:equivalentClass> \n" |
| 6070 |
+ " <owl:Class rdf:nodeID=\"b\"><owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"J\"/><owl:Class rdf:ID=\"B\"/></owl:unionOf></owl:Class></owl:equivalentClass> \n" |
| 6071 |
+ " <owl:equivalentClass> \n" |
| 6072 |
+ " <owl:Class rdf:nodeID=\"c\"><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Class rdf:ID=\"K\"/><owl:Class rdf:ID=\"C\"/></owl:intersectionOf></owl:Class></owl:equivalentClass> \n" |
| 6073 |
+ " <owl:equivalentClass> \n" |
| 6074 |
+ " <owl:Class rdf:nodeID=\"d\"><owl:complementOf><owl:Class rdf:ID=\"D\"/></owl:complementOf></owl:Class></owl:equivalentClass> \n" |
| 6075 |
+ " </owl:Class>\n" + "</rdf:RDF>"; |
| 6076 |
String conclusion = ""; |
| 6077 |
String id = "WebOnt_equivalentClass_009"; |
| 6078 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 6079 |
String d = "A possible mapping of the EquivalentClasses axiom,\n" |
| 6080 |
+ "which is connected but without a Hamiltonian path."; |
| 6081 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6082 |
r.setReasonerFactory(factory()); |
| 6083 |
r.run(); |
| 6084 |
} |
| 6085 |
|
| 6086 |
@Test |
| 6087 |
public void testWebOnt_equivalentProperty_001() { |
| 6088 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/equivalentProperty/premises001#\"\n" |
| 6089 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentProperty/premises001\" >\n" |
| 6090 |
+ " <owl:Ontology/>\n" |
| 6091 |
+ " <owl:ObjectProperty rdf:ID=\"hasHead\"><owl:equivalentProperty><owl:ObjectProperty rdf:ID=\"hasLeader\"/></owl:equivalentProperty></owl:ObjectProperty>\n" |
| 6092 |
+ " <owl:Thing rdf:ID=\"X\">\n" |
| 6093 |
+ " <first:hasLeader><owl:Thing rdf:ID=\"Y\"/></first:hasLeader></owl:Thing>\n" |
| 6094 |
+ "</rdf:RDF>"; |
| 6095 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/equivalentProperty/premises001#\"\n" |
| 6096 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentProperty/conclusions001\" >\n" |
| 6097 |
+ " <owl:Ontology/>\n" |
| 6098 |
+ " <owl:Thing rdf:about=\"premises001#X\">\n" |
| 6099 |
+ " <first:hasHead><owl:Thing rdf:about=\"premises001#Y\"/></first:hasHead></owl:Thing> \n" |
| 6100 |
+ " <owl:ObjectProperty rdf:about=\"premises001#hasHead\"/></rdf:RDF>"; |
| 6101 |
String id = "WebOnt_equivalentProperty_001"; |
| 6102 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 6103 |
String d = "hasLeader may be stated to be the owl:equivalentProperty of hasHead."; |
| 6104 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6105 |
r.setReasonerFactory(factory()); |
| 6106 |
r.run(); |
| 6107 |
} |
| 6108 |
|
| 6109 |
@Test |
| 6110 |
public void testWebOnt_equivalentProperty_002() { |
| 6111 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/equivalentProperty/premises002#\"\n" |
| 6112 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentProperty/premises002\" >\n" |
| 6113 |
+ " <owl:Ontology/>\n" |
| 6114 |
+ " <owl:ObjectProperty rdf:ID=\"hasHead\"><owl:equivalentProperty><owl:ObjectProperty rdf:ID=\"hasLeader\"/></owl:equivalentProperty></owl:ObjectProperty></rdf:RDF>"; |
| 6115 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/equivalentProperty/premises002#\"\n" |
| 6116 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentProperty/conclusions002\" >\n" |
| 6117 |
+ " <owl:Ontology/>\n" |
| 6118 |
+ " <owl:ObjectProperty rdf:about=\"premises002#hasHead\"><rdfs:subPropertyOf rdf:resource=\"premises002#hasLeader\"/></owl:ObjectProperty>\n" |
| 6119 |
+ " <owl:ObjectProperty rdf:about=\"premises002#hasLeader\"><rdfs:subPropertyOf rdf:resource=\"premises002#hasHead\"/></owl:ObjectProperty></rdf:RDF>"; |
| 6120 |
String id = "WebOnt_equivalentProperty_002"; |
| 6121 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 6122 |
String d = "A reasoner can also deduce that hasLeader is a subProperty of hasHead and hasHead is a subProperty of hasLeader."; |
| 6123 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6124 |
r.setReasonerFactory(factory()); |
| 6125 |
r.run(); |
| 6126 |
} |
| 6127 |
|
| 6128 |
@Test |
| 6129 |
public void testWebOnt_equivalentProperty_003() { |
| 6130 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 6131 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentProperty/premises003\" >\n" |
| 6132 |
+ " <owl:Ontology/>\n" |
| 6133 |
+ " <owl:ObjectProperty rdf:about=\"conclusions003#hasHead\"><rdfs:subPropertyOf rdf:resource=\"conclusions003#hasLeader\"/></owl:ObjectProperty>\n" |
| 6134 |
+ " <owl:ObjectProperty rdf:about=\"conclusions003#hasLeader\"><rdfs:subPropertyOf rdf:resource=\"conclusions003#hasHead\"/></owl:ObjectProperty></rdf:RDF>"; |
| 6135 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 6136 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentProperty/conclusions003\" >\n" |
| 6137 |
+ " <owl:Ontology/>\n" |
| 6138 |
+ " <owl:ObjectProperty rdf:ID=\"hasHead\"><owl:equivalentProperty><owl:ObjectProperty rdf:ID=\"hasLeader\"/></owl:equivalentProperty></owl:ObjectProperty></rdf:RDF>"; |
| 6139 |
String id = "WebOnt_equivalentProperty_003"; |
| 6140 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 6141 |
String d = "The inverse entailment of test 002 also holds."; |
| 6142 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6143 |
r.setReasonerFactory(factory()); |
| 6144 |
r.run(); |
| 6145 |
} |
| 6146 |
|
| 6147 |
@Test |
| 6148 |
public void testWebOnt_equivalentProperty_004() { |
| 6149 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 6150 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentProperty/premises004\" >\n" |
| 6151 |
+ " <owl:Ontology/>\n" |
| 6152 |
+ " <owl:ObjectProperty rdf:ID=\"p\"><rdfs:domain rdf:resource=\"#d\"/></owl:ObjectProperty>\n" |
| 6153 |
+ " <owl:ObjectProperty rdf:ID=\"q\"><rdfs:domain rdf:resource=\"#d\"/></owl:ObjectProperty>\n" |
| 6154 |
+ " <owl:FunctionalProperty rdf:about=\"#q\"/>\n" |
| 6155 |
+ " <owl:FunctionalProperty rdf:about=\"#p\"/>\n" |
| 6156 |
+ " <owl:Thing rdf:ID=\"v\"/>\n" |
| 6157 |
+ " <owl:Class rdf:ID=\"d\">\n" |
| 6158 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#p\"/><owl:hasValue rdf:resource=\"#v\"/></owl:Restriction></owl:equivalentClass>\n" |
| 6159 |
+ " <owl:equivalentClass><owl:Restriction><owl:onProperty rdf:resource=\"#q\"/><owl:hasValue rdf:resource=\"#v\"/></owl:Restriction></owl:equivalentClass></owl:Class>\n" |
| 6160 |
+ "</rdf:RDF>"; |
| 6161 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 6162 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/equivalentProperty/conclusions004\" >\n" |
| 6163 |
+ " <owl:Ontology/>\n" |
| 6164 |
+ " <owl:ObjectProperty rdf:about=\"premises004#p\"><owl:equivalentProperty><owl:ObjectProperty rdf:about=\"premises004#q\"/></owl:equivalentProperty></owl:ObjectProperty></rdf:RDF>"; |
| 6165 |
String id = "WebOnt_equivalentProperty_004"; |
| 6166 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 6167 |
String d = "If p and q have the same property extension then p equivalentProperty q."; |
| 6168 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6169 |
r.setReasonerFactory(factory()); |
| 6170 |
r.run(); |
| 6171 |
} |
| 6172 |
|
| 6173 |
@Test |
| 6174 |
public void testWebOnt_imports_011() { |
| 6175 |
String premise = "<rdf:RDF " |
| 6176 |
+ "xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' " |
| 6177 |
+ "xmlns:rdfs='http://www.w3.org/2000/01/rdf-schema#' " |
| 6178 |
+ "xmlns:owl='http://www.w3.org/2002/07/owl#' " |
| 6179 |
+ " xml:base='http://www.w3.org/2002/03owlt/imports/premises011' >\n" |
| 6180 |
+ " <owl:Ontology rdf:about=''></owl:Ontology>\n" |
| 6181 |
+ "<owl:Class rdf:about='urn:test#Man'><rdfs:subClassOf rdf:resource='urn:test#Mortal'/></owl:Class>\n" |
| 6182 |
+ " <owl:Class rdf:about='urn:test#Mortal'/>\n" |
| 6183 |
+ " <owl:Thing rdf:about='urn:test#Socrates'><rdf:type><owl:Class rdf:about='urn:test#Man'/></rdf:type></owl:Thing></rdf:RDF>"; |
| 6184 |
String conclusion = "<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:rdfs='http://www.w3.org/2000/01/rdf-schema#' xmlns:owl='http://www.w3.org/2002/07/owl#'\n" |
| 6185 |
+ " xml:base='http://www.w3.org/2002/03owlt/imports/conclusions011' >\n" |
| 6186 |
+ " <owl:Ontology/>\n" |
| 6187 |
+ " <rdf:Description rdf:about='urn:test#Socrates'><rdf:type><owl:Class rdf:about='urn:test#Mortal'/></rdf:type></rdf:Description></rdf:RDF>"; |
| 6188 |
String id = "WebOnt_imports_011"; |
| 6189 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 6190 |
String d = "A Lite version of test <a xmlns=\"http://www.w3.org/1999/xhtml\" href=\"#imports-001\">imports-001</a>."; |
| 6191 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6192 |
r.setReasonerFactory(factory()); |
| 6193 |
r.run(); |
| 6194 |
} |
| 6195 |
|
| 6196 |
@Test |
| 6197 |
public void testWebOnt_maxCardinality_001() { |
| 6198 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/maxCardinality/inconsistent001#\"\n" |
| 6199 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/maxCardinality/inconsistent001\" >\n" |
| 6200 |
+ " <owl:Ontology/>\n" |
| 6201 |
+ " <rdf:Description rdf:about=\"inconsistent001#sb1\"><rdf:type rdf:parseType=\"Resource\"><rdf:type rdf:resource=\"http://www.w3.org/2002/07/owl#Restriction\"/><owl:maxCardinality\n" |
| 6202 |
+ " rdf:datatype=\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\">2</owl:maxCardinality><owl:onProperty rdf:resource=\"inconsistent001#prop\"/></rdf:type><first:prop rdf:resource=\"inconsistent001#ob1\"/><first:prop rdf:resource=\"inconsistent001#ob2\"/><first:prop rdf:resource=\"inconsistent001#ob3\"/></rdf:Description>\n" |
| 6203 |
+ " <rdf:Description rdf:about=\"inconsistent001#ob1\"><owl:differentFrom rdf:resource=\"inconsistent001#ob2\"/><owl:differentFrom rdf:resource=\"inconsistent001#ob3\"/></rdf:Description>\n" |
| 6204 |
+ " <rdf:Description rdf:about=\"inconsistent001#ob2\"><owl:differentFrom rdf:resource=\"inconsistent001#ob3\"/></rdf:Description>\n" |
| 6205 |
+ " <owl:ObjectProperty rdf:about=\"inconsistent001#prop\"/></rdf:RDF>"; |
| 6206 |
String conclusion = ""; |
| 6207 |
String id = "WebOnt_maxCardinality_001"; |
| 6208 |
TestClasses tc = TestClasses.valueOf("INCONSISTENCY"); |
| 6209 |
String d = "A property with maximum cardinality of two cannot take\n" |
| 6210 |
+ "three distinct values on some subject node."; |
| 6211 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6212 |
r.setReasonerFactory(factory()); |
| 6213 |
r.run(); |
| 6214 |
} |
| 6215 |
|
| 6216 |
@Test |
| 6217 |
public void testWebOnt_miscellaneous_102() { |
| 6218 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/miscellaneous/consistent102#\"\n" |
| 6219 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/miscellaneous/consistent102\" >\n" |
| 6220 |
+ " <owl:Ontology/>\n" |
| 6221 |
+ " <owl:Thing rdf:ID=\"i\">\n" |
| 6222 |
+ " <rdf:type><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:ID=\"p\"/></owl:onProperty><owl:allValuesFrom><owl:Class rdf:ID=\"a\"/></owl:allValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#p\"/></owl:onProperty><owl:someValuesFrom><owl:Class rdf:ID=\"s\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></rdf:type></owl:Thing>\n" |
| 6223 |
+ "</rdf:RDF>"; |
| 6224 |
String conclusion = ""; |
| 6225 |
String id = "WebOnt_miscellaneous_102"; |
| 6226 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 6227 |
String d = "Abstract syntax restrictions with multiple components\n" |
| 6228 |
+ "are in OWL DL."; |
| 6229 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6230 |
r.setReasonerFactory(factory()); |
| 6231 |
r.run(); |
| 6232 |
} |
| 6233 |
|
| 6234 |
@Test |
| 6235 |
public void testWebOnt_miscellaneous_103() { |
| 6236 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/miscellaneous/consistent103#\"\n" |
| 6237 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/miscellaneous/consistent103\" >\n" |
| 6238 |
+ " <owl:Ontology/>\n" |
| 6239 |
+ " <owl:Thing rdf:ID=\"i\">\n" |
| 6240 |
+ " <rdf:type><owl:Class><owl:intersectionOf rdf:parseType=\"Collection\"><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:ID=\"p\"/></owl:onProperty><owl:allValuesFrom><owl:Class rdf:ID=\"a\"/></owl:allValuesFrom></owl:Restriction><owl:Restriction><owl:onProperty><owl:ObjectProperty rdf:about=\"#q\"/></owl:onProperty><owl:someValuesFrom><owl:Class rdf:ID=\"s\"/></owl:someValuesFrom></owl:Restriction></owl:intersectionOf></owl:Class></rdf:type></owl:Thing>\n" |
| 6241 |
+ "</rdf:RDF>"; |
| 6242 |
String conclusion = ""; |
| 6243 |
String id = "WebOnt_miscellaneous_103"; |
| 6244 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 6245 |
String d = "This description cannot be expressed as a multicomponent restriction\n" |
| 6246 |
+ "in the OWL 1 abstract syntax."; |
| 6247 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6248 |
r.setReasonerFactory(factory()); |
| 6249 |
r.run(); |
| 6250 |
} |
| 6251 |
|
| 6252 |
@Test |
| 6253 |
public void testWebOnt_miscellaneous_302_Direct() { |
| 6254 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/miscellaneous/premises302#\"\n" |
| 6255 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/miscellaneous/premises302\" >\n" |
| 6256 |
+ "<owl:Ontology/>\n" |
| 6257 |
+ "<owl:AnnotationProperty rdf:ID=\"prop\" />\n" |
| 6258 |
+ "<owl:Thing rdf:about=\"#a\">\n" |
| 6259 |
+ " <first:prop>foo</first:prop></owl:Thing>\n" |
| 6260 |
+ "</rdf:RDF>"; |
| 6261 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/miscellaneous/premises302#\"\n" |
| 6262 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/miscellaneous/nonconclusions302\" >\n" |
| 6263 |
+ "<owl:Ontology/>\n" |
| 6264 |
+ "<owl:AnnotationProperty rdf:about=\"premises302#prop\" />\n" |
| 6265 |
+ "<owl:Thing rdf:about=\"premises302#a\">\n" |
| 6266 |
+ " <first:prop>bar</first:prop>\n" |
| 6267 |
+ "</owl:Thing>\n" |
| 6268 |
+ "</rdf:RDF>"; |
| 6269 |
String id = "WebOnt_miscellaneous_302_Direct"; |
| 6270 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 6271 |
String d = "A version of WebOnt-miscellaneous-302 applicable under the Direct Semantics, in which the annotation in the entailed ontology is not considered."; |
| 6272 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6273 |
r.setReasonerFactory(factory()); |
| 6274 |
r.run(); |
| 6275 |
} |
| 6276 |
|
| 6277 |
@Test |
| 6278 |
public void testWebOnt_miscellaneous_303() { |
| 6279 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 6280 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/miscellaneous/consistent303\" >\n" |
| 6281 |
+ " <owl:Ontology/>\n" |
| 6282 |
+ " <owl:AnnotationProperty rdf:about='http://purl.org/dc/elements/1.0/creator'/></rdf:RDF>"; |
| 6283 |
String conclusion = ""; |
| 6284 |
String id = "WebOnt_miscellaneous_303"; |
| 6285 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 6286 |
String d = "dc:creator may be declared as an annotation property."; |
| 6287 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6288 |
r.setReasonerFactory(factory()); |
| 6289 |
r.run(); |
| 6290 |
} |
| 6291 |
|
| 6292 |
@Test |
| 6293 |
public void testWebOnt_oneOf_001() { |
| 6294 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/oneOf/consistent001#\"\n" |
| 6295 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/oneOf/consistent001\" >\n" |
| 6296 |
+ " <owl:Ontology/>\n" |
| 6297 |
+ " <owl:Class><owl:oneOf rdf:parseType=\"Collection\"><rdf:Description rdf:ID=\"amy\"/><rdf:Description rdf:ID=\"bob\"/><rdf:Description rdf:ID=\"caroline\"/></owl:oneOf><owl:equivalentClass><owl:Class><owl:oneOf rdf:parseType=\"Collection\"><rdf:Description rdf:ID=\"yolanda\"/><rdf:Description rdf:ID=\"zebedee\"/></owl:oneOf></owl:Class></owl:equivalentClass></owl:Class></rdf:RDF>"; |
| 6298 |
String conclusion = ""; |
| 6299 |
String id = "WebOnt_oneOf_001"; |
| 6300 |
TestClasses tc = TestClasses.valueOf("CONSISTENCY"); |
| 6301 |
String d = "oneOf <em>does not</em> indicate that the named\n" |
| 6302 |
+ "individuals are distinct. Thus a consistent interpretation\n" |
| 6303 |
+ "of this file is when all the individual names denote the\n" |
| 6304 |
+ "same individual."; |
| 6305 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6306 |
r.setReasonerFactory(factory()); |
| 6307 |
r.run(); |
| 6308 |
} |
| 6309 |
|
| 6310 |
@Test |
| 6311 |
public void testWebOnt_sameAs_001() { |
| 6312 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/sameAs/premises001#\"\n" |
| 6313 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/sameAs/premises001\" >\n" |
| 6314 |
+ " <owl:Ontology/>\n" |
| 6315 |
+ " <owl:Class rdf:ID=\"c1\">\n" |
| 6316 |
+ " <owl:sameAs>\n" |
| 6317 |
+ " <owl:Class rdf:ID=\"c2\"/></owl:sameAs>\n" |
| 6318 |
+ " <first:annotate>description of c1</first:annotate></owl:Class>\n" |
| 6319 |
+ " <owl:AnnotationProperty rdf:ID=\"annotate\" />\n" |
| 6320 |
+ "</rdf:RDF>"; |
| 6321 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/sameAs/premises001#\"\n" |
| 6322 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/sameAs/conclusions001\" >\n" |
| 6323 |
+ " <owl:Ontology/>\n" |
| 6324 |
+ " <owl:Class rdf:about=\"premises001#c2\">\n" |
| 6325 |
+ " <first:annotate>description of c1</first:annotate></owl:Class>\n" |
| 6326 |
+ " <owl:AnnotationProperty rdf:about=\"premises001#annotate\" /></rdf:RDF>"; |
| 6327 |
String id = "WebOnt_sameAs_001"; |
| 6328 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 6329 |
String d = "Annotation properties refer to a class instance. sameAs, in OWL Full, also refers to the class instance."; |
| 6330 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6331 |
r.setReasonerFactory(factory()); |
| 6332 |
r.run(); |
| 6333 |
} |
| 6334 |
|
| 6335 |
@Test |
| 6336 |
public void testWebOnt_unionOf_003() { |
| 6337 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 6338 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/unionOf/premises003\" >\n" |
| 6339 |
+ " <owl:Ontology/>\n" |
| 6340 |
+ " <owl:Class rdf:ID=\"A\">\n" |
| 6341 |
+ " <owl:oneOf rdf:parseType=\"Collection\"><owl:Thing rdf:ID=\"a\"/></owl:oneOf></owl:Class>\n" |
| 6342 |
+ " <owl:Class rdf:ID=\"B\">\n" |
| 6343 |
+ " <owl:oneOf rdf:parseType=\"Collection\"><owl:Thing rdf:ID=\"b\"/></owl:oneOf></owl:Class>\n" |
| 6344 |
+ " <owl:Class rdf:ID=\"A-and-B\">\n" |
| 6345 |
+ " <owl:oneOf rdf:parseType=\"Collection\"><owl:Thing rdf:about=\"#a\"/><owl:Thing rdf:about=\"#b\"/></owl:oneOf></owl:Class>\n" |
| 6346 |
+ "</rdf:RDF>"; |
| 6347 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\"\n" |
| 6348 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/unionOf/conclusions003\" >\n" |
| 6349 |
+ " <owl:Ontology/>\n" |
| 6350 |
+ " <owl:Class rdf:about=\"premises003#A-and-B\">\n" |
| 6351 |
+ " <owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"premises003#A\"/><owl:Class rdf:about=\"premises003#B\"/></owl:unionOf></owl:Class>\n" |
| 6352 |
+ "</rdf:RDF>"; |
| 6353 |
String id = "WebOnt_unionOf_003"; |
| 6354 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 6355 |
String d = "Sets with appropriate extensions are related by unionOf."; |
| 6356 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6357 |
r.setReasonerFactory(factory()); |
| 6358 |
r.run(); |
| 6359 |
} |
| 6360 |
|
| 6361 |
@Test |
| 6362 |
public void testWebOnt_unionOf_004() { |
| 6363 |
String premise = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/unionOf/premises004#\" xmlns:second=\"http://www.w3.org/2002/03owlt/unionOf/conclusions004#\"\n" |
| 6364 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/unionOf/premises004\" >\n" |
| 6365 |
+ " <owl:Ontology/>\n" |
| 6366 |
+ " <owl:Class rdf:about=\"#A-and-B\">\n" |
| 6367 |
+ " <owl:unionOf rdf:parseType=\"Collection\"><owl:Class rdf:about=\"#A\"/><owl:Class rdf:about=\"#B\"/></owl:unionOf></owl:Class>\n" |
| 6368 |
+ " <owl:Class rdf:ID=\"A\">\n" |
| 6369 |
+ " <owl:oneOf rdf:parseType=\"Collection\"><owl:Thing rdf:ID=\"a\"/></owl:oneOf></owl:Class>\n" |
| 6370 |
+ " <owl:Class rdf:ID=\"B\">\n" |
| 6371 |
+ " <owl:oneOf rdf:parseType=\"Collection\"><owl:Thing rdf:ID=\"b\"/></owl:oneOf></owl:Class>\n" |
| 6372 |
+ "</rdf:RDF>"; |
| 6373 |
String conclusion = "<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:first=\"http://www.w3.org/2002/03owlt/unionOf/premises004#\" xmlns:second=\"http://www.w3.org/2002/03owlt/unionOf/conclusions004#\"\n" |
| 6374 |
+ " xml:base=\"http://www.w3.org/2002/03owlt/unionOf/conclusions004\" >\n" |
| 6375 |
+ " <owl:Ontology/>\n" |
| 6376 |
+ " <owl:Class rdf:about=\"premises004#A-and-B\">\n" |
| 6377 |
+ " <owl:oneOf rdf:parseType=\"Collection\"><owl:Thing rdf:about=\"premises004#a\"/><owl:Thing rdf:about=\"premises004#b\"/></owl:oneOf></owl:Class>\n" |
| 6378 |
+ "</rdf:RDF>"; |
| 6379 |
String id = "WebOnt_unionOf_004"; |
| 6380 |
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL"); |
| 6381 |
String d = "An inverse to test <a xmlns=\"http://www.w3.org/1999/xhtml\" href=\"#unionOf-003\">003</a>."; |
| 6382 |
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d); |
| 6383 |
r.setReasonerFactory(factory()); |
| 6384 |
r.run(); |
| 6385 |
} |
| 6386 |
} |