Package org.openrdf.sail.inferencer.fc

Examples of org.openrdf.sail.inferencer.fc.DirectTypeHierarchyInferencer$DirectTypeHierarchyInferencerConnection


  {
    if (!SAIL_TYPE.equals(config.getType())) {
      throw new StoreConfigException("Invalid Sail type: " + config.getType());
    }

    return new DirectTypeHierarchyInferencer();
  }
View Full Code Here


    else if ("RDFS".equals(entailment)) {
      sail = new ForwardChainingRDFSInferencer(sail);
    }
    else if ("RDFS-VP".equals(entailment)) {
      sail = new ForwardChainingRDFSInferencer(sail);
      sail = new DirectTypeHierarchyInferencer(sail);
    }
    else {
      fail("Invalid value for entailment level:" + entailment);
    }
    return sail;
View Full Code Here

  {
    if (!SAIL_TYPE.equals(config.getType())) {
      throw new SailConfigException("Invalid Sail type: " + config.getType());
    }

    return new DirectTypeHierarchyInferencer();
  }
View Full Code Here

    else if ("RDFS".equals(entailment)) {
      sail = new ForwardChainingRDFSInferencer(sail);
    }
    else if ("RDFS-VP".equals(entailment)) {
      sail = new ForwardChainingRDFSInferencer(sail);
      sail = new DirectTypeHierarchyInferencer(sail);
    }
    else {
      sail.shutDown();
      fail("Invalid value for entailment level:" + entailment);
    }
View Full Code Here

 
  protected RepositoryConnection initFromSail(Sail sailStack, boolean inferencing) {
    if (inferencing) {
      if(sailStack instanceof NotifyingSail) {
        sailStack = new ForwardChainingRDFSInferencer((NotifyingSail) sailStack);
        sailStack = new DirectTypeHierarchyInferencer((NotifyingSail) sailStack);
      } else {
        throw new RuntimeException("Cannot create inferencing: Incompatible Sail type.");
      }
    }
View Full Code Here

TOP

Related Classes of org.openrdf.sail.inferencer.fc.DirectTypeHierarchyInferencer$DirectTypeHierarchyInferencerConnection

Copyright © 2018 www.massapicom. 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.