Examples of PelletReasoner


Examples of org.mindswap.pellet.jena.PelletReasoner

    PelletOptions.USE_ANNOTATION_SUPPORT = false;

    try {
      String aOnt = "file:" + PelletTestSuite.base + "misc/ticket-247-test-case.rdf";
 
      PelletReasoner aReasoner = (PelletReasoner) PelletReasonerFactory.theInstance().create();
 
      InfModel aModel = ModelFactory.createInfModel( aReasoner, ModelFactory.createDefaultModel() );
 
      aModel.read( aOnt );
 
View Full Code Here

Examples of org.mindswap.pellet.jena.PelletReasoner

  @Test
  public void testUndefinedVarInProjection() {
    // Test case for the bug reproted in #277
    String aOnt = "file:" + PelletTestSuite.base + "misc/ticket-277-test-case.rdf";

    PelletReasoner aReasoner = (PelletReasoner) PelletReasonerFactory.theInstance().create();

    InfModel aModel = ModelFactory.createInfModel( aReasoner, ModelFactory.createDefaultModel() );

    aModel.read( aOnt );
View Full Code Here

Examples of org.mindswap.pellet.jena.PelletReasoner

      PelletOptions.USE_ANNOTATION_SUPPORT = b;
     
      String aOnt = "file:" + PelletTestSuite.base + "misc/ticket-276-test-case.rdf";

      // Test case for #276
      PelletReasoner aReasoner = (PelletReasoner) PelletReasonerFactory.theInstance().create();

      InfModel aModel = ModelFactory.createInfModel( aReasoner, ModelFactory.createDefaultModel() );

      aModel.read( aOnt );
View Full Code Here

Examples of org.mindswap.pellet.jena.PelletReasoner

  @Test
  public void test248() {
    // Test case for #248
    String aOnt = "file:" + PelletTestSuite.base + "misc/pizza.owl";

    PelletReasoner aReasoner = (PelletReasoner) PelletReasonerFactory.theInstance().create();

    InfModel aModel = ModelFactory.createInfModel( aReasoner, ModelFactory.createDefaultModel() );

    aModel.read( aOnt );
View Full Code Here

Examples of org.mindswap.pellet.jena.PelletReasoner

  @Test
  public void test196() {
    // Test case for #196
    String aOnt = "file:" + PelletTestSuite.base + "misc/pizza.owl";

    PelletReasoner aReasoner = (PelletReasoner) PelletReasonerFactory.theInstance().create();

    InfModel aModel = ModelFactory.createInfModel( aReasoner, ModelFactory.createDefaultModel() );

    aModel.read( aOnt );
View Full Code Here

Examples of org.mindswap.pellet.jena.PelletReasoner

      "ontology for this test is not valid anymore")
  @Test
  public void test306() {
    String aOnt = "file:" + PelletTestSuite.base + "misc/longitude.ttl";
   
    PelletReasoner aReasoner = (PelletReasoner) PelletReasonerFactory.theInstance().create();
    InfModel aModel = ModelFactory.createInfModel( aReasoner, ModelFactory.createDefaultModel() );

    aModel.read( aOnt, "N3" );
    String aQuery = "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\n"
        + "PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>\n"
View Full Code Here

Examples of org.mindswap.pellet.jena.PelletReasoner

 
  @Test
  public void test253() {
    String aOnt = "file:" + PelletTestSuite.base + "misc/longitude2.ttl";
   
    PelletReasoner aReasoner = (PelletReasoner) PelletReasonerFactory.theInstance().create();
    InfModel aModel = ModelFactory.createInfModel( aReasoner, ModelFactory.createDefaultModel() );

    aModel.read( aOnt, "N3" );
    String aQuery = "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\n"
        + "PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>\n"
View Full Code Here

Examples of org.mindswap.pellet.jena.PelletReasoner

    try {
      ARQ.getContext().set(ARQ.optFilterPlacement, false);
     
      String aOnt = "file:" + PelletTestSuite.base + "misc/ticket-210-test-case.owl";
     
      PelletReasoner aReasoner = (PelletReasoner) PelletReasonerFactory.theInstance().create();
      InfModel aModel = ModelFactory.createInfModel( aReasoner, ModelFactory.createDefaultModel() );
 
      aModel.read(aOnt);
      String aQuery = "PREFIX : <http://www.semanticweb.org/ontologies/2010/5/ticket-210-test-case.owl#>\n"   
        + "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\n"
View Full Code Here

Examples of org.mindswap.pellet.jena.PelletReasoner

 
  @Test
  public void test421() {
    String aOnt = "file:" + PelletTestSuite.base + "misc/ticket-421-test-case.owl";
   
    PelletReasoner aReasoner = (PelletReasoner) PelletReasonerFactory.theInstance().create();
    InfModel aModel = ModelFactory.createInfModel( aReasoner, ModelFactory.createDefaultModel() );

    aModel.read(aOnt);
    String aQuery = "PREFIX : <http://www.semanticweb.org/ontologies/2010/5/ticket-421-test-case.owl#>\n"   
      + "PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>\n"
View Full Code Here

Examples of org.mindswap.pellet.jena.PelletReasoner

 
  @Test
  public void test444() {
    String aOnt = "file:" + PelletTestSuite.base + "misc/ticket-444-test-case.owl";
   
    PelletReasoner aReasoner = (PelletReasoner) PelletReasonerFactory.theInstance().create();
    InfModel aModel = ModelFactory.createInfModel( aReasoner, ModelFactory.createDefaultModel() );

    aModel.read(aOnt);
    String aQuery = "PREFIX : <http://www.semanticweb.org/ontologies/2010/5/ticket-444-test-case.owl#>\n"   
      + "PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>\n"
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.