Strabon

changeset 1459:0825ee10ae10 temporals

changed the tests of the temporal relation functions in order to be compliant with the
way the spatial tests are organized by grouping the functions.
Also, since the bug with the time zones has not been solved, I removed the time zone
information from the test dataset. Finally, I added the results for some of the queries
which had empty results in the .srx file.
author Stella Giannakopoulou <sgian@di.uoa.gr>
date Thu Jan 22 13:24:43 2015 +0200 (2015-01-22)
parents c349f282f45f
children 5430aaf445b1
files testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalConstants.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationAdjacent.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationAfter.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationBefore.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationDuring.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationEqualsPeriod.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationOverright.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationsTest.java testsuite/src/test/resources/stSPARQL/TemporalConstants/CheckStoredUC.rq testsuite/src/test/resources/stSPARQL/TemporalConstants/CheckStoredUC.srx testsuite/src/test/resources/stSPARQL/TemporalConstants/QueryNOW.rq testsuite/src/test/resources/stSPARQL/TemporalConstants/temporalConstants.nq testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/adjacent.rq testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/adjacent.srx testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/temporalRelations.nq testsuite/src/test/resources/stSPARQL/TemporalRelationAfter/after.rq testsuite/src/test/resources/stSPARQL/TemporalRelationAfter/after.srx testsuite/src/test/resources/stSPARQL/TemporalRelationAfter/temporalRelations.nq testsuite/src/test/resources/stSPARQL/TemporalRelationBefore/before.rq testsuite/src/test/resources/stSPARQL/TemporalRelationBefore/before.srx testsuite/src/test/resources/stSPARQL/TemporalRelationBefore/temporalRelations.nq testsuite/src/test/resources/stSPARQL/TemporalRelationDuring/during.rq testsuite/src/test/resources/stSPARQL/TemporalRelationDuring/during.srx testsuite/src/test/resources/stSPARQL/TemporalRelationDuring/temporalRelations.nq testsuite/src/test/resources/stSPARQL/TemporalRelationEqualsPeriod/equalsPeriod.rq testsuite/src/test/resources/stSPARQL/TemporalRelationEqualsPeriod/equalsPeriod.srx testsuite/src/test/resources/stSPARQL/TemporalRelationEqualsPeriod/temporalRelations.nq testsuite/src/test/resources/stSPARQL/TemporalRelationFinishes/finishes.rq testsuite/src/test/resources/stSPARQL/TemporalRelationFinishes/finishes.srx testsuite/src/test/resources/stSPARQL/TemporalRelationFinishes/temporalRelations.nq testsuite/src/test/resources/stSPARQL/TemporalRelationIntersects/periodIntersects.rq testsuite/src/test/resources/stSPARQL/TemporalRelationIntersects/periodIntersects.srx testsuite/src/test/resources/stSPARQL/TemporalRelationIntersects/temporalRelations.nq testsuite/src/test/resources/stSPARQL/TemporalRelationMeets/meets.rq testsuite/src/test/resources/stSPARQL/TemporalRelationMeets/meets.srx testsuite/src/test/resources/stSPARQL/TemporalRelationMeets/temporalRelations.nq testsuite/src/test/resources/stSPARQL/TemporalRelationNEqualsPeriod/nequalsPeriod.rq testsuite/src/test/resources/stSPARQL/TemporalRelationNEqualsPeriod/nequalsPeriod.srx testsuite/src/test/resources/stSPARQL/TemporalRelationNEqualsPeriod/temporalRelations.nq testsuite/src/test/resources/stSPARQL/TemporalRelationOverlaps/periodOverlaps.rq testsuite/src/test/resources/stSPARQL/TemporalRelationOverlaps/periodOverlaps.srx testsuite/src/test/resources/stSPARQL/TemporalRelationOverlaps/temporalRelations.nq testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/nestedOverleft.rq testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/nestedOverleft.srx testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/overleft.rq testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/overleft.srx testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/temporalRelations.nq testsuite/src/test/resources/stSPARQL/TemporalRelationOverright/overright.rq testsuite/src/test/resources/stSPARQL/TemporalRelationOverright/overright.srx testsuite/src/test/resources/stSPARQL/TemporalRelationOverright/temporalRelations.nq testsuite/src/test/resources/stSPARQL/TemporalRelationStarts/starts.rq testsuite/src/test/resources/stSPARQL/TemporalRelationStarts/starts.srx testsuite/src/test/resources/stSPARQL/TemporalRelationStarts/temporalRelations.nq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/adjacent.rq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/adjacent.srx testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/after.rq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/after.srx testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/before.rq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/before.srx testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/during.rq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/during.srx testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/equalsPeriod.rq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/equalsPeriod.srx testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/finishes.rq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/finishes.srx testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/meets.rq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/meets.srx testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/nequalsPeriod.rq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/nequalsPeriod.srx testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/nestedOverleft.rq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/nestedOverleft.srx testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/overleft.rq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/overleft.srx testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/overright.rq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/overright.srx testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/periodIntersects.rq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/periodIntersects.srx testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/periodOverlaps.rq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/periodOverlaps.srx testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/starts.rq testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/starts.srx testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/temporalRelations.nq
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalConstants.java	Thu Jan 22 13:24:43 2015 +0200
     1.3 @@ -0,0 +1,20 @@
     1.4 +/**
     1.5 + * This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.8 + * 
     1.9 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    1.10 + * 
    1.11 + * http://www.strabon.di.uoa.gr/
    1.12 + */
    1.13 +package eu.earthobservatory.testsuite.stSPARQL;
    1.14 +
    1.15 +import eu.earthobservatory.testsuite.utils.TemplateTest;
    1.16 +
    1.17 +
    1.18 +/**
    1.19 + * A simple store test. It tests if triples with WKT serialization are stored and retrieved correctly.
    1.20 + * 
    1.21 + * @author Stella Giannakopoulou <sgian@di.uoa.gr
    1.22 + */
    1.23 +public class TemporalConstants extends TemplateTest{}
     2.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationAdjacent.java	Wed Jan 14 13:20:48 2015 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,20 +0,0 @@
     2.4 -/**
     2.5 - * This Source Code Form is subject to the terms of the Mozilla Public
     2.6 - * License, v. 2.0. If a copy of the MPL was not distributed with this
     2.7 - * file, You can obtain one at http://mozilla.org/MPL/2.0/.
     2.8 - * 
     2.9 - * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    2.10 - * 
    2.11 - * http://www.strabon.di.uoa.gr/
    2.12 - */
    2.13 -package eu.earthobservatory.testsuite.stSPARQL;
    2.14 -
    2.15 -import eu.earthobservatory.testsuite.utils.TemplateTest;
    2.16 -
    2.17 -
    2.18 -/**
    2.19 - * A simple store test. It tests if triples with GML serialization are stored and retrieved correctly.
    2.20 - * 
    2.21 - * @author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
    2.22 - */
    2.23 -public class TemporalRelationAdjacent extends TemplateTest{}
     3.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationAfter.java	Wed Jan 14 13:20:48 2015 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,20 +0,0 @@
     3.4 -/**
     3.5 - * This Source Code Form is subject to the terms of the Mozilla Public
     3.6 - * License, v. 2.0. If a copy of the MPL was not distributed with this
     3.7 - * file, You can obtain one at http://mozilla.org/MPL/2.0/.
     3.8 - * 
     3.9 - * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    3.10 - * 
    3.11 - * http://www.strabon.di.uoa.gr/
    3.12 - */
    3.13 -package eu.earthobservatory.testsuite.stSPARQL;
    3.14 -
    3.15 -import eu.earthobservatory.testsuite.utils.TemplateTest;
    3.16 -
    3.17 -
    3.18 -/**
    3.19 - * A simple store test. It tests if triples with GML serialization are stored and retrieved correctly.
    3.20 - * 
    3.21 - * @author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
    3.22 - */
    3.23 -public class TemporalRelationAfter extends TemplateTest{}
     4.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationBefore.java	Wed Jan 14 13:20:48 2015 +0200
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,20 +0,0 @@
     4.4 -/**
     4.5 - * This Source Code Form is subject to the terms of the Mozilla Public
     4.6 - * License, v. 2.0. If a copy of the MPL was not distributed with this
     4.7 - * file, You can obtain one at http://mozilla.org/MPL/2.0/.
     4.8 - * 
     4.9 - * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    4.10 - * 
    4.11 - * http://www.strabon.di.uoa.gr/
    4.12 - */
    4.13 -package eu.earthobservatory.testsuite.stSPARQL;
    4.14 -
    4.15 -import eu.earthobservatory.testsuite.utils.TemplateTest;
    4.16 -
    4.17 -
    4.18 -/**
    4.19 - * A simple store test. It tests if triples with GML serialization are stored and retrieved correctly.
    4.20 - * 
    4.21 - * @author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
    4.22 - */
    4.23 -public class TemporalRelationBefore extends TemplateTest{}
     5.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationDuring.java	Wed Jan 14 13:20:48 2015 +0200
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,20 +0,0 @@
     5.4 -/**
     5.5 - * This Source Code Form is subject to the terms of the Mozilla Public
     5.6 - * License, v. 2.0. If a copy of the MPL was not distributed with this
     5.7 - * file, You can obtain one at http://mozilla.org/MPL/2.0/.
     5.8 - * 
     5.9 - * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    5.10 - * 
    5.11 - * http://www.strabon.di.uoa.gr/
    5.12 - */
    5.13 -package eu.earthobservatory.testsuite.stSPARQL;
    5.14 -
    5.15 -import eu.earthobservatory.testsuite.utils.TemplateTest;
    5.16 -
    5.17 -
    5.18 -/**
    5.19 - * A simple store test. It tests if triples with GML serialization are stored and retrieved correctly.
    5.20 - * 
    5.21 - * @author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
    5.22 - */
    5.23 -public class TemporalRelationDuring extends TemplateTest{}
     6.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationEqualsPeriod.java	Wed Jan 14 13:20:48 2015 +0200
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,20 +0,0 @@
     6.4 -/**
     6.5 - * This Source Code Form is subject to the terms of the Mozilla Public
     6.6 - * License, v. 2.0. If a copy of the MPL was not distributed with this
     6.7 - * file, You can obtain one at http://mozilla.org/MPL/2.0/.
     6.8 - * 
     6.9 - * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    6.10 - * 
    6.11 - * http://www.strabon.di.uoa.gr/
    6.12 - */
    6.13 -package eu.earthobservatory.testsuite.stSPARQL;
    6.14 -
    6.15 -import eu.earthobservatory.testsuite.utils.TemplateTest;
    6.16 -
    6.17 -
    6.18 -/**
    6.19 - * A simple store test. It tests if triples with GML serialization are stored and retrieved correctly.
    6.20 - * 
    6.21 - * @author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
    6.22 - */
    6.23 -public class TemporalRelationEqualsPeriod extends TemplateTest{}
     7.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationOverright.java	Wed Jan 14 13:20:48 2015 +0200
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,20 +0,0 @@
     7.4 -/**
     7.5 - * This Source Code Form is subject to the terms of the Mozilla Public
     7.6 - * License, v. 2.0. If a copy of the MPL was not distributed with this
     7.7 - * file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7.8 - * 
     7.9 - * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    7.10 - * 
    7.11 - * http://www.strabon.di.uoa.gr/
    7.12 - */
    7.13 -package eu.earthobservatory.testsuite.stSPARQL;
    7.14 -
    7.15 -import eu.earthobservatory.testsuite.utils.TemplateTest;
    7.16 -
    7.17 -
    7.18 -/**
    7.19 - * A simple store test. It tests if triples with GML serialization are stored and retrieved correctly.
    7.20 - * 
    7.21 - * @author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
    7.22 - */
    7.23 -public class TemporalRelationOverright extends TemplateTest{}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationsTest.java	Thu Jan 22 13:24:43 2015 +0200
     8.3 @@ -0,0 +1,20 @@
     8.4 +/**
     8.5 + * This Source Code Form is subject to the terms of the Mozilla Public
     8.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     8.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
     8.8 + * 
     8.9 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    8.10 + * 
    8.11 + * http://www.strabon.di.uoa.gr/
    8.12 + */
    8.13 +package eu.earthobservatory.testsuite.stSPARQL;
    8.14 +
    8.15 +import eu.earthobservatory.testsuite.utils.TemplateTest;
    8.16 +
    8.17 +
    8.18 +/**
    8.19 + * A simple store test. It tests if triples with GML serialization are stored and retrieved correctly.
    8.20 + * 
    8.21 + * @author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
    8.22 + */
    8.23 +public class TemporalRelationsTest extends TemplateTest{}
     9.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalConstants/CheckStoredUC.rq	Wed Jan 14 13:20:48 2015 +0200
     9.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalConstants/CheckStoredUC.rq	Thu Jan 22 13:24:43 2015 +0200
     9.3 @@ -1,8 +1,4 @@
     9.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
     9.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
     9.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
     9.7 -
     9.8 -	SELECT distinct ?x1 ?t1  
     9.9 -	 WHERE { 
    9.10 -			?x1 ?y1 ?z1 ?t1
    9.11 -		    }
    9.12 \ No newline at end of file
    9.13 +SELECT distinct ?x1 ?t1  
    9.14 +WHERE { 
    9.15 +	?x1 ?y1 ?z1 ?t1
    9.16 +}
    9.17 \ No newline at end of file
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalConstants/CheckStoredUC.srx	Thu Jan 22 13:24:43 2015 +0200
    10.3 @@ -0,0 +1,89 @@
    10.4 +<?xml version='1.0' encoding='UTF-8'?>
    10.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    10.6 +	<head>
    10.7 +		<variable name='x1'/>
    10.8 +		<variable name='t1'/>
    10.9 +	</head>
   10.10 +	<results>
   10.11 +		<result>
   10.12 +			<binding name='x1'>
   10.13 +				<uri>http://example.org/item1</uri>
   10.14 +			</binding>
   10.15 +			<binding name='t1'>
   10.16 +				<literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T12:41:00,2012-11-19T13:41:00]</literal>
   10.17 +			</binding>
   10.18 +		</result>
   10.19 +		<result>
   10.20 +			<binding name='x1'>
   10.21 +				<uri>http://example.org/item3</uri>
   10.22 +			</binding>
   10.23 +			<binding name='t1'>
   10.24 +				<literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T12:41:00,2012-11-19T13:41:00]</literal>
   10.25 +			</binding>
   10.26 +		</result>
   10.27 +		<result>
   10.28 +			<binding name='x1'>
   10.29 +				<uri>http://example.org/item2</uri>
   10.30 +			</binding>
   10.31 +			<binding name='t1'>
   10.32 +				<literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T12:41:00,2012-11-19T13:41:00]</literal>
   10.33 +			</binding>
   10.34 +		</result>
   10.35 +		<result>
   10.36 +			<binding name='x1'>
   10.37 +				<uri>http://example.org/item2</uri>
   10.38 +			</binding>
   10.39 +			<binding name='t1'>
   10.40 +				<literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T10:41:00,2012-11-19T15:41:00]</literal>
   10.41 +			</binding>
   10.42 +		</result>
   10.43 +		<result>
   10.44 +			<binding name='x1'>
   10.45 +				<uri>http://example.org/item7</uri>
   10.46 +			</binding>
   10.47 +			<binding name='t1'>
   10.48 +				<literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T13:41:00,2012-11-19T14:41:00]</literal>
   10.49 +			</binding>
   10.50 +		</result>
   10.51 +		<result>
   10.52 +			<binding name='x1'>
   10.53 +				<uri>http://example.org/item1</uri>
   10.54 +			</binding>
   10.55 +			<binding name='t1'>
   10.56 +				<literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T10:41:00,2012-11-19T11:41:00]</literal>
   10.57 +			</binding>
   10.58 +		</result>
   10.59 +		<result>
   10.60 +			<binding name='x1'>
   10.61 +				<uri>http://example.org/item5</uri>
   10.62 +			</binding>
   10.63 +			<binding name='t1'>
   10.64 +				<literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-01-19T11:41:00,2012-01-19T11:41:00]</literal>
   10.65 +			</binding>
   10.66 +		</result>
   10.67 +		<result>
   10.68 +			<binding name='x1'>
   10.69 +				<uri>http://example.org/item6</uri>
   10.70 +			</binding>
   10.71 +			<binding name='t1'>
   10.72 +				<literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-01-19T12:41:00,2012-01-19T12:41:00]</literal>
   10.73 +			</binding>
   10.74 +		</result>
   10.75 +		<result>
   10.76 +			<binding name='x1'>
   10.77 +				<uri>http://example.org/item4</uri>
   10.78 +			</binding>
   10.79 +			<binding name='t1'>
   10.80 +				<literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-01-19T10:41:00,2012-01-19T10:41:00]</literal>
   10.81 +			</binding>
   10.82 +		</result>
   10.83 +		<result>
   10.84 +			<binding name='x1'>
   10.85 +				<uri>http://example.org/item8</uri>
   10.86 +			</binding>
   10.87 +			<binding name='t1'>
   10.88 +				<literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]</literal>
   10.89 +			</binding>
   10.90 +		</result>
   10.91 +	</results>
   10.92 +</sparql>
   10.93 \ No newline at end of file
    11.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalConstants/QueryNOW.rq	Wed Jan 14 13:20:48 2015 +0200
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,3 +0,0 @@
    11.4 -SELECT ?o
    11.5 -WHERE {?s <http://strdf.di.uoa.gr/ontology#hasGeometry> ?geo.
    11.6 -?geo <http://www.w3.org/2003/01/geo/wgs84_pos#lat> ?o.}
    11.7 \ No newline at end of file
    12.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalConstants/temporalConstants.nq	Wed Jan 14 13:20:48 2015 +0200
    12.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalConstants/temporalConstants.nq	Thu Jan 22 13:24:43 2015 +0200
    12.3 @@ -3,9 +3,9 @@
    12.4  <http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    12.5  <http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    12.6  <http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    12.7 -<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    12.8 -<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    12.9 -<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19t12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   12.10 +<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   12.11 +<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   12.12 +<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   12.13  <http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   12.14  <http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   12.15  <http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
    13.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/adjacent.rq	Wed Jan 14 13:20:48 2015 +0200
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,9 +0,0 @@
    13.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    13.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    13.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    13.7 -
    13.8 -SELECT distinct ?x1 ?x2 
    13.9 -			WHERE { 
   13.10 -				?x1 ?y1 ?z1 ?t1 .
   13.11 -				?x2 ?y2 ?z2 ?t2 .
   13.12 -				FILTER(strdf:adjacent(?t1, ?t2) && str(?x1) < str(?x2)).}
   13.13 \ No newline at end of file
    14.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/adjacent.srx	Wed Jan 14 13:20:48 2015 +0200
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,17 +0,0 @@
    14.4 -<?xml version='1.0' encoding='UTF-8'?>
    14.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    14.6 -	<head>
    14.7 -		<variable name='x1'/>
    14.8 -		<variable name='x2'/>
    14.9 -	</head>
   14.10 -	<results>
   14.11 -		<result>
   14.12 -			<binding name='x2'>
   14.13 -				<uri>http://example.org/item8</uri>
   14.14 -			</binding>
   14.15 -			<binding name='x1'>
   14.16 -				<uri>http://example.org/item7</uri>
   14.17 -			</binding>
   14.18 -		</result>
   14.19 -	</results>
   14.20 -</sparql>
   14.21 \ No newline at end of file
    15.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/temporalRelations.nq	Wed Jan 14 13:20:48 2015 +0200
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,15 +0,0 @@
    15.4 -<http://example.org/item1> <http://example.org/id> "1"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    15.5 -<http://example.org/item2> <http://example.org/id> "2"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    15.6 -<http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    15.7 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    15.8 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    15.9 -<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   15.10 -<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   15.11 -<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   15.12 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   15.13 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   15.14 -<http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   15.15 -<http://example.org/item5> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T11:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   15.16 -<http://example.org/item6> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T12:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   15.17 -<http://example.org/item7> <http://example.org/id> "7"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T13:41:00,2012-11-19T14:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   15.18 -<http://example.org/item8> <http://example.org/id> "8"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    16.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationAfter/after.rq	Wed Jan 14 13:20:48 2015 +0200
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,9 +0,0 @@
    16.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    16.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    16.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    16.7 -
    16.8 -SELECT distinct ?x1 ?x2 
    16.9 -			WHERE { 
   16.10 -				?x1 ?y1 ?z1 ?t1 .
   16.11 -				?x2 ?y2 ?z2 ?t2 .
   16.12 -				FILTER(strdf:after(?t1, ?t2) && str(?x1) < str(?x2)).}
   16.13 \ No newline at end of file
    17.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationAfter/after.srx	Wed Jan 14 13:20:48 2015 +0200
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,81 +0,0 @@
    17.4 -<?xml version='1.0' encoding='UTF-8'?>
    17.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    17.6 -	<head>
    17.7 -		<variable name='x1'/>
    17.8 -		<variable name='x2'/>
    17.9 -	</head>
   17.10 -	<results>
   17.11 -		<result>
   17.12 -			<binding name='x2'>
   17.13 -				<uri>http://example.org/item6</uri>
   17.14 -			</binding>
   17.15 -			<binding name='x1'>
   17.16 -				<uri>http://example.org/item3</uri>
   17.17 -			</binding>
   17.18 -		</result>
   17.19 -		<result>
   17.20 -			<binding name='x2'>
   17.21 -				<uri>http://example.org/item6</uri>
   17.22 -			</binding>
   17.23 -			<binding name='x1'>
   17.24 -				<uri>http://example.org/item1</uri>
   17.25 -			</binding>
   17.26 -		</result>
   17.27 -		<result>
   17.28 -			<binding name='x2'>
   17.29 -				<uri>http://example.org/item6</uri>
   17.30 -			</binding>
   17.31 -			<binding name='x1'>
   17.32 -				<uri>http://example.org/item2</uri>
   17.33 -			</binding>
   17.34 -		</result>
   17.35 -		<result>
   17.36 -			<binding name='x2'>
   17.37 -				<uri>http://example.org/item4</uri>
   17.38 -			</binding>
   17.39 -			<binding name='x1'>
   17.40 -				<uri>http://example.org/item3</uri>
   17.41 -			</binding>
   17.42 -		</result>
   17.43 -		<result>
   17.44 -			<binding name='x2'>
   17.45 -				<uri>http://example.org/item4</uri>
   17.46 -			</binding>
   17.47 -			<binding name='x1'>
   17.48 -				<uri>http://example.org/item1</uri>
   17.49 -			</binding>
   17.50 -		</result>
   17.51 -		<result>
   17.52 -			<binding name='x2'>
   17.53 -				<uri>http://example.org/item4</uri>
   17.54 -			</binding>
   17.55 -			<binding name='x1'>
   17.56 -				<uri>http://example.org/item2</uri>
   17.57 -			</binding>
   17.58 -		</result>
   17.59 -		<result>
   17.60 -			<binding name='x2'>
   17.61 -				<uri>http://example.org/item5</uri>
   17.62 -			</binding>
   17.63 -			<binding name='x1'>
   17.64 -				<uri>http://example.org/item3</uri>
   17.65 -			</binding>
   17.66 -		</result>
   17.67 -		<result>
   17.68 -			<binding name='x2'>
   17.69 -				<uri>http://example.org/item5</uri>
   17.70 -			</binding>
   17.71 -			<binding name='x1'>
   17.72 -				<uri>http://example.org/item1</uri>
   17.73 -			</binding>
   17.74 -		</result>
   17.75 -		<result>
   17.76 -			<binding name='x2'>
   17.77 -				<uri>http://example.org/item5</uri>
   17.78 -			</binding>
   17.79 -			<binding name='x1'>
   17.80 -				<uri>http://example.org/item2</uri>
   17.81 -			</binding>
   17.82 -		</result>
   17.83 -	</results>
   17.84 -</sparql>
    18.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationAfter/temporalRelations.nq	Wed Jan 14 13:20:48 2015 +0200
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,15 +0,0 @@
    18.4 -<http://example.org/item1> <http://example.org/id> "1"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    18.5 -<http://example.org/item2> <http://example.org/id> "2"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    18.6 -<http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    18.7 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    18.8 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    18.9 -<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   18.10 -<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   18.11 -<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   18.12 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   18.13 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   18.14 -<http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   18.15 -<http://example.org/item5> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T11:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   18.16 -<http://example.org/item6> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T12:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   18.17 -<http://example.org/item7> <http://example.org/id> "7"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T13:41:00,2012-11-19T14:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   18.18 -<http://example.org/item8> <http://example.org/id> "8"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    19.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationBefore/before.rq	Wed Jan 14 13:20:48 2015 +0200
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,9 +0,0 @@
    19.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    19.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    19.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    19.7 -
    19.8 -SELECT distinct ?x1 ?x2 
    19.9 -			WHERE { 
   19.10 -				?x1 ?y1 ?z1 ?t1 .
   19.11 -				?x2 ?y2 ?z2 ?t2 .
   19.12 -				FILTER(strdf:before(?t1, ?t2) && str(?x1) < str(?x2)).}
   19.13 \ No newline at end of file
    20.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationBefore/before.srx	Wed Jan 14 13:20:48 2015 +0200
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,137 +0,0 @@
    20.4 -<?xml version='1.0' encoding='UTF-8'?>
    20.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    20.6 -	<head>
    20.7 -		<variable name='x1'/>
    20.8 -		<variable name='x2'/>
    20.9 -	</head>
   20.10 -	<results>
   20.11 -		<result>
   20.12 -			<binding name='x2'>
   20.13 -				<uri>http://example.org/item8</uri>
   20.14 -			</binding>
   20.15 -			<binding name='x1'>
   20.16 -				<uri>http://example.org/item4</uri>
   20.17 -			</binding>
   20.18 -		</result>
   20.19 -		<result>
   20.20 -			<binding name='x2'>
   20.21 -				<uri>http://example.org/item7</uri>
   20.22 -			</binding>
   20.23 -			<binding name='x1'>
   20.24 -				<uri>http://example.org/item1</uri>
   20.25 -			</binding>
   20.26 -		</result>
   20.27 -		<result>
   20.28 -			<binding name='x2'>
   20.29 -				<uri>http://example.org/item8</uri>
   20.30 -			</binding>
   20.31 -			<binding name='x1'>
   20.32 -				<uri>http://example.org/item5</uri>
   20.33 -			</binding>
   20.34 -		</result>
   20.35 -		<result>
   20.36 -			<binding name='x2'>
   20.37 -				<uri>http://example.org/item7</uri>
   20.38 -			</binding>
   20.39 -			<binding name='x1'>
   20.40 -				<uri>http://example.org/item4</uri>
   20.41 -			</binding>
   20.42 -		</result>
   20.43 -		<result>
   20.44 -			<binding name='x2'>
   20.45 -				<uri>http://example.org/item8</uri>
   20.46 -			</binding>
   20.47 -			<binding name='x1'>
   20.48 -				<uri>http://example.org/item3</uri>
   20.49 -			</binding>
   20.50 -		</result>
   20.51 -		<result>
   20.52 -			<binding name='x2'>
   20.53 -				<uri>http://example.org/item6</uri>
   20.54 -			</binding>
   20.55 -			<binding name='x1'>
   20.56 -				<uri>http://example.org/item4</uri>
   20.57 -			</binding>
   20.58 -		</result>
   20.59 -		<result>
   20.60 -			<binding name='x2'>
   20.61 -				<uri>http://example.org/item8</uri>
   20.62 -			</binding>
   20.63 -			<binding name='x1'>
   20.64 -				<uri>http://example.org/item1</uri>
   20.65 -			</binding>
   20.66 -		</result>
   20.67 -		<result>
   20.68 -			<binding name='x2'>
   20.69 -				<uri>http://example.org/item8</uri>
   20.70 -			</binding>
   20.71 -			<binding name='x1'>
   20.72 -				<uri>http://example.org/item7</uri>
   20.73 -			</binding>
   20.74 -		</result>
   20.75 -		<result>
   20.76 -			<binding name='x2'>
   20.77 -				<uri>http://example.org/item3</uri>
   20.78 -			</binding>
   20.79 -			<binding name='x1'>
   20.80 -				<uri>http://example.org/item1</uri>
   20.81 -			</binding>
   20.82 -		</result>
   20.83 -		<result>
   20.84 -			<binding name='x2'>
   20.85 -				<uri>http://example.org/item7</uri>
   20.86 -			</binding>
   20.87 -			<binding name='x1'>
   20.88 -				<uri>http://example.org/item5</uri>
   20.89 -			</binding>
   20.90 -		</result>
   20.91 -		<result>
   20.92 -			<binding name='x2'>
   20.93 -				<uri>http://example.org/item6</uri>
   20.94 -			</binding>
   20.95 -			<binding name='x1'>
   20.96 -				<uri>http://example.org/item5</uri>
   20.97 -			</binding>
   20.98 -		</result>
   20.99 -		<result>
  20.100 -			<binding name='x2'>
  20.101 -				<uri>http://example.org/item8</uri>
  20.102 -			</binding>
  20.103 -			<binding name='x1'>
  20.104 -				<uri>http://example.org/item2</uri>
  20.105 -			</binding>
  20.106 -		</result>
  20.107 -		<result>
  20.108 -			<binding name='x2'>
  20.109 -				<uri>http://example.org/item5</uri>
  20.110 -			</binding>
  20.111 -			<binding name='x1'>
  20.112 -				<uri>http://example.org/item4</uri>
  20.113 -			</binding>
  20.114 -		</result>
  20.115 -		<result>
  20.116 -			<binding name='x2'>
  20.117 -				<uri>http://example.org/item7</uri>
  20.118 -			</binding>
  20.119 -			<binding name='x1'>
  20.120 -				<uri>http://example.org/item6</uri>
  20.121 -			</binding>
  20.122 -		</result>
  20.123 -		<result>
  20.124 -			<binding name='x2'>
  20.125 -				<uri>http://example.org/item2</uri>
  20.126 -			</binding>
  20.127 -			<binding name='x1'>
  20.128 -				<uri>http://example.org/item1</uri>
  20.129 -			</binding>
  20.130 -		</result>
  20.131 -		<result>
  20.132 -			<binding name='x2'>
  20.133 -				<uri>http://example.org/item8</uri>
  20.134 -			</binding>
  20.135 -			<binding name='x1'>
  20.136 -				<uri>http://example.org/item6</uri>
  20.137 -			</binding>
  20.138 -		</result>
  20.139 -	</results>
  20.140 -</sparql>
    21.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationBefore/temporalRelations.nq	Wed Jan 14 13:20:48 2015 +0200
    21.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.3 @@ -1,15 +0,0 @@
    21.4 -<http://example.org/item1> <http://example.org/id> "1"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    21.5 -<http://example.org/item2> <http://example.org/id> "2"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    21.6 -<http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    21.7 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    21.8 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    21.9 -<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   21.10 -<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   21.11 -<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   21.12 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   21.13 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   21.14 -<http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   21.15 -<http://example.org/item5> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T11:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   21.16 -<http://example.org/item6> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T12:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   21.17 -<http://example.org/item7> <http://example.org/id> "7"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T13:41:00,2012-11-19T14:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   21.18 -<http://example.org/item8> <http://example.org/id> "8"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    22.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationDuring/during.rq	Wed Jan 14 13:20:48 2015 +0200
    22.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.3 @@ -1,9 +0,0 @@
    22.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    22.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    22.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    22.7 -
    22.8 -SELECT distinct ?x1 ?x2 
    22.9 -			WHERE { 
   22.10 -				?x1 ?y1 ?z1 ?t1 .
   22.11 -				?x2 ?y2 ?z2 ?t2 .
   22.12 -				FILTER(strdf:during(?t1, ?t2) && str(?x1) < str(?x2)).}
   22.13 \ No newline at end of file
    23.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationDuring/during.srx	Wed Jan 14 13:20:48 2015 +0200
    23.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.3 @@ -1,33 +0,0 @@
    23.4 -<?xml version='1.0' encoding='UTF-8'?>
    23.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    23.6 -	<head>
    23.7 -		<variable name='x1'/>
    23.8 -		<variable name='x2'/>
    23.9 -	</head>
   23.10 -	<results>
   23.11 -		<result>
   23.12 -			<binding name='x2'>
   23.13 -				<uri>http://example.org/item3</uri>
   23.14 -			</binding>
   23.15 -			<binding name='x1'>
   23.16 -				<uri>http://example.org/item1</uri>
   23.17 -			</binding>
   23.18 -		</result>
   23.19 -		<result>
   23.20 -			<binding name='x2'>
   23.21 -				<uri>http://example.org/item3</uri>
   23.22 -			</binding>
   23.23 -			<binding name='x1'>
   23.24 -				<uri>http://example.org/item2</uri>
   23.25 -			</binding>
   23.26 -		</result>
   23.27 -		<result>
   23.28 -			<binding name='x2'>
   23.29 -				<uri>http://example.org/item2</uri>
   23.30 -			</binding>
   23.31 -			<binding name='x1'>
   23.32 -				<uri>http://example.org/item1</uri>
   23.33 -			</binding>
   23.34 -		</result>
   23.35 -	</results>
   23.36 -</sparql>
    24.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationDuring/temporalRelations.nq	Wed Jan 14 13:20:48 2015 +0200
    24.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.3 @@ -1,15 +0,0 @@
    24.4 -<http://example.org/item1> <http://example.org/id> "1"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    24.5 -<http://example.org/item2> <http://example.org/id> "2"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    24.6 -<http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    24.7 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    24.8 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    24.9 -<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   24.10 -<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   24.11 -<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   24.12 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   24.13 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   24.14 -<http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   24.15 -<http://example.org/item5> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T11:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   24.16 -<http://example.org/item6> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T12:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   24.17 -<http://example.org/item7> <http://example.org/id> "7"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T13:41:00,2012-11-19T14:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   24.18 -<http://example.org/item8> <http://example.org/id> "8"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    25.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationEqualsPeriod/equalsPeriod.rq	Wed Jan 14 13:20:48 2015 +0200
    25.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.3 @@ -1,9 +0,0 @@
    25.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    25.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    25.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    25.7 -
    25.8 -SELECT distinct ?x1 ?x2 
    25.9 -			WHERE { 
   25.10 -				?x1 ?y1 ?z1 ?t1 .
   25.11 -				?x2 ?y2 ?z2 ?t2 .
   25.12 -				FILTER(strdf:equalsPeriod(?t1, ?t2) && str(?x1) < str(?x2)).}
   25.13 \ No newline at end of file
    26.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationEqualsPeriod/equalsPeriod.srx	Wed Jan 14 13:20:48 2015 +0200
    26.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.3 @@ -1,9 +0,0 @@
    26.4 -<?xml version='1.0' encoding='UTF-8'?>
    26.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    26.6 -	<head>
    26.7 -		<variable name='x1'/>
    26.8 -		<variable name='x2'/>
    26.9 -	</head>
   26.10 -	<results>
   26.11 -	</results>
   26.12 -</sparql>
    27.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationEqualsPeriod/temporalRelations.nq	Wed Jan 14 13:20:48 2015 +0200
    27.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.3 @@ -1,15 +0,0 @@
    27.4 -<http://example.org/item1> <http://example.org/id> "1"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    27.5 -<http://example.org/item2> <http://example.org/id> "2"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    27.6 -<http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    27.7 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    27.8 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    27.9 -<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   27.10 -<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   27.11 -<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   27.12 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   27.13 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   27.14 -<http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   27.15 -<http://example.org/item5> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T11:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   27.16 -<http://example.org/item6> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T12:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   27.17 -<http://example.org/item7> <http://example.org/id> "7"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T13:41:00,2012-11-19T14:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   27.18 -<http://example.org/item8> <http://example.org/id> "8"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    28.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationFinishes/finishes.rq	Wed Jan 14 13:20:48 2015 +0200
    28.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.3 @@ -1,9 +0,0 @@
    28.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    28.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    28.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    28.7 -
    28.8 -SELECT distinct ?x1 ?x2 
    28.9 -			WHERE { 
   28.10 -				?x1 ?y1 ?z1 ?t1 .
   28.11 -				?x2 ?y2 ?z2 ?t2 .
   28.12 -				FILTER(strdf:finishes(?t1, ?t2) && str(?x1) < str(?x2)).}
   28.13 \ No newline at end of file
    29.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationFinishes/finishes.srx	Wed Jan 14 13:20:48 2015 +0200
    29.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.3 @@ -1,9 +0,0 @@
    29.4 -<?xml version='1.0' encoding='UTF-8'?>
    29.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    29.6 -	<head>
    29.7 -		<variable name='x1'/>
    29.8 -		<variable name='x2'/>
    29.9 -	</head>
   29.10 -	<results>
   29.11 -	</results>
   29.12 -</sparql>
    30.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationFinishes/temporalRelations.nq	Wed Jan 14 13:20:48 2015 +0200
    30.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.3 @@ -1,15 +0,0 @@
    30.4 -<http://example.org/item1> <http://example.org/id> "1"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    30.5 -<http://example.org/item2> <http://example.org/id> "2"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    30.6 -<http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    30.7 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    30.8 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    30.9 -<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   30.10 -<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   30.11 -<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   30.12 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   30.13 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   30.14 -<http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   30.15 -<http://example.org/item5> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T11:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   30.16 -<http://example.org/item6> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T12:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   30.17 -<http://example.org/item7> <http://example.org/id> "7"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T13:41:00,2012-11-19T14:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   30.18 -<http://example.org/item8> <http://example.org/id> "8"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    31.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationIntersects/periodIntersects.rq	Wed Jan 14 13:20:48 2015 +0200
    31.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.3 @@ -1,9 +0,0 @@
    31.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    31.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    31.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    31.7 -
    31.8 -SELECT distinct ?x1 ?x2 
    31.9 -			WHERE { 
   31.10 -				?x1 ?y1 ?z1 ?t1 .
   31.11 -				?x2 ?y2 ?z2 ?t2 .
   31.12 -				FILTER(strdf:periodIntersects(?t1, ?t2) && str(?x1) < str(?x2)).}
   31.13 \ No newline at end of file
    32.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationIntersects/periodIntersects.srx	Wed Jan 14 13:20:48 2015 +0200
    32.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.3 @@ -1,9 +0,0 @@
    32.4 -<?xml version='1.0' encoding='UTF-8'?>
    32.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    32.6 -	<head>
    32.7 -		<variable name='x1'/>
    32.8 -		<variable name='x2'/>
    32.9 -	</head>
   32.10 -	<results>
   32.11 -	</results>
   32.12 -</sparql>
    33.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationIntersects/temporalRelations.nq	Wed Jan 14 13:20:48 2015 +0200
    33.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.3 @@ -1,15 +0,0 @@
    33.4 -<http://example.org/item1> <http://example.org/id> "1"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    33.5 -<http://example.org/item2> <http://example.org/id> "2"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    33.6 -<http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    33.7 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    33.8 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    33.9 -<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   33.10 -<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   33.11 -<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   33.12 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   33.13 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   33.14 -<http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   33.15 -<http://example.org/item5> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T11:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   33.16 -<http://example.org/item6> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T12:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   33.17 -<http://example.org/item7> <http://example.org/id> "7"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T13:41:00,2012-11-19T14:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   33.18 -<http://example.org/item8> <http://example.org/id> "8"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    34.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationMeets/meets.rq	Wed Jan 14 13:20:48 2015 +0200
    34.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.3 @@ -1,9 +0,0 @@
    34.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    34.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    34.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    34.7 -
    34.8 -SELECT distinct ?x1 ?x2 
    34.9 -			WHERE { 
   34.10 -				?x1 ?y1 ?z1 ?t1 .
   34.11 -				?x2 ?y2 ?z2 ?t2 .
   34.12 -				FILTER(strdf:meets(?t1, ?t2) && str(?x1) < str(?x2)).}
   34.13 \ No newline at end of file
    35.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationMeets/meets.srx	Wed Jan 14 13:20:48 2015 +0200
    35.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.3 @@ -1,33 +0,0 @@
    35.4 -<?xml version='1.0' encoding='UTF-8'?>
    35.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    35.6 -	<head>
    35.7 -		<variable name='x1'/>
    35.8 -		<variable name='x2'/>
    35.9 -	</head>
   35.10 -	<results>
   35.11 -		<result>
   35.12 -			<binding name='x2'>
   35.13 -				<uri>http://example.org/item7</uri>
   35.14 -			</binding>
   35.15 -			<binding name='x1'>
   35.16 -				<uri>http://example.org/item3</uri>
   35.17 -			</binding>
   35.18 -		</result>
   35.19 -		<result>
   35.20 -			<binding name='x2'>
   35.21 -				<uri>http://example.org/item7</uri>
   35.22 -			</binding>
   35.23 -			<binding name='x1'>
   35.24 -				<uri>http://example.org/item1</uri>
   35.25 -			</binding>
   35.26 -		</result>
   35.27 -		<result>
   35.28 -			<binding name='x2'>
   35.29 -				<uri>http://example.org/item7</uri>
   35.30 -			</binding>
   35.31 -			<binding name='x1'>
   35.32 -				<uri>http://example.org/item2</uri>
   35.33 -			</binding>
   35.34 -		</result>
   35.35 -	</results>
   35.36 -</sparql>
    36.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationMeets/temporalRelations.nq	Wed Jan 14 13:20:48 2015 +0200
    36.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    36.3 @@ -1,15 +0,0 @@
    36.4 -<http://example.org/item1> <http://example.org/id> "1"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    36.5 -<http://example.org/item2> <http://example.org/id> "2"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    36.6 -<http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    36.7 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    36.8 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    36.9 -<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   36.10 -<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   36.11 -<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   36.12 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   36.13 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   36.14 -<http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   36.15 -<http://example.org/item5> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T11:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   36.16 -<http://example.org/item6> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T12:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   36.17 -<http://example.org/item7> <http://example.org/id> "7"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T13:41:00,2012-11-19T14:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   36.18 -<http://example.org/item8> <http://example.org/id> "8"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    37.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationNEqualsPeriod/nequalsPeriod.rq	Wed Jan 14 13:20:48 2015 +0200
    37.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    37.3 @@ -1,9 +0,0 @@
    37.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    37.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    37.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    37.7 -
    37.8 -SELECT distinct ?x1 ?x2 
    37.9 -			WHERE { 
   37.10 -				?x1 ?y1 ?z1 ?t1 .
   37.11 -				?x2 ?y2 ?z2 ?t2 .
   37.12 -				FILTER(strdf:nequalsPeriod(?t1, ?t2) && str(?x1) < str(?x2)).}
   37.13 \ No newline at end of file
    38.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationNEqualsPeriod/nequalsPeriod.srx	Wed Jan 14 13:20:48 2015 +0200
    38.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    38.3 @@ -1,233 +0,0 @@
    38.4 -<?xml version='1.0' encoding='UTF-8'?>
    38.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    38.6 -	<head>
    38.7 -		<variable name='x1'/>
    38.8 -		<variable name='x2'/>
    38.9 -	</head>
   38.10 -	<results>
   38.11 -		<result>
   38.12 -			<binding name='x2'>
   38.13 -				<uri>http://example.org/item8</uri>
   38.14 -			</binding>
   38.15 -			<binding name='x1'>
   38.16 -				<uri>http://example.org/item4</uri>
   38.17 -			</binding>
   38.18 -		</result>
   38.19 -		<result>
   38.20 -			<binding name='x2'>
   38.21 -				<uri>http://example.org/item7</uri>
   38.22 -			</binding>
   38.23 -			<binding name='x1'>
   38.24 -				<uri>http://example.org/item1</uri>
   38.25 -			</binding>
   38.26 -		</result>
   38.27 -		<result>
   38.28 -			<binding name='x2'>
   38.29 -				<uri>http://example.org/item6</uri>
   38.30 -			</binding>
   38.31 -			<binding name='x1'>
   38.32 -				<uri>http://example.org/item1</uri>
   38.33 -			</binding>
   38.34 -		</result>
   38.35 -		<result>
   38.36 -			<binding name='x2'>
   38.37 -				<uri>http://example.org/item7</uri>
   38.38 -			</binding>
   38.39 -			<binding name='x1'>
   38.40 -				<uri>http://example.org/item2</uri>
   38.41 -			</binding>
   38.42 -		</result>
   38.43 -		<result>
   38.44 -			<binding name='x2'>
   38.45 -				<uri>http://example.org/item6</uri>
   38.46 -			</binding>
   38.47 -			<binding name='x1'>
   38.48 -				<uri>http://example.org/item2</uri>
   38.49 -			</binding>
   38.50 -		</result>
   38.51 -		<result>
   38.52 -			<binding name='x2'>
   38.53 -				<uri>http://example.org/item4</uri>
   38.54 -			</binding>
   38.55 -			<binding name='x1'>
   38.56 -				<uri>http://example.org/item3</uri>
   38.57 -			</binding>
   38.58 -		</result>
   38.59 -		<result>
   38.60 -			<binding name='x2'>
   38.61 -				<uri>http://example.org/item8</uri>
   38.62 -			</binding>
   38.63 -			<binding name='x1'>
   38.64 -				<uri>http://example.org/item3</uri>
   38.65 -			</binding>
   38.66 -		</result>
   38.67 -		<result>
   38.68 -			<binding name='x2'>
   38.69 -				<uri>http://example.org/item8</uri>
   38.70 -			</binding>
   38.71 -			<binding name='x1'>
   38.72 -				<uri>http://example.org/item7</uri>
   38.73 -			</binding>
   38.74 -		</result>
   38.75 -		<result>
   38.76 -			<binding name='x2'>
   38.77 -				<uri>http://example.org/item3</uri>
   38.78 -			</binding>
   38.79 -			<binding name='x1'>
   38.80 -				<uri>http://example.org/item1</uri>
   38.81 -			</binding>
   38.82 -		</result>
   38.83 -		<result>
   38.84 -			<binding name='x2'>
   38.85 -				<uri>http://example.org/item7</uri>
   38.86 -			</binding>
   38.87 -			<binding name='x1'>
   38.88 -				<uri>http://example.org/item5</uri>
   38.89 -			</binding>
   38.90 -		</result>
   38.91 -		<result>
   38.92 -			<binding name='x2'>
   38.93 -				<uri>http://example.org/item6</uri>
   38.94 -			</binding>
   38.95 -			<binding name='x1'>
   38.96 -				<uri>http://example.org/item5</uri>
   38.97 -			</binding>
   38.98 -		</result>
   38.99 -		<result>
  38.100 -			<binding name='x2'>
  38.101 -				<uri>http://example.org/item3</uri>
  38.102 -			</binding>
  38.103 -			<binding name='x1'>
  38.104 -				<uri>http://example.org/item2</uri>
  38.105 -			</binding>
  38.106 -		</result>
  38.107 -		<result>
  38.108 -			<binding name='x2'>
  38.109 -				<uri>http://example.org/item5</uri>
  38.110 -			</binding>
  38.111 -			<binding name='x1'>
  38.112 -				<uri>http://example.org/item4</uri>
  38.113 -			</binding>
  38.114 -		</result>
  38.115 -		<result>
  38.116 -			<binding name='x2'>
  38.117 -				<uri>http://example.org/item2</uri>
  38.118 -			</binding>
  38.119 -			<binding name='x1'>
  38.120 -				<uri>http://example.org/item1</uri>
  38.121 -			</binding>
  38.122 -		</result>
  38.123 -		<result>
  38.124 -			<binding name='x2'>
  38.125 -				<uri>http://example.org/item5</uri>
  38.126 -			</binding>
  38.127 -			<binding name='x1'>
  38.128 -				<uri>http://example.org/item3</uri>
  38.129 -			</binding>
  38.130 -		</result>
  38.131 -		<result>
  38.132 -			<binding name='x2'>
  38.133 -				<uri>http://example.org/item5</uri>
  38.134 -			</binding>
  38.135 -			<binding name='x1'>
  38.136 -				<uri>http://example.org/item1</uri>
  38.137 -			</binding>
  38.138 -		</result>
  38.139 -		<result>
  38.140 -			<binding name='x2'>
  38.141 -				<uri>http://example.org/item8</uri>
  38.142 -			</binding>
  38.143 -			<binding name='x1'>
  38.144 -				<uri>http://example.org/item6</uri>
  38.145 -			</binding>
  38.146 -		</result>
  38.147 -		<result>
  38.148 -			<binding name='x2'>
  38.149 -				<uri>http://example.org/item5</uri>
  38.150 -			</binding>
  38.151 -			<binding name='x1'>
  38.152 -				<uri>http://example.org/item2</uri>
  38.153 -			</binding>
  38.154 -		</result>
  38.155 -		<result>
  38.156 -			<binding name='x2'>
  38.157 -				<uri>http://example.org/item7</uri>
  38.158 -			</binding>
  38.159 -			<binding name='x1'>
  38.160 -				<uri>http://example.org/item3</uri>
  38.161 -			</binding>
  38.162 -		</result>
  38.163 -		<result>
  38.164 -			<binding name='x2'>
  38.165 -				<uri>http://example.org/item6</uri>
  38.166 -			</binding>
  38.167 -			<binding name='x1'>
  38.168 -				<uri>http://example.org/item3</uri>
  38.169 -			</binding>
  38.170 -		</result>
  38.171 -		<result>
  38.172 -			<binding name='x2'>
  38.173 -				<uri>http://example.org/item8</uri>
  38.174 -			</binding>
  38.175 -			<binding name='x1'>
  38.176 -				<uri>http://example.org/item5</uri>
  38.177 -			</binding>
  38.178 -		</result>
  38.179 -		<result>
  38.180 -			<binding name='x2'>
  38.181 -				<uri>http://example.org/item7</uri>
  38.182 -			</binding>
  38.183 -			<binding name='x1'>
  38.184 -				<uri>http://example.org/item4</uri>
  38.185 -			</binding>
  38.186 -		</result>
  38.187 -		<result>
  38.188 -			<binding name='x2'>
  38.189 -				<uri>http://example.org/item6</uri>
  38.190 -			</binding>
  38.191 -			<binding name='x1'>
  38.192 -				<uri>http://example.org/item4</uri>
  38.193 -			</binding>
  38.194 -		</result>
  38.195 -		<result>
  38.196 -			<binding name='x2'>
  38.197 -				<uri>http://example.org/item4</uri>
  38.198 -			</binding>
  38.199 -			<binding name='x1'>
  38.200 -				<uri>http://example.org/item1</uri>
  38.201 -			</binding>
  38.202 -		</result>
  38.203 -		<result>
  38.204 -			<binding name='x2'>
  38.205 -				<uri>http://example.org/item8</uri>
  38.206 -			</binding>
  38.207 -			<binding name='x1'>
  38.208 -				<uri>http://example.org/item1</uri>
  38.209 -			</binding>
  38.210 -		</result>
  38.211 -		<result>
  38.212 -			<binding name='x2'>
  38.213 -				<uri>http://example.org/item4</uri>
  38.214 -			</binding>
  38.215 -			<binding name='x1'>
  38.216 -				<uri>http://example.org/item2</uri>
  38.217 -			</binding>
  38.218 -		</result>
  38.219 -		<result>
  38.220 -			<binding name='x2'>
  38.221 -				<uri>http://example.org/item8</uri>
  38.222 -			</binding>
  38.223 -			<binding name='x1'>
  38.224 -				<uri>http://example.org/item2</uri>
  38.225 -			</binding>
  38.226 -		</result>
  38.227 -		<result>
  38.228 -			<binding name='x2'>
  38.229 -				<uri>http://example.org/item7</uri>
  38.230 -			</binding>
  38.231 -			<binding name='x1'>
  38.232 -				<uri>http://example.org/item6</uri>
  38.233 -			</binding>
  38.234 -		</result>
  38.235 -	</results>
  38.236 -</sparql>
    39.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationNEqualsPeriod/temporalRelations.nq	Wed Jan 14 13:20:48 2015 +0200
    39.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.3 @@ -1,15 +0,0 @@
    39.4 -<http://example.org/item1> <http://example.org/id> "1"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    39.5 -<http://example.org/item2> <http://example.org/id> "2"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    39.6 -<http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    39.7 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    39.8 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    39.9 -<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   39.10 -<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   39.11 -<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   39.12 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   39.13 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   39.14 -<http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   39.15 -<http://example.org/item5> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T11:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   39.16 -<http://example.org/item6> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T12:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   39.17 -<http://example.org/item7> <http://example.org/id> "7"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T13:41:00,2012-11-19T14:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   39.18 -<http://example.org/item8> <http://example.org/id> "8"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    40.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationOverlaps/periodOverlaps.rq	Wed Jan 14 13:20:48 2015 +0200
    40.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    40.3 @@ -1,9 +0,0 @@
    40.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    40.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    40.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    40.7 -
    40.8 -SELECT distinct ?x1 ?x2 
    40.9 -			WHERE { 
   40.10 -				?x1 ?y1 ?z1 ?t1 .
   40.11 -				?x2 ?y2 ?z2 ?t2 .
   40.12 -				FILTER(strdf:periodOverlaps(?t1, ?t2) && str(?x1) < str(?x2)).}
   40.13 \ No newline at end of file
    41.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationOverlaps/periodOverlaps.srx	Wed Jan 14 13:20:48 2015 +0200
    41.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    41.3 @@ -1,8 +0,0 @@
    41.4 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    41.5 -	<head>
    41.6 -		<variable name='x1'/>
    41.7 -		<variable name='x2'/>
    41.8 -	</head>
    41.9 -	<results>
   41.10 -	</results>
   41.11 -</sparql>
   41.12 \ No newline at end of file
    42.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationOverlaps/temporalRelations.nq	Wed Jan 14 13:20:48 2015 +0200
    42.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    42.3 @@ -1,15 +0,0 @@
    42.4 -<http://example.org/item1> <http://example.org/id> "1"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    42.5 -<http://example.org/item2> <http://example.org/id> "2"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    42.6 -<http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    42.7 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    42.8 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    42.9 -<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   42.10 -<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   42.11 -<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   42.12 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   42.13 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   42.14 -<http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   42.15 -<http://example.org/item5> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T11:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   42.16 -<http://example.org/item6> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T12:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   42.17 -<http://example.org/item7> <http://example.org/id> "7"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T13:41:00,2012-11-19T14:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   42.18 -<http://example.org/item8> <http://example.org/id> "8"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    43.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/nestedOverleft.rq	Wed Jan 14 13:20:48 2015 +0200
    43.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    43.3 @@ -1,10 +0,0 @@
    43.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    43.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    43.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    43.7 -select distinct ?node 
    43.8 -where{
    43.9 -SELECT distinct (?x1 as ?node) ?x2 
   43.10 -			WHERE { 
   43.11 -				?x1 ?y1 ?z1 ?t1 .
   43.12 -				?x2 ?y2 ?z2 ?t2 .
   43.13 -				FILTER(strdf:overleft(?t1, ?t2) && str(?x1) < str(?x2)).}}
   43.14 \ No newline at end of file
    44.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/nestedOverleft.srx	Wed Jan 14 13:20:48 2015 +0200
    44.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    44.3 @@ -1,23 +0,0 @@
    44.4 -<?xml version='1.0' encoding='UTF-8'?>
    44.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    44.6 -	<head>
    44.7 -		<variable name='node'/>
    44.8 -	</head>
    44.9 -	<results>
   44.10 -		<result>
   44.11 -			<binding name='node'>
   44.12 -				<uri>http://example.org/item2</uri>
   44.13 -			</binding>
   44.14 -		</result>
   44.15 -		<result>
   44.16 -			<binding name='node'>
   44.17 -				<uri>http://example.org/item1</uri>
   44.18 -			</binding>
   44.19 -		</result>
   44.20 -		<result>
   44.21 -			<binding name='node'>
   44.22 -				<uri>http://example.org/item3</uri>
   44.23 -			</binding>
   44.24 -		</result>
   44.25 -	</results>
   44.26 -</sparql>
   44.27 \ No newline at end of file
    45.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/overleft.rq	Wed Jan 14 13:20:48 2015 +0200
    45.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    45.3 @@ -1,9 +0,0 @@
    45.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    45.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    45.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    45.7 -
    45.8 -SELECT distinct ?x1 ?x2 
    45.9 -			WHERE { 
   45.10 -				?x1 ?y1 ?z1 ?t1 .
   45.11 -				?x2 ?y2 ?z2 ?t2 .
   45.12 -				FILTER(strdf:overleft(?t1, ?t2) && str(?x1) < str(?x2)).}
   45.13 \ No newline at end of file
    46.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/overleft.srx	Wed Jan 14 13:20:48 2015 +0200
    46.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    46.3 @@ -1,65 +0,0 @@
    46.4 -<?xml version='1.0' encoding='UTF-8'?>
    46.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    46.6 -	<head>
    46.7 -		<variable name='x1'/>
    46.8 -		<variable name='x2'/>
    46.9 -	</head>
   46.10 -	<results>
   46.11 -		<result>
   46.12 -			<binding name='x2'>
   46.13 -				<uri>http://example.org/item7</uri>
   46.14 -			</binding>
   46.15 -			<binding name='x1'>
   46.16 -				<uri>http://example.org/item3</uri>
   46.17 -			</binding>
   46.18 -		</result>
   46.19 -		<result>
   46.20 -			<binding name='x2'>
   46.21 -				<uri>http://example.org/item3</uri>
   46.22 -			</binding>
   46.23 -			<binding name='x1'>
   46.24 -				<uri>http://example.org/item1</uri>
   46.25 -			</binding>
   46.26 -		</result>
   46.27 -		<result>
   46.28 -			<binding name='x2'>
   46.29 -				<uri>http://example.org/item7</uri>
   46.30 -			</binding>
   46.31 -			<binding name='x1'>
   46.32 -				<uri>http://example.org/item2</uri>
   46.33 -			</binding>
   46.34 -		</result>
   46.35 -		<result>
   46.36 -			<binding name='x2'>
   46.37 -				<uri>http://example.org/item3</uri>
   46.38 -			</binding>
   46.39 -			<binding name='x1'>
   46.40 -				<uri>http://example.org/item2</uri>
   46.41 -			</binding>
   46.42 -		</result>
   46.43 -		<result>
   46.44 -			<binding name='x2'>
   46.45 -				<uri>http://example.org/item7</uri>
   46.46 -			</binding>
   46.47 -			<binding name='x1'>
   46.48 -				<uri>http://example.org/item1</uri>
   46.49 -			</binding>
   46.50 -		</result>
   46.51 -		<result>
   46.52 -			<binding name='x2'>
   46.53 -				<uri>http://example.org/item8</uri>
   46.54 -			</binding>
   46.55 -			<binding name='x1'>
   46.56 -				<uri>http://example.org/item2</uri>
   46.57 -			</binding>
   46.58 -		</result>
   46.59 -		<result>
   46.60 -			<binding name='x2'>
   46.61 -				<uri>http://example.org/item2</uri>
   46.62 -			</binding>
   46.63 -			<binding name='x1'>
   46.64 -				<uri>http://example.org/item1</uri>
   46.65 -			</binding>
   46.66 -		</result>
   46.67 -	</results>
   46.68 -</sparql>
   46.69 \ No newline at end of file
    47.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/temporalRelations.nq	Wed Jan 14 13:20:48 2015 +0200
    47.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    47.3 @@ -1,15 +0,0 @@
    47.4 -<http://example.org/item1> <http://example.org/id> "1"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    47.5 -<http://example.org/item2> <http://example.org/id> "2"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    47.6 -<http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    47.7 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    47.8 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    47.9 -<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   47.10 -<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   47.11 -<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   47.12 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   47.13 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   47.14 -<http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   47.15 -<http://example.org/item5> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T11:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   47.16 -<http://example.org/item6> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T12:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   47.17 -<http://example.org/item7> <http://example.org/id> "7"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T13:41:00,2012-11-19T14:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   47.18 -<http://example.org/item8> <http://example.org/id> "8"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    48.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationOverright/overright.rq	Wed Jan 14 13:20:48 2015 +0200
    48.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    48.3 @@ -1,9 +0,0 @@
    48.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    48.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    48.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    48.7 -
    48.8 -SELECT distinct ?x1 ?x2 
    48.9 -			WHERE { 
   48.10 -				?x1 ?y1 ?z1 ?t1 .
   48.11 -				?x2 ?y2 ?z2 ?t2 .
   48.12 -				FILTER(strdf:overright(?t1, ?t2) && str(?x1) < str(?x2)).}
   48.13 \ No newline at end of file
    49.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationOverright/overright.srx	Wed Jan 14 13:20:48 2015 +0200
    49.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    49.3 @@ -1,105 +0,0 @@
    49.4 -<?xml version='1.0' encoding='UTF-8'?>
    49.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    49.6 -	<head>
    49.7 -		<variable name='x1'/>
    49.8 -		<variable name='x2'/>
    49.9 -	</head>
   49.10 -	<results>
   49.11 -		<result>
   49.12 -			<binding name='x2'>
   49.13 -				<uri>http://example.org/item6</uri>
   49.14 -			</binding>
   49.15 -			<binding name='x1'>
   49.16 -				<uri>http://example.org/item1</uri>
   49.17 -			</binding>
   49.18 -		</result>
   49.19 -		<result>
   49.20 -			<binding name='x2'>
   49.21 -				<uri>http://example.org/item4</uri>
   49.22 -			</binding>
   49.23 -			<binding name='x1'>
   49.24 -				<uri>http://example.org/item2</uri>
   49.25 -			</binding>
   49.26 -		</result>
   49.27 -		<result>
   49.28 -			<binding name='x2'>
   49.29 -				<uri>http://example.org/item4</uri>
   49.30 -			</binding>
   49.31 -			<binding name='x1'>
   49.32 -				<uri>http://example.org/item1</uri>
   49.33 -			</binding>
   49.34 -		</result>
   49.35 -		<result>
   49.36 -			<binding name='x2'>
   49.37 -				<uri>http://example.org/item6</uri>
   49.38 -			</binding>
   49.39 -			<binding name='x1'>
   49.40 -				<uri>http://example.org/item2</uri>
   49.41 -			</binding>
   49.42 -		</result>
   49.43 -		<result>
   49.44 -			<binding name='x2'>
   49.45 -				<uri>http://example.org/item6</uri>
   49.46 -			</binding>
   49.47 -			<binding name='x1'>
   49.48 -				<uri>http://example.org/item3</uri>
   49.49 -			</binding>
   49.50 -		</result>
   49.51 -		<result>
   49.52 -			<binding name='x2'>
   49.53 -				<uri>http://example.org/item3</uri>
   49.54 -			</binding>
   49.55 -			<binding name='x1'>
   49.56 -				<uri>http://example.org/item1</uri>
   49.57 -			</binding>
   49.58 -		</result>
   49.59 -		<result>
   49.60 -			<binding name='x2'>
   49.61 -				<uri>http://example.org/item3</uri>
   49.62 -			</binding>
   49.63 -			<binding name='x1'>
   49.64 -				<uri>http://example.org/item2</uri>
   49.65 -			</binding>
   49.66 -		</result>
   49.67 -		<result>
   49.68 -			<binding name='x2'>
   49.69 -				<uri>http://example.org/item5</uri>
   49.70 -			</binding>
   49.71 -			<binding name='x1'>
   49.72 -				<uri>http://example.org/item3</uri>
   49.73 -			</binding>
   49.74 -		</result>
   49.75 -		<result>
   49.76 -			<binding name='x2'>
   49.77 -				<uri>http://example.org/item2</uri>
   49.78 -			</binding>
   49.79 -			<binding name='x1'>
   49.80 -				<uri>http://example.org/item1</uri>
   49.81 -			</binding>
   49.82 -		</result>
   49.83 -		<result>
   49.84 -			<binding name='x2'>
   49.85 -				<uri>http://example.org/item4</uri>
   49.86 -			</binding>
   49.87 -			<binding name='x1'>
   49.88 -				<uri>http://example.org/item3</uri>
   49.89 -			</binding>
   49.90 -		</result>
   49.91 -		<result>
   49.92 -			<binding name='x2'>
   49.93 -				<uri>http://example.org/item5</uri>
   49.94 -			</binding>
   49.95 -			<binding name='x1'>
   49.96 -				<uri>http://example.org/item2</uri>
   49.97 -			</binding>
   49.98 -		</result>
   49.99 -		<result>
  49.100 -			<binding name='x2'>
  49.101 -				<uri>http://example.org/item5</uri>
  49.102 -			</binding>
  49.103 -			<binding name='x1'>
  49.104 -				<uri>http://example.org/item1</uri>
  49.105 -			</binding>
  49.106 -		</result>
  49.107 -	</results>
  49.108 -</sparql>
  49.109 \ No newline at end of file
    50.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationOverright/temporalRelations.nq	Wed Jan 14 13:20:48 2015 +0200
    50.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    50.3 @@ -1,15 +0,0 @@
    50.4 -<http://example.org/item1> <http://example.org/id> "1"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    50.5 -<http://example.org/item2> <http://example.org/id> "2"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    50.6 -<http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    50.7 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    50.8 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    50.9 -<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   50.10 -<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   50.11 -<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   50.12 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   50.13 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   50.14 -<http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   50.15 -<http://example.org/item5> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T11:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   50.16 -<http://example.org/item6> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T12:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   50.17 -<http://example.org/item7> <http://example.org/id> "7"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T13:41:00,2012-11-19T14:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   50.18 -<http://example.org/item8> <http://example.org/id> "8"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    51.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationStarts/starts.rq	Wed Jan 14 13:20:48 2015 +0200
    51.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    51.3 @@ -1,9 +0,0 @@
    51.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    51.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    51.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    51.7 -
    51.8 -SELECT distinct ?x1 ?x2 
    51.9 -			WHERE { 
   51.10 -				?x1 ?y1 ?z1 ?t1 .
   51.11 -				?x2 ?y2 ?z2 ?t2 .
   51.12 -				FILTER(strdf:starts(?t1, ?t2) && str(?x1) < str(?x2)).}
   51.13 \ No newline at end of file
    52.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationStarts/starts.srx	Wed Jan 14 13:20:48 2015 +0200
    52.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    52.3 @@ -1,17 +0,0 @@
    52.4 -<?xml version='1.0' encoding='UTF-8'?>
    52.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    52.6 -	<head>
    52.7 -		<variable name='x1'/>
    52.8 -		<variable name='x2'/>
    52.9 -	</head>
   52.10 -	<results>
   52.11 -		<result>
   52.12 -			<binding name='x2'>
   52.13 -				<uri>http://example.org/item2</uri>
   52.14 -			</binding>
   52.15 -			<binding name='x1'>
   52.16 -				<uri>http://example.org/item1</uri>
   52.17 -			</binding>
   52.18 -		</result>
   52.19 -	</results>
   52.20 -</sparql>
   52.21 \ No newline at end of file
    53.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationStarts/temporalRelations.nq	Wed Jan 14 13:20:48 2015 +0200
    53.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    53.3 @@ -1,15 +0,0 @@
    53.4 -<http://example.org/item1> <http://example.org/id> "1"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    53.5 -<http://example.org/item2> <http://example.org/id> "2"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    53.6 -<http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    53.7 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    53.8 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    53.9 -<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   53.10 -<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   53.11 -<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00+02,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   53.12 -<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   53.13 -<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   53.14 -<http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   53.15 -<http://example.org/item5> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T11:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   53.16 -<http://example.org/item6> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T12:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   53.17 -<http://example.org/item7> <http://example.org/id> "7"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T13:41:00,2012-11-19T14:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   53.18 -<http://example.org/item8> <http://example.org/id> "8"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    54.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    54.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/adjacent.rq	Thu Jan 22 13:24:43 2015 +0200
    54.3 @@ -0,0 +1,5 @@
    54.4 +SELECT distinct ?x1 ?x2 
    54.5 +			WHERE { 
    54.6 +				?x1 ?y1 ?z1 ?t1 .
    54.7 +				?x2 ?y2 ?z2 ?t2 .
    54.8 +				FILTER(strdf:adjacent(?t1, ?t2) && str(?x1) < str(?x2)).}
    54.9 \ No newline at end of file
    55.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    55.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/adjacent.srx	Thu Jan 22 13:24:43 2015 +0200
    55.3 @@ -0,0 +1,17 @@
    55.4 +<?xml version='1.0' encoding='UTF-8'?>
    55.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    55.6 +	<head>
    55.7 +		<variable name='x1'/>
    55.8 +		<variable name='x2'/>
    55.9 +	</head>
   55.10 +	<results>
   55.11 +		<result>
   55.12 +			<binding name='x2'>
   55.13 +				<uri>http://example.org/item8</uri>
   55.14 +			</binding>
   55.15 +			<binding name='x1'>
   55.16 +				<uri>http://example.org/item7</uri>
   55.17 +			</binding>
   55.18 +		</result>
   55.19 +	</results>
   55.20 +</sparql>
   55.21 \ No newline at end of file
    56.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    56.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/after.rq	Thu Jan 22 13:24:43 2015 +0200
    56.3 @@ -0,0 +1,5 @@
    56.4 +SELECT distinct ?x1 ?x2 
    56.5 +			WHERE { 
    56.6 +				?x1 ?y1 ?z1 ?t1 .
    56.7 +				?x2 ?y2 ?z2 ?t2 .
    56.8 +				FILTER(strdf:after(?t1, ?t2) && str(?x1) < str(?x2)).}
    56.9 \ No newline at end of file
    57.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    57.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/after.srx	Thu Jan 22 13:24:43 2015 +0200
    57.3 @@ -0,0 +1,81 @@
    57.4 +<?xml version='1.0' encoding='UTF-8'?>
    57.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    57.6 +	<head>
    57.7 +		<variable name='x1'/>
    57.8 +		<variable name='x2'/>
    57.9 +	</head>
   57.10 +	<results>
   57.11 +		<result>
   57.12 +			<binding name='x2'>
   57.13 +				<uri>http://example.org/item6</uri>
   57.14 +			</binding>
   57.15 +			<binding name='x1'>
   57.16 +				<uri>http://example.org/item3</uri>
   57.17 +			</binding>
   57.18 +		</result>
   57.19 +		<result>
   57.20 +			<binding name='x2'>
   57.21 +				<uri>http://example.org/item6</uri>
   57.22 +			</binding>
   57.23 +			<binding name='x1'>
   57.24 +				<uri>http://example.org/item1</uri>
   57.25 +			</binding>
   57.26 +		</result>
   57.27 +		<result>
   57.28 +			<binding name='x2'>
   57.29 +				<uri>http://example.org/item6</uri>
   57.30 +			</binding>
   57.31 +			<binding name='x1'>
   57.32 +				<uri>http://example.org/item2</uri>
   57.33 +			</binding>
   57.34 +		</result>
   57.35 +		<result>
   57.36 +			<binding name='x2'>
   57.37 +				<uri>http://example.org/item4</uri>
   57.38 +			</binding>
   57.39 +			<binding name='x1'>
   57.40 +				<uri>http://example.org/item3</uri>
   57.41 +			</binding>
   57.42 +		</result>
   57.43 +		<result>
   57.44 +			<binding name='x2'>
   57.45 +				<uri>http://example.org/item4</uri>
   57.46 +			</binding>
   57.47 +			<binding name='x1'>
   57.48 +				<uri>http://example.org/item1</uri>
   57.49 +			</binding>
   57.50 +		</result>
   57.51 +		<result>
   57.52 +			<binding name='x2'>
   57.53 +				<uri>http://example.org/item4</uri>
   57.54 +			</binding>
   57.55 +			<binding name='x1'>
   57.56 +				<uri>http://example.org/item2</uri>
   57.57 +			</binding>
   57.58 +		</result>
   57.59 +		<result>
   57.60 +			<binding name='x2'>
   57.61 +				<uri>http://example.org/item5</uri>
   57.62 +			</binding>
   57.63 +			<binding name='x1'>
   57.64 +				<uri>http://example.org/item3</uri>
   57.65 +			</binding>
   57.66 +		</result>
   57.67 +		<result>
   57.68 +			<binding name='x2'>
   57.69 +				<uri>http://example.org/item5</uri>
   57.70 +			</binding>
   57.71 +			<binding name='x1'>
   57.72 +				<uri>http://example.org/item1</uri>
   57.73 +			</binding>
   57.74 +		</result>
   57.75 +		<result>
   57.76 +			<binding name='x2'>
   57.77 +				<uri>http://example.org/item5</uri>
   57.78 +			</binding>
   57.79 +			<binding name='x1'>
   57.80 +				<uri>http://example.org/item2</uri>
   57.81 +			</binding>
   57.82 +		</result>
   57.83 +	</results>
   57.84 +</sparql>
    58.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    58.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/before.rq	Thu Jan 22 13:24:43 2015 +0200
    58.3 @@ -0,0 +1,5 @@
    58.4 +SELECT distinct ?x1 ?x2 
    58.5 +			WHERE { 
    58.6 +				?x1 ?y1 ?z1 ?t1 .
    58.7 +				?x2 ?y2 ?z2 ?t2 .
    58.8 +				FILTER(strdf:before(?t1, ?t2) && str(?x1) < str(?x2)).}
    58.9 \ No newline at end of file
    59.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    59.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/before.srx	Thu Jan 22 13:24:43 2015 +0200
    59.3 @@ -0,0 +1,137 @@
    59.4 +<?xml version='1.0' encoding='UTF-8'?>
    59.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    59.6 +	<head>
    59.7 +		<variable name='x1'/>
    59.8 +		<variable name='x2'/>
    59.9 +	</head>
   59.10 +	<results>
   59.11 +		<result>
   59.12 +			<binding name='x2'>
   59.13 +				<uri>http://example.org/item8</uri>
   59.14 +			</binding>
   59.15 +			<binding name='x1'>
   59.16 +				<uri>http://example.org/item4</uri>
   59.17 +			</binding>
   59.18 +		</result>
   59.19 +		<result>
   59.20 +			<binding name='x2'>
   59.21 +				<uri>http://example.org/item7</uri>
   59.22 +			</binding>
   59.23 +			<binding name='x1'>
   59.24 +				<uri>http://example.org/item1</uri>
   59.25 +			</binding>
   59.26 +		</result>
   59.27 +		<result>
   59.28 +			<binding name='x2'>
   59.29 +				<uri>http://example.org/item8</uri>
   59.30 +			</binding>
   59.31 +			<binding name='x1'>
   59.32 +				<uri>http://example.org/item5</uri>
   59.33 +			</binding>
   59.34 +		</result>
   59.35 +		<result>
   59.36 +			<binding name='x2'>
   59.37 +				<uri>http://example.org/item7</uri>
   59.38 +			</binding>
   59.39 +			<binding name='x1'>
   59.40 +				<uri>http://example.org/item4</uri>
   59.41 +			</binding>
   59.42 +		</result>
   59.43 +		<result>
   59.44 +			<binding name='x2'>
   59.45 +				<uri>http://example.org/item8</uri>
   59.46 +			</binding>
   59.47 +			<binding name='x1'>
   59.48 +				<uri>http://example.org/item3</uri>
   59.49 +			</binding>
   59.50 +		</result>
   59.51 +		<result>
   59.52 +			<binding name='x2'>
   59.53 +				<uri>http://example.org/item6</uri>
   59.54 +			</binding>
   59.55 +			<binding name='x1'>
   59.56 +				<uri>http://example.org/item4</uri>
   59.57 +			</binding>
   59.58 +		</result>
   59.59 +		<result>
   59.60 +			<binding name='x2'>
   59.61 +				<uri>http://example.org/item8</uri>
   59.62 +			</binding>
   59.63 +			<binding name='x1'>
   59.64 +				<uri>http://example.org/item1</uri>
   59.65 +			</binding>
   59.66 +		</result>
   59.67 +		<result>
   59.68 +			<binding name='x2'>
   59.69 +				<uri>http://example.org/item8</uri>
   59.70 +			</binding>
   59.71 +			<binding name='x1'>
   59.72 +				<uri>http://example.org/item7</uri>
   59.73 +			</binding>
   59.74 +		</result>
   59.75 +		<result>
   59.76 +			<binding name='x2'>
   59.77 +				<uri>http://example.org/item3</uri>
   59.78 +			</binding>
   59.79 +			<binding name='x1'>
   59.80 +				<uri>http://example.org/item1</uri>
   59.81 +			</binding>
   59.82 +		</result>
   59.83 +		<result>
   59.84 +			<binding name='x2'>
   59.85 +				<uri>http://example.org/item7</uri>
   59.86 +			</binding>
   59.87 +			<binding name='x1'>
   59.88 +				<uri>http://example.org/item5</uri>
   59.89 +			</binding>
   59.90 +		</result>
   59.91 +		<result>
   59.92 +			<binding name='x2'>
   59.93 +				<uri>http://example.org/item6</uri>
   59.94 +			</binding>
   59.95 +			<binding name='x1'>
   59.96 +				<uri>http://example.org/item5</uri>
   59.97 +			</binding>
   59.98 +		</result>
   59.99 +		<result>
  59.100 +			<binding name='x2'>
  59.101 +				<uri>http://example.org/item8</uri>
  59.102 +			</binding>
  59.103 +			<binding name='x1'>
  59.104 +				<uri>http://example.org/item2</uri>
  59.105 +			</binding>
  59.106 +		</result>
  59.107 +		<result>
  59.108 +			<binding name='x2'>
  59.109 +				<uri>http://example.org/item5</uri>
  59.110 +			</binding>
  59.111 +			<binding name='x1'>
  59.112 +				<uri>http://example.org/item4</uri>
  59.113 +			</binding>
  59.114 +		</result>
  59.115 +		<result>
  59.116 +			<binding name='x2'>
  59.117 +				<uri>http://example.org/item7</uri>
  59.118 +			</binding>
  59.119 +			<binding name='x1'>
  59.120 +				<uri>http://example.org/item6</uri>
  59.121 +			</binding>
  59.122 +		</result>
  59.123 +		<result>
  59.124 +			<binding name='x2'>
  59.125 +				<uri>http://example.org/item2</uri>
  59.126 +			</binding>
  59.127 +			<binding name='x1'>
  59.128 +				<uri>http://example.org/item1</uri>
  59.129 +			</binding>
  59.130 +		</result>
  59.131 +		<result>
  59.132 +			<binding name='x2'>
  59.133 +				<uri>http://example.org/item8</uri>
  59.134 +			</binding>
  59.135 +			<binding name='x1'>
  59.136 +				<uri>http://example.org/item6</uri>
  59.137 +			</binding>
  59.138 +		</result>
  59.139 +	</results>
  59.140 +</sparql>
    60.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    60.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/during.rq	Thu Jan 22 13:24:43 2015 +0200
    60.3 @@ -0,0 +1,5 @@
    60.4 +SELECT distinct ?x1 ?x2 
    60.5 +			WHERE { 
    60.6 +				?x1 ?y1 ?z1 ?t1 .
    60.7 +				?x2 ?y2 ?z2 ?t2 .
    60.8 +				FILTER(strdf:during(?t1, ?t2) && str(?x1) < str(?x2)).}
    60.9 \ No newline at end of file
    61.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    61.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/during.srx	Thu Jan 22 13:24:43 2015 +0200
    61.3 @@ -0,0 +1,33 @@
    61.4 +<?xml version='1.0' encoding='UTF-8'?>
    61.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    61.6 +	<head>
    61.7 +		<variable name='x1'/>
    61.8 +		<variable name='x2'/>
    61.9 +	</head>
   61.10 +	<results>
   61.11 +		<result>
   61.12 +			<binding name='x2'>
   61.13 +				<uri>http://example.org/item3</uri>
   61.14 +			</binding>
   61.15 +			<binding name='x1'>
   61.16 +				<uri>http://example.org/item1</uri>
   61.17 +			</binding>
   61.18 +		</result>
   61.19 +		<result>
   61.20 +			<binding name='x2'>
   61.21 +				<uri>http://example.org/item3</uri>
   61.22 +			</binding>
   61.23 +			<binding name='x1'>
   61.24 +				<uri>http://example.org/item2</uri>
   61.25 +			</binding>
   61.26 +		</result>
   61.27 +		<result>
   61.28 +			<binding name='x2'>
   61.29 +				<uri>http://example.org/item2</uri>
   61.30 +			</binding>
   61.31 +			<binding name='x1'>
   61.32 +				<uri>http://example.org/item1</uri>
   61.33 +			</binding>
   61.34 +		</result>
   61.35 +	</results>
   61.36 +</sparql>
    62.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    62.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/equalsPeriod.rq	Thu Jan 22 13:24:43 2015 +0200
    62.3 @@ -0,0 +1,5 @@
    62.4 +SELECT distinct ?x1 ?x2 
    62.5 +			WHERE { 
    62.6 +				?x1 ?y1 ?z1 ?t1 .
    62.7 +				?x2 ?y2 ?z2 ?t2 .
    62.8 +				FILTER(strdf:equalsPeriod(?t1, ?t2) && str(?x1) < str(?x2)).}
    62.9 \ No newline at end of file
    63.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    63.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/equalsPeriod.srx	Thu Jan 22 13:24:43 2015 +0200
    63.3 @@ -0,0 +1,33 @@
    63.4 +<?xml version='1.0' encoding='UTF-8'?>
    63.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    63.6 +	<head>
    63.7 +		<variable name='x1'/>
    63.8 +		<variable name='x2'/>
    63.9 +	</head>
   63.10 +	<results>
   63.11 +		<result>
   63.12 +			<binding name='x1'>
   63.13 +				<uri>http://example.org/item1</uri>
   63.14 +			</binding>
   63.15 +			<binding name='x2'>
   63.16 +				<uri>http://example.org/item2</uri>
   63.17 +			</binding>
   63.18 +		</result>
   63.19 +		<result>
   63.20 +			<binding name='x1'>
   63.21 +				<uri>http://example.org/item1</uri>
   63.22 +			</binding>
   63.23 +			<binding name='x2'>
   63.24 +				<uri>http://example.org/item3</uri>
   63.25 +			</binding>
   63.26 +		</result>
   63.27 +		<result>
   63.28 +			<binding name='x1'>
   63.29 +				<uri>http://example.org/item2</uri>
   63.30 +			</binding>
   63.31 +			<binding name='x2'>
   63.32 +				<uri>http://example.org/item3</uri>
   63.33 +			</binding>
   63.34 +		</result>
   63.35 +	</results>
   63.36 +</sparql>
   63.37 \ No newline at end of file
    64.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    64.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/finishes.rq	Thu Jan 22 13:24:43 2015 +0200
    64.3 @@ -0,0 +1,9 @@
    64.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    64.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    64.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    64.7 +
    64.8 +SELECT distinct ?x1 ?x2 
    64.9 +			WHERE { 
   64.10 +				?x1 ?y1 ?z1 ?t1 .
   64.11 +				?x2 ?y2 ?z2 ?t2 .
   64.12 +				FILTER(strdf:finishes(?t1, ?t2) && str(?x1) < str(?x2)).}
   64.13 \ No newline at end of file
    65.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    65.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/finishes.srx	Thu Jan 22 13:24:43 2015 +0200
    65.3 @@ -0,0 +1,9 @@
    65.4 +<?xml version='1.0' encoding='UTF-8'?>
    65.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    65.6 +	<head>
    65.7 +		<variable name='x1'/>
    65.8 +		<variable name='x2'/>
    65.9 +	</head>
   65.10 +	<results>
   65.11 +	</results>
   65.12 +</sparql>
    66.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    66.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/meets.rq	Thu Jan 22 13:24:43 2015 +0200
    66.3 @@ -0,0 +1,5 @@
    66.4 +SELECT distinct ?x1 ?x2 
    66.5 +			WHERE { 
    66.6 +				?x1 ?y1 ?z1 ?t1 .
    66.7 +				?x2 ?y2 ?z2 ?t2 .
    66.8 +				FILTER(strdf:meets(?t1, ?t2) && str(?x1) < str(?x2)).}
    66.9 \ No newline at end of file
    67.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    67.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/meets.srx	Thu Jan 22 13:24:43 2015 +0200
    67.3 @@ -0,0 +1,33 @@
    67.4 +<?xml version='1.0' encoding='UTF-8'?>
    67.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    67.6 +	<head>
    67.7 +		<variable name='x1'/>
    67.8 +		<variable name='x2'/>
    67.9 +	</head>
   67.10 +	<results>
   67.11 +		<result>
   67.12 +			<binding name='x2'>
   67.13 +				<uri>http://example.org/item7</uri>
   67.14 +			</binding>
   67.15 +			<binding name='x1'>
   67.16 +				<uri>http://example.org/item3</uri>
   67.17 +			</binding>
   67.18 +		</result>
   67.19 +		<result>
   67.20 +			<binding name='x2'>
   67.21 +				<uri>http://example.org/item7</uri>
   67.22 +			</binding>
   67.23 +			<binding name='x1'>
   67.24 +				<uri>http://example.org/item1</uri>
   67.25 +			</binding>
   67.26 +		</result>
   67.27 +		<result>
   67.28 +			<binding name='x2'>
   67.29 +				<uri>http://example.org/item7</uri>
   67.30 +			</binding>
   67.31 +			<binding name='x1'>
   67.32 +				<uri>http://example.org/item2</uri>
   67.33 +			</binding>
   67.34 +		</result>
   67.35 +	</results>
   67.36 +</sparql>
    68.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    68.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/nequalsPeriod.rq	Thu Jan 22 13:24:43 2015 +0200
    68.3 @@ -0,0 +1,5 @@
    68.4 +SELECT distinct ?x1 ?x2 
    68.5 +			WHERE { 
    68.6 +				?x1 ?y1 ?z1 ?t1 .
    68.7 +				?x2 ?y2 ?z2 ?t2 .
    68.8 +				FILTER(strdf:nequalsPeriod(?t1, ?t2) && str(?x1) < str(?x2)).}
    68.9 \ No newline at end of file
    69.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    69.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/nequalsPeriod.srx	Thu Jan 22 13:24:43 2015 +0200
    69.3 @@ -0,0 +1,233 @@
    69.4 +<?xml version='1.0' encoding='UTF-8'?>
    69.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    69.6 +	<head>
    69.7 +		<variable name='x1'/>
    69.8 +		<variable name='x2'/>
    69.9 +	</head>
   69.10 +	<results>
   69.11 +		<result>
   69.12 +			<binding name='x1'>
   69.13 +				<uri>http://example.org/item1</uri>
   69.14 +			</binding>
   69.15 +			<binding name='x2'>
   69.16 +				<uri>http://example.org/item2</uri>
   69.17 +			</binding>
   69.18 +		</result>
   69.19 +		<result>
   69.20 +			<binding name='x1'>
   69.21 +				<uri>http://example.org/item1</uri>
   69.22 +			</binding>
   69.23 +			<binding name='x2'>
   69.24 +				<uri>http://example.org/item3</uri>
   69.25 +			</binding>
   69.26 +		</result>
   69.27 +		<result>
   69.28 +			<binding name='x1'>
   69.29 +				<uri>http://example.org/item2</uri>
   69.30 +			</binding>
   69.31 +			<binding name='x2'>
   69.32 +				<uri>http://example.org/item3</uri>
   69.33 +			</binding>
   69.34 +		</result>
   69.35 +		<result>
   69.36 +			<binding name='x1'>
   69.37 +				<uri>http://example.org/item1</uri>
   69.38 +			</binding>
   69.39 +			<binding name='x2'>
   69.40 +				<uri>http://example.org/item4</uri>
   69.41 +			</binding>
   69.42 +		</result>
   69.43 +		<result>
   69.44 +			<binding name='x1'>
   69.45 +				<uri>http://example.org/item2</uri>
   69.46 +			</binding>
   69.47 +			<binding name='x2'>
   69.48 +				<uri>http://example.org/item4</uri>
   69.49 +			</binding>
   69.50 +		</result>
   69.51 +		<result>
   69.52 +			<binding name='x1'>
   69.53 +				<uri>http://example.org/item3</uri>
   69.54 +			</binding>
   69.55 +			<binding name='x2'>
   69.56 +				<uri>http://example.org/item4</uri>
   69.57 +			</binding>
   69.58 +		</result>
   69.59 +		<result>
   69.60 +			<binding name='x1'>
   69.61 +				<uri>http://example.org/item1</uri>
   69.62 +			</binding>
   69.63 +			<binding name='x2'>
   69.64 +				<uri>http://example.org/item5</uri>
   69.65 +			</binding>
   69.66 +		</result>
   69.67 +		<result>
   69.68 +			<binding name='x1'>
   69.69 +				<uri>http://example.org/item2</uri>
   69.70 +			</binding>
   69.71 +			<binding name='x2'>
   69.72 +				<uri>http://example.org/item5</uri>
   69.73 +			</binding>
   69.74 +		</result>
   69.75 +		<result>
   69.76 +			<binding name='x1'>
   69.77 +				<uri>http://example.org/item3</uri>
   69.78 +			</binding>
   69.79 +			<binding name='x2'>
   69.80 +				<uri>http://example.org/item5</uri>
   69.81 +			</binding>
   69.82 +		</result>
   69.83 +		<result>
   69.84 +			<binding name='x1'>
   69.85 +				<uri>http://example.org/item4</uri>
   69.86 +			</binding>
   69.87 +			<binding name='x2'>
   69.88 +				<uri>http://example.org/item5</uri>
   69.89 +			</binding>
   69.90 +		</result>
   69.91 +		<result>
   69.92 +			<binding name='x1'>
   69.93 +				<uri>http://example.org/item1</uri>
   69.94 +			</binding>
   69.95 +			<binding name='x2'>
   69.96 +				<uri>http://example.org/item6</uri>
   69.97 +			</binding>
   69.98 +		</result>
   69.99 +		<result>
  69.100 +			<binding name='x1'>
  69.101 +				<uri>http://example.org/item2</uri>
  69.102 +			</binding>
  69.103 +			<binding name='x2'>
  69.104 +				<uri>http://example.org/item6</uri>
  69.105 +			</binding>
  69.106 +		</result>
  69.107 +		<result>
  69.108 +			<binding name='x1'>
  69.109 +				<uri>http://example.org/item3</uri>
  69.110 +			</binding>
  69.111 +			<binding name='x2'>
  69.112 +				<uri>http://example.org/item6</uri>
  69.113 +			</binding>
  69.114 +		</result>
  69.115 +		<result>
  69.116 +			<binding name='x1'>
  69.117 +				<uri>http://example.org/item4</uri>
  69.118 +			</binding>
  69.119 +			<binding name='x2'>
  69.120 +				<uri>http://example.org/item6</uri>
  69.121 +			</binding>
  69.122 +		</result>
  69.123 +		<result>
  69.124 +			<binding name='x1'>
  69.125 +				<uri>http://example.org/item5</uri>
  69.126 +			</binding>
  69.127 +			<binding name='x2'>
  69.128 +				<uri>http://example.org/item6</uri>
  69.129 +			</binding>
  69.130 +		</result>
  69.131 +		<result>
  69.132 +			<binding name='x1'>
  69.133 +				<uri>http://example.org/item1</uri>
  69.134 +			</binding>
  69.135 +			<binding name='x2'>
  69.136 +				<uri>http://example.org/item7</uri>
  69.137 +			</binding>
  69.138 +		</result>
  69.139 +		<result>
  69.140 +			<binding name='x1'>
  69.141 +				<uri>http://example.org/item2</uri>
  69.142 +			</binding>
  69.143 +			<binding name='x2'>
  69.144 +				<uri>http://example.org/item7</uri>
  69.145 +			</binding>
  69.146 +		</result>
  69.147 +		<result>
  69.148 +			<binding name='x1'>
  69.149 +				<uri>http://example.org/item3</uri>
  69.150 +			</binding>
  69.151 +			<binding name='x2'>
  69.152 +				<uri>http://example.org/item7</uri>
  69.153 +			</binding>
  69.154 +		</result>
  69.155 +		<result>
  69.156 +			<binding name='x1'>
  69.157 +				<uri>http://example.org/item4</uri>
  69.158 +			</binding>
  69.159 +			<binding name='x2'>
  69.160 +				<uri>http://example.org/item7</uri>
  69.161 +			</binding>
  69.162 +		</result>
  69.163 +		<result>
  69.164 +			<binding name='x1'>
  69.165 +				<uri>http://example.org/item5</uri>
  69.166 +			</binding>
  69.167 +			<binding name='x2'>
  69.168 +				<uri>http://example.org/item7</uri>
  69.169 +			</binding>
  69.170 +		</result>
  69.171 +		<result>
  69.172 +			<binding name='x1'>
  69.173 +				<uri>http://example.org/item6</uri>
  69.174 +			</binding>
  69.175 +			<binding name='x2'>
  69.176 +				<uri>http://example.org/item7</uri>
  69.177 +			</binding>
  69.178 +		</result>
  69.179 +		<result>
  69.180 +			<binding name='x1'>
  69.181 +				<uri>http://example.org/item1</uri>
  69.182 +			</binding>
  69.183 +			<binding name='x2'>
  69.184 +				<uri>http://example.org/item8</uri>
  69.185 +			</binding>
  69.186 +		</result>
  69.187 +		<result>
  69.188 +			<binding name='x1'>
  69.189 +				<uri>http://example.org/item2</uri>
  69.190 +			</binding>
  69.191 +			<binding name='x2'>
  69.192 +				<uri>http://example.org/item8</uri>
  69.193 +			</binding>
  69.194 +		</result>
  69.195 +		<result>
  69.196 +			<binding name='x1'>
  69.197 +				<uri>http://example.org/item3</uri>
  69.198 +			</binding>
  69.199 +			<binding name='x2'>
  69.200 +				<uri>http://example.org/item8</uri>
  69.201 +			</binding>
  69.202 +		</result>
  69.203 +		<result>
  69.204 +			<binding name='x1'>
  69.205 +				<uri>http://example.org/item4</uri>
  69.206 +			</binding>
  69.207 +			<binding name='x2'>
  69.208 +				<uri>http://example.org/item8</uri>
  69.209 +			</binding>
  69.210 +		</result>
  69.211 +		<result>
  69.212 +			<binding name='x1'>
  69.213 +				<uri>http://example.org/item5</uri>
  69.214 +			</binding>
  69.215 +			<binding name='x2'>
  69.216 +				<uri>http://example.org/item8</uri>
  69.217 +			</binding>
  69.218 +		</result>
  69.219 +		<result>
  69.220 +			<binding name='x1'>
  69.221 +				<uri>http://example.org/item6</uri>
  69.222 +			</binding>
  69.223 +			<binding name='x2'>
  69.224 +				<uri>http://example.org/item8</uri>
  69.225 +			</binding>
  69.226 +		</result>
  69.227 +		<result>
  69.228 +			<binding name='x1'>
  69.229 +				<uri>http://example.org/item7</uri>
  69.230 +			</binding>
  69.231 +			<binding name='x2'>
  69.232 +				<uri>http://example.org/item8</uri>
  69.233 +			</binding>
  69.234 +		</result>
  69.235 +	</results>
  69.236 +</sparql>
  69.237 \ No newline at end of file
    70.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    70.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/nestedOverleft.rq	Thu Jan 22 13:24:43 2015 +0200
    70.3 @@ -0,0 +1,7 @@
    70.4 +select distinct ?node 
    70.5 +where{
    70.6 +SELECT distinct (?x1 as ?node) ?x2 
    70.7 +			WHERE { 
    70.8 +				?x1 ?y1 ?z1 ?t1 .
    70.9 +				?x2 ?y2 ?z2 ?t2 .
   70.10 +				FILTER(strdf:overleft(?t1, ?t2) && str(?x1) < str(?x2)).}}
   70.11 \ No newline at end of file
    71.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    71.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/nestedOverleft.srx	Thu Jan 22 13:24:43 2015 +0200
    71.3 @@ -0,0 +1,23 @@
    71.4 +<?xml version='1.0' encoding='UTF-8'?>
    71.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    71.6 +	<head>
    71.7 +		<variable name='node'/>
    71.8 +	</head>
    71.9 +	<results>
   71.10 +		<result>
   71.11 +			<binding name='node'>
   71.12 +				<uri>http://example.org/item2</uri>
   71.13 +			</binding>
   71.14 +		</result>
   71.15 +		<result>
   71.16 +			<binding name='node'>
   71.17 +				<uri>http://example.org/item1</uri>
   71.18 +			</binding>
   71.19 +		</result>
   71.20 +		<result>
   71.21 +			<binding name='node'>
   71.22 +				<uri>http://example.org/item3</uri>
   71.23 +			</binding>
   71.24 +		</result>
   71.25 +	</results>
   71.26 +</sparql>
   71.27 \ No newline at end of file
    72.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    72.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/overleft.rq	Thu Jan 22 13:24:43 2015 +0200
    72.3 @@ -0,0 +1,9 @@
    72.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    72.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    72.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    72.7 +
    72.8 +SELECT distinct ?x1 ?x2 
    72.9 +			WHERE { 
   72.10 +				?x1 ?y1 ?z1 ?t1 .
   72.11 +				?x2 ?y2 ?z2 ?t2 .
   72.12 +				FILTER(strdf:overleft(?t1, ?t2) && str(?x1) < str(?x2)).}
   72.13 \ No newline at end of file
    73.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    73.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/overleft.srx	Thu Jan 22 13:24:43 2015 +0200
    73.3 @@ -0,0 +1,65 @@
    73.4 +<?xml version='1.0' encoding='UTF-8'?>
    73.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    73.6 +	<head>
    73.7 +		<variable name='x1'/>
    73.8 +		<variable name='x2'/>
    73.9 +	</head>
   73.10 +	<results>
   73.11 +		<result>
   73.12 +			<binding name='x2'>
   73.13 +				<uri>http://example.org/item7</uri>
   73.14 +			</binding>
   73.15 +			<binding name='x1'>
   73.16 +				<uri>http://example.org/item3</uri>
   73.17 +			</binding>
   73.18 +		</result>
   73.19 +		<result>
   73.20 +			<binding name='x2'>
   73.21 +				<uri>http://example.org/item3</uri>
   73.22 +			</binding>
   73.23 +			<binding name='x1'>
   73.24 +				<uri>http://example.org/item1</uri>
   73.25 +			</binding>
   73.26 +		</result>
   73.27 +		<result>
   73.28 +			<binding name='x2'>
   73.29 +				<uri>http://example.org/item7</uri>
   73.30 +			</binding>
   73.31 +			<binding name='x1'>
   73.32 +				<uri>http://example.org/item2</uri>
   73.33 +			</binding>
   73.34 +		</result>
   73.35 +		<result>
   73.36 +			<binding name='x2'>
   73.37 +				<uri>http://example.org/item3</uri>
   73.38 +			</binding>
   73.39 +			<binding name='x1'>
   73.40 +				<uri>http://example.org/item2</uri>
   73.41 +			</binding>
   73.42 +		</result>
   73.43 +		<result>
   73.44 +			<binding name='x2'>
   73.45 +				<uri>http://example.org/item7</uri>
   73.46 +			</binding>
   73.47 +			<binding name='x1'>
   73.48 +				<uri>http://example.org/item1</uri>
   73.49 +			</binding>
   73.50 +		</result>
   73.51 +		<result>
   73.52 +			<binding name='x2'>
   73.53 +				<uri>http://example.org/item8</uri>
   73.54 +			</binding>
   73.55 +			<binding name='x1'>
   73.56 +				<uri>http://example.org/item2</uri>
   73.57 +			</binding>
   73.58 +		</result>
   73.59 +		<result>
   73.60 +			<binding name='x2'>
   73.61 +				<uri>http://example.org/item2</uri>
   73.62 +			</binding>
   73.63 +			<binding name='x1'>
   73.64 +				<uri>http://example.org/item1</uri>
   73.65 +			</binding>
   73.66 +		</result>
   73.67 +	</results>
   73.68 +</sparql>
   73.69 \ No newline at end of file
    74.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    74.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/overright.rq	Thu Jan 22 13:24:43 2015 +0200
    74.3 @@ -0,0 +1,5 @@
    74.4 +SELECT distinct ?x1 ?x2 
    74.5 +			WHERE { 
    74.6 +				?x1 ?y1 ?z1 ?t1 .
    74.7 +				?x2 ?y2 ?z2 ?t2 .
    74.8 +				FILTER(strdf:overright(?t1, ?t2) && str(?x1) < str(?x2)).}
    74.9 \ No newline at end of file
    75.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    75.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/overright.srx	Thu Jan 22 13:24:43 2015 +0200
    75.3 @@ -0,0 +1,105 @@
    75.4 +<?xml version='1.0' encoding='UTF-8'?>
    75.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    75.6 +	<head>
    75.7 +		<variable name='x1'/>
    75.8 +		<variable name='x2'/>
    75.9 +	</head>
   75.10 +	<results>
   75.11 +		<result>
   75.12 +			<binding name='x2'>
   75.13 +				<uri>http://example.org/item6</uri>
   75.14 +			</binding>
   75.15 +			<binding name='x1'>
   75.16 +				<uri>http://example.org/item1</uri>
   75.17 +			</binding>
   75.18 +		</result>
   75.19 +		<result>
   75.20 +			<binding name='x2'>
   75.21 +				<uri>http://example.org/item4</uri>
   75.22 +			</binding>
   75.23 +			<binding name='x1'>
   75.24 +				<uri>http://example.org/item2</uri>
   75.25 +			</binding>
   75.26 +		</result>
   75.27 +		<result>
   75.28 +			<binding name='x2'>
   75.29 +				<uri>http://example.org/item4</uri>
   75.30 +			</binding>
   75.31 +			<binding name='x1'>
   75.32 +				<uri>http://example.org/item1</uri>
   75.33 +			</binding>
   75.34 +		</result>
   75.35 +		<result>
   75.36 +			<binding name='x2'>
   75.37 +				<uri>http://example.org/item6</uri>
   75.38 +			</binding>
   75.39 +			<binding name='x1'>
   75.40 +				<uri>http://example.org/item2</uri>
   75.41 +			</binding>
   75.42 +		</result>
   75.43 +		<result>
   75.44 +			<binding name='x2'>
   75.45 +				<uri>http://example.org/item6</uri>
   75.46 +			</binding>
   75.47 +			<binding name='x1'>
   75.48 +				<uri>http://example.org/item3</uri>
   75.49 +			</binding>
   75.50 +		</result>
   75.51 +		<result>
   75.52 +			<binding name='x2'>
   75.53 +				<uri>http://example.org/item3</uri>
   75.54 +			</binding>
   75.55 +			<binding name='x1'>
   75.56 +				<uri>http://example.org/item1</uri>
   75.57 +			</binding>
   75.58 +		</result>
   75.59 +		<result>
   75.60 +			<binding name='x2'>
   75.61 +				<uri>http://example.org/item3</uri>
   75.62 +			</binding>
   75.63 +			<binding name='x1'>
   75.64 +				<uri>http://example.org/item2</uri>
   75.65 +			</binding>
   75.66 +		</result>
   75.67 +		<result>
   75.68 +			<binding name='x2'>
   75.69 +				<uri>http://example.org/item5</uri>
   75.70 +			</binding>
   75.71 +			<binding name='x1'>
   75.72 +				<uri>http://example.org/item3</uri>
   75.73 +			</binding>
   75.74 +		</result>
   75.75 +		<result>
   75.76 +			<binding name='x2'>
   75.77 +				<uri>http://example.org/item2</uri>
   75.78 +			</binding>
   75.79 +			<binding name='x1'>
   75.80 +				<uri>http://example.org/item1</uri>
   75.81 +			</binding>
   75.82 +		</result>
   75.83 +		<result>
   75.84 +			<binding name='x2'>
   75.85 +				<uri>http://example.org/item4</uri>
   75.86 +			</binding>
   75.87 +			<binding name='x1'>
   75.88 +				<uri>http://example.org/item3</uri>
   75.89 +			</binding>
   75.90 +		</result>
   75.91 +		<result>
   75.92 +			<binding name='x2'>
   75.93 +				<uri>http://example.org/item5</uri>
   75.94 +			</binding>
   75.95 +			<binding name='x1'>
   75.96 +				<uri>http://example.org/item2</uri>
   75.97 +			</binding>
   75.98 +		</result>
   75.99 +		<result>
  75.100 +			<binding name='x2'>
  75.101 +				<uri>http://example.org/item5</uri>
  75.102 +			</binding>
  75.103 +			<binding name='x1'>
  75.104 +				<uri>http://example.org/item1</uri>
  75.105 +			</binding>
  75.106 +		</result>
  75.107 +	</results>
  75.108 +</sparql>
  75.109 \ No newline at end of file
    76.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    76.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/periodIntersects.rq	Thu Jan 22 13:24:43 2015 +0200
    76.3 @@ -0,0 +1,9 @@
    76.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    76.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    76.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    76.7 +
    76.8 +SELECT distinct ?x1 ?x2 
    76.9 +			WHERE { 
   76.10 +				?x1 ?y1 ?z1 ?t1 .
   76.11 +				?x2 ?y2 ?z2 ?t2 .
   76.12 +				FILTER(strdf:periodIntersects(?t1, ?t2) && str(?x1) < str(?x2)).}
   76.13 \ No newline at end of file
    77.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    77.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/periodIntersects.srx	Thu Jan 22 13:24:43 2015 +0200
    77.3 @@ -0,0 +1,9 @@
    77.4 +<?xml version='1.0' encoding='UTF-8'?>
    77.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    77.6 +	<head>
    77.7 +		<variable name='x1'/>
    77.8 +		<variable name='x2'/>
    77.9 +	</head>
   77.10 +	<results>
   77.11 +	</results>
   77.12 +</sparql>
    78.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    78.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/periodOverlaps.rq	Thu Jan 22 13:24:43 2015 +0200
    78.3 @@ -0,0 +1,5 @@
    78.4 +SELECT distinct ?x1 ?x2 
    78.5 +			WHERE { 
    78.6 +				?x1 ?y1 ?z1 ?t1 .
    78.7 +				?x2 ?y2 ?z2 ?t2 .
    78.8 +				FILTER(strdf:periodOverlaps(?t1, ?t2) && str(?x1) < str(?x2)).}
    78.9 \ No newline at end of file
    79.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    79.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/periodOverlaps.srx	Thu Jan 22 13:24:43 2015 +0200
    79.3 @@ -0,0 +1,8 @@
    79.4 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    79.5 +	<head>
    79.6 +		<variable name='x1'/>
    79.7 +		<variable name='x2'/>
    79.8 +	</head>
    79.9 +	<results>
   79.10 +	</results>
   79.11 +</sparql>
   79.12 \ No newline at end of file
    80.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    80.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/starts.rq	Thu Jan 22 13:24:43 2015 +0200
    80.3 @@ -0,0 +1,9 @@
    80.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    80.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    80.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    80.7 +
    80.8 +SELECT distinct ?x1 ?x2 
    80.9 +			WHERE { 
   80.10 +				?x1 ?y1 ?z1 ?t1 .
   80.11 +				?x2 ?y2 ?z2 ?t2 .
   80.12 +				FILTER(strdf:starts(?t1, ?t2) && str(?x1) < str(?x2)).}
   80.13 \ No newline at end of file
    81.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    81.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/starts.srx	Thu Jan 22 13:24:43 2015 +0200
    81.3 @@ -0,0 +1,17 @@
    81.4 +<?xml version='1.0' encoding='UTF-8'?>
    81.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    81.6 +	<head>
    81.7 +		<variable name='x1'/>
    81.8 +		<variable name='x2'/>
    81.9 +	</head>
   81.10 +	<results>
   81.11 +		<result>
   81.12 +			<binding name='x2'>
   81.13 +				<uri>http://example.org/item2</uri>
   81.14 +			</binding>
   81.15 +			<binding name='x1'>
   81.16 +				<uri>http://example.org/item1</uri>
   81.17 +			</binding>
   81.18 +		</result>
   81.19 +	</results>
   81.20 +</sparql>
   81.21 \ No newline at end of file
    82.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    82.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationsTest/temporalRelations.nq	Thu Jan 22 13:24:43 2015 +0200
    82.3 @@ -0,0 +1,15 @@
    82.4 +<http://example.org/item1> <http://example.org/id> "1"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    82.5 +<http://example.org/item2> <http://example.org/id> "2"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    82.6 +<http://example.org/item3> <http://example.org/id> "3"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    82.7 +<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    82.8 +<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
    82.9 +<http://example.org/item1> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(1 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   82.10 +<http://example.org/item2> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(2 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   82.11 +<http://example.org/item3> <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#hasGeometry> "POINT(3 0)"^^<http://strdf.di.uoa.gr/ontology#WKT> "[2012-11-19T12:41:00,2012-11-19T13:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   82.12 +<http://example.org/item1> <http://example.org/value> "10"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T11:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   82.13 +<http://example.org/item2> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T10:41:00,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   82.14 +<http://example.org/item4> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T10:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   82.15 +<http://example.org/item5> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T11:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   82.16 +<http://example.org/item6> <http://example.org/value> "20"^^<http://www.w3.org/2001/XMLSchema#int> "2012-01-19T12:41:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
   82.17 +<http://example.org/item7> <http://example.org/id> "7"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T13:41:00,2012-11-19T14:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.
   82.18 +<http://example.org/item8> <http://example.org/id> "8"^^<http://www.w3.org/2001/XMLSchema#int> "[2012-11-19T14:41:00.000001,2012-11-19T15:41:00]"^^<http://strdf.di.uoa.gr/ontology#period>.