Strabon

changeset 1126:51bb2bc36c67 temporals

added first set of tests on temporal operations. Please not that a temporally enabled database should be used, extended with the sql script that add the allen functions which are not supported by Postgres temporal.
author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
date Mon Apr 29 00:35:15 2013 +0300 (2013-04-29)
parents 48cf40475fb4
children 25967956ea23
files testsuite/src/test/java/eu/earthobservatory/testsuite/utils/TemplateTest.java testsuite/src/test/resources/databases.properties testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/adjacent.srx testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/temporalRelations.nq testsuite/src/test/resources/stSPARQL/TemporalRelationAfter/after.srx testsuite/src/test/resources/stSPARQL/TemporalRelationBefore/before.srx testsuite/src/test/resources/stSPARQL/TemporalRelationDuring/during.srx testsuite/src/test/resources/stSPARQL/TemporalRelationEqualsPeriod/equalsPeriod.srx testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/overleft.srx testsuite/src/test/resources/stSPARQL/TemporalRelationOverright/overright.srx
line diff
     1.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/utils/TemplateTest.java	Sun Apr 28 16:21:31 2013 +0300
     1.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/utils/TemplateTest.java	Mon Apr 29 00:35:15 2013 +0300
     1.3 @@ -81,6 +81,7 @@
     1.4  		
     1.5  		while(queryFileIterator.hasNext() && resultsFileIterator.hasNext())
     1.6  		{
     1.7 +		
     1.8  			Utils.testQuery(queryFileIterator.next(), resultsFileIterator.next());
     1.9  		}
    1.10  	}
     2.1 --- a/testsuite/src/test/resources/databases.properties	Sun Apr 28 16:21:31 2013 +0300
     2.2 +++ b/testsuite/src/test/resources/databases.properties	Mon Apr 29 00:35:15 2013 +0300
     2.3 @@ -1,5 +1,5 @@
     2.4  # PostGIS
     2.5 -postgis.databaseTemplateName = spatiotemporal_template
     2.6 +postgis.databaseTemplateName = template_postgis
     2.7  postgis.defaultUser = postgres
     2.8  postgis.serverName = localhost
     2.9  postgis.username = postgres
     3.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/adjacent.srx	Sun Apr 28 16:21:31 2013 +0300
     3.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/adjacent.srx	Mon Apr 29 00:35:15 2013 +0300
     3.3 @@ -13,13 +13,5 @@
     3.4  				<uri>http://example.org/item7</uri>
     3.5  			</binding>
     3.6  		</result>
     3.7 -		<result>
     3.8 -			<binding name='x2'>
     3.9 -				<uri>http://example.org/item7</uri>
    3.10 -			</binding>
    3.11 -			<binding name='x1'>
    3.12 -				<uri>http://example.org/item8</uri>
    3.13 -			</binding>
    3.14 -		</result>
    3.15  	</results>
    3.16  </sparql>
    3.17 \ No newline at end of file
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationAdjacent/temporalRelations.nq	Mon Apr 29 00:35:15 2013 +0300
     4.3 @@ -0,0 +1,15 @@
     4.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>.
     4.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>.
     4.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>.
     4.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>.
     4.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>.
     4.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>.
    4.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>.
    4.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>.
    4.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>.
    4.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>.
    4.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> .
    4.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> .
    4.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> .
    4.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>.
    4.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>.
     5.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationAfter/after.srx	Sun Apr 28 16:21:31 2013 +0300
     5.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationAfter/after.srx	Mon Apr 29 00:35:15 2013 +0300
     5.3 @@ -7,41 +7,9 @@
     5.4  	<results>
     5.5  		<result>
     5.6  			<binding name='x2'>
     5.7 -				<uri>http://example.org/item2</uri>
     5.8 -			</binding>
     5.9 -			<binding name='x1'>
    5.10 -				<uri>http://example.org/item4</uri>
    5.11 -			</binding>
    5.12 -		</result>
    5.13 -		<result>
    5.14 -			<binding name='x2'>
    5.15  				<uri>http://example.org/item6</uri>
    5.16  			</binding>
    5.17  			<binding name='x1'>
    5.18 -				<uri>http://example.org/item2</uri>
    5.19 -			</binding>
    5.20 -		</result>
    5.21 -		<result>
    5.22 -			<binding name='x2'>
    5.23 -				<uri>http://example.org/item2</uri>
    5.24 -			</binding>
    5.25 -			<binding name='x1'>
    5.26 -				<uri>http://example.org/item7</uri>
    5.27 -			</binding>
    5.28 -		</result>
    5.29 -		<result>
    5.30 -			<binding name='x2'>
    5.31 -				<uri>http://example.org/item5</uri>
    5.32 -			</binding>
    5.33 -			<binding name='x1'>
    5.34 -				<uri>http://example.org/item6</uri>
    5.35 -			</binding>
    5.36 -		</result>
    5.37 -		<result>
    5.38 -			<binding name='x2'>
    5.39 -				<uri>http://example.org/item2</uri>
    5.40 -			</binding>
    5.41 -			<binding name='x1'>
    5.42  				<uri>http://example.org/item1</uri>
    5.43  			</binding>
    5.44  		</result>
    5.45 @@ -55,7 +23,7 @@
    5.46  		</result>
    5.47  		<result>
    5.48  			<binding name='x2'>
    5.49 -				<uri>http://example.org/item1</uri>
    5.50 +				<uri>http://example.org/item4</uri>
    5.51  			</binding>
    5.52  			<binding name='x1'>
    5.53  				<uri>http://example.org/item1</uri>
    5.54 @@ -63,19 +31,11 @@
    5.55  		</result>
    5.56  		<result>
    5.57  			<binding name='x2'>
    5.58 -				<uri>http://example.org/item5</uri>
    5.59 +				<uri>http://example.org/item6</uri>
    5.60  			</binding>
    5.61  			<binding name='x1'>
    5.62 -				<uri>http://example.org/item7</uri>
    5.63 -			</binding>
    5.64 -		</result>
    5.65 -		<result>
    5.66 -			<binding name='x2'>
    5.67  				<uri>http://example.org/item2</uri>
    5.68  			</binding>
    5.69 -			<binding name='x1'>
    5.70 -				<uri>http://example.org/item6</uri>
    5.71 -			</binding>
    5.72  		</result>
    5.73  		<result>
    5.74  			<binding name='x2'>
    5.75 @@ -87,129 +47,9 @@
    5.76  		</result>
    5.77  		<result>
    5.78  			<binding name='x2'>
    5.79 -				<uri>http://example.org/item1</uri>
    5.80 -			</binding>
    5.81 -			<binding name='x1'>
    5.82 -				<uri>http://example.org/item7</uri>
    5.83 -			</binding>
    5.84 -		</result>
    5.85 -		<result>
    5.86 -			<binding name='x2'>
    5.87 -				<uri>http://example.org/item4</uri>
    5.88 -			</binding>
    5.89 -			<binding name='x1'>
    5.90 -				<uri>http://example.org/item3</uri>
    5.91 -			</binding>
    5.92 -		</result>
    5.93 -		<result>
    5.94 -			<binding name='x2'>
    5.95  				<uri>http://example.org/item6</uri>
    5.96  			</binding>
    5.97  			<binding name='x1'>
    5.98 -				<uri>http://example.org/item8</uri>
    5.99 -			</binding>
   5.100 -		</result>
   5.101 -		<result>
   5.102 -			<binding name='x2'>
   5.103 -				<uri>http://example.org/item4</uri>
   5.104 -			</binding>
   5.105 -			<binding name='x1'>
   5.106 -				<uri>http://example.org/item8</uri>
   5.107 -			</binding>
   5.108 -		</result>
   5.109 -		<result>
   5.110 -			<binding name='x2'>
   5.111 -				<uri>http://example.org/item6</uri>
   5.112 -			</binding>
   5.113 -			<binding name='x1'>
   5.114 -				<uri>http://example.org/item3</uri>
   5.115 -			</binding>
   5.116 -		</result>
   5.117 -		<result>
   5.118 -			<binding name='x2'>
   5.119 -				<uri>http://example.org/item2</uri>
   5.120 -			</binding>
   5.121 -			<binding name='x1'>
   5.122 -				<uri>http://example.org/item5</uri>
   5.123 -			</binding>
   5.124 -		</result>
   5.125 -		<result>
   5.126 -			<binding name='x2'>
   5.127 -				<uri>http://example.org/item5</uri>
   5.128 -			</binding>
   5.129 -			<binding name='x1'>
   5.130 -				<uri>http://example.org/item2</uri>
   5.131 -			</binding>
   5.132 -		</result>
   5.133 -		<result>
   5.134 -			<binding name='x2'>
   5.135 -				<uri>http://example.org/item1</uri>
   5.136 -			</binding>
   5.137 -			<binding name='x1'>
   5.138 -				<uri>http://example.org/item2</uri>
   5.139 -			</binding>
   5.140 -		</result>
   5.141 -		<result>
   5.142 -			<binding name='x2'>
   5.143 -				<uri>http://example.org/item4</uri>
   5.144 -			</binding>
   5.145 -			<binding name='x1'>
   5.146 -				<uri>http://example.org/item6</uri>
   5.147 -			</binding>
   5.148 -		</result>
   5.149 -		<result>
   5.150 -			<binding name='x2'>
   5.151 -				<uri>http://example.org/item4</uri>
   5.152 -			</binding>
   5.153 -			<binding name='x1'>
   5.154 -				<uri>http://example.org/item5</uri>
   5.155 -			</binding>
   5.156 -		</result>
   5.157 -		<result>
   5.158 -			<binding name='x2'>
   5.159 -				<uri>http://example.org/item2</uri>
   5.160 -			</binding>
   5.161 -			<binding name='x1'>
   5.162 -				<uri>http://example.org/item8</uri>
   5.163 -			</binding>
   5.164 -		</result>
   5.165 -		<result>
   5.166 -			<binding name='x2'>
   5.167 -				<uri>http://example.org/item2</uri>
   5.168 -			</binding>
   5.169 -			<binding name='x1'>
   5.170 -				<uri>http://example.org/item3</uri>
   5.171 -			</binding>
   5.172 -		</result>
   5.173 -		<result>
   5.174 -			<binding name='x2'>
   5.175 -				<uri>http://example.org/item1</uri>
   5.176 -			</binding>
   5.177 -			<binding name='x1'>
   5.178 -				<uri>http://example.org/item8</uri>
   5.179 -			</binding>
   5.180 -		</result>
   5.181 -		<result>
   5.182 -			<binding name='x2'>
   5.183 -				<uri>http://example.org/item3</uri>
   5.184 -			</binding>
   5.185 -			<binding name='x1'>
   5.186 -				<uri>http://example.org/item8</uri>
   5.187 -			</binding>
   5.188 -		</result>
   5.189 -		<result>
   5.190 -			<binding name='x2'>
   5.191 -				<uri>http://example.org/item5</uri>
   5.192 -			</binding>
   5.193 -			<binding name='x1'>
   5.194 -				<uri>http://example.org/item8</uri>
   5.195 -			</binding>
   5.196 -		</result>
   5.197 -		<result>
   5.198 -			<binding name='x2'>
   5.199 -				<uri>http://example.org/item1</uri>
   5.200 -			</binding>
   5.201 -			<binding name='x1'>
   5.202  				<uri>http://example.org/item3</uri>
   5.203  			</binding>
   5.204  		</result>
   5.205 @@ -226,48 +66,16 @@
   5.206  				<uri>http://example.org/item4</uri>
   5.207  			</binding>
   5.208  			<binding name='x1'>
   5.209 -				<uri>http://example.org/item1</uri>
   5.210 +				<uri>http://example.org/item3</uri>
   5.211  			</binding>
   5.212  		</result>
   5.213  		<result>
   5.214  			<binding name='x2'>
   5.215 -				<uri>http://example.org/item2</uri>
   5.216 +				<uri>http://example.org/item5</uri>
   5.217  			</binding>
   5.218  			<binding name='x1'>
   5.219  				<uri>http://example.org/item2</uri>
   5.220  			</binding>
   5.221  		</result>
   5.222 -		<result>
   5.223 -			<binding name='x2'>
   5.224 -				<uri>http://example.org/item4</uri>
   5.225 -			</binding>
   5.226 -			<binding name='x1'>
   5.227 -				<uri>http://example.org/item7</uri>
   5.228 -			</binding>
   5.229 -		</result>
   5.230 -		<result>
   5.231 -			<binding name='x2'>
   5.232 -				<uri>http://example.org/item6</uri>
   5.233 -			</binding>
   5.234 -			<binding name='x1'>
   5.235 -				<uri>http://example.org/item7</uri>
   5.236 -			</binding>
   5.237 -		</result>
   5.238 -		<result>
   5.239 -			<binding name='x2'>
   5.240 -				<uri>http://example.org/item6</uri>
   5.241 -			</binding>
   5.242 -			<binding name='x1'>
   5.243 -				<uri>http://example.org/item1</uri>
   5.244 -			</binding>
   5.245 -		</result>
   5.246 -		<result>
   5.247 -			<binding name='x2'>
   5.248 -				<uri>http://example.org/item7</uri>
   5.249 -			</binding>
   5.250 -			<binding name='x1'>
   5.251 -				<uri>http://example.org/item8</uri>
   5.252 -			</binding>
   5.253 -		</result>
   5.254  	</results>
   5.255  </sparql>
   5.256 \ No newline at end of file
     6.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationBefore/before.srx	Sun Apr 28 16:21:31 2013 +0300
     6.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationBefore/before.srx	Mon Apr 29 00:35:15 2013 +0300
     6.3 @@ -7,6 +7,22 @@
     6.4  	<results>
     6.5  		<result>
     6.6  			<binding name='x2'>
     6.7 +				<uri>http://example.org/item6</uri>
     6.8 +			</binding>
     6.9 +			<binding name='x1'>
    6.10 +				<uri>http://example.org/item5</uri>
    6.11 +			</binding>
    6.12 +		</result>
    6.13 +		<result>
    6.14 +			<binding name='x2'>
    6.15 +				<uri>http://example.org/item7</uri>
    6.16 +			</binding>
    6.17 +			<binding name='x1'>
    6.18 +				<uri>http://example.org/item5</uri>
    6.19 +			</binding>
    6.20 +		</result>
    6.21 +		<result>
    6.22 +			<binding name='x2'>
    6.23  				<uri>http://example.org/item8</uri>
    6.24  			</binding>
    6.25  			<binding name='x1'>
    6.26 @@ -15,10 +31,10 @@
    6.27  		</result>
    6.28  		<result>
    6.29  			<binding name='x2'>
    6.30 -				<uri>http://example.org/item7</uri>
    6.31 +				<uri>http://example.org/item3</uri>
    6.32  			</binding>
    6.33  			<binding name='x1'>
    6.34 -				<uri>http://example.org/item6</uri>
    6.35 +				<uri>http://example.org/item1</uri>
    6.36  			</binding>
    6.37  		</result>
    6.38  		<result>
    6.39 @@ -31,30 +47,6 @@
    6.40  		</result>
    6.41  		<result>
    6.42  			<binding name='x2'>
    6.43 -				<uri>http://example.org/item2</uri>
    6.44 -			</binding>
    6.45 -			<binding name='x1'>
    6.46 -				<uri>http://example.org/item4</uri>
    6.47 -			</binding>
    6.48 -		</result>
    6.49 -		<result>
    6.50 -			<binding name='x2'>
    6.51 -				<uri>http://example.org/item1</uri>
    6.52 -			</binding>
    6.53 -			<binding name='x1'>
    6.54 -				<uri>http://example.org/item5</uri>
    6.55 -			</binding>
    6.56 -		</result>
    6.57 -		<result>
    6.58 -			<binding name='x2'>
    6.59 -				<uri>http://example.org/item3</uri>
    6.60 -			</binding>
    6.61 -			<binding name='x1'>
    6.62 -				<uri>http://example.org/item5</uri>
    6.63 -			</binding>
    6.64 -		</result>
    6.65 -		<result>
    6.66 -			<binding name='x2'>
    6.67  				<uri>http://example.org/item8</uri>
    6.68  			</binding>
    6.69  			<binding name='x1'>
    6.70 @@ -63,54 +55,14 @@
    6.71  		</result>
    6.72  		<result>
    6.73  			<binding name='x2'>
    6.74 -				<uri>http://example.org/item6</uri>
    6.75 -			</binding>
    6.76 -			<binding name='x1'>
    6.77 -				<uri>http://example.org/item2</uri>
    6.78 -			</binding>
    6.79 -		</result>
    6.80 -		<result>
    6.81 -			<binding name='x2'>
    6.82  				<uri>http://example.org/item7</uri>
    6.83  			</binding>
    6.84  			<binding name='x1'>
    6.85 -				<uri>http://example.org/item5</uri>
    6.86 -			</binding>
    6.87 -		</result>
    6.88 -		<result>
    6.89 -			<binding name='x2'>
    6.90 -				<uri>http://example.org/item3</uri>
    6.91 -			</binding>
    6.92 -			<binding name='x1'>
    6.93 -				<uri>http://example.org/item6</uri>
    6.94 -			</binding>
    6.95 -		</result>
    6.96 -		<result>
    6.97 -			<binding name='x2'>
    6.98 -				<uri>http://example.org/item2</uri>
    6.99 -			</binding>
   6.100 -			<binding name='x1'>
   6.101  				<uri>http://example.org/item1</uri>
   6.102  			</binding>
   6.103  		</result>
   6.104  		<result>
   6.105  			<binding name='x2'>
   6.106 -				<uri>http://example.org/item4</uri>
   6.107 -			</binding>
   6.108 -			<binding name='x1'>
   6.109 -				<uri>http://example.org/item2</uri>
   6.110 -			</binding>
   6.111 -		</result>
   6.112 -		<result>
   6.113 -			<binding name='x2'>
   6.114 -				<uri>http://example.org/item1</uri>
   6.115 -			</binding>
   6.116 -			<binding name='x1'>
   6.117 -				<uri>http://example.org/item6</uri>
   6.118 -			</binding>
   6.119 -		</result>
   6.120 -		<result>
   6.121 -			<binding name='x2'>
   6.122  				<uri>http://example.org/item7</uri>
   6.123  			</binding>
   6.124  			<binding name='x1'>
   6.125 @@ -122,31 +74,15 @@
   6.126  				<uri>http://example.org/item8</uri>
   6.127  			</binding>
   6.128  			<binding name='x1'>
   6.129 -				<uri>http://example.org/item5</uri>
   6.130 +				<uri>http://example.org/item2</uri>
   6.131  			</binding>
   6.132  		</result>
   6.133  		<result>
   6.134  			<binding name='x2'>
   6.135 -				<uri>http://example.org/item1</uri>
   6.136 +				<uri>http://example.org/item8</uri>
   6.137  			</binding>
   6.138  			<binding name='x1'>
   6.139 -				<uri>http://example.org/item1</uri>
   6.140 -			</binding>
   6.141 -		</result>
   6.142 -		<result>
   6.143 -			<binding name='x2'>
   6.144 -				<uri>http://example.org/item2</uri>
   6.145 -			</binding>
   6.146 -			<binding name='x1'>
   6.147 -				<uri>http://example.org/item6</uri>
   6.148 -			</binding>
   6.149 -		</result>
   6.150 -		<result>
   6.151 -			<binding name='x2'>
   6.152 -				<uri>http://example.org/item3</uri>
   6.153 -			</binding>
   6.154 -			<binding name='x1'>
   6.155 -				<uri>http://example.org/item1</uri>
   6.156 +				<uri>http://example.org/item5</uri>
   6.157  			</binding>
   6.158  		</result>
   6.159  		<result>
   6.160 @@ -162,15 +98,7 @@
   6.161  				<uri>http://example.org/item7</uri>
   6.162  			</binding>
   6.163  			<binding name='x1'>
   6.164 -				<uri>http://example.org/item1</uri>
   6.165 -			</binding>
   6.166 -		</result>
   6.167 -		<result>
   6.168 -			<binding name='x2'>
   6.169 -				<uri>http://example.org/item3</uri>
   6.170 -			</binding>
   6.171 -			<binding name='x1'>
   6.172 -				<uri>http://example.org/item4</uri>
   6.173 +				<uri>http://example.org/item6</uri>
   6.174  			</binding>
   6.175  		</result>
   6.176  		<result>
   6.177 @@ -183,67 +111,11 @@
   6.178  		</result>
   6.179  		<result>
   6.180  			<binding name='x2'>
   6.181 -				<uri>http://example.org/item1</uri>
   6.182 -			</binding>
   6.183 -			<binding name='x1'>
   6.184 -				<uri>http://example.org/item4</uri>
   6.185 -			</binding>
   6.186 -		</result>
   6.187 -		<result>
   6.188 -			<binding name='x2'>
   6.189  				<uri>http://example.org/item2</uri>
   6.190  			</binding>
   6.191  			<binding name='x1'>
   6.192 -				<uri>http://example.org/item5</uri>
   6.193 -			</binding>
   6.194 -		</result>
   6.195 -		<result>
   6.196 -			<binding name='x2'>
   6.197 -				<uri>http://example.org/item5</uri>
   6.198 -			</binding>
   6.199 -			<binding name='x1'>
   6.200 -				<uri>http://example.org/item2</uri>
   6.201 -			</binding>
   6.202 -		</result>
   6.203 -		<result>
   6.204 -			<binding name='x2'>
   6.205 -				<uri>http://example.org/item3</uri>
   6.206 -			</binding>
   6.207 -			<binding name='x1'>
   6.208 -				<uri>http://example.org/item2</uri>
   6.209 -			</binding>
   6.210 -		</result>
   6.211 -		<result>
   6.212 -			<binding name='x2'>
   6.213 -				<uri>http://example.org/item8</uri>
   6.214 -			</binding>
   6.215 -			<binding name='x1'>
   6.216 -				<uri>http://example.org/item3</uri>
   6.217 -			</binding>
   6.218 -		</result>
   6.219 -		<result>
   6.220 -			<binding name='x2'>
   6.221  				<uri>http://example.org/item1</uri>
   6.222  			</binding>
   6.223 -			<binding name='x1'>
   6.224 -				<uri>http://example.org/item2</uri>
   6.225 -			</binding>
   6.226 -		</result>
   6.227 -		<result>
   6.228 -			<binding name='x2'>
   6.229 -				<uri>http://example.org/item7</uri>
   6.230 -			</binding>
   6.231 -			<binding name='x1'>
   6.232 -				<uri>http://example.org/item2</uri>
   6.233 -			</binding>
   6.234 -		</result>
   6.235 -		<result>
   6.236 -			<binding name='x2'>
   6.237 -				<uri>http://example.org/item6</uri>
   6.238 -			</binding>
   6.239 -			<binding name='x1'>
   6.240 -				<uri>http://example.org/item5</uri>
   6.241 -			</binding>
   6.242  		</result>
   6.243  		<result>
   6.244  			<binding name='x2'>
   6.245 @@ -258,15 +130,7 @@
   6.246  				<uri>http://example.org/item8</uri>
   6.247  			</binding>
   6.248  			<binding name='x1'>
   6.249 -				<uri>http://example.org/item2</uri>
   6.250 -			</binding>
   6.251 -		</result>
   6.252 -		<result>
   6.253 -			<binding name='x2'>
   6.254 -				<uri>http://example.org/item2</uri>
   6.255 -			</binding>
   6.256 -			<binding name='x1'>
   6.257 -				<uri>http://example.org/item2</uri>
   6.258 +				<uri>http://example.org/item3</uri>
   6.259  			</binding>
   6.260  		</result>
   6.261  	</results>
     7.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationDuring/during.srx	Sun Apr 28 16:21:31 2013 +0300
     7.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationDuring/during.srx	Mon Apr 29 00:35:15 2013 +0300
     7.3 @@ -7,54 +7,6 @@
     7.4  	<results>
     7.5  		<result>
     7.6  			<binding name='x2'>
     7.7 -				<uri>http://example.org/item2</uri>
     7.8 -			</binding>
     7.9 -			<binding name='x1'>
    7.10 -				<uri>http://example.org/item4</uri>
    7.11 -			</binding>
    7.12 -		</result>
    7.13 -		<result>
    7.14 -			<binding name='x2'>
    7.15 -				<uri>http://example.org/item5</uri>
    7.16 -			</binding>
    7.17 -			<binding name='x1'>
    7.18 -				<uri>http://example.org/item5</uri>
    7.19 -			</binding>
    7.20 -		</result>
    7.21 -		<result>
    7.22 -			<binding name='x2'>
    7.23 -				<uri>http://example.org/item2</uri>
    7.24 -			</binding>
    7.25 -			<binding name='x1'>
    7.26 -				<uri>http://example.org/item7</uri>
    7.27 -			</binding>
    7.28 -		</result>
    7.29 -		<result>
    7.30 -			<binding name='x2'>
    7.31 -				<uri>http://example.org/item2</uri>
    7.32 -			</binding>
    7.33 -			<binding name='x1'>
    7.34 -				<uri>http://example.org/item1</uri>
    7.35 -			</binding>
    7.36 -		</result>
    7.37 -		<result>
    7.38 -			<binding name='x2'>
    7.39 -				<uri>http://example.org/item1</uri>
    7.40 -			</binding>
    7.41 -			<binding name='x1'>
    7.42 -				<uri>http://example.org/item1</uri>
    7.43 -			</binding>
    7.44 -		</result>
    7.45 -		<result>
    7.46 -			<binding name='x2'>
    7.47 -				<uri>http://example.org/item2</uri>
    7.48 -			</binding>
    7.49 -			<binding name='x1'>
    7.50 -				<uri>http://example.org/item6</uri>
    7.51 -			</binding>
    7.52 -		</result>
    7.53 -		<result>
    7.54 -			<binding name='x2'>
    7.55  				<uri>http://example.org/item3</uri>
    7.56  			</binding>
    7.57  			<binding name='x1'>
    7.58 @@ -63,22 +15,6 @@
    7.59  		</result>
    7.60  		<result>
    7.61  			<binding name='x2'>
    7.62 -				<uri>http://example.org/item7</uri>
    7.63 -			</binding>
    7.64 -			<binding name='x1'>
    7.65 -				<uri>http://example.org/item7</uri>
    7.66 -			</binding>
    7.67 -		</result>
    7.68 -		<result>
    7.69 -			<binding name='x2'>
    7.70 -				<uri>http://example.org/item2</uri>
    7.71 -			</binding>
    7.72 -			<binding name='x1'>
    7.73 -				<uri>http://example.org/item5</uri>
    7.74 -			</binding>
    7.75 -		</result>
    7.76 -		<result>
    7.77 -			<binding name='x2'>
    7.78  				<uri>http://example.org/item3</uri>
    7.79  			</binding>
    7.80  			<binding name='x1'>
    7.81 @@ -87,75 +23,11 @@
    7.82  		</result>
    7.83  		<result>
    7.84  			<binding name='x2'>
    7.85 -				<uri>http://example.org/item1</uri>
    7.86 -			</binding>
    7.87 -			<binding name='x1'>
    7.88 -				<uri>http://example.org/item2</uri>
    7.89 -			</binding>
    7.90 -		</result>
    7.91 -		<result>
    7.92 -			<binding name='x2'>
    7.93 -				<uri>http://example.org/item6</uri>
    7.94 -			</binding>
    7.95 -			<binding name='x1'>
    7.96 -				<uri>http://example.org/item6</uri>
    7.97 -			</binding>
    7.98 -		</result>
    7.99 -		<result>
   7.100 -			<binding name='x2'>
   7.101 -				<uri>http://example.org/item8</uri>
   7.102 -			</binding>
   7.103 -			<binding name='x1'>
   7.104 -				<uri>http://example.org/item8</uri>
   7.105 -			</binding>
   7.106 -		</result>
   7.107 -		<result>
   7.108 -			<binding name='x2'>
   7.109  				<uri>http://example.org/item2</uri>
   7.110  			</binding>
   7.111  			<binding name='x1'>
   7.112 -				<uri>http://example.org/item8</uri>
   7.113 -			</binding>
   7.114 -		</result>
   7.115 -		<result>
   7.116 -			<binding name='x2'>
   7.117 -				<uri>http://example.org/item2</uri>
   7.118 -			</binding>
   7.119 -			<binding name='x1'>
   7.120 -				<uri>http://example.org/item3</uri>
   7.121 -			</binding>
   7.122 -		</result>
   7.123 -		<result>
   7.124 -			<binding name='x2'>
   7.125 -				<uri>http://example.org/item4</uri>
   7.126 -			</binding>
   7.127 -			<binding name='x1'>
   7.128 -				<uri>http://example.org/item4</uri>
   7.129 -			</binding>
   7.130 -		</result>
   7.131 -		<result>
   7.132 -			<binding name='x2'>
   7.133  				<uri>http://example.org/item1</uri>
   7.134  			</binding>
   7.135 -			<binding name='x1'>
   7.136 -				<uri>http://example.org/item3</uri>
   7.137 -			</binding>
   7.138 -		</result>
   7.139 -		<result>
   7.140 -			<binding name='x2'>
   7.141 -				<uri>http://example.org/item3</uri>
   7.142 -			</binding>
   7.143 -			<binding name='x1'>
   7.144 -				<uri>http://example.org/item3</uri>
   7.145 -			</binding>
   7.146 -		</result>
   7.147 -		<result>
   7.148 -			<binding name='x2'>
   7.149 -				<uri>http://example.org/item2</uri>
   7.150 -			</binding>
   7.151 -			<binding name='x1'>
   7.152 -				<uri>http://example.org/item2</uri>
   7.153 -			</binding>
   7.154  		</result>
   7.155  	</results>
   7.156  </sparql>
   7.157 \ No newline at end of file
     8.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationEqualsPeriod/equalsPeriod.srx	Sun Apr 28 16:21:31 2013 +0300
     8.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationEqualsPeriod/equalsPeriod.srx	Mon Apr 29 00:35:15 2013 +0300
     8.3 @@ -7,30 +7,6 @@
     8.4  	<results>
     8.5  		<result>
     8.6  			<binding name='x2'>
     8.7 -				<uri>http://example.org/item5</uri>
     8.8 -			</binding>
     8.9 -			<binding name='x1'>
    8.10 -				<uri>http://example.org/item5</uri>
    8.11 -			</binding>
    8.12 -		</result>
    8.13 -		<result>
    8.14 -			<binding name='x2'>
    8.15 -				<uri>http://example.org/item2</uri>
    8.16 -			</binding>
    8.17 -			<binding name='x1'>
    8.18 -				<uri>http://example.org/item1</uri>
    8.19 -			</binding>
    8.20 -		</result>
    8.21 -		<result>
    8.22 -			<binding name='x2'>
    8.23 -				<uri>http://example.org/item1</uri>
    8.24 -			</binding>
    8.25 -			<binding name='x1'>
    8.26 -				<uri>http://example.org/item1</uri>
    8.27 -			</binding>
    8.28 -		</result>
    8.29 -		<result>
    8.30 -			<binding name='x2'>
    8.31  				<uri>http://example.org/item3</uri>
    8.32  			</binding>
    8.33  			<binding name='x1'>
    8.34 @@ -39,14 +15,6 @@
    8.35  		</result>
    8.36  		<result>
    8.37  			<binding name='x2'>
    8.38 -				<uri>http://example.org/item7</uri>
    8.39 -			</binding>
    8.40 -			<binding name='x1'>
    8.41 -				<uri>http://example.org/item7</uri>
    8.42 -			</binding>
    8.43 -		</result>
    8.44 -		<result>
    8.45 -			<binding name='x2'>
    8.46  				<uri>http://example.org/item3</uri>
    8.47  			</binding>
    8.48  			<binding name='x1'>
    8.49 @@ -55,67 +23,11 @@
    8.50  		</result>
    8.51  		<result>
    8.52  			<binding name='x2'>
    8.53 -				<uri>http://example.org/item1</uri>
    8.54 -			</binding>
    8.55 -			<binding name='x1'>
    8.56 -				<uri>http://example.org/item2</uri>
    8.57 -			</binding>
    8.58 -		</result>
    8.59 -		<result>
    8.60 -			<binding name='x2'>
    8.61 -				<uri>http://example.org/item6</uri>
    8.62 -			</binding>
    8.63 -			<binding name='x1'>
    8.64 -				<uri>http://example.org/item6</uri>
    8.65 -			</binding>
    8.66 -		</result>
    8.67 -		<result>
    8.68 -			<binding name='x2'>
    8.69 -				<uri>http://example.org/item8</uri>
    8.70 -			</binding>
    8.71 -			<binding name='x1'>
    8.72 -				<uri>http://example.org/item8</uri>
    8.73 -			</binding>
    8.74 -		</result>
    8.75 -		<result>
    8.76 -			<binding name='x2'>
    8.77  				<uri>http://example.org/item2</uri>
    8.78  			</binding>
    8.79  			<binding name='x1'>
    8.80 -				<uri>http://example.org/item3</uri>
    8.81 -			</binding>
    8.82 -		</result>
    8.83 -		<result>
    8.84 -			<binding name='x2'>
    8.85 -				<uri>http://example.org/item4</uri>
    8.86 -			</binding>
    8.87 -			<binding name='x1'>
    8.88 -				<uri>http://example.org/item4</uri>
    8.89 -			</binding>
    8.90 -		</result>
    8.91 -		<result>
    8.92 -			<binding name='x2'>
    8.93  				<uri>http://example.org/item1</uri>
    8.94  			</binding>
    8.95 -			<binding name='x1'>
    8.96 -				<uri>http://example.org/item3</uri>
    8.97 -			</binding>
    8.98 -		</result>
    8.99 -		<result>
   8.100 -			<binding name='x2'>
   8.101 -				<uri>http://example.org/item3</uri>
   8.102 -			</binding>
   8.103 -			<binding name='x1'>
   8.104 -				<uri>http://example.org/item3</uri>
   8.105 -			</binding>
   8.106 -		</result>
   8.107 -		<result>
   8.108 -			<binding name='x2'>
   8.109 -				<uri>http://example.org/item2</uri>
   8.110 -			</binding>
   8.111 -			<binding name='x1'>
   8.112 -				<uri>http://example.org/item2</uri>
   8.113 -			</binding>
   8.114  		</result>
   8.115  	</results>
   8.116  </sparql>
   8.117 \ No newline at end of file
     9.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/overleft.srx	Sun Apr 28 16:21:31 2013 +0300
     9.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationOverleft/overleft.srx	Mon Apr 29 00:35:15 2013 +0300
     9.3 @@ -7,83 +7,11 @@
     9.4  	<results>
     9.5  		<result>
     9.6  			<binding name='x2'>
     9.7 -				<uri>http://example.org/item2</uri>
     9.8 +				<uri>http://example.org/item7</uri>
     9.9  			</binding>
    9.10  			<binding name='x1'>
    9.11 -				<uri>http://example.org/item4</uri>
    9.12 -			</binding>
    9.13 -		</result>
    9.14 -		<result>
    9.15 -			<binding name='x2'>
    9.16 -				<uri>http://example.org/item5</uri>
    9.17 -			</binding>
    9.18 -			<binding name='x1'>
    9.19 -				<uri>http://example.org/item5</uri>
    9.20 -			</binding>
    9.21 -		</result>
    9.22 -		<result>
    9.23 -			<binding name='x2'>
    9.24 -				<uri>http://example.org/item6</uri>
    9.25 -			</binding>
    9.26 -			<binding name='x1'>
    9.27 -				<uri>http://example.org/item2</uri>
    9.28 -			</binding>
    9.29 -		</result>
    9.30 -		<result>
    9.31 -			<binding name='x2'>
    9.32 -				<uri>http://example.org/item2</uri>
    9.33 -			</binding>
    9.34 -			<binding name='x1'>
    9.35 -				<uri>http://example.org/item7</uri>
    9.36 -			</binding>
    9.37 -		</result>
    9.38 -		<result>
    9.39 -			<binding name='x2'>
    9.40 -				<uri>http://example.org/item2</uri>
    9.41 -			</binding>
    9.42 -			<binding name='x1'>
    9.43 -				<uri>http://example.org/item1</uri>
    9.44 -			</binding>
    9.45 -		</result>
    9.46 -		<result>
    9.47 -			<binding name='x2'>
    9.48 -				<uri>http://example.org/item4</uri>
    9.49 -			</binding>
    9.50 -			<binding name='x1'>
    9.51 -				<uri>http://example.org/item2</uri>
    9.52 -			</binding>
    9.53 -		</result>
    9.54 -		<result>
    9.55 -			<binding name='x2'>
    9.56  				<uri>http://example.org/item3</uri>
    9.57  			</binding>
    9.58 -			<binding name='x1'>
    9.59 -				<uri>http://example.org/item7</uri>
    9.60 -			</binding>
    9.61 -		</result>
    9.62 -		<result>
    9.63 -			<binding name='x2'>
    9.64 -				<uri>http://example.org/item1</uri>
    9.65 -			</binding>
    9.66 -			<binding name='x1'>
    9.67 -				<uri>http://example.org/item1</uri>
    9.68 -			</binding>
    9.69 -		</result>
    9.70 -		<result>
    9.71 -			<binding name='x2'>
    9.72 -				<uri>http://example.org/item2</uri>
    9.73 -			</binding>
    9.74 -			<binding name='x1'>
    9.75 -				<uri>http://example.org/item6</uri>
    9.76 -			</binding>
    9.77 -		</result>
    9.78 -		<result>
    9.79 -			<binding name='x2'>
    9.80 -				<uri>http://example.org/item1</uri>
    9.81 -			</binding>
    9.82 -			<binding name='x1'>
    9.83 -				<uri>http://example.org/item7</uri>
    9.84 -			</binding>
    9.85  		</result>
    9.86  		<result>
    9.87  			<binding name='x2'>
    9.88 @@ -98,30 +26,6 @@
    9.89  				<uri>http://example.org/item7</uri>
    9.90  			</binding>
    9.91  			<binding name='x1'>
    9.92 -				<uri>http://example.org/item7</uri>
    9.93 -			</binding>
    9.94 -		</result>
    9.95 -		<result>
    9.96 -			<binding name='x2'>
    9.97 -				<uri>http://example.org/item7</uri>
    9.98 -			</binding>
    9.99 -			<binding name='x1'>
   9.100 -				<uri>http://example.org/item1</uri>
   9.101 -			</binding>
   9.102 -		</result>
   9.103 -		<result>
   9.104 -			<binding name='x2'>
   9.105 -				<uri>http://example.org/item2</uri>
   9.106 -			</binding>
   9.107 -			<binding name='x1'>
   9.108 -				<uri>http://example.org/item5</uri>
   9.109 -			</binding>
   9.110 -		</result>
   9.111 -		<result>
   9.112 -			<binding name='x2'>
   9.113 -				<uri>http://example.org/item5</uri>
   9.114 -			</binding>
   9.115 -			<binding name='x1'>
   9.116  				<uri>http://example.org/item2</uri>
   9.117  			</binding>
   9.118  		</result>
   9.119 @@ -135,67 +39,11 @@
   9.120  		</result>
   9.121  		<result>
   9.122  			<binding name='x2'>
   9.123 -				<uri>http://example.org/item1</uri>
   9.124 -			</binding>
   9.125 -			<binding name='x1'>
   9.126 -				<uri>http://example.org/item2</uri>
   9.127 -			</binding>
   9.128 -		</result>
   9.129 -		<result>
   9.130 -			<binding name='x2'>
   9.131 -				<uri>http://example.org/item6</uri>
   9.132 -			</binding>
   9.133 -			<binding name='x1'>
   9.134 -				<uri>http://example.org/item6</uri>
   9.135 -			</binding>
   9.136 -		</result>
   9.137 -		<result>
   9.138 -			<binding name='x2'>
   9.139 -				<uri>http://example.org/item8</uri>
   9.140 -			</binding>
   9.141 -			<binding name='x1'>
   9.142 -				<uri>http://example.org/item8</uri>
   9.143 -			</binding>
   9.144 -		</result>
   9.145 -		<result>
   9.146 -			<binding name='x2'>
   9.147 -				<uri>http://example.org/item2</uri>
   9.148 -			</binding>
   9.149 -			<binding name='x1'>
   9.150 -				<uri>http://example.org/item8</uri>
   9.151 -			</binding>
   9.152 -		</result>
   9.153 -		<result>
   9.154 -			<binding name='x2'>
   9.155  				<uri>http://example.org/item7</uri>
   9.156  			</binding>
   9.157  			<binding name='x1'>
   9.158 -				<uri>http://example.org/item2</uri>
   9.159 -			</binding>
   9.160 -		</result>
   9.161 -		<result>
   9.162 -			<binding name='x2'>
   9.163 -				<uri>http://example.org/item2</uri>
   9.164 -			</binding>
   9.165 -			<binding name='x1'>
   9.166 -				<uri>http://example.org/item3</uri>
   9.167 -			</binding>
   9.168 -		</result>
   9.169 -		<result>
   9.170 -			<binding name='x2'>
   9.171 -				<uri>http://example.org/item4</uri>
   9.172 -			</binding>
   9.173 -			<binding name='x1'>
   9.174 -				<uri>http://example.org/item4</uri>
   9.175 -			</binding>
   9.176 -		</result>
   9.177 -		<result>
   9.178 -			<binding name='x2'>
   9.179  				<uri>http://example.org/item1</uri>
   9.180  			</binding>
   9.181 -			<binding name='x1'>
   9.182 -				<uri>http://example.org/item3</uri>
   9.183 -			</binding>
   9.184  		</result>
   9.185  		<result>
   9.186  			<binding name='x2'>
   9.187 @@ -207,26 +55,10 @@
   9.188  		</result>
   9.189  		<result>
   9.190  			<binding name='x2'>
   9.191 -				<uri>http://example.org/item3</uri>
   9.192 -			</binding>
   9.193 -			<binding name='x1'>
   9.194 -				<uri>http://example.org/item3</uri>
   9.195 -			</binding>
   9.196 -		</result>
   9.197 -		<result>
   9.198 -			<binding name='x2'>
   9.199  				<uri>http://example.org/item2</uri>
   9.200  			</binding>
   9.201  			<binding name='x1'>
   9.202 -				<uri>http://example.org/item2</uri>
   9.203 -			</binding>
   9.204 -		</result>
   9.205 -		<result>
   9.206 -			<binding name='x2'>
   9.207 -				<uri>http://example.org/item7</uri>
   9.208 -			</binding>
   9.209 -			<binding name='x1'>
   9.210 -				<uri>http://example.org/item3</uri>
   9.211 +				<uri>http://example.org/item1</uri>
   9.212  			</binding>
   9.213  		</result>
   9.214  	</results>
    10.1 --- a/testsuite/src/test/resources/stSPARQL/TemporalRelationOverright/overright.srx	Sun Apr 28 16:21:31 2013 +0300
    10.2 +++ b/testsuite/src/test/resources/stSPARQL/TemporalRelationOverright/overright.srx	Mon Apr 29 00:35:15 2013 +0300
    10.3 @@ -7,18 +7,26 @@
    10.4  	<results>
    10.5  		<result>
    10.6  			<binding name='x2'>
    10.7 -				<uri>http://example.org/item2</uri>
    10.8 +				<uri>http://example.org/item6</uri>
    10.9  			</binding>
   10.10  			<binding name='x1'>
   10.11 -				<uri>http://example.org/item4</uri>
   10.12 +				<uri>http://example.org/item1</uri>
   10.13  			</binding>
   10.14  		</result>
   10.15  		<result>
   10.16  			<binding name='x2'>
   10.17 -				<uri>http://example.org/item5</uri>
   10.18 +				<uri>http://example.org/item4</uri>
   10.19  			</binding>
   10.20  			<binding name='x1'>
   10.21 -				<uri>http://example.org/item5</uri>
   10.22 +				<uri>http://example.org/item2</uri>
   10.23 +			</binding>
   10.24 +		</result>
   10.25 +		<result>
   10.26 +			<binding name='x2'>
   10.27 +				<uri>http://example.org/item4</uri>
   10.28 +			</binding>
   10.29 +			<binding name='x1'>
   10.30 +				<uri>http://example.org/item1</uri>
   10.31  			</binding>
   10.32  		</result>
   10.33  		<result>
   10.34 @@ -31,10 +39,26 @@
   10.35  		</result>
   10.36  		<result>
   10.37  			<binding name='x2'>
   10.38 -				<uri>http://example.org/item2</uri>
   10.39 +				<uri>http://example.org/item6</uri>
   10.40  			</binding>
   10.41  			<binding name='x1'>
   10.42 -				<uri>http://example.org/item7</uri>
   10.43 +				<uri>http://example.org/item3</uri>
   10.44 +			</binding>
   10.45 +		</result>
   10.46 +		<result>
   10.47 +			<binding name='x2'>
   10.48 +				<uri>http://example.org/item3</uri>
   10.49 +			</binding>
   10.50 +			<binding name='x1'>
   10.51 +				<uri>http://example.org/item1</uri>
   10.52 +			</binding>
   10.53 +		</result>
   10.54 +		<result>
   10.55 +			<binding name='x2'>
   10.56 +				<uri>http://example.org/item3</uri>
   10.57 +			</binding>
   10.58 +			<binding name='x1'>
   10.59 +				<uri>http://example.org/item2</uri>
   10.60  			</binding>
   10.61  		</result>
   10.62  		<result>
   10.63 @@ -42,7 +66,7 @@
   10.64  				<uri>http://example.org/item5</uri>
   10.65  			</binding>
   10.66  			<binding name='x1'>
   10.67 -				<uri>http://example.org/item6</uri>
   10.68 +				<uri>http://example.org/item3</uri>
   10.69  			</binding>
   10.70  		</result>
   10.71  		<result>
   10.72 @@ -58,112 +82,8 @@
   10.73  				<uri>http://example.org/item4</uri>
   10.74  			</binding>
   10.75  			<binding name='x1'>
   10.76 -				<uri>http://example.org/item2</uri>
   10.77 -			</binding>
   10.78 -		</result>
   10.79 -		<result>
   10.80 -			<binding name='x2'>
   10.81  				<uri>http://example.org/item3</uri>
   10.82  			</binding>
   10.83 -			<binding name='x1'>
   10.84 -				<uri>http://example.org/item7</uri>
   10.85 -			</binding>
   10.86 -		</result>
   10.87 -		<result>
   10.88 -			<binding name='x2'>
   10.89 -				<uri>http://example.org/item1</uri>
   10.90 -			</binding>
   10.91 -			<binding name='x1'>
   10.92 -				<uri>http://example.org/item1</uri>
   10.93 -			</binding>
   10.94 -		</result>
   10.95 -		<result>
   10.96 -			<binding name='x2'>
   10.97 -				<uri>http://example.org/item5</uri>
   10.98 -			</binding>
   10.99 -			<binding name='x1'>
  10.100 -				<uri>http://example.org/item7</uri>
  10.101 -			</binding>
  10.102 -		</result>
  10.103 -		<result>
  10.104 -			<binding name='x2'>
  10.105 -				<uri>http://example.org/item2</uri>
  10.106 -			</binding>
  10.107 -			<binding name='x1'>
  10.108 -				<uri>http://example.org/item6</uri>
  10.109 -			</binding>
  10.110 -		</result>
  10.111 -		<result>
  10.112 -			<binding name='x2'>
  10.113 -				<uri>http://example.org/item5</uri>
  10.114 -			</binding>
  10.115 -			<binding name='x1'>
  10.116 -				<uri>http://example.org/item1</uri>
  10.117 -			</binding>
  10.118 -		</result>
  10.119 -		<result>
  10.120 -			<binding name='x2'>
  10.121 -				<uri>http://example.org/item1</uri>
  10.122 -			</binding>
  10.123 -			<binding name='x1'>
  10.124 -				<uri>http://example.org/item7</uri>
  10.125 -			</binding>
  10.126 -		</result>
  10.127 -		<result>
  10.128 -			<binding name='x2'>
  10.129 -				<uri>http://example.org/item3</uri>
  10.130 -			</binding>
  10.131 -			<binding name='x1'>
  10.132 -				<uri>http://example.org/item1</uri>
  10.133 -			</binding>
  10.134 -		</result>
  10.135 -		<result>
  10.136 -			<binding name='x2'>
  10.137 -				<uri>http://example.org/item4</uri>
  10.138 -			</binding>
  10.139 -			<binding name='x1'>
  10.140 -				<uri>http://example.org/item3</uri>
  10.141 -			</binding>
  10.142 -		</result>
  10.143 -		<result>
  10.144 -			<binding name='x2'>
  10.145 -				<uri>http://example.org/item7</uri>
  10.146 -			</binding>
  10.147 -			<binding name='x1'>
  10.148 -				<uri>http://example.org/item7</uri>
  10.149 -			</binding>
  10.150 -		</result>
  10.151 -		<result>
  10.152 -			<binding name='x2'>
  10.153 -				<uri>http://example.org/item6</uri>
  10.154 -			</binding>
  10.155 -			<binding name='x1'>
  10.156 -				<uri>http://example.org/item8</uri>
  10.157 -			</binding>
  10.158 -		</result>
  10.159 -		<result>
  10.160 -			<binding name='x2'>
  10.161 -				<uri>http://example.org/item4</uri>
  10.162 -			</binding>
  10.163 -			<binding name='x1'>
  10.164 -				<uri>http://example.org/item8</uri>
  10.165 -			</binding>
  10.166 -		</result>
  10.167 -		<result>
  10.168 -			<binding name='x2'>
  10.169 -				<uri>http://example.org/item6</uri>
  10.170 -			</binding>
  10.171 -			<binding name='x1'>
  10.172 -				<uri>http://example.org/item3</uri>
  10.173 -			</binding>
  10.174 -		</result>
  10.175 -		<result>
  10.176 -			<binding name='x2'>
  10.177 -				<uri>http://example.org/item2</uri>
  10.178 -			</binding>
  10.179 -			<binding name='x1'>
  10.180 -				<uri>http://example.org/item5</uri>
  10.181 -			</binding>
  10.182  		</result>
  10.183  		<result>
  10.184  			<binding name='x2'>
  10.185 @@ -175,171 +95,11 @@
  10.186  		</result>
  10.187  		<result>
  10.188  			<binding name='x2'>
  10.189 -				<uri>http://example.org/item3</uri>
  10.190 -			</binding>
  10.191 -			<binding name='x1'>
  10.192 -				<uri>http://example.org/item2</uri>
  10.193 -			</binding>
  10.194 -		</result>
  10.195 -		<result>
  10.196 -			<binding name='x2'>
  10.197 -				<uri>http://example.org/item1</uri>
  10.198 -			</binding>
  10.199 -			<binding name='x1'>
  10.200 -				<uri>http://example.org/item2</uri>
  10.201 -			</binding>
  10.202 -		</result>
  10.203 -		<result>
  10.204 -			<binding name='x2'>
  10.205 -				<uri>http://example.org/item4</uri>
  10.206 -			</binding>
  10.207 -			<binding name='x1'>
  10.208 -				<uri>http://example.org/item6</uri>
  10.209 -			</binding>
  10.210 -		</result>
  10.211 -		<result>
  10.212 -			<binding name='x2'>
  10.213 -				<uri>http://example.org/item6</uri>
  10.214 -			</binding>
  10.215 -			<binding name='x1'>
  10.216 -				<uri>http://example.org/item6</uri>
  10.217 -			</binding>
  10.218 -		</result>
  10.219 -		<result>
  10.220 -			<binding name='x2'>
  10.221 -				<uri>http://example.org/item8</uri>
  10.222 -			</binding>
  10.223 -			<binding name='x1'>
  10.224 -				<uri>http://example.org/item8</uri>
  10.225 -			</binding>
  10.226 -		</result>
  10.227 -		<result>
  10.228 -			<binding name='x2'>
  10.229 -				<uri>http://example.org/item4</uri>
  10.230 -			</binding>
  10.231 -			<binding name='x1'>
  10.232  				<uri>http://example.org/item5</uri>
  10.233  			</binding>
  10.234 -		</result>
  10.235 -		<result>
  10.236 -			<binding name='x2'>
  10.237 -				<uri>http://example.org/item2</uri>
  10.238 -			</binding>
  10.239 -			<binding name='x1'>
  10.240 -				<uri>http://example.org/item8</uri>
  10.241 -			</binding>
  10.242 -		</result>
  10.243 -		<result>
  10.244 -			<binding name='x2'>
  10.245 -				<uri>http://example.org/item2</uri>
  10.246 -			</binding>
  10.247 -			<binding name='x1'>
  10.248 -				<uri>http://example.org/item3</uri>
  10.249 -			</binding>
  10.250 -		</result>
  10.251 -		<result>
  10.252 -			<binding name='x2'>
  10.253 -				<uri>http://example.org/item1</uri>
  10.254 -			</binding>
  10.255 -			<binding name='x1'>
  10.256 -				<uri>http://example.org/item8</uri>
  10.257 -			</binding>
  10.258 -		</result>
  10.259 -		<result>
  10.260 -			<binding name='x2'>
  10.261 -				<uri>http://example.org/item3</uri>
  10.262 -			</binding>
  10.263 -			<binding name='x1'>
  10.264 -				<uri>http://example.org/item8</uri>
  10.265 -			</binding>
  10.266 -		</result>
  10.267 -		<result>
  10.268 -			<binding name='x2'>
  10.269 -				<uri>http://example.org/item4</uri>
  10.270 -			</binding>
  10.271 -			<binding name='x1'>
  10.272 -				<uri>http://example.org/item4</uri>
  10.273 -			</binding>
  10.274 -		</result>
  10.275 -		<result>
  10.276 -			<binding name='x2'>
  10.277 -				<uri>http://example.org/item5</uri>
  10.278 -			</binding>
  10.279 -			<binding name='x1'>
  10.280 -				<uri>http://example.org/item8</uri>
  10.281 -			</binding>
  10.282 -		</result>
  10.283 -		<result>
  10.284 -			<binding name='x2'>
  10.285 -				<uri>http://example.org/item1</uri>
  10.286 -			</binding>
  10.287 -			<binding name='x1'>
  10.288 -				<uri>http://example.org/item3</uri>
  10.289 -			</binding>
  10.290 -		</result>
  10.291 -		<result>
  10.292 -			<binding name='x2'>
  10.293 -				<uri>http://example.org/item5</uri>
  10.294 -			</binding>
  10.295 -			<binding name='x1'>
  10.296 -				<uri>http://example.org/item3</uri>
  10.297 -			</binding>
  10.298 -		</result>
  10.299 -		<result>
  10.300 -			<binding name='x2'>
  10.301 -				<uri>http://example.org/item3</uri>
  10.302 -			</binding>
  10.303 -			<binding name='x1'>
  10.304 -				<uri>http://example.org/item3</uri>
  10.305 -			</binding>
  10.306 -		</result>
  10.307 -		<result>
  10.308 -			<binding name='x2'>
  10.309 -				<uri>http://example.org/item4</uri>
  10.310 -			</binding>
  10.311  			<binding name='x1'>
  10.312  				<uri>http://example.org/item1</uri>
  10.313  			</binding>
  10.314  		</result>
  10.315 -		<result>
  10.316 -			<binding name='x2'>
  10.317 -				<uri>http://example.org/item2</uri>
  10.318 -			</binding>
  10.319 -			<binding name='x1'>
  10.320 -				<uri>http://example.org/item2</uri>
  10.321 -			</binding>
  10.322 -		</result>
  10.323 -		<result>
  10.324 -			<binding name='x2'>
  10.325 -				<uri>http://example.org/item4</uri>
  10.326 -			</binding>
  10.327 -			<binding name='x1'>
  10.328 -				<uri>http://example.org/item7</uri>
  10.329 -			</binding>
  10.330 -		</result>
  10.331 -		<result>
  10.332 -			<binding name='x2'>
  10.333 -				<uri>http://example.org/item6</uri>
  10.334 -			</binding>
  10.335 -			<binding name='x1'>
  10.336 -				<uri>http://example.org/item7</uri>
  10.337 -			</binding>
  10.338 -		</result>
  10.339 -		<result>
  10.340 -			<binding name='x2'>
  10.341 -				<uri>http://example.org/item6</uri>
  10.342 -			</binding>
  10.343 -			<binding name='x1'>
  10.344 -				<uri>http://example.org/item1</uri>
  10.345 -			</binding>
  10.346 -		</result>
  10.347 -		<result>
  10.348 -			<binding name='x2'>
  10.349 -				<uri>http://example.org/item7</uri>
  10.350 -			</binding>
  10.351 -			<binding name='x1'>
  10.352 -				<uri>http://example.org/item8</uri>
  10.353 -			</binding>
  10.354 -		</result>
  10.355  	</results>
  10.356  </sparql>
  10.357 \ No newline at end of file