Strabon

view testsuite/src/test/resources/stSPARQL/TemporalConstructsTest/period_intersect.srx @ 1470:beac3abdaed1

added tests for the temporal constructs except for period_preceding and period_succeding
author Stella Giannakopoulou <sgian@di.uoa.gr>
date Tue Jan 27 13:21:49 2015 +0200 (2015-01-27)
parents
children
line source
1 <?xml version='1.0' encoding='UTF-8'?>
2 <sparql xmlns='http://www.w3.org/2005/sparql-results#'>
3 <head>
4 <variable name='t1'/>
5 <variable name='t2'/>
6 <variable name='intersection'/>
7 </head>
8 <results>
9 <result>
10 <binding name='t1'>
11 <literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T12:41:00,2012-11-19T13:41:00)</literal>
12 </binding>
13 <binding name='t2'>
14 <literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T13:41:00,2012-11-19T14:41:00)</literal>
15 </binding>
16 <binding name='intersection'>
17 <literal datatype='&lt;http://strdf.di.uoa.gr/ontology#period&gt;'>[2012-11-19 13:41:00+02, 2012-11-19 13:41:00.000001+02)</literal>
18 </binding>
19 </result>
20 <result>
21 <binding name='t1'>
22 <literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T10:41:00,2012-11-19T11:41:00)</literal>
23 </binding>
24 <binding name='t2'>
25 <literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T13:41:00,2012-11-19T14:41:00)</literal>
26 </binding>
27 <binding name='intersection'>
28 <literal datatype='&lt;http://www.w3.org/2001/XMLSchema#dateTime&gt;'>-EMPTY-</literal>
29 </binding>
30 </result>
31 <result>
32 <binding name='t1'>
33 <literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T12:41:00,2012-11-19T13:41:00)</literal>
34 </binding>
35 <binding name='t2'>
36 <literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T13:41:00,2012-11-19T14:41:00)</literal>
37 </binding>
38 <binding name='intersection'>
39 <literal datatype='&lt;http://strdf.di.uoa.gr/ontology#period&gt;'>[2012-11-19 13:41:00+02, 2012-11-19 13:41:00.000001+02)</literal>
40 </binding>
41 </result>
42 <result>
43 <binding name='t1'>
44 <literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T12:41:00,2012-11-19T13:41:00)</literal>
45 </binding>
46 <binding name='t2'>
47 <literal datatype='http://strdf.di.uoa.gr/ontology#period'>[2012-11-19T13:41:00,2012-11-19T14:41:00)</literal>
48 </binding>
49 <binding name='intersection'>
50 <literal datatype='&lt;http://strdf.di.uoa.gr/ontology#period&gt;'>[2012-11-19 13:41:00+02, 2012-11-19 13:41:00.000001+02)</literal>
51 </binding>
52 </result>
53 </results>
54 </sparql>