Package lupos.engine.evaluators

Examples of lupos.engine.evaluators.RDF3XQueryEvaluator


      }
     
      TestRDF3XEngine.dir = args[0];
 
      // set up parameters of evaluator and initialize the evaluator...
      final RDF3XQueryEvaluator evaluator = new RDF3XQueryEvaluator();
      evaluator.loadLargeScaleIndices(dir);
     
      TestRDF3XEngine.test(evaluator);
     
    } catch (final Exception e) {
      System.err.println(e);
View Full Code Here


    serviceApproach.setup();
    FederatedQueryBitVectorJoin.substringSize = xpref.datatypes.IntegerDatatype.getFirstValue("serviceCallBitVectorSize");
    FederatedQueryBitVectorJoinNonStandardSPARQL.bitvectorSize = FederatedQueryBitVectorJoin.substringSize;
    LiteralFactory.semanticInterpretationOfLiterals = xpref.datatypes.BooleanDatatype.getFirstValue("semanticInterpretationOfDatatypes");

    final RDF3XQueryEvaluator evaluator = new RDF3XQueryEvaluator();
    try {
      evaluator.loadLargeScaleIndices(this.fc.getSelectedFile().getCanonicalPath());
    } catch(final Exception e){
      this.displayDataErrorMessage(e.getMessage(), false);
    }
    return evaluator;
  }
View Full Code Here

    }
  }

  public static BasicIndexQueryEvaluator createQueryEvaluator(final String directory){
    try {
      final RDF3XQueryEvaluator evaluator = new RDF3XQueryEvaluator();
      evaluator.loadLargeScaleIndices(directory);
      defaultBindingsClass = Bindings.instanceClass;
      return evaluator;
    } catch (final Exception e) {
      System.err.println(e);
      e.printStackTrace();
View Full Code Here

   * @param directoryOfIndices the directory, in which the indices have been constructed
   * @throws Exception
   */
  public BasicIndexRuleEvaluator(final String directoryOfIndices) throws Exception{
    super();
    final RDF3XQueryEvaluator rdf3xEvaluator = new RDF3XQueryEvaluator();
    rdf3xEvaluator.loadLargeScaleIndices(directoryOfIndices);
    this.evaluator = rdf3xEvaluator;
  }
View Full Code Here

TOP

Related Classes of lupos.engine.evaluators.RDF3XQueryEvaluator

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.