Strabon

changeset 724:899ceaf16b7e temporals

minors
author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
date Thu Nov 22 12:53:19 2012 +0200 (2012-11-22)
parents 4caf7b892022
children 82d8a959acd3
files generaldb/src/main/java/org/openrdf/sail/generaldb/evaluation/GeneralDBEvaluation.java generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBSelectQueryOptimizer.java generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBValueJoinOptimizer.java
line diff
     1.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/evaluation/GeneralDBEvaluation.java	Thu Nov 22 12:45:06 2012 +0200
     1.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/evaluation/GeneralDBEvaluation.java	Thu Nov 22 12:53:19 2012 +0200
     1.3 @@ -248,10 +248,14 @@
     1.4  
     1.5  		// get the function corresponding to the function call
     1.6  		Function function = FunctionRegistry.getInstance().get(fc.getURI());
     1.7 +		if(fc.getURI().equalsIgnoreCase("http://strdf.di.uoa.gr/ontology#afterPeriod"))
     1.8 +		{
     1.9 +			function = FunctionRegistry.getInstance().get("http://strdf.di.uoa.gr/ontology#afterPeriod");
    1.10 +		}
    1.11  		
    1.12  		// get the first argument of the function call
    1.13  		ValueExpr left = fc.getArgs().get(0);
    1.14 -
    1.15 +System.out.println("Function RI= "+fc.getURI());
    1.16  		// evaluated first argument of function
    1.17  		Value leftResult = null;
    1.18  		
     2.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBSelectQueryOptimizer.java	Thu Nov 22 12:45:06 2012 +0200
     2.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBSelectQueryOptimizer.java	Thu Nov 22 12:53:19 2012 +0200
     2.3 @@ -114,6 +114,8 @@
     2.4   * Rewrites the core algebra model with a relation optimised model, using SQL.
     2.5   * 
     2.6   * @author James Leigh
     2.7 + * @author Manos Karpathiotakis <mk@di.uoa.gr>
     2.8 + * @author Konstantina Bereta   <Konstantina.Bereta@di.uoa.gr>
     2.9   * 
    2.10   */
    2.11  public class GeneralDBSelectQueryOptimizer extends GeneralDBQueryModelVisitorBase<RuntimeException> 
     3.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBValueJoinOptimizer.java	Thu Nov 22 12:45:06 2012 +0200
     3.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBValueJoinOptimizer.java	Thu Nov 22 12:53:19 2012 +0200
     3.3 @@ -43,6 +43,8 @@
     3.4   * Adds LEFT JOINs to the query for value tables.
     3.5   * 
     3.6   * @author James Leigh
     3.7 + * @author Manos Karpathiotakis <mk@di.uoa.gr>
     3.8 + * @author Konstantina Bereta   <Konstantina.Bereta@di.uoa.gr>
     3.9   * 
    3.10   */
    3.11  public class GeneralDBValueJoinOptimizer extends GeneralDBQueryModelVisitorBase<RuntimeException> implements