package conformancetests;
/* This file is part of the JFact DL reasoner
Copyright 2011-2013 by Ignazio Palmisano, Dmitry Tsarkov, University of Manchester
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA*/
import org.junit.Test;
import testbase.TestBase;
@SuppressWarnings("javadoc")
public class RDFBasedTestCase extends TestBase {
@Test
@Changed
public void testrdfbased_sem_bool_complement_inst() {
String premise = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "";
String id = "rdfbased_sem_bool_complement_inst";
TestClasses tc = TestClasses.valueOf("INCONSISTENCY");
String d = "An individual cannot be an instance of both a class and its complement.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_bool_intersection_inst_expr() {
String premise = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_bool_intersection_inst_expr";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "An individual, which is an instance of an intersection class expression of two classes, is an instance of every component class.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_chain_def() {
String premise = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_chain_def";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "For a sub property chain axiom with super property p and chain properties p1 and p2, from x p1 y and y p2 z follows x p z.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_char_asymmetric_inst() {
String premise = "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "";
String id = "rdfbased_sem_char_asymmetric_inst";
TestClasses tc = TestClasses.valueOf("INCONSISTENCY");
String d = "For a triple having an asymmetrical property as its predicate, the reverse triple must not exist.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_char_asymmetric_term() {
String premise = "\n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "";
String id = "rdfbased_sem_char_asymmetric_term";
TestClasses tc = TestClasses.valueOf("INCONSISTENCY");
String d = "A non-empty property cannot be both symmetrical and asymmetrical.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_char_inversefunc_inst() {
String premise = "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_char_inversefunc_inst";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "For two triples with the same inverse functional property as their predicates and with the same object, the subjects are the same.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_char_irreflexive_inst() {
String premise = "\n"
+ "\n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "";
String id = "rdfbased_sem_char_irreflexive_inst";
TestClasses tc = TestClasses.valueOf("INCONSISTENCY");
String d = "For an irreflexive property, there must not exist any reflexive triple.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_char_symmetric_inst() {
String premise = "\n"
+ "\n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "\n"
+ "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_char_symmetric_inst";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "For a triple having a symmetrical property as its predicate, the reverse triple also exists.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_char_transitive_inst() {
String premise = "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "\n"
+ "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_char_transitive_inst";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "For two chained triples having the same transitive property as their predicate, the transitive result triple also exists.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_class_nothing_ext() {
String premise = "\n"
+ " ";
String conclusion = "";
String id = "rdfbased_sem_class_nothing_ext";
TestClasses tc = TestClasses.valueOf("INCONSISTENCY");
String d = "The extension of the vocabulary class owl:Nothing is empty.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_class_nothing_term() {
String premise = "\n"
+ " ";
String conclusion = "\n"
+ " \n"
+ " \n"
+ " ";
String id = "rdfbased_sem_class_nothing_term";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Every OWL class is a super class of the vocabulary class owl:Nothing.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_class_nothing_type() {
String premise = "";
String conclusion = "\n"
+ " ";
String id = "rdfbased_sem_class_nothing_type";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The type of the vocabulary class owl:Nothing is the class of OWL classes.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_class_thing_term() {
String premise = "\n"
+ " ";
String conclusion = "\n"
+ "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_class_thing_term";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Every OWL class is a sub class of the vocabulary class owl:Thing.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_class_thing_type() {
String premise = "";
String conclusion = "\n"
+ " ";
String id = "rdfbased_sem_class_thing_type";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The type of the vocabulary class owl:Thing is the class of OWL classes.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_eqdis_different_sameas() {
String premise = "\n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "";
String id = "rdfbased_sem_eqdis_different_sameas";
TestClasses tc = TestClasses.valueOf("INCONSISTENCY");
String d = "Two individuals cannot both be the same and different.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_eqdis_disclass_eqclass() {
String premise = "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "";
String id = "rdfbased_sem_eqdis_disclass_eqclass";
TestClasses tc = TestClasses.valueOf("INCONSISTENCY");
String d = "Two non-empty classes cannot both be equivalent and disjoint.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_eqdis_disclass_inst() {
String premise = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "";
String id = "rdfbased_sem_eqdis_disclass_inst";
TestClasses tc = TestClasses.valueOf("INCONSISTENCY");
String d = "Individuals being instances of disjoint classes are different from each other.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_eqdis_eqclass_inst() {
String premise = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ "";
String id = "rdfbased_sem_eqdis_eqclass_inst";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "For two equivalent classes, any instance of one class is also an instance of the other class, and vice versa.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_eqdis_eqclass_rflxv() {
String premise = "\n"
+ " ";
String conclusion = "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_eqdis_eqclass_rflxv";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Equivalence of two classes is reflexive.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_eqdis_eqclass_subclass_2() {
String premise = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_eqdis_eqclass_subclass_2";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Two classes that are sub classes of each other are equivalent classes.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_eqdis_eqclass_subst() {
String premise = "\n"
+ "\n"
+ "\n"
+ " \n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "\n"
+ "\n"
+ "\n"
+ " \n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String id = "rdfbased_sem_eqdis_eqclass_subst";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Equivalence of two classes allows for substituting one class for the other in a sub class axiom.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_eqdis_eqclass_sym() {
String premise = "\n"
+ " \n"
+ " ";
String conclusion = "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_eqdis_eqclass_sym";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Equivalence of two classes is symmetrical.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_eqdis_eqclass_trans() {
String premise = "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_eqdis_eqclass_trans";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Equivalence of two classes is transitive.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_eqdis_eqprop_inst() {
String premise = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String id = "rdfbased_sem_eqdis_eqprop_inst";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "For two equivalent properties and any triple having one property as its predicate, the corresponding triple having the other property as its predicate also exists, and vice versa.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_eqdis_eqprop_rflxv() {
String premise = "\n"
+ " \n"
+ " ";
String conclusion = "\n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String id = "rdfbased_sem_eqdis_eqprop_rflxv";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Equivalence of two properties is reflexive.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_eqdis_eqprop_subprop_1() {
String premise = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " ";
String conclusion = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String id = "rdfbased_sem_eqdis_eqprop_subprop_1";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Two equivalent properties are sub properties of each other.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_eqdis_eqprop_subprop_2() {
String premise = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_eqdis_eqprop_subprop_2";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Two properties that are sub properties of each other are equivalent properties.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_eqdis_eqprop_subst() {
String premise = "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "\n"
+ "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String id = "rdfbased_sem_eqdis_eqprop_subst";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Equivalence of two properties allows for substituting one property for the other in a sub property axiom.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_eqdis_eqprop_sym() {
String premise = "\n"
+ " \n"
+ " ";
String conclusion = "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_eqdis_eqprop_sym";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Equivalence of two properties is symmetrical.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_eqdis_eqprop_trans() {
String premise = "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_eqdis_eqprop_trans";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Equivalence of two properties is transitive.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_eqdis_sameas_rflxv() {
String premise = "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String id = "rdfbased_sem_eqdis_sameas_rflxv";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Equality of two individuals is reflexive.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_inv_inst() {
String premise = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String id = "rdfbased_sem_inv_inst";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The subject and object of a triple are reversed by an inverse property.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_ndis_alldifferent_fw() {
String premise = "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "";
String id = "rdfbased_sem_ndis_alldifferent_fw";
TestClasses tc = TestClasses.valueOf("INCONSISTENCY");
String d = "All the members of an owl:AllDifferent construct are mutually different individuals.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_ndis_alldifferent_fw_distinctmembers() {
String premise = "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "";
String id = "rdfbased_sem_ndis_alldifferent_fw_distinctmembers";
TestClasses tc = TestClasses.valueOf("INCONSISTENCY");
String d = "All the members of an owl:AllDifferent construct are mutually different from each other. This test applies the legacy property owl:distinctMembers.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_ndis_alldisjointclasses_fw() {
String premise = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "";
String id = "rdfbased_sem_ndis_alldisjointclasses_fw";
TestClasses tc = TestClasses.valueOf("INCONSISTENCY");
String d = "All the members of an owl:AllDisjointClasses construct are mutually disjoint classes.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_prop_backwardcompatiblewith_type_annot() {
String premise = "";
String conclusion = "\n"
+ " ";
String id = "rdfbased_sem_prop_backwardcompatiblewith_type_annot";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The type of the vocabulary property owl:backwardCompatibleWith is the class of annotation properties.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_prop_comment_type() {
String premise = "";
String conclusion = "\n"
+ " ";
String id = "rdfbased_sem_prop_comment_type";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The type of the vocabulary property rdfs:comment is the class of annotation properties.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_prop_deprecated_type() {
String premise = "";
String conclusion = "\n"
+ " ";
String id = "rdfbased_sem_prop_deprecated_type";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The type of the vocabulary property owl:deprecated is the class of annotation properties.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_prop_incompatiblewith_type_annot() {
String premise = "";
String conclusion = "\n"
+ " ";
String id = "rdfbased_sem_prop_incompatiblewith_type_annot";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The type of the vocabulary property owl:incompatibleWith is the class of annotation properties.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_prop_isdefinedby_type() {
String premise = "";
String conclusion = "\n"
+ " ";
String id = "rdfbased_sem_prop_isdefinedby_type";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The type of the vocabulary property rdfs:isDefinedBy is the class of annotation properties.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_prop_label_type() {
String premise = "";
String conclusion = "\n"
+ " ";
String id = "rdfbased_sem_prop_label_type";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The type of the vocabulary property rdfs:label is the class of annotation properties.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_prop_priorversion_type_annot() {
String premise = "";
String conclusion = "\n"
+ " ";
String id = "rdfbased_sem_prop_priorversion_type_annot";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The type of the vocabulary property owl:priorVersion is the class of annotation properties.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_prop_seealso_type() {
String premise = "";
String conclusion = "\n"
+ " ";
String id = "rdfbased_sem_prop_seealso_type";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The type of the vocabulary property rdfs:seeAlso is the class of annotation properties.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
public void testrdfbased_sem_prop_versioninfo_type() {
String premise = "";
String conclusion = "\n"
+ " ";
String id = "rdfbased_sem_prop_versioninfo_type";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The type of the vocabulary property owl:versionInfo is the class of annotation properties.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_rdfs_subclass_cond() {
String premise = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "\n"
+ "\n"
+ "\n"
+ " \n"
+ "";
String id = "rdfbased_sem_rdfs_subclass_cond";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The extensions of two classes related by rdfs:subClassOf are in a subsumption relationship.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_rdfs_subclass_trans() {
String premise = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_rdfs_subclass_trans";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The property rdfs:subClassOf is transitive.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_rdfs_subprop_cond() {
String premise = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " ";
String conclusion = "\n"
+ "\n"
+ "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_rdfs_subprop_cond";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The extensions of two properties related by rdfs:subPropertyOf are in a subsumption relationship.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_rdfs_subprop_trans() {
String premise = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_rdfs_subprop_trans";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "The property rdfs:subPropertyOf is transitive.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_rdfsext_domain_subprop() {
String premise = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_rdfsext_domain_subprop";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Every sub property of a given property with a given domain also has this domain.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_rdfsext_domain_superclass() {
String premise = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_rdfsext_domain_superclass";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Every super class of a domain for a given property is itself a domain for that property.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_rdfsext_range_subprop() {
String premise = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_rdfsext_range_subprop";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Every sub property of a given property with a given range also has this range.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
@Test
@Changed
public void testrdfbased_sem_rdfsext_range_superclass() {
String premise = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " \n"
+ " \n"
+ " \n"
+ "";
String conclusion = "\n"
+ "\n"
+ "\n"
+ "\n"
+ " \n"
+ " ";
String id = "rdfbased_sem_rdfsext_range_superclass";
TestClasses tc = TestClasses.valueOf("POSITIVE_IMPL");
String d = "Every super class of a range for a given property is itself a range for that property.";
JUnitRunner r = new JUnitRunner(premise, conclusion, id, tc, d);
r.setReasonerFactory(factory());
r.run();
}
}