Strabon

changeset 1124:56f557d6e932 temporals

did some refactoring and moved some queries in separate tests
author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
date Sun Apr 28 16:14:10 2013 +0300 (2013-04-28)
parents 35add8e2970f
children 48cf40475fb4
files 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/TemporalRelationFinishes.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationIntersects.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationMeets.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationNEqualsPeriod.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationOverlaps.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationOverleft.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationOverright.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelations.java testsuite/src/test/resources/stSPARQL/TemporalConstructs/temporalConstructs.nq testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/adjacent.rq testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/adjacent.srx 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/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/TemporalRelations/periodIntersection.rq testsuite/src/test/resources/stSPARQL/TemporalRelations/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/TemporalRelationAdjacent.java	Sun Apr 28 16:14:10 2013 +0300
     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 GML serialization are stored and retrieved correctly.
    1.20 + * 
    1.21 + * @author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
    1.22 + */
    1.23 +public class TemporalRelationAdjacent extends TemplateTest{}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationAfter.java	Sun Apr 28 16:14:10 2013 +0300
     2.3 @@ -0,0 +1,20 @@
     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 TemporalRelationAfter extends TemplateTest{}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationBefore.java	Sun Apr 28 16:14:10 2013 +0300
     3.3 @@ -0,0 +1,20 @@
     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 TemporalRelationBefore extends TemplateTest{}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationDuring.java	Sun Apr 28 16:14:10 2013 +0300
     4.3 @@ -0,0 +1,20 @@
     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 TemporalRelationDuring extends TemplateTest{}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationEqualsPeriod.java	Sun Apr 28 16:14:10 2013 +0300
     5.3 @@ -0,0 +1,20 @@
     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 TemporalRelationEqualsPeriod extends TemplateTest{}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationFinishes.java	Sun Apr 28 16:14:10 2013 +0300
     6.3 @@ -0,0 +1,20 @@
     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 TemporalRelationFinishes extends TemplateTest{}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationIntersects.java	Sun Apr 28 16:14:10 2013 +0300
     7.3 @@ -0,0 +1,20 @@
     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 TemporalRelationIntersects 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/TemporalRelationMeets.java	Sun Apr 28 16:14:10 2013 +0300
     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 TemporalRelationMeets extends TemplateTest{}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationNEqualsPeriod.java	Sun Apr 28 16:14:10 2013 +0300
     9.3 @@ -0,0 +1,20 @@
     9.4 +/**
     9.5 + * This Source Code Form is subject to the terms of the Mozilla Public
     9.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     9.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
     9.8 + * 
     9.9 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    9.10 + * 
    9.11 + * http://www.strabon.di.uoa.gr/
    9.12 + */
    9.13 +package eu.earthobservatory.testsuite.stSPARQL;
    9.14 +
    9.15 +import eu.earthobservatory.testsuite.utils.TemplateTest;
    9.16 +
    9.17 +
    9.18 +/**
    9.19 + * A simple store test. It tests if triples with GML serialization are stored and retrieved correctly.
    9.20 + * 
    9.21 + * @author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
    9.22 + */
    9.23 +public class TemporalRelationNEqualsPeriod extends TemplateTest{}
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationOverlaps.java	Sun Apr 28 16:14:10 2013 +0300
    10.3 @@ -0,0 +1,20 @@
    10.4 +/**
    10.5 + * This Source Code Form is subject to the terms of the Mozilla Public
    10.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
    10.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
    10.8 + * 
    10.9 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
   10.10 + * 
   10.11 + * http://www.strabon.di.uoa.gr/
   10.12 + */
   10.13 +package eu.earthobservatory.testsuite.stSPARQL;
   10.14 +
   10.15 +import eu.earthobservatory.testsuite.utils.TemplateTest;
   10.16 +
   10.17 +
   10.18 +/**
   10.19 + * A simple store test. It tests if triples with GML serialization are stored and retrieved correctly.
   10.20 + * 
   10.21 + * @author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
   10.22 + */
   10.23 +public class TemporalRelationOverlaps extends TemplateTest{}
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationOverleft.java	Sun Apr 28 16:14:10 2013 +0300
    11.3 @@ -0,0 +1,20 @@
    11.4 +/**
    11.5 + * This Source Code Form is subject to the terms of the Mozilla Public
    11.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
    11.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
    11.8 + * 
    11.9 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
   11.10 + * 
   11.11 + * http://www.strabon.di.uoa.gr/
   11.12 + */
   11.13 +package eu.earthobservatory.testsuite.stSPARQL;
   11.14 +
   11.15 +import eu.earthobservatory.testsuite.utils.TemplateTest;
   11.16 +
   11.17 +
   11.18 +/**
   11.19 + * A simple store test. It tests if triples with GML serialization are stored and retrieved correctly.
   11.20 + * 
   11.21 + * @author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
   11.22 + */
   11.23 +public class TemporalRelationOverleft extends TemplateTest{}
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelationOverright.java	Sun Apr 28 16:14:10 2013 +0300
    12.3 @@ -0,0 +1,20 @@
    12.4 +/**
    12.5 + * This Source Code Form is subject to the terms of the Mozilla Public
    12.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
    12.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
    12.8 + * 
    12.9 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
   12.10 + * 
   12.11 + * http://www.strabon.di.uoa.gr/
   12.12 + */
   12.13 +package eu.earthobservatory.testsuite.stSPARQL;
   12.14 +
   12.15 +import eu.earthobservatory.testsuite.utils.TemplateTest;
   12.16 +
   12.17 +
   12.18 +/**
   12.19 + * A simple store test. It tests if triples with GML serialization are stored and retrieved correctly.
   12.20 + * 
   12.21 + * @author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
   12.22 + */
   12.23 +public class TemporalRelationOverright extends TemplateTest{}
    13.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelations.java	Fri Apr 26 15:03:21 2013 +0300
    13.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/TemporalRelations.java	Sun Apr 28 16:14:10 2013 +0300
    13.3 @@ -15,6 +15,6 @@
    13.4  /**
    13.5   * A simple store test. It tests if triples with GML serialization are stored and retrieved correctly.
    13.6   * 
    13.7 - * @author Panayiotis Smeros <psmeros@di.uoa.gr
    13.8 + * @author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
    13.9   */
   13.10  public class TemporalRelations extends TemplateTest{}
    14.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalConstructs/temporalConstructs.nq	Fri Apr 26 15:03:21 2013 +0300
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,15 +0,0 @@
    14.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>.
    14.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>.
    14.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>.
    14.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>.
    14.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>.
    14.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>.
   14.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>.
   14.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>.
   14.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>.
   14.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>.
   14.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> .
   14.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> .
   14.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> .
   14.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>.
   14.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>.
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/adjacent.rq	Sun Apr 28 16:14:10 2013 +0300
    15.3 @@ -0,0 +1,9 @@
    15.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    15.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    15.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    15.7 +
    15.8 +SELECT distinct ?x1 ?x2 
    15.9 +			WHERE { 
   15.10 +				?x1 ?y1 ?z1 ?t1 .
   15.11 +				?x2 ?y2 ?z2 ?t2 .
   15.12 +				FILTER(strdf:adjacent(?t1, ?t2) && str(?x1) < str(?x2)).}
   15.13 \ No newline at end of file
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/adjacent.srx	Sun Apr 28 16:14:10 2013 +0300
    16.3 @@ -0,0 +1,25 @@
    16.4 +<?xml version='1.0' encoding='UTF-8'?>
    16.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    16.6 +	<head>
    16.7 +		<variable name='x1'/>
    16.8 +		<variable name='x2'/>
    16.9 +	</head>
   16.10 +	<results>
   16.11 +		<result>
   16.12 +			<binding name='x2'>
   16.13 +				<uri>http://example.org/item8</uri>
   16.14 +			</binding>
   16.15 +			<binding name='x1'>
   16.16 +				<uri>http://example.org/item7</uri>
   16.17 +			</binding>
   16.18 +		</result>
   16.19 +		<result>
   16.20 +			<binding name='x2'>
   16.21 +				<uri>http://example.org/item7</uri>
   16.22 +			</binding>
   16.23 +			<binding name='x1'>
   16.24 +				<uri>http://example.org/item8</uri>
   16.25 +			</binding>
   16.26 +		</result>
   16.27 +	</results>
   16.28 +</sparql>
   16.29 \ No newline at end of file
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationAfter/after.rq	Sun Apr 28 16:14:10 2013 +0300
    17.3 @@ -0,0 +1,9 @@
    17.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    17.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    17.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    17.7 +
    17.8 +SELECT distinct ?x1 ?x2 
    17.9 +			WHERE { 
   17.10 +				?x1 ?y1 ?z1 ?t1 .
   17.11 +				?x2 ?y2 ?z2 ?t2 .
   17.12 +				FILTER(strdf:after(?t1, ?t2) && str(?x1) < str(?x2)).}
   17.13 \ No newline at end of file
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationAfter/after.srx	Sun Apr 28 16:14:10 2013 +0300
    18.3 @@ -0,0 +1,273 @@
    18.4 +<?xml version='1.0' encoding='UTF-8'?>
    18.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    18.6 +	<head>
    18.7 +		<variable name='x1'/>
    18.8 +		<variable name='x2'/>
    18.9 +	</head>
   18.10 +	<results>
   18.11 +		<result>
   18.12 +			<binding name='x2'>
   18.13 +				<uri>http://example.org/item2</uri>
   18.14 +			</binding>
   18.15 +			<binding name='x1'>
   18.16 +				<uri>http://example.org/item4</uri>
   18.17 +			</binding>
   18.18 +		</result>
   18.19 +		<result>
   18.20 +			<binding name='x2'>
   18.21 +				<uri>http://example.org/item6</uri>
   18.22 +			</binding>
   18.23 +			<binding name='x1'>
   18.24 +				<uri>http://example.org/item2</uri>
   18.25 +			</binding>
   18.26 +		</result>
   18.27 +		<result>
   18.28 +			<binding name='x2'>
   18.29 +				<uri>http://example.org/item2</uri>
   18.30 +			</binding>
   18.31 +			<binding name='x1'>
   18.32 +				<uri>http://example.org/item7</uri>
   18.33 +			</binding>
   18.34 +		</result>
   18.35 +		<result>
   18.36 +			<binding name='x2'>
   18.37 +				<uri>http://example.org/item5</uri>
   18.38 +			</binding>
   18.39 +			<binding name='x1'>
   18.40 +				<uri>http://example.org/item6</uri>
   18.41 +			</binding>
   18.42 +		</result>
   18.43 +		<result>
   18.44 +			<binding name='x2'>
   18.45 +				<uri>http://example.org/item2</uri>
   18.46 +			</binding>
   18.47 +			<binding name='x1'>
   18.48 +				<uri>http://example.org/item1</uri>
   18.49 +			</binding>
   18.50 +		</result>
   18.51 +		<result>
   18.52 +			<binding name='x2'>
   18.53 +				<uri>http://example.org/item4</uri>
   18.54 +			</binding>
   18.55 +			<binding name='x1'>
   18.56 +				<uri>http://example.org/item2</uri>
   18.57 +			</binding>
   18.58 +		</result>
   18.59 +		<result>
   18.60 +			<binding name='x2'>
   18.61 +				<uri>http://example.org/item1</uri>
   18.62 +			</binding>
   18.63 +			<binding name='x1'>
   18.64 +				<uri>http://example.org/item1</uri>
   18.65 +			</binding>
   18.66 +		</result>
   18.67 +		<result>
   18.68 +			<binding name='x2'>
   18.69 +				<uri>http://example.org/item5</uri>
   18.70 +			</binding>
   18.71 +			<binding name='x1'>
   18.72 +				<uri>http://example.org/item7</uri>
   18.73 +			</binding>
   18.74 +		</result>
   18.75 +		<result>
   18.76 +			<binding name='x2'>
   18.77 +				<uri>http://example.org/item2</uri>
   18.78 +			</binding>
   18.79 +			<binding name='x1'>
   18.80 +				<uri>http://example.org/item6</uri>
   18.81 +			</binding>
   18.82 +		</result>
   18.83 +		<result>
   18.84 +			<binding name='x2'>
   18.85 +				<uri>http://example.org/item5</uri>
   18.86 +			</binding>
   18.87 +			<binding name='x1'>
   18.88 +				<uri>http://example.org/item1</uri>
   18.89 +			</binding>
   18.90 +		</result>
   18.91 +		<result>
   18.92 +			<binding name='x2'>
   18.93 +				<uri>http://example.org/item1</uri>
   18.94 +			</binding>
   18.95 +			<binding name='x1'>
   18.96 +				<uri>http://example.org/item7</uri>
   18.97 +			</binding>
   18.98 +		</result>
   18.99 +		<result>
  18.100 +			<binding name='x2'>
  18.101 +				<uri>http://example.org/item4</uri>
  18.102 +			</binding>
  18.103 +			<binding name='x1'>
  18.104 +				<uri>http://example.org/item3</uri>
  18.105 +			</binding>
  18.106 +		</result>
  18.107 +		<result>
  18.108 +			<binding name='x2'>
  18.109 +				<uri>http://example.org/item6</uri>
  18.110 +			</binding>
  18.111 +			<binding name='x1'>
  18.112 +				<uri>http://example.org/item8</uri>
  18.113 +			</binding>
  18.114 +		</result>
  18.115 +		<result>
  18.116 +			<binding name='x2'>
  18.117 +				<uri>http://example.org/item4</uri>
  18.118 +			</binding>
  18.119 +			<binding name='x1'>
  18.120 +				<uri>http://example.org/item8</uri>
  18.121 +			</binding>
  18.122 +		</result>
  18.123 +		<result>
  18.124 +			<binding name='x2'>
  18.125 +				<uri>http://example.org/item6</uri>
  18.126 +			</binding>
  18.127 +			<binding name='x1'>
  18.128 +				<uri>http://example.org/item3</uri>
  18.129 +			</binding>
  18.130 +		</result>
  18.131 +		<result>
  18.132 +			<binding name='x2'>
  18.133 +				<uri>http://example.org/item2</uri>
  18.134 +			</binding>
  18.135 +			<binding name='x1'>
  18.136 +				<uri>http://example.org/item5</uri>
  18.137 +			</binding>
  18.138 +		</result>
  18.139 +		<result>
  18.140 +			<binding name='x2'>
  18.141 +				<uri>http://example.org/item5</uri>
  18.142 +			</binding>
  18.143 +			<binding name='x1'>
  18.144 +				<uri>http://example.org/item2</uri>
  18.145 +			</binding>
  18.146 +		</result>
  18.147 +		<result>
  18.148 +			<binding name='x2'>
  18.149 +				<uri>http://example.org/item1</uri>
  18.150 +			</binding>
  18.151 +			<binding name='x1'>
  18.152 +				<uri>http://example.org/item2</uri>
  18.153 +			</binding>
  18.154 +		</result>
  18.155 +		<result>
  18.156 +			<binding name='x2'>
  18.157 +				<uri>http://example.org/item4</uri>
  18.158 +			</binding>
  18.159 +			<binding name='x1'>
  18.160 +				<uri>http://example.org/item6</uri>
  18.161 +			</binding>
  18.162 +		</result>
  18.163 +		<result>
  18.164 +			<binding name='x2'>
  18.165 +				<uri>http://example.org/item4</uri>
  18.166 +			</binding>
  18.167 +			<binding name='x1'>
  18.168 +				<uri>http://example.org/item5</uri>
  18.169 +			</binding>
  18.170 +		</result>
  18.171 +		<result>
  18.172 +			<binding name='x2'>
  18.173 +				<uri>http://example.org/item2</uri>
  18.174 +			</binding>
  18.175 +			<binding name='x1'>
  18.176 +				<uri>http://example.org/item8</uri>
  18.177 +			</binding>
  18.178 +		</result>
  18.179 +		<result>
  18.180 +			<binding name='x2'>
  18.181 +				<uri>http://example.org/item2</uri>
  18.182 +			</binding>
  18.183 +			<binding name='x1'>
  18.184 +				<uri>http://example.org/item3</uri>
  18.185 +			</binding>
  18.186 +		</result>
  18.187 +		<result>
  18.188 +			<binding name='x2'>
  18.189 +				<uri>http://example.org/item1</uri>
  18.190 +			</binding>
  18.191 +			<binding name='x1'>
  18.192 +				<uri>http://example.org/item8</uri>
  18.193 +			</binding>
  18.194 +		</result>
  18.195 +		<result>
  18.196 +			<binding name='x2'>
  18.197 +				<uri>http://example.org/item3</uri>
  18.198 +			</binding>
  18.199 +			<binding name='x1'>
  18.200 +				<uri>http://example.org/item8</uri>
  18.201 +			</binding>
  18.202 +		</result>
  18.203 +		<result>
  18.204 +			<binding name='x2'>
  18.205 +				<uri>http://example.org/item5</uri>
  18.206 +			</binding>
  18.207 +			<binding name='x1'>
  18.208 +				<uri>http://example.org/item8</uri>
  18.209 +			</binding>
  18.210 +		</result>
  18.211 +		<result>
  18.212 +			<binding name='x2'>
  18.213 +				<uri>http://example.org/item1</uri>
  18.214 +			</binding>
  18.215 +			<binding name='x1'>
  18.216 +				<uri>http://example.org/item3</uri>
  18.217 +			</binding>
  18.218 +		</result>
  18.219 +		<result>
  18.220 +			<binding name='x2'>
  18.221 +				<uri>http://example.org/item5</uri>
  18.222 +			</binding>
  18.223 +			<binding name='x1'>
  18.224 +				<uri>http://example.org/item3</uri>
  18.225 +			</binding>
  18.226 +		</result>
  18.227 +		<result>
  18.228 +			<binding name='x2'>
  18.229 +				<uri>http://example.org/item4</uri>
  18.230 +			</binding>
  18.231 +			<binding name='x1'>
  18.232 +				<uri>http://example.org/item1</uri>
  18.233 +			</binding>
  18.234 +		</result>
  18.235 +		<result>
  18.236 +			<binding name='x2'>
  18.237 +				<uri>http://example.org/item2</uri>
  18.238 +			</binding>
  18.239 +			<binding name='x1'>
  18.240 +				<uri>http://example.org/item2</uri>
  18.241 +			</binding>
  18.242 +		</result>
  18.243 +		<result>
  18.244 +			<binding name='x2'>
  18.245 +				<uri>http://example.org/item4</uri>
  18.246 +			</binding>
  18.247 +			<binding name='x1'>
  18.248 +				<uri>http://example.org/item7</uri>
  18.249 +			</binding>
  18.250 +		</result>
  18.251 +		<result>
  18.252 +			<binding name='x2'>
  18.253 +				<uri>http://example.org/item6</uri>
  18.254 +			</binding>
  18.255 +			<binding name='x1'>
  18.256 +				<uri>http://example.org/item7</uri>
  18.257 +			</binding>
  18.258 +		</result>
  18.259 +		<result>
  18.260 +			<binding name='x2'>
  18.261 +				<uri>http://example.org/item6</uri>
  18.262 +			</binding>
  18.263 +			<binding name='x1'>
  18.264 +				<uri>http://example.org/item1</uri>
  18.265 +			</binding>
  18.266 +		</result>
  18.267 +		<result>
  18.268 +			<binding name='x2'>
  18.269 +				<uri>http://example.org/item7</uri>
  18.270 +			</binding>
  18.271 +			<binding name='x1'>
  18.272 +				<uri>http://example.org/item8</uri>
  18.273 +			</binding>
  18.274 +		</result>
  18.275 +	</results>
  18.276 +</sparql>
  18.277 \ No newline at end of file
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationAfter/temporalRelations.nq	Sun Apr 28 16:14:10 2013 +0300
    19.3 @@ -0,0 +1,15 @@
    19.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>.
    19.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>.
    19.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>.
    19.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>.
    19.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>.
    19.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>.
   19.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>.
   19.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>.
   19.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>.
   19.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>.
   19.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> .
   19.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> .
   19.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> .
   19.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>.
   19.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>.
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationBefore/before.rq	Sun Apr 28 16:14:10 2013 +0300
    20.3 @@ -0,0 +1,9 @@
    20.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    20.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    20.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    20.7 +
    20.8 +SELECT distinct ?x1 ?x2 
    20.9 +			WHERE { 
   20.10 +				?x1 ?y1 ?z1 ?t1 .
   20.11 +				?x2 ?y2 ?z2 ?t2 .
   20.12 +				FILTER(strdf:before(?t1, ?t2) && str(?x1) < str(?x2)).}
   20.13 \ No newline at end of file
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationBefore/before.srx	Sun Apr 28 16:14:10 2013 +0300
    21.3 @@ -0,0 +1,273 @@
    21.4 +<?xml version='1.0' encoding='UTF-8'?>
    21.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    21.6 +	<head>
    21.7 +		<variable name='x1'/>
    21.8 +		<variable name='x2'/>
    21.9 +	</head>
   21.10 +	<results>
   21.11 +		<result>
   21.12 +			<binding name='x2'>
   21.13 +				<uri>http://example.org/item8</uri>
   21.14 +			</binding>
   21.15 +			<binding name='x1'>
   21.16 +				<uri>http://example.org/item7</uri>
   21.17 +			</binding>
   21.18 +		</result>
   21.19 +		<result>
   21.20 +			<binding name='x2'>
   21.21 +				<uri>http://example.org/item7</uri>
   21.22 +			</binding>
   21.23 +			<binding name='x1'>
   21.24 +				<uri>http://example.org/item6</uri>
   21.25 +			</binding>
   21.26 +		</result>
   21.27 +		<result>
   21.28 +			<binding name='x2'>
   21.29 +				<uri>http://example.org/item8</uri>
   21.30 +			</binding>
   21.31 +			<binding name='x1'>
   21.32 +				<uri>http://example.org/item1</uri>
   21.33 +			</binding>
   21.34 +		</result>
   21.35 +		<result>
   21.36 +			<binding name='x2'>
   21.37 +				<uri>http://example.org/item2</uri>
   21.38 +			</binding>
   21.39 +			<binding name='x1'>
   21.40 +				<uri>http://example.org/item4</uri>
   21.41 +			</binding>
   21.42 +		</result>
   21.43 +		<result>
   21.44 +			<binding name='x2'>
   21.45 +				<uri>http://example.org/item1</uri>
   21.46 +			</binding>
   21.47 +			<binding name='x1'>
   21.48 +				<uri>http://example.org/item5</uri>
   21.49 +			</binding>
   21.50 +		</result>
   21.51 +		<result>
   21.52 +			<binding name='x2'>
   21.53 +				<uri>http://example.org/item3</uri>
   21.54 +			</binding>
   21.55 +			<binding name='x1'>
   21.56 +				<uri>http://example.org/item5</uri>
   21.57 +			</binding>
   21.58 +		</result>
   21.59 +		<result>
   21.60 +			<binding name='x2'>
   21.61 +				<uri>http://example.org/item8</uri>
   21.62 +			</binding>
   21.63 +			<binding name='x1'>
   21.64 +				<uri>http://example.org/item4</uri>
   21.65 +			</binding>
   21.66 +		</result>
   21.67 +		<result>
   21.68 +			<binding name='x2'>
   21.69 +				<uri>http://example.org/item6</uri>
   21.70 +			</binding>
   21.71 +			<binding name='x1'>
   21.72 +				<uri>http://example.org/item2</uri>
   21.73 +			</binding>
   21.74 +		</result>
   21.75 +		<result>
   21.76 +			<binding name='x2'>
   21.77 +				<uri>http://example.org/item7</uri>
   21.78 +			</binding>
   21.79 +			<binding name='x1'>
   21.80 +				<uri>http://example.org/item5</uri>
   21.81 +			</binding>
   21.82 +		</result>
   21.83 +		<result>
   21.84 +			<binding name='x2'>
   21.85 +				<uri>http://example.org/item3</uri>
   21.86 +			</binding>
   21.87 +			<binding name='x1'>
   21.88 +				<uri>http://example.org/item6</uri>
   21.89 +			</binding>
   21.90 +		</result>
   21.91 +		<result>
   21.92 +			<binding name='x2'>
   21.93 +				<uri>http://example.org/item2</uri>
   21.94 +			</binding>
   21.95 +			<binding name='x1'>
   21.96 +				<uri>http://example.org/item1</uri>
   21.97 +			</binding>
   21.98 +		</result>
   21.99 +		<result>
  21.100 +			<binding name='x2'>
  21.101 +				<uri>http://example.org/item4</uri>
  21.102 +			</binding>
  21.103 +			<binding name='x1'>
  21.104 +				<uri>http://example.org/item2</uri>
  21.105 +			</binding>
  21.106 +		</result>
  21.107 +		<result>
  21.108 +			<binding name='x2'>
  21.109 +				<uri>http://example.org/item1</uri>
  21.110 +			</binding>
  21.111 +			<binding name='x1'>
  21.112 +				<uri>http://example.org/item6</uri>
  21.113 +			</binding>
  21.114 +		</result>
  21.115 +		<result>
  21.116 +			<binding name='x2'>
  21.117 +				<uri>http://example.org/item7</uri>
  21.118 +			</binding>
  21.119 +			<binding name='x1'>
  21.120 +				<uri>http://example.org/item4</uri>
  21.121 +			</binding>
  21.122 +		</result>
  21.123 +		<result>
  21.124 +			<binding name='x2'>
  21.125 +				<uri>http://example.org/item8</uri>
  21.126 +			</binding>
  21.127 +			<binding name='x1'>
  21.128 +				<uri>http://example.org/item5</uri>
  21.129 +			</binding>
  21.130 +		</result>
  21.131 +		<result>
  21.132 +			<binding name='x2'>
  21.133 +				<uri>http://example.org/item1</uri>
  21.134 +			</binding>
  21.135 +			<binding name='x1'>
  21.136 +				<uri>http://example.org/item1</uri>
  21.137 +			</binding>
  21.138 +		</result>
  21.139 +		<result>
  21.140 +			<binding name='x2'>
  21.141 +				<uri>http://example.org/item2</uri>
  21.142 +			</binding>
  21.143 +			<binding name='x1'>
  21.144 +				<uri>http://example.org/item6</uri>
  21.145 +			</binding>
  21.146 +		</result>
  21.147 +		<result>
  21.148 +			<binding name='x2'>
  21.149 +				<uri>http://example.org/item3</uri>
  21.150 +			</binding>
  21.151 +			<binding name='x1'>
  21.152 +				<uri>http://example.org/item1</uri>
  21.153 +			</binding>
  21.154 +		</result>
  21.155 +		<result>
  21.156 +			<binding name='x2'>
  21.157 +				<uri>http://example.org/item8</uri>
  21.158 +			</binding>
  21.159 +			<binding name='x1'>
  21.160 +				<uri>http://example.org/item6</uri>
  21.161 +			</binding>
  21.162 +		</result>
  21.163 +		<result>
  21.164 +			<binding name='x2'>
  21.165 +				<uri>http://example.org/item7</uri>
  21.166 +			</binding>
  21.167 +			<binding name='x1'>
  21.168 +				<uri>http://example.org/item1</uri>
  21.169 +			</binding>
  21.170 +		</result>
  21.171 +		<result>
  21.172 +			<binding name='x2'>
  21.173 +				<uri>http://example.org/item3</uri>
  21.174 +			</binding>
  21.175 +			<binding name='x1'>
  21.176 +				<uri>http://example.org/item4</uri>
  21.177 +			</binding>
  21.178 +		</result>
  21.179 +		<result>
  21.180 +			<binding name='x2'>
  21.181 +				<uri>http://example.org/item5</uri>
  21.182 +			</binding>
  21.183 +			<binding name='x1'>
  21.184 +				<uri>http://example.org/item4</uri>
  21.185 +			</binding>
  21.186 +		</result>
  21.187 +		<result>
  21.188 +			<binding name='x2'>
  21.189 +				<uri>http://example.org/item1</uri>
  21.190 +			</binding>
  21.191 +			<binding name='x1'>
  21.192 +				<uri>http://example.org/item4</uri>
  21.193 +			</binding>
  21.194 +		</result>
  21.195 +		<result>
  21.196 +			<binding name='x2'>
  21.197 +				<uri>http://example.org/item2</uri>
  21.198 +			</binding>
  21.199 +			<binding name='x1'>
  21.200 +				<uri>http://example.org/item5</uri>
  21.201 +			</binding>
  21.202 +		</result>
  21.203 +		<result>
  21.204 +			<binding name='x2'>
  21.205 +				<uri>http://example.org/item5</uri>
  21.206 +			</binding>
  21.207 +			<binding name='x1'>
  21.208 +				<uri>http://example.org/item2</uri>
  21.209 +			</binding>
  21.210 +		</result>
  21.211 +		<result>
  21.212 +			<binding name='x2'>
  21.213 +				<uri>http://example.org/item3</uri>
  21.214 +			</binding>
  21.215 +			<binding name='x1'>
  21.216 +				<uri>http://example.org/item2</uri>
  21.217 +			</binding>
  21.218 +		</result>
  21.219 +		<result>
  21.220 +			<binding name='x2'>
  21.221 +				<uri>http://example.org/item8</uri>
  21.222 +			</binding>
  21.223 +			<binding name='x1'>
  21.224 +				<uri>http://example.org/item3</uri>
  21.225 +			</binding>
  21.226 +		</result>
  21.227 +		<result>
  21.228 +			<binding name='x2'>
  21.229 +				<uri>http://example.org/item1</uri>
  21.230 +			</binding>
  21.231 +			<binding name='x1'>
  21.232 +				<uri>http://example.org/item2</uri>
  21.233 +			</binding>
  21.234 +		</result>
  21.235 +		<result>
  21.236 +			<binding name='x2'>
  21.237 +				<uri>http://example.org/item7</uri>
  21.238 +			</binding>
  21.239 +			<binding name='x1'>
  21.240 +				<uri>http://example.org/item2</uri>
  21.241 +			</binding>
  21.242 +		</result>
  21.243 +		<result>
  21.244 +			<binding name='x2'>
  21.245 +				<uri>http://example.org/item6</uri>
  21.246 +			</binding>
  21.247 +			<binding name='x1'>
  21.248 +				<uri>http://example.org/item5</uri>
  21.249 +			</binding>
  21.250 +		</result>
  21.251 +		<result>
  21.252 +			<binding name='x2'>
  21.253 +				<uri>http://example.org/item6</uri>
  21.254 +			</binding>
  21.255 +			<binding name='x1'>
  21.256 +				<uri>http://example.org/item4</uri>
  21.257 +			</binding>
  21.258 +		</result>
  21.259 +		<result>
  21.260 +			<binding name='x2'>
  21.261 +				<uri>http://example.org/item8</uri>
  21.262 +			</binding>
  21.263 +			<binding name='x1'>
  21.264 +				<uri>http://example.org/item2</uri>
  21.265 +			</binding>
  21.266 +		</result>
  21.267 +		<result>
  21.268 +			<binding name='x2'>
  21.269 +				<uri>http://example.org/item2</uri>
  21.270 +			</binding>
  21.271 +			<binding name='x1'>
  21.272 +				<uri>http://example.org/item2</uri>
  21.273 +			</binding>
  21.274 +		</result>
  21.275 +	</results>
  21.276 +</sparql>
  21.277 \ No newline at end of file
    22.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationBefore/temporalRelations.nq	Sun Apr 28 16:14:10 2013 +0300
    22.3 @@ -0,0 +1,15 @@
    22.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>.
    22.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>.
    22.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>.
    22.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>.
    22.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>.
    22.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>.
   22.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>.
   22.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>.
   22.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>.
   22.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>.
   22.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> .
   22.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> .
   22.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> .
   22.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>.
   22.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>.
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationDuring/during.rq	Sun Apr 28 16:14:10 2013 +0300
    23.3 @@ -0,0 +1,9 @@
    23.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    23.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    23.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    23.7 +
    23.8 +SELECT distinct ?x1 ?x2 
    23.9 +			WHERE { 
   23.10 +				?x1 ?y1 ?z1 ?t1 .
   23.11 +				?x2 ?y2 ?z2 ?t2 .
   23.12 +				FILTER(strdf:during(?t1, ?t2) && str(?x1) < str(?x2)).}
   23.13 \ No newline at end of file
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationDuring/during.srx	Sun Apr 28 16:14:10 2013 +0300
    24.3 @@ -0,0 +1,161 @@
    24.4 +<?xml version='1.0' encoding='UTF-8'?>
    24.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    24.6 +	<head>
    24.7 +		<variable name='x1'/>
    24.8 +		<variable name='x2'/>
    24.9 +	</head>
   24.10 +	<results>
   24.11 +		<result>
   24.12 +			<binding name='x2'>
   24.13 +				<uri>http://example.org/item2</uri>
   24.14 +			</binding>
   24.15 +			<binding name='x1'>
   24.16 +				<uri>http://example.org/item4</uri>
   24.17 +			</binding>
   24.18 +		</result>
   24.19 +		<result>
   24.20 +			<binding name='x2'>
   24.21 +				<uri>http://example.org/item5</uri>
   24.22 +			</binding>
   24.23 +			<binding name='x1'>
   24.24 +				<uri>http://example.org/item5</uri>
   24.25 +			</binding>
   24.26 +		</result>
   24.27 +		<result>
   24.28 +			<binding name='x2'>
   24.29 +				<uri>http://example.org/item2</uri>
   24.30 +			</binding>
   24.31 +			<binding name='x1'>
   24.32 +				<uri>http://example.org/item7</uri>
   24.33 +			</binding>
   24.34 +		</result>
   24.35 +		<result>
   24.36 +			<binding name='x2'>
   24.37 +				<uri>http://example.org/item2</uri>
   24.38 +			</binding>
   24.39 +			<binding name='x1'>
   24.40 +				<uri>http://example.org/item1</uri>
   24.41 +			</binding>
   24.42 +		</result>
   24.43 +		<result>
   24.44 +			<binding name='x2'>
   24.45 +				<uri>http://example.org/item1</uri>
   24.46 +			</binding>
   24.47 +			<binding name='x1'>
   24.48 +				<uri>http://example.org/item1</uri>
   24.49 +			</binding>
   24.50 +		</result>
   24.51 +		<result>
   24.52 +			<binding name='x2'>
   24.53 +				<uri>http://example.org/item2</uri>
   24.54 +			</binding>
   24.55 +			<binding name='x1'>
   24.56 +				<uri>http://example.org/item6</uri>
   24.57 +			</binding>
   24.58 +		</result>
   24.59 +		<result>
   24.60 +			<binding name='x2'>
   24.61 +				<uri>http://example.org/item3</uri>
   24.62 +			</binding>
   24.63 +			<binding name='x1'>
   24.64 +				<uri>http://example.org/item1</uri>
   24.65 +			</binding>
   24.66 +		</result>
   24.67 +		<result>
   24.68 +			<binding name='x2'>
   24.69 +				<uri>http://example.org/item7</uri>
   24.70 +			</binding>
   24.71 +			<binding name='x1'>
   24.72 +				<uri>http://example.org/item7</uri>
   24.73 +			</binding>
   24.74 +		</result>
   24.75 +		<result>
   24.76 +			<binding name='x2'>
   24.77 +				<uri>http://example.org/item2</uri>
   24.78 +			</binding>
   24.79 +			<binding name='x1'>
   24.80 +				<uri>http://example.org/item5</uri>
   24.81 +			</binding>
   24.82 +		</result>
   24.83 +		<result>
   24.84 +			<binding name='x2'>
   24.85 +				<uri>http://example.org/item3</uri>
   24.86 +			</binding>
   24.87 +			<binding name='x1'>
   24.88 +				<uri>http://example.org/item2</uri>
   24.89 +			</binding>
   24.90 +		</result>
   24.91 +		<result>
   24.92 +			<binding name='x2'>
   24.93 +				<uri>http://example.org/item1</uri>
   24.94 +			</binding>
   24.95 +			<binding name='x1'>
   24.96 +				<uri>http://example.org/item2</uri>
   24.97 +			</binding>
   24.98 +		</result>
   24.99 +		<result>
  24.100 +			<binding name='x2'>
  24.101 +				<uri>http://example.org/item6</uri>
  24.102 +			</binding>
  24.103 +			<binding name='x1'>
  24.104 +				<uri>http://example.org/item6</uri>
  24.105 +			</binding>
  24.106 +		</result>
  24.107 +		<result>
  24.108 +			<binding name='x2'>
  24.109 +				<uri>http://example.org/item8</uri>
  24.110 +			</binding>
  24.111 +			<binding name='x1'>
  24.112 +				<uri>http://example.org/item8</uri>
  24.113 +			</binding>
  24.114 +		</result>
  24.115 +		<result>
  24.116 +			<binding name='x2'>
  24.117 +				<uri>http://example.org/item2</uri>
  24.118 +			</binding>
  24.119 +			<binding name='x1'>
  24.120 +				<uri>http://example.org/item8</uri>
  24.121 +			</binding>
  24.122 +		</result>
  24.123 +		<result>
  24.124 +			<binding name='x2'>
  24.125 +				<uri>http://example.org/item2</uri>
  24.126 +			</binding>
  24.127 +			<binding name='x1'>
  24.128 +				<uri>http://example.org/item3</uri>
  24.129 +			</binding>
  24.130 +		</result>
  24.131 +		<result>
  24.132 +			<binding name='x2'>
  24.133 +				<uri>http://example.org/item4</uri>
  24.134 +			</binding>
  24.135 +			<binding name='x1'>
  24.136 +				<uri>http://example.org/item4</uri>
  24.137 +			</binding>
  24.138 +		</result>
  24.139 +		<result>
  24.140 +			<binding name='x2'>
  24.141 +				<uri>http://example.org/item1</uri>
  24.142 +			</binding>
  24.143 +			<binding name='x1'>
  24.144 +				<uri>http://example.org/item3</uri>
  24.145 +			</binding>
  24.146 +		</result>
  24.147 +		<result>
  24.148 +			<binding name='x2'>
  24.149 +				<uri>http://example.org/item3</uri>
  24.150 +			</binding>
  24.151 +			<binding name='x1'>
  24.152 +				<uri>http://example.org/item3</uri>
  24.153 +			</binding>
  24.154 +		</result>
  24.155 +		<result>
  24.156 +			<binding name='x2'>
  24.157 +				<uri>http://example.org/item2</uri>
  24.158 +			</binding>
  24.159 +			<binding name='x1'>
  24.160 +				<uri>http://example.org/item2</uri>
  24.161 +			</binding>
  24.162 +		</result>
  24.163 +	</results>
  24.164 +</sparql>
  24.165 \ No newline at end of file
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationDuring/temporalRelations.nq	Sun Apr 28 16:14:10 2013 +0300
    25.3 @@ -0,0 +1,15 @@
    25.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>.
    25.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>.
    25.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>.
    25.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>.
    25.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>.
    25.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>.
   25.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>.
   25.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>.
   25.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>.
   25.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>.
   25.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> .
   25.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> .
   25.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> .
   25.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>.
   25.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>.
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationEqualsPeriod/equalsPeriod.rq	Sun Apr 28 16:14:10 2013 +0300
    26.3 @@ -0,0 +1,9 @@
    26.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    26.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    26.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    26.7 +
    26.8 +SELECT distinct ?x1 ?x2 
    26.9 +			WHERE { 
   26.10 +				?x1 ?y1 ?z1 ?t1 .
   26.11 +				?x2 ?y2 ?z2 ?t2 .
   26.12 +				FILTER(strdf:equalsPeriod(?t1, ?t2) && str(?x1) < str(?x2)).}
   26.13 \ No newline at end of file
    27.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationEqualsPeriod/equalsPeriod.srx	Sun Apr 28 16:14:10 2013 +0300
    27.3 @@ -0,0 +1,121 @@
    27.4 +<?xml version='1.0' encoding='UTF-8'?>
    27.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    27.6 +	<head>
    27.7 +		<variable name='x1'/>
    27.8 +		<variable name='x2'/>
    27.9 +	</head>
   27.10 +	<results>
   27.11 +		<result>
   27.12 +			<binding name='x2'>
   27.13 +				<uri>http://example.org/item5</uri>
   27.14 +			</binding>
   27.15 +			<binding name='x1'>
   27.16 +				<uri>http://example.org/item5</uri>
   27.17 +			</binding>
   27.18 +		</result>
   27.19 +		<result>
   27.20 +			<binding name='x2'>
   27.21 +				<uri>http://example.org/item2</uri>
   27.22 +			</binding>
   27.23 +			<binding name='x1'>
   27.24 +				<uri>http://example.org/item1</uri>
   27.25 +			</binding>
   27.26 +		</result>
   27.27 +		<result>
   27.28 +			<binding name='x2'>
   27.29 +				<uri>http://example.org/item1</uri>
   27.30 +			</binding>
   27.31 +			<binding name='x1'>
   27.32 +				<uri>http://example.org/item1</uri>
   27.33 +			</binding>
   27.34 +		</result>
   27.35 +		<result>
   27.36 +			<binding name='x2'>
   27.37 +				<uri>http://example.org/item3</uri>
   27.38 +			</binding>
   27.39 +			<binding name='x1'>
   27.40 +				<uri>http://example.org/item1</uri>
   27.41 +			</binding>
   27.42 +		</result>
   27.43 +		<result>
   27.44 +			<binding name='x2'>
   27.45 +				<uri>http://example.org/item7</uri>
   27.46 +			</binding>
   27.47 +			<binding name='x1'>
   27.48 +				<uri>http://example.org/item7</uri>
   27.49 +			</binding>
   27.50 +		</result>
   27.51 +		<result>
   27.52 +			<binding name='x2'>
   27.53 +				<uri>http://example.org/item3</uri>
   27.54 +			</binding>
   27.55 +			<binding name='x1'>
   27.56 +				<uri>http://example.org/item2</uri>
   27.57 +			</binding>
   27.58 +		</result>
   27.59 +		<result>
   27.60 +			<binding name='x2'>
   27.61 +				<uri>http://example.org/item1</uri>
   27.62 +			</binding>
   27.63 +			<binding name='x1'>
   27.64 +				<uri>http://example.org/item2</uri>
   27.65 +			</binding>
   27.66 +		</result>
   27.67 +		<result>
   27.68 +			<binding name='x2'>
   27.69 +				<uri>http://example.org/item6</uri>
   27.70 +			</binding>
   27.71 +			<binding name='x1'>
   27.72 +				<uri>http://example.org/item6</uri>
   27.73 +			</binding>
   27.74 +		</result>
   27.75 +		<result>
   27.76 +			<binding name='x2'>
   27.77 +				<uri>http://example.org/item8</uri>
   27.78 +			</binding>
   27.79 +			<binding name='x1'>
   27.80 +				<uri>http://example.org/item8</uri>
   27.81 +			</binding>
   27.82 +		</result>
   27.83 +		<result>
   27.84 +			<binding name='x2'>
   27.85 +				<uri>http://example.org/item2</uri>
   27.86 +			</binding>
   27.87 +			<binding name='x1'>
   27.88 +				<uri>http://example.org/item3</uri>
   27.89 +			</binding>
   27.90 +		</result>
   27.91 +		<result>
   27.92 +			<binding name='x2'>
   27.93 +				<uri>http://example.org/item4</uri>
   27.94 +			</binding>
   27.95 +			<binding name='x1'>
   27.96 +				<uri>http://example.org/item4</uri>
   27.97 +			</binding>
   27.98 +		</result>
   27.99 +		<result>
  27.100 +			<binding name='x2'>
  27.101 +				<uri>http://example.org/item1</uri>
  27.102 +			</binding>
  27.103 +			<binding name='x1'>
  27.104 +				<uri>http://example.org/item3</uri>
  27.105 +			</binding>
  27.106 +		</result>
  27.107 +		<result>
  27.108 +			<binding name='x2'>
  27.109 +				<uri>http://example.org/item3</uri>
  27.110 +			</binding>
  27.111 +			<binding name='x1'>
  27.112 +				<uri>http://example.org/item3</uri>
  27.113 +			</binding>
  27.114 +		</result>
  27.115 +		<result>
  27.116 +			<binding name='x2'>
  27.117 +				<uri>http://example.org/item2</uri>
  27.118 +			</binding>
  27.119 +			<binding name='x1'>
  27.120 +				<uri>http://example.org/item2</uri>
  27.121 +			</binding>
  27.122 +		</result>
  27.123 +	</results>
  27.124 +</sparql>
  27.125 \ No newline at end of file
    28.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationEqualsPeriod/temporalRelations.nq	Sun Apr 28 16:14:10 2013 +0300
    28.3 @@ -0,0 +1,15 @@
    28.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>.
    28.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>.
    28.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>.
    28.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>.
    28.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>.
    28.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>.
   28.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>.
   28.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>.
   28.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>.
   28.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>.
   28.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> .
   28.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> .
   28.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> .
   28.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>.
   28.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>.
    29.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationFinishes/finishes.rq	Sun Apr 28 16:14:10 2013 +0300
    29.3 @@ -0,0 +1,9 @@
    29.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    29.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    29.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    29.7 +
    29.8 +SELECT distinct ?x1 ?x2 
    29.9 +			WHERE { 
   29.10 +				?x1 ?y1 ?z1 ?t1 .
   29.11 +				?x2 ?y2 ?z2 ?t2 .
   29.12 +				FILTER(strdf:finishes(?t1, ?t2) && str(?x1) < str(?x2)).}
   29.13 \ No newline at end of file
    30.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationFinishes/finishes.srx	Sun Apr 28 16:14:10 2013 +0300
    30.3 @@ -0,0 +1,17 @@
    30.4 +<?xml version='1.0' encoding='UTF-8'?>
    30.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    30.6 +	<head>
    30.7 +		<variable name='x1'/>
    30.8 +		<variable name='x2'/>
    30.9 +	</head>
   30.10 +	<results>
   30.11 +		<result>
   30.12 +			<binding name='x2'>
   30.13 +				<uri>http://example.org/item2</uri>
   30.14 +			</binding>
   30.15 +			<binding name='x1'>
   30.16 +				<uri>http://example.org/item8</uri>
   30.17 +			</binding>
   30.18 +		</result>
   30.19 +	</results>
   30.20 +</sparql>
   30.21 \ No newline at end of file
    31.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationFinishes/temporalRelations.nq	Sun Apr 28 16:14:10 2013 +0300
    31.3 @@ -0,0 +1,15 @@
    31.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>.
    31.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>.
    31.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>.
    31.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>.
    31.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>.
    31.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>.
   31.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>.
   31.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>.
   31.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>.
   31.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>.
   31.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> .
   31.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> .
   31.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> .
   31.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>.
   31.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>.
    32.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationIntersects/periodIntersects.rq	Sun Apr 28 16:14:10 2013 +0300
    32.3 @@ -0,0 +1,9 @@
    32.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    32.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    32.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    32.7 +
    32.8 +SELECT distinct ?x1 ?x2 
    32.9 +			WHERE { 
   32.10 +				?x1 ?y1 ?z1 ?t1 .
   32.11 +				?x2 ?y2 ?z2 ?t2 .
   32.12 +				FILTER(strdf:periodIntersects(?t1, ?t2) && str(?x1) < str(?x2)).}
   32.13 \ No newline at end of file
    33.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationIntersects/periodIntersects.srx	Sun Apr 28 16:14:10 2013 +0300
    33.3 @@ -0,0 +1,9 @@
    33.4 +<?xml version='1.0' encoding='UTF-8'?>
    33.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    33.6 +	<head>
    33.7 +		<variable name='x1'/>
    33.8 +		<variable name='x2'/>
    33.9 +	</head>
   33.10 +	<results>
   33.11 +	</results>
   33.12 +</sparql>
   33.13 \ No newline at end of file
    34.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationIntersects/temporalRelations.nq	Sun Apr 28 16:14:10 2013 +0300
    34.3 @@ -0,0 +1,15 @@
    34.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>.
    34.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>.
    34.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>.
    34.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>.
    34.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>.
    34.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>.
   34.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>.
   34.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>.
   34.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>.
   34.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>.
   34.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> .
   34.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> .
   34.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> .
   34.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>.
   34.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>.
    35.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationMeets/meets.rq	Sun Apr 28 16:14:10 2013 +0300
    35.3 @@ -0,0 +1,9 @@
    35.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    35.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    35.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    35.7 +
    35.8 +SELECT distinct ?x1 ?x2 
    35.9 +			WHERE { 
   35.10 +				?x1 ?y1 ?z1 ?t1 .
   35.11 +				?x2 ?y2 ?z2 ?t2 .
   35.12 +				FILTER(strdf:meets(?t1, ?t2) && str(?x1) < str(?x2)).}
   35.13 \ No newline at end of file
    36.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    36.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationMeets/meets.srx	Sun Apr 28 16:14:10 2013 +0300
    36.3 @@ -0,0 +1,57 @@
    36.4 +<?xml version='1.0' encoding='UTF-8'?>
    36.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    36.6 +	<head>
    36.7 +		<variable name='x1'/>
    36.8 +		<variable name='x2'/>
    36.9 +	</head>
   36.10 +	<results>
   36.11 +		<result>
   36.12 +			<binding name='x2'>
   36.13 +				<uri>http://example.org/item5</uri>
   36.14 +			</binding>
   36.15 +			<binding name='x1'>
   36.16 +				<uri>http://example.org/item5</uri>
   36.17 +			</binding>
   36.18 +		</result>
   36.19 +		<result>
   36.20 +			<binding name='x2'>
   36.21 +				<uri>http://example.org/item7</uri>
   36.22 +			</binding>
   36.23 +			<binding name='x1'>
   36.24 +				<uri>http://example.org/item1</uri>
   36.25 +			</binding>
   36.26 +		</result>
   36.27 +		<result>
   36.28 +			<binding name='x2'>
   36.29 +				<uri>http://example.org/item6</uri>
   36.30 +			</binding>
   36.31 +			<binding name='x1'>
   36.32 +				<uri>http://example.org/item6</uri>
   36.33 +			</binding>
   36.34 +		</result>
   36.35 +		<result>
   36.36 +			<binding name='x2'>
   36.37 +				<uri>http://example.org/item7</uri>
   36.38 +			</binding>
   36.39 +			<binding name='x1'>
   36.40 +				<uri>http://example.org/item2</uri>
   36.41 +			</binding>
   36.42 +		</result>
   36.43 +		<result>
   36.44 +			<binding name='x2'>
   36.45 +				<uri>http://example.org/item4</uri>
   36.46 +			</binding>
   36.47 +			<binding name='x1'>
   36.48 +				<uri>http://example.org/item4</uri>
   36.49 +			</binding>
   36.50 +		</result>
   36.51 +		<result>
   36.52 +			<binding name='x2'>
   36.53 +				<uri>http://example.org/item7</uri>
   36.54 +			</binding>
   36.55 +			<binding name='x1'>
   36.56 +				<uri>http://example.org/item3</uri>
   36.57 +			</binding>
   36.58 +		</result>
   36.59 +	</results>
   36.60 +</sparql>
   36.61 \ No newline at end of file
    37.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    37.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationMeets/temporalRelations.nq	Sun Apr 28 16:14:10 2013 +0300
    37.3 @@ -0,0 +1,15 @@
    37.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>.
    37.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>.
    37.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>.
    37.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>.
    37.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>.
    37.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>.
   37.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>.
   37.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>.
   37.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>.
   37.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>.
   37.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> .
   37.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> .
   37.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> .
   37.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>.
   37.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>.
    38.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    38.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationNEqualsPeriod/nequalsPeriod.rq	Sun Apr 28 16:14:10 2013 +0300
    38.3 @@ -0,0 +1,9 @@
    38.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    38.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    38.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    38.7 +
    38.8 +SELECT distinct ?x1 ?x2 
    38.9 +			WHERE { 
   38.10 +				?x1 ?y1 ?z1 ?t1 .
   38.11 +				?x2 ?y2 ?z2 ?t2 .
   38.12 +				FILTER(strdf:nequalsPeriod(?t1, ?t2) && str(?x1) < str(?x2)).}
   38.13 \ No newline at end of file
    39.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationNEqualsPeriod/nequalsPeriod.srx	Sun Apr 28 16:14:10 2013 +0300
    39.3 @@ -0,0 +1,473 @@
    39.4 +<?xml version='1.0' encoding='UTF-8'?>
    39.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    39.6 +	<head>
    39.7 +		<variable name='x1'/>
    39.8 +		<variable name='x2'/>
    39.9 +	</head>
   39.10 +	<results>
   39.11 +		<result>
   39.12 +			<binding name='x2'>
   39.13 +				<uri>http://example.org/item8</uri>
   39.14 +			</binding>
   39.15 +			<binding name='x1'>
   39.16 +				<uri>http://example.org/item7</uri>
   39.17 +			</binding>
   39.18 +		</result>
   39.19 +		<result>
   39.20 +			<binding name='x2'>
   39.21 +				<uri>http://example.org/item7</uri>
   39.22 +			</binding>
   39.23 +			<binding name='x1'>
   39.24 +				<uri>http://example.org/item6</uri>
   39.25 +			</binding>
   39.26 +		</result>
   39.27 +		<result>
   39.28 +			<binding name='x2'>
   39.29 +				<uri>http://example.org/item8</uri>
   39.30 +			</binding>
   39.31 +			<binding name='x1'>
   39.32 +				<uri>http://example.org/item1</uri>
   39.33 +			</binding>
   39.34 +		</result>
   39.35 +		<result>
   39.36 +			<binding name='x2'>
   39.37 +				<uri>http://example.org/item2</uri>
   39.38 +			</binding>
   39.39 +			<binding name='x1'>
   39.40 +				<uri>http://example.org/item4</uri>
   39.41 +			</binding>
   39.42 +		</result>
   39.43 +		<result>
   39.44 +			<binding name='x2'>
   39.45 +				<uri>http://example.org/item1</uri>
   39.46 +			</binding>
   39.47 +			<binding name='x1'>
   39.48 +				<uri>http://example.org/item5</uri>
   39.49 +			</binding>
   39.50 +		</result>
   39.51 +		<result>
   39.52 +			<binding name='x2'>
   39.53 +				<uri>http://example.org/item3</uri>
   39.54 +			</binding>
   39.55 +			<binding name='x1'>
   39.56 +				<uri>http://example.org/item5</uri>
   39.57 +			</binding>
   39.58 +		</result>
   39.59 +		<result>
   39.60 +			<binding name='x2'>
   39.61 +				<uri>http://example.org/item8</uri>
   39.62 +			</binding>
   39.63 +			<binding name='x1'>
   39.64 +				<uri>http://example.org/item4</uri>
   39.65 +			</binding>
   39.66 +		</result>
   39.67 +		<result>
   39.68 +			<binding name='x2'>
   39.69 +				<uri>http://example.org/item6</uri>
   39.70 +			</binding>
   39.71 +			<binding name='x1'>
   39.72 +				<uri>http://example.org/item2</uri>
   39.73 +			</binding>
   39.74 +		</result>
   39.75 +		<result>
   39.76 +			<binding name='x2'>
   39.77 +				<uri>http://example.org/item7</uri>
   39.78 +			</binding>
   39.79 +			<binding name='x1'>
   39.80 +				<uri>http://example.org/item5</uri>
   39.81 +			</binding>
   39.82 +		</result>
   39.83 +		<result>
   39.84 +			<binding name='x2'>
   39.85 +				<uri>http://example.org/item2</uri>
   39.86 +			</binding>
   39.87 +			<binding name='x1'>
   39.88 +				<uri>http://example.org/item7</uri>
   39.89 +			</binding>
   39.90 +		</result>
   39.91 +		<result>
   39.92 +			<binding name='x2'>
   39.93 +				<uri>http://example.org/item5</uri>
   39.94 +			</binding>
   39.95 +			<binding name='x1'>
   39.96 +				<uri>http://example.org/item6</uri>
   39.97 +			</binding>
   39.98 +		</result>
   39.99 +		<result>
  39.100 +			<binding name='x2'>
  39.101 +				<uri>http://example.org/item3</uri>
  39.102 +			</binding>
  39.103 +			<binding name='x1'>
  39.104 +				<uri>http://example.org/item6</uri>
  39.105 +			</binding>
  39.106 +		</result>
  39.107 +		<result>
  39.108 +			<binding name='x2'>
  39.109 +				<uri>http://example.org/item2</uri>
  39.110 +			</binding>
  39.111 +			<binding name='x1'>
  39.112 +				<uri>http://example.org/item1</uri>
  39.113 +			</binding>
  39.114 +		</result>
  39.115 +		<result>
  39.116 +			<binding name='x2'>
  39.117 +				<uri>http://example.org/item4</uri>
  39.118 +			</binding>
  39.119 +			<binding name='x1'>
  39.120 +				<uri>http://example.org/item2</uri>
  39.121 +			</binding>
  39.122 +		</result>
  39.123 +		<result>
  39.124 +			<binding name='x2'>
  39.125 +				<uri>http://example.org/item1</uri>
  39.126 +			</binding>
  39.127 +			<binding name='x1'>
  39.128 +				<uri>http://example.org/item6</uri>
  39.129 +			</binding>
  39.130 +		</result>
  39.131 +		<result>
  39.132 +			<binding name='x2'>
  39.133 +				<uri>http://example.org/item7</uri>
  39.134 +			</binding>
  39.135 +			<binding name='x1'>
  39.136 +				<uri>http://example.org/item4</uri>
  39.137 +			</binding>
  39.138 +		</result>
  39.139 +		<result>
  39.140 +			<binding name='x2'>
  39.141 +				<uri>http://example.org/item8</uri>
  39.142 +			</binding>
  39.143 +			<binding name='x1'>
  39.144 +				<uri>http://example.org/item5</uri>
  39.145 +			</binding>
  39.146 +		</result>
  39.147 +		<result>
  39.148 +			<binding name='x2'>
  39.149 +				<uri>http://example.org/item3</uri>
  39.150 +			</binding>
  39.151 +			<binding name='x1'>
  39.152 +				<uri>http://example.org/item7</uri>
  39.153 +			</binding>
  39.154 +		</result>
  39.155 +		<result>
  39.156 +			<binding name='x2'>
  39.157 +				<uri>http://example.org/item1</uri>
  39.158 +			</binding>
  39.159 +			<binding name='x1'>
  39.160 +				<uri>http://example.org/item1</uri>
  39.161 +			</binding>
  39.162 +		</result>
  39.163 +		<result>
  39.164 +			<binding name='x2'>
  39.165 +				<uri>http://example.org/item5</uri>
  39.166 +			</binding>
  39.167 +			<binding name='x1'>
  39.168 +				<uri>http://example.org/item7</uri>
  39.169 +			</binding>
  39.170 +		</result>
  39.171 +		<result>
  39.172 +			<binding name='x2'>
  39.173 +				<uri>http://example.org/item2</uri>
  39.174 +			</binding>
  39.175 +			<binding name='x1'>
  39.176 +				<uri>http://example.org/item6</uri>
  39.177 +			</binding>
  39.178 +		</result>
  39.179 +		<result>
  39.180 +			<binding name='x2'>
  39.181 +				<uri>http://example.org/item5</uri>
  39.182 +			</binding>
  39.183 +			<binding name='x1'>
  39.184 +				<uri>http://example.org/item1</uri>
  39.185 +			</binding>
  39.186 +		</result>
  39.187 +		<result>
  39.188 +			<binding name='x2'>
  39.189 +				<uri>http://example.org/item1</uri>
  39.190 +			</binding>
  39.191 +			<binding name='x1'>
  39.192 +				<uri>http://example.org/item7</uri>
  39.193 +			</binding>
  39.194 +		</result>
  39.195 +		<result>
  39.196 +			<binding name='x2'>
  39.197 +				<uri>http://example.org/item3</uri>
  39.198 +			</binding>
  39.199 +			<binding name='x1'>
  39.200 +				<uri>http://example.org/item1</uri>
  39.201 +			</binding>
  39.202 +		</result>
  39.203 +		<result>
  39.204 +			<binding name='x2'>
  39.205 +				<uri>http://example.org/item4</uri>
  39.206 +			</binding>
  39.207 +			<binding name='x1'>
  39.208 +				<uri>http://example.org/item3</uri>
  39.209 +			</binding>
  39.210 +		</result>
  39.211 +		<result>
  39.212 +			<binding name='x2'>
  39.213 +				<uri>http://example.org/item8</uri>
  39.214 +			</binding>
  39.215 +			<binding name='x1'>
  39.216 +				<uri>http://example.org/item6</uri>
  39.217 +			</binding>
  39.218 +		</result>
  39.219 +		<result>
  39.220 +			<binding name='x2'>
  39.221 +				<uri>http://example.org/item7</uri>
  39.222 +			</binding>
  39.223 +			<binding name='x1'>
  39.224 +				<uri>http://example.org/item1</uri>
  39.225 +			</binding>
  39.226 +		</result>
  39.227 +		<result>
  39.228 +			<binding name='x2'>
  39.229 +				<uri>http://example.org/item6</uri>
  39.230 +			</binding>
  39.231 +			<binding name='x1'>
  39.232 +				<uri>http://example.org/item8</uri>
  39.233 +			</binding>
  39.234 +		</result>
  39.235 +		<result>
  39.236 +			<binding name='x2'>
  39.237 +				<uri>http://example.org/item4</uri>
  39.238 +			</binding>
  39.239 +			<binding name='x1'>
  39.240 +				<uri>http://example.org/item8</uri>
  39.241 +			</binding>
  39.242 +		</result>
  39.243 +		<result>
  39.244 +			<binding name='x2'>
  39.245 +				<uri>http://example.org/item3</uri>
  39.246 +			</binding>
  39.247 +			<binding name='x1'>
  39.248 +				<uri>http://example.org/item4</uri>
  39.249 +			</binding>
  39.250 +		</result>
  39.251 +		<result>
  39.252 +			<binding name='x2'>
  39.253 +				<uri>http://example.org/item5</uri>
  39.254 +			</binding>
  39.255 +			<binding name='x1'>
  39.256 +				<uri>http://example.org/item4</uri>
  39.257 +			</binding>
  39.258 +		</result>
  39.259 +		<result>
  39.260 +			<binding name='x2'>
  39.261 +				<uri>http://example.org/item1</uri>
  39.262 +			</binding>
  39.263 +			<binding name='x1'>
  39.264 +				<uri>http://example.org/item4</uri>
  39.265 +			</binding>
  39.266 +		</result>
  39.267 +		<result>
  39.268 +			<binding name='x2'>
  39.269 +				<uri>http://example.org/item6</uri>
  39.270 +			</binding>
  39.271 +			<binding name='x1'>
  39.272 +				<uri>http://example.org/item3</uri>
  39.273 +			</binding>
  39.274 +		</result>
  39.275 +		<result>
  39.276 +			<binding name='x2'>
  39.277 +				<uri>http://example.org/item2</uri>
  39.278 +			</binding>
  39.279 +			<binding name='x1'>
  39.280 +				<uri>http://example.org/item5</uri>
  39.281 +			</binding>
  39.282 +		</result>
  39.283 +		<result>
  39.284 +			<binding name='x2'>
  39.285 +				<uri>http://example.org/item5</uri>
  39.286 +			</binding>
  39.287 +			<binding name='x1'>
  39.288 +				<uri>http://example.org/item2</uri>
  39.289 +			</binding>
  39.290 +		</result>
  39.291 +		<result>
  39.292 +			<binding name='x2'>
  39.293 +				<uri>http://example.org/item3</uri>
  39.294 +			</binding>
  39.295 +			<binding name='x1'>
  39.296 +				<uri>http://example.org/item2</uri>
  39.297 +			</binding>
  39.298 +		</result>
  39.299 +		<result>
  39.300 +			<binding name='x2'>
  39.301 +				<uri>http://example.org/item8</uri>
  39.302 +			</binding>
  39.303 +			<binding name='x1'>
  39.304 +				<uri>http://example.org/item3</uri>
  39.305 +			</binding>
  39.306 +		</result>
  39.307 +		<result>
  39.308 +			<binding name='x2'>
  39.309 +				<uri>http://example.org/item1</uri>
  39.310 +			</binding>
  39.311 +			<binding name='x1'>
  39.312 +				<uri>http://example.org/item2</uri>
  39.313 +			</binding>
  39.314 +		</result>
  39.315 +		<result>
  39.316 +			<binding name='x2'>
  39.317 +				<uri>http://example.org/item4</uri>
  39.318 +			</binding>
  39.319 +			<binding name='x1'>
  39.320 +				<uri>http://example.org/item6</uri>
  39.321 +			</binding>
  39.322 +		</result>
  39.323 +		<result>
  39.324 +			<binding name='x2'>
  39.325 +				<uri>http://example.org/item4</uri>
  39.326 +			</binding>
  39.327 +			<binding name='x1'>
  39.328 +				<uri>http://example.org/item5</uri>
  39.329 +			</binding>
  39.330 +		</result>
  39.331 +		<result>
  39.332 +			<binding name='x2'>
  39.333 +				<uri>http://example.org/item2</uri>
  39.334 +			</binding>
  39.335 +			<binding name='x1'>
  39.336 +				<uri>http://example.org/item8</uri>
  39.337 +			</binding>
  39.338 +		</result>
  39.339 +		<result>
  39.340 +			<binding name='x2'>
  39.341 +				<uri>http://example.org/item7</uri>
  39.342 +			</binding>
  39.343 +			<binding name='x1'>
  39.344 +				<uri>http://example.org/item2</uri>
  39.345 +			</binding>
  39.346 +		</result>
  39.347 +		<result>
  39.348 +			<binding name='x2'>
  39.349 +				<uri>http://example.org/item6</uri>
  39.350 +			</binding>
  39.351 +			<binding name='x1'>
  39.352 +				<uri>http://example.org/item5</uri>
  39.353 +			</binding>
  39.354 +		</result>
  39.355 +		<result>
  39.356 +			<binding name='x2'>
  39.357 +				<uri>http://example.org/item2</uri>
  39.358 +			</binding>
  39.359 +			<binding name='x1'>
  39.360 +				<uri>http://example.org/item3</uri>
  39.361 +			</binding>
  39.362 +		</result>
  39.363 +		<result>
  39.364 +			<binding name='x2'>
  39.365 +				<uri>http://example.org/item1</uri>
  39.366 +			</binding>
  39.367 +			<binding name='x1'>
  39.368 +				<uri>http://example.org/item8</uri>
  39.369 +			</binding>
  39.370 +		</result>
  39.371 +		<result>
  39.372 +			<binding name='x2'>
  39.373 +				<uri>http://example.org/item3</uri>
  39.374 +			</binding>
  39.375 +			<binding name='x1'>
  39.376 +				<uri>http://example.org/item8</uri>
  39.377 +			</binding>
  39.378 +		</result>
  39.379 +		<result>
  39.380 +			<binding name='x2'>
  39.381 +				<uri>http://example.org/item5</uri>
  39.382 +			</binding>
  39.383 +			<binding name='x1'>
  39.384 +				<uri>http://example.org/item8</uri>
  39.385 +			</binding>
  39.386 +		</result>
  39.387 +		<result>
  39.388 +			<binding name='x2'>
  39.389 +				<uri>http://example.org/item6</uri>
  39.390 +			</binding>
  39.391 +			<binding name='x1'>
  39.392 +				<uri>http://example.org/item4</uri>
  39.393 +			</binding>
  39.394 +		</result>
  39.395 +		<result>
  39.396 +			<binding name='x2'>
  39.397 +				<uri>http://example.org/item1</uri>
  39.398 +			</binding>
  39.399 +			<binding name='x1'>
  39.400 +				<uri>http://example.org/item3</uri>
  39.401 +			</binding>
  39.402 +		</result>
  39.403 +		<result>
  39.404 +			<binding name='x2'>
  39.405 +				<uri>http://example.org/item8</uri>
  39.406 +			</binding>
  39.407 +			<binding name='x1'>
  39.408 +				<uri>http://example.org/item2</uri>
  39.409 +			</binding>
  39.410 +		</result>
  39.411 +		<result>
  39.412 +			<binding name='x2'>
  39.413 +				<uri>http://example.org/item5</uri>
  39.414 +			</binding>
  39.415 +			<binding name='x1'>
  39.416 +				<uri>http://example.org/item3</uri>
  39.417 +			</binding>
  39.418 +		</result>
  39.419 +		<result>
  39.420 +			<binding name='x2'>
  39.421 +				<uri>http://example.org/item4</uri>
  39.422 +			</binding>
  39.423 +			<binding name='x1'>
  39.424 +				<uri>http://example.org/item1</uri>
  39.425 +			</binding>
  39.426 +		</result>
  39.427 +		<result>
  39.428 +			<binding name='x2'>
  39.429 +				<uri>http://example.org/item2</uri>
  39.430 +			</binding>
  39.431 +			<binding name='x1'>
  39.432 +				<uri>http://example.org/item2</uri>
  39.433 +			</binding>
  39.434 +		</result>
  39.435 +		<result>
  39.436 +			<binding name='x2'>
  39.437 +				<uri>http://example.org/item7</uri>
  39.438 +			</binding>
  39.439 +			<binding name='x1'>
  39.440 +				<uri>http://example.org/item3</uri>
  39.441 +			</binding>
  39.442 +		</result>
  39.443 +		<result>
  39.444 +			<binding name='x2'>
  39.445 +				<uri>http://example.org/item4</uri>
  39.446 +			</binding>
  39.447 +			<binding name='x1'>
  39.448 +				<uri>http://example.org/item7</uri>
  39.449 +			</binding>
  39.450 +		</result>
  39.451 +		<result>
  39.452 +			<binding name='x2'>
  39.453 +				<uri>http://example.org/item6</uri>
  39.454 +			</binding>
  39.455 +			<binding name='x1'>
  39.456 +				<uri>http://example.org/item7</uri>
  39.457 +			</binding>
  39.458 +		</result>
  39.459 +		<result>
  39.460 +			<binding name='x2'>
  39.461 +				<uri>http://example.org/item6</uri>
  39.462 +			</binding>
  39.463 +			<binding name='x1'>
  39.464 +				<uri>http://example.org/item1</uri>
  39.465 +			</binding>
  39.466 +		</result>
  39.467 +		<result>
  39.468 +			<binding name='x2'>
  39.469 +				<uri>http://example.org/item7</uri>
  39.470 +			</binding>
  39.471 +			<binding name='x1'>
  39.472 +				<uri>http://example.org/item8</uri>
  39.473 +			</binding>
  39.474 +		</result>
  39.475 +	</results>
  39.476 +</sparql>
  39.477 \ No newline at end of file
    40.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    40.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationNEqualsPeriod/temporalRelations.nq	Sun Apr 28 16:14:10 2013 +0300
    40.3 @@ -0,0 +1,15 @@
    40.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>.
    40.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>.
    40.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>.
    40.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>.
    40.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>.
    40.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>.
   40.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>.
   40.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>.
   40.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>.
   40.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>.
   40.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> .
   40.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> .
   40.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> .
   40.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>.
   40.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>.
    41.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    41.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationOverlaps/periodOverlaps.rq	Sun Apr 28 16:14:10 2013 +0300
    41.3 @@ -0,0 +1,9 @@
    41.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    41.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    41.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    41.7 +
    41.8 +SELECT distinct ?x1 ?x2 
    41.9 +			WHERE { 
   41.10 +				?x1 ?y1 ?z1 ?t1 .
   41.11 +				?x2 ?y2 ?z2 ?t2 .
   41.12 +				FILTER(strdf:periodOverlaps(?t1, ?t2) && str(?x1) < str(?x2)).}
   41.13 \ No newline at end of file
    42.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    42.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationOverlaps/periodOverlaps.srx	Sun Apr 28 16:14:10 2013 +0300
    42.3 @@ -0,0 +1,8 @@
    42.4 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    42.5 +	<head>
    42.6 +		<variable name='x1'/>
    42.7 +		<variable name='x2'/>
    42.8 +	</head>
    42.9 +	<results>
   42.10 +	</results>
   42.11 +</sparql>
   42.12 \ No newline at end of file
    43.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    43.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationOverlaps/temporalRelations.nq	Sun Apr 28 16:14:10 2013 +0300
    43.3 @@ -0,0 +1,15 @@
    43.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>.
    43.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>.
    43.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>.
    43.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>.
    43.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>.
    43.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>.
   43.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>.
   43.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>.
   43.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>.
   43.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>.
   43.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> .
   43.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> .
   43.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> .
   43.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>.
   43.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>.
    44.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    44.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/overleft.rq	Sun Apr 28 16:14:10 2013 +0300
    44.3 @@ -0,0 +1,9 @@
    44.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    44.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    44.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    44.7 +
    44.8 +SELECT distinct ?x1 ?x2 
    44.9 +			WHERE { 
   44.10 +				?x1 ?y1 ?z1 ?t1 .
   44.11 +				?x2 ?y2 ?z2 ?t2 .
   44.12 +				FILTER(strdf:overleft(?t1, ?t2) && str(?x1) < str(?x2)).}
   44.13 \ No newline at end of file
    45.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    45.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/overleft.srx	Sun Apr 28 16:14:10 2013 +0300
    45.3 @@ -0,0 +1,233 @@
    45.4 +<?xml version='1.0' encoding='UTF-8'?>
    45.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    45.6 +	<head>
    45.7 +		<variable name='x1'/>
    45.8 +		<variable name='x2'/>
    45.9 +	</head>
   45.10 +	<results>
   45.11 +		<result>
   45.12 +			<binding name='x2'>
   45.13 +				<uri>http://example.org/item2</uri>
   45.14 +			</binding>
   45.15 +			<binding name='x1'>
   45.16 +				<uri>http://example.org/item4</uri>
   45.17 +			</binding>
   45.18 +		</result>
   45.19 +		<result>
   45.20 +			<binding name='x2'>
   45.21 +				<uri>http://example.org/item5</uri>
   45.22 +			</binding>
   45.23 +			<binding name='x1'>
   45.24 +				<uri>http://example.org/item5</uri>
   45.25 +			</binding>
   45.26 +		</result>
   45.27 +		<result>
   45.28 +			<binding name='x2'>
   45.29 +				<uri>http://example.org/item6</uri>
   45.30 +			</binding>
   45.31 +			<binding name='x1'>
   45.32 +				<uri>http://example.org/item2</uri>
   45.33 +			</binding>
   45.34 +		</result>
   45.35 +		<result>
   45.36 +			<binding name='x2'>
   45.37 +				<uri>http://example.org/item2</uri>
   45.38 +			</binding>
   45.39 +			<binding name='x1'>
   45.40 +				<uri>http://example.org/item7</uri>
   45.41 +			</binding>
   45.42 +		</result>
   45.43 +		<result>
   45.44 +			<binding name='x2'>
   45.45 +				<uri>http://example.org/item2</uri>
   45.46 +			</binding>
   45.47 +			<binding name='x1'>
   45.48 +				<uri>http://example.org/item1</uri>
   45.49 +			</binding>
   45.50 +		</result>
   45.51 +		<result>
   45.52 +			<binding name='x2'>
   45.53 +				<uri>http://example.org/item4</uri>
   45.54 +			</binding>
   45.55 +			<binding name='x1'>
   45.56 +				<uri>http://example.org/item2</uri>
   45.57 +			</binding>
   45.58 +		</result>
   45.59 +		<result>
   45.60 +			<binding name='x2'>
   45.61 +				<uri>http://example.org/item3</uri>
   45.62 +			</binding>
   45.63 +			<binding name='x1'>
   45.64 +				<uri>http://example.org/item7</uri>
   45.65 +			</binding>
   45.66 +		</result>
   45.67 +		<result>
   45.68 +			<binding name='x2'>
   45.69 +				<uri>http://example.org/item1</uri>
   45.70 +			</binding>
   45.71 +			<binding name='x1'>
   45.72 +				<uri>http://example.org/item1</uri>
   45.73 +			</binding>
   45.74 +		</result>
   45.75 +		<result>
   45.76 +			<binding name='x2'>
   45.77 +				<uri>http://example.org/item2</uri>
   45.78 +			</binding>
   45.79 +			<binding name='x1'>
   45.80 +				<uri>http://example.org/item6</uri>
   45.81 +			</binding>
   45.82 +		</result>
   45.83 +		<result>
   45.84 +			<binding name='x2'>
   45.85 +				<uri>http://example.org/item1</uri>
   45.86 +			</binding>
   45.87 +			<binding name='x1'>
   45.88 +				<uri>http://example.org/item7</uri>
   45.89 +			</binding>
   45.90 +		</result>
   45.91 +		<result>
   45.92 +			<binding name='x2'>
   45.93 +				<uri>http://example.org/item3</uri>
   45.94 +			</binding>
   45.95 +			<binding name='x1'>
   45.96 +				<uri>http://example.org/item1</uri>
   45.97 +			</binding>
   45.98 +		</result>
   45.99 +		<result>
  45.100 +			<binding name='x2'>
  45.101 +				<uri>http://example.org/item7</uri>
  45.102 +			</binding>
  45.103 +			<binding name='x1'>
  45.104 +				<uri>http://example.org/item7</uri>
  45.105 +			</binding>
  45.106 +		</result>
  45.107 +		<result>
  45.108 +			<binding name='x2'>
  45.109 +				<uri>http://example.org/item7</uri>
  45.110 +			</binding>
  45.111 +			<binding name='x1'>
  45.112 +				<uri>http://example.org/item1</uri>
  45.113 +			</binding>
  45.114 +		</result>
  45.115 +		<result>
  45.116 +			<binding name='x2'>
  45.117 +				<uri>http://example.org/item2</uri>
  45.118 +			</binding>
  45.119 +			<binding name='x1'>
  45.120 +				<uri>http://example.org/item5</uri>
  45.121 +			</binding>
  45.122 +		</result>
  45.123 +		<result>
  45.124 +			<binding name='x2'>
  45.125 +				<uri>http://example.org/item5</uri>
  45.126 +			</binding>
  45.127 +			<binding name='x1'>
  45.128 +				<uri>http://example.org/item2</uri>
  45.129 +			</binding>
  45.130 +		</result>
  45.131 +		<result>
  45.132 +			<binding name='x2'>
  45.133 +				<uri>http://example.org/item3</uri>
  45.134 +			</binding>
  45.135 +			<binding name='x1'>
  45.136 +				<uri>http://example.org/item2</uri>
  45.137 +			</binding>
  45.138 +		</result>
  45.139 +		<result>
  45.140 +			<binding name='x2'>
  45.141 +				<uri>http://example.org/item1</uri>
  45.142 +			</binding>
  45.143 +			<binding name='x1'>
  45.144 +				<uri>http://example.org/item2</uri>
  45.145 +			</binding>
  45.146 +		</result>
  45.147 +		<result>
  45.148 +			<binding name='x2'>
  45.149 +				<uri>http://example.org/item6</uri>
  45.150 +			</binding>
  45.151 +			<binding name='x1'>
  45.152 +				<uri>http://example.org/item6</uri>
  45.153 +			</binding>
  45.154 +		</result>
  45.155 +		<result>
  45.156 +			<binding name='x2'>
  45.157 +				<uri>http://example.org/item8</uri>
  45.158 +			</binding>
  45.159 +			<binding name='x1'>
  45.160 +				<uri>http://example.org/item8</uri>
  45.161 +			</binding>
  45.162 +		</result>
  45.163 +		<result>
  45.164 +			<binding name='x2'>
  45.165 +				<uri>http://example.org/item2</uri>
  45.166 +			</binding>
  45.167 +			<binding name='x1'>
  45.168 +				<uri>http://example.org/item8</uri>
  45.169 +			</binding>
  45.170 +		</result>
  45.171 +		<result>
  45.172 +			<binding name='x2'>
  45.173 +				<uri>http://example.org/item7</uri>
  45.174 +			</binding>
  45.175 +			<binding name='x1'>
  45.176 +				<uri>http://example.org/item2</uri>
  45.177 +			</binding>
  45.178 +		</result>
  45.179 +		<result>
  45.180 +			<binding name='x2'>
  45.181 +				<uri>http://example.org/item2</uri>
  45.182 +			</binding>
  45.183 +			<binding name='x1'>
  45.184 +				<uri>http://example.org/item3</uri>
  45.185 +			</binding>
  45.186 +		</result>
  45.187 +		<result>
  45.188 +			<binding name='x2'>
  45.189 +				<uri>http://example.org/item4</uri>
  45.190 +			</binding>
  45.191 +			<binding name='x1'>
  45.192 +				<uri>http://example.org/item4</uri>
  45.193 +			</binding>
  45.194 +		</result>
  45.195 +		<result>
  45.196 +			<binding name='x2'>
  45.197 +				<uri>http://example.org/item1</uri>
  45.198 +			</binding>
  45.199 +			<binding name='x1'>
  45.200 +				<uri>http://example.org/item3</uri>
  45.201 +			</binding>
  45.202 +		</result>
  45.203 +		<result>
  45.204 +			<binding name='x2'>
  45.205 +				<uri>http://example.org/item8</uri>
  45.206 +			</binding>
  45.207 +			<binding name='x1'>
  45.208 +				<uri>http://example.org/item2</uri>
  45.209 +			</binding>
  45.210 +		</result>
  45.211 +		<result>
  45.212 +			<binding name='x2'>
  45.213 +				<uri>http://example.org/item3</uri>
  45.214 +			</binding>
  45.215 +			<binding name='x1'>
  45.216 +				<uri>http://example.org/item3</uri>
  45.217 +			</binding>
  45.218 +		</result>
  45.219 +		<result>
  45.220 +			<binding name='x2'>
  45.221 +				<uri>http://example.org/item2</uri>
  45.222 +			</binding>
  45.223 +			<binding name='x1'>
  45.224 +				<uri>http://example.org/item2</uri>
  45.225 +			</binding>
  45.226 +		</result>
  45.227 +		<result>
  45.228 +			<binding name='x2'>
  45.229 +				<uri>http://example.org/item7</uri>
  45.230 +			</binding>
  45.231 +			<binding name='x1'>
  45.232 +				<uri>http://example.org/item3</uri>
  45.233 +			</binding>
  45.234 +		</result>
  45.235 +	</results>
  45.236 +</sparql>
  45.237 \ No newline at end of file
    46.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    46.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/temporalRelations.nq	Sun Apr 28 16:14:10 2013 +0300
    46.3 @@ -0,0 +1,15 @@
    46.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>.
    46.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>.
    46.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>.
    46.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>.
    46.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>.
    46.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>.
   46.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>.
   46.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>.
   46.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>.
   46.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>.
   46.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> .
   46.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> .
   46.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> .
   46.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>.
   46.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>.
    47.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    47.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationOverright/overright.rq	Sun Apr 28 16:14:10 2013 +0300
    47.3 @@ -0,0 +1,9 @@
    47.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    47.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    47.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    47.7 +
    47.8 +SELECT distinct ?x1 ?x2 
    47.9 +			WHERE { 
   47.10 +				?x1 ?y1 ?z1 ?t1 .
   47.11 +				?x2 ?y2 ?z2 ?t2 .
   47.12 +				FILTER(strdf:overright(?t1, ?t2) && str(?x1) < str(?x2)).}
   47.13 \ No newline at end of file
    48.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    48.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationOverright/overright.srx	Sun Apr 28 16:14:10 2013 +0300
    48.3 @@ -0,0 +1,345 @@
    48.4 +<?xml version='1.0' encoding='UTF-8'?>
    48.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    48.6 +	<head>
    48.7 +		<variable name='x1'/>
    48.8 +		<variable name='x2'/>
    48.9 +	</head>
   48.10 +	<results>
   48.11 +		<result>
   48.12 +			<binding name='x2'>
   48.13 +				<uri>http://example.org/item2</uri>
   48.14 +			</binding>
   48.15 +			<binding name='x1'>
   48.16 +				<uri>http://example.org/item4</uri>
   48.17 +			</binding>
   48.18 +		</result>
   48.19 +		<result>
   48.20 +			<binding name='x2'>
   48.21 +				<uri>http://example.org/item5</uri>
   48.22 +			</binding>
   48.23 +			<binding name='x1'>
   48.24 +				<uri>http://example.org/item5</uri>
   48.25 +			</binding>
   48.26 +		</result>
   48.27 +		<result>
   48.28 +			<binding name='x2'>
   48.29 +				<uri>http://example.org/item6</uri>
   48.30 +			</binding>
   48.31 +			<binding name='x1'>
   48.32 +				<uri>http://example.org/item2</uri>
   48.33 +			</binding>
   48.34 +		</result>
   48.35 +		<result>
   48.36 +			<binding name='x2'>
   48.37 +				<uri>http://example.org/item2</uri>
   48.38 +			</binding>
   48.39 +			<binding name='x1'>
   48.40 +				<uri>http://example.org/item7</uri>
   48.41 +			</binding>
   48.42 +		</result>
   48.43 +		<result>
   48.44 +			<binding name='x2'>
   48.45 +				<uri>http://example.org/item5</uri>
   48.46 +			</binding>
   48.47 +			<binding name='x1'>
   48.48 +				<uri>http://example.org/item6</uri>
   48.49 +			</binding>
   48.50 +		</result>
   48.51 +		<result>
   48.52 +			<binding name='x2'>
   48.53 +				<uri>http://example.org/item2</uri>
   48.54 +			</binding>
   48.55 +			<binding name='x1'>
   48.56 +				<uri>http://example.org/item1</uri>
   48.57 +			</binding>
   48.58 +		</result>
   48.59 +		<result>
   48.60 +			<binding name='x2'>
   48.61 +				<uri>http://example.org/item4</uri>
   48.62 +			</binding>
   48.63 +			<binding name='x1'>
   48.64 +				<uri>http://example.org/item2</uri>
   48.65 +			</binding>
   48.66 +		</result>
   48.67 +		<result>
   48.68 +			<binding name='x2'>
   48.69 +				<uri>http://example.org/item3</uri>
   48.70 +			</binding>
   48.71 +			<binding name='x1'>
   48.72 +				<uri>http://example.org/item7</uri>
   48.73 +			</binding>
   48.74 +		</result>
   48.75 +		<result>
   48.76 +			<binding name='x2'>
   48.77 +				<uri>http://example.org/item1</uri>
   48.78 +			</binding>
   48.79 +			<binding name='x1'>
   48.80 +				<uri>http://example.org/item1</uri>
   48.81 +			</binding>
   48.82 +		</result>
   48.83 +		<result>
   48.84 +			<binding name='x2'>
   48.85 +				<uri>http://example.org/item5</uri>
   48.86 +			</binding>
   48.87 +			<binding name='x1'>
   48.88 +				<uri>http://example.org/item7</uri>
   48.89 +			</binding>
   48.90 +		</result>
   48.91 +		<result>
   48.92 +			<binding name='x2'>
   48.93 +				<uri>http://example.org/item2</uri>
   48.94 +			</binding>
   48.95 +			<binding name='x1'>
   48.96 +				<uri>http://example.org/item6</uri>
   48.97 +			</binding>
   48.98 +		</result>
   48.99 +		<result>
  48.100 +			<binding name='x2'>
  48.101 +				<uri>http://example.org/item5</uri>
  48.102 +			</binding>
  48.103 +			<binding name='x1'>
  48.104 +				<uri>http://example.org/item1</uri>
  48.105 +			</binding>
  48.106 +		</result>
  48.107 +		<result>
  48.108 +			<binding name='x2'>
  48.109 +				<uri>http://example.org/item1</uri>
  48.110 +			</binding>
  48.111 +			<binding name='x1'>
  48.112 +				<uri>http://example.org/item7</uri>
  48.113 +			</binding>
  48.114 +		</result>
  48.115 +		<result>
  48.116 +			<binding name='x2'>
  48.117 +				<uri>http://example.org/item3</uri>
  48.118 +			</binding>
  48.119 +			<binding name='x1'>
  48.120 +				<uri>http://example.org/item1</uri>
  48.121 +			</binding>
  48.122 +		</result>
  48.123 +		<result>
  48.124 +			<binding name='x2'>
  48.125 +				<uri>http://example.org/item4</uri>
  48.126 +			</binding>
  48.127 +			<binding name='x1'>
  48.128 +				<uri>http://example.org/item3</uri>
  48.129 +			</binding>
  48.130 +		</result>
  48.131 +		<result>
  48.132 +			<binding name='x2'>
  48.133 +				<uri>http://example.org/item7</uri>
  48.134 +			</binding>
  48.135 +			<binding name='x1'>
  48.136 +				<uri>http://example.org/item7</uri>
  48.137 +			</binding>
  48.138 +		</result>
  48.139 +		<result>
  48.140 +			<binding name='x2'>
  48.141 +				<uri>http://example.org/item6</uri>
  48.142 +			</binding>
  48.143 +			<binding name='x1'>
  48.144 +				<uri>http://example.org/item8</uri>
  48.145 +			</binding>
  48.146 +		</result>
  48.147 +		<result>
  48.148 +			<binding name='x2'>
  48.149 +				<uri>http://example.org/item4</uri>
  48.150 +			</binding>
  48.151 +			<binding name='x1'>
  48.152 +				<uri>http://example.org/item8</uri>
  48.153 +			</binding>
  48.154 +		</result>
  48.155 +		<result>
  48.156 +			<binding name='x2'>
  48.157 +				<uri>http://example.org/item6</uri>
  48.158 +			</binding>
  48.159 +			<binding name='x1'>
  48.160 +				<uri>http://example.org/item3</uri>
  48.161 +			</binding>
  48.162 +		</result>
  48.163 +		<result>
  48.164 +			<binding name='x2'>
  48.165 +				<uri>http://example.org/item2</uri>
  48.166 +			</binding>
  48.167 +			<binding name='x1'>
  48.168 +				<uri>http://example.org/item5</uri>
  48.169 +			</binding>
  48.170 +		</result>
  48.171 +		<result>
  48.172 +			<binding name='x2'>
  48.173 +				<uri>http://example.org/item5</uri>
  48.174 +			</binding>
  48.175 +			<binding name='x1'>
  48.176 +				<uri>http://example.org/item2</uri>
  48.177 +			</binding>
  48.178 +		</result>
  48.179 +		<result>
  48.180 +			<binding name='x2'>
  48.181 +				<uri>http://example.org/item3</uri>
  48.182 +			</binding>
  48.183 +			<binding name='x1'>
  48.184 +				<uri>http://example.org/item2</uri>
  48.185 +			</binding>
  48.186 +		</result>
  48.187 +		<result>
  48.188 +			<binding name='x2'>
  48.189 +				<uri>http://example.org/item1</uri>
  48.190 +			</binding>
  48.191 +			<binding name='x1'>
  48.192 +				<uri>http://example.org/item2</uri>
  48.193 +			</binding>
  48.194 +		</result>
  48.195 +		<result>
  48.196 +			<binding name='x2'>
  48.197 +				<uri>http://example.org/item4</uri>
  48.198 +			</binding>
  48.199 +			<binding name='x1'>
  48.200 +				<uri>http://example.org/item6</uri>
  48.201 +			</binding>
  48.202 +		</result>
  48.203 +		<result>
  48.204 +			<binding name='x2'>
  48.205 +				<uri>http://example.org/item6</uri>
  48.206 +			</binding>
  48.207 +			<binding name='x1'>
  48.208 +				<uri>http://example.org/item6</uri>
  48.209 +			</binding>
  48.210 +		</result>
  48.211 +		<result>
  48.212 +			<binding name='x2'>
  48.213 +				<uri>http://example.org/item8</uri>
  48.214 +			</binding>
  48.215 +			<binding name='x1'>
  48.216 +				<uri>http://example.org/item8</uri>
  48.217 +			</binding>
  48.218 +		</result>
  48.219 +		<result>
  48.220 +			<binding name='x2'>
  48.221 +				<uri>http://example.org/item4</uri>
  48.222 +			</binding>
  48.223 +			<binding name='x1'>
  48.224 +				<uri>http://example.org/item5</uri>
  48.225 +			</binding>
  48.226 +		</result>
  48.227 +		<result>
  48.228 +			<binding name='x2'>
  48.229 +				<uri>http://example.org/item2</uri>
  48.230 +			</binding>
  48.231 +			<binding name='x1'>
  48.232 +				<uri>http://example.org/item8</uri>
  48.233 +			</binding>
  48.234 +		</result>
  48.235 +		<result>
  48.236 +			<binding name='x2'>
  48.237 +				<uri>http://example.org/item2</uri>
  48.238 +			</binding>
  48.239 +			<binding name='x1'>
  48.240 +				<uri>http://example.org/item3</uri>
  48.241 +			</binding>
  48.242 +		</result>
  48.243 +		<result>
  48.244 +			<binding name='x2'>
  48.245 +				<uri>http://example.org/item1</uri>
  48.246 +			</binding>
  48.247 +			<binding name='x1'>
  48.248 +				<uri>http://example.org/item8</uri>
  48.249 +			</binding>
  48.250 +		</result>
  48.251 +		<result>
  48.252 +			<binding name='x2'>
  48.253 +				<uri>http://example.org/item3</uri>
  48.254 +			</binding>
  48.255 +			<binding name='x1'>
  48.256 +				<uri>http://example.org/item8</uri>
  48.257 +			</binding>
  48.258 +		</result>
  48.259 +		<result>
  48.260 +			<binding name='x2'>
  48.261 +				<uri>http://example.org/item4</uri>
  48.262 +			</binding>
  48.263 +			<binding name='x1'>
  48.264 +				<uri>http://example.org/item4</uri>
  48.265 +			</binding>
  48.266 +		</result>
  48.267 +		<result>
  48.268 +			<binding name='x2'>
  48.269 +				<uri>http://example.org/item5</uri>
  48.270 +			</binding>
  48.271 +			<binding name='x1'>
  48.272 +				<uri>http://example.org/item8</uri>
  48.273 +			</binding>
  48.274 +		</result>
  48.275 +		<result>
  48.276 +			<binding name='x2'>
  48.277 +				<uri>http://example.org/item1</uri>
  48.278 +			</binding>
  48.279 +			<binding name='x1'>
  48.280 +				<uri>http://example.org/item3</uri>
  48.281 +			</binding>
  48.282 +		</result>
  48.283 +		<result>
  48.284 +			<binding name='x2'>
  48.285 +				<uri>http://example.org/item5</uri>
  48.286 +			</binding>
  48.287 +			<binding name='x1'>
  48.288 +				<uri>http://example.org/item3</uri>
  48.289 +			</binding>
  48.290 +		</result>
  48.291 +		<result>
  48.292 +			<binding name='x2'>
  48.293 +				<uri>http://example.org/item3</uri>
  48.294 +			</binding>
  48.295 +			<binding name='x1'>
  48.296 +				<uri>http://example.org/item3</uri>
  48.297 +			</binding>
  48.298 +		</result>
  48.299 +		<result>
  48.300 +			<binding name='x2'>
  48.301 +				<uri>http://example.org/item4</uri>
  48.302 +			</binding>
  48.303 +			<binding name='x1'>
  48.304 +				<uri>http://example.org/item1</uri>
  48.305 +			</binding>
  48.306 +		</result>
  48.307 +		<result>
  48.308 +			<binding name='x2'>
  48.309 +				<uri>http://example.org/item2</uri>
  48.310 +			</binding>
  48.311 +			<binding name='x1'>
  48.312 +				<uri>http://example.org/item2</uri>
  48.313 +			</binding>
  48.314 +		</result>
  48.315 +		<result>
  48.316 +			<binding name='x2'>
  48.317 +				<uri>http://example.org/item4</uri>
  48.318 +			</binding>
  48.319 +			<binding name='x1'>
  48.320 +				<uri>http://example.org/item7</uri>
  48.321 +			</binding>
  48.322 +		</result>
  48.323 +		<result>
  48.324 +			<binding name='x2'>
  48.325 +				<uri>http://example.org/item6</uri>
  48.326 +			</binding>
  48.327 +			<binding name='x1'>
  48.328 +				<uri>http://example.org/item7</uri>
  48.329 +			</binding>
  48.330 +		</result>
  48.331 +		<result>
  48.332 +			<binding name='x2'>
  48.333 +				<uri>http://example.org/item6</uri>
  48.334 +			</binding>
  48.335 +			<binding name='x1'>
  48.336 +				<uri>http://example.org/item1</uri>
  48.337 +			</binding>
  48.338 +		</result>
  48.339 +		<result>
  48.340 +			<binding name='x2'>
  48.341 +				<uri>http://example.org/item7</uri>
  48.342 +			</binding>
  48.343 +			<binding name='x1'>
  48.344 +				<uri>http://example.org/item8</uri>
  48.345 +			</binding>
  48.346 +		</result>
  48.347 +	</results>
  48.348 +</sparql>
  48.349 \ No newline at end of file
    49.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    49.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationOverright/temporalRelations.nq	Sun Apr 28 16:14:10 2013 +0300
    49.3 @@ -0,0 +1,15 @@
    49.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>.
    49.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>.
    49.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>.
    49.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>.
    49.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>.
    49.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>.
   49.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>.
   49.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>.
   49.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>.
   49.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>.
   49.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> .
   49.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> .
   49.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> .
   49.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>.
   49.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>.
    50.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    50.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationStarts/starts.rq	Sun Apr 28 16:14:10 2013 +0300
    50.3 @@ -0,0 +1,9 @@
    50.4 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    50.5 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    50.6 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    50.7 +
    50.8 +SELECT distinct ?x1 ?x2 
    50.9 +			WHERE { 
   50.10 +				?x1 ?y1 ?z1 ?t1 .
   50.11 +				?x2 ?y2 ?z2 ?t2 .
   50.12 +				FILTER(strdf:starts(?t1, ?t2) && str(?x1) < str(?x2)).}
   50.13 \ No newline at end of file
    51.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    51.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationStarts/starts.srx	Sun Apr 28 16:14:10 2013 +0300
    51.3 @@ -0,0 +1,17 @@
    51.4 +<?xml version='1.0' encoding='UTF-8'?>
    51.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    51.6 +	<head>
    51.7 +		<variable name='x1'/>
    51.8 +		<variable name='x2'/>
    51.9 +	</head>
   51.10 +	<results>
   51.11 +		<result>
   51.12 +			<binding name='x2'>
   51.13 +				<uri>http://example.org/item2</uri>
   51.14 +			</binding>
   51.15 +			<binding name='x1'>
   51.16 +				<uri>http://example.org/item1</uri>
   51.17 +			</binding>
   51.18 +		</result>
   51.19 +	</results>
   51.20 +</sparql>
   51.21 \ No newline at end of file
    52.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelations/periodIntersection.rq	Fri Apr 26 15:03:21 2013 +0300
    52.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    52.3 @@ -1,9 +0,0 @@
    52.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    52.5 -PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
    52.6 -PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> 
    52.7 -
    52.8 -SELECT distinct ?x1 ?x2 
    52.9 -			WHERE { 
   52.10 -				?x1 ?y1 ?z1 ?t1 .
   52.11 -				?x2 ?y2 ?z2 ?t2 .
   52.12 -				FILTER(strdf:PeriodIntersects(?t1, ?t2) && str(?x1) < str(?x2)).}
   52.13 \ No newline at end of file
    53.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelations/temporalRelations.nq	Fri Apr 26 15:03:21 2013 +0300
    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>.