Strabon

changeset 858:3026011383cc temporals

Added junit tests to test the temporal relations between periods
author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
date Mon Jan 14 19:42:11 2013 +0200 (2013-01-14)
parents 46d0edd3790c
children 6016672577e9
files runtime/src/test/resources/databases.properties runtime/src/test/resources/temporal-periods.nq
line diff
     1.1 --- a/runtime/src/test/resources/databases.properties	Fri Jan 11 17:37:01 2013 +0200
     1.2 +++ b/runtime/src/test/resources/databases.properties	Mon Jan 14 19:42:11 2013 +0200
     1.3 @@ -16,5 +16,5 @@
     1.4  temporal.postgis.databaseName = endpoint_temporal
     1.5  temporal.postgis.serverName = localhost
     1.6  temporal.postgis.username = postgres
     1.7 -temporal.postgis.password = postgres
     1.8 +temporal.postgis.password = p1r3as
     1.9  temporal.postgis.port = 5432
    1.10 \ No newline at end of file
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/runtime/src/test/resources/temporal-periods.nq	Mon Jan 14 19:42:11 2013 +0200
     2.3 @@ -0,0 +1,13 @@
     2.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>.
     2.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>.
     2.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>.
     2.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>.
     2.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>.
     2.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>.
    2.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>.
    2.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>.
    2.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>.
    2.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>.
    2.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> .
    2.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> .
    2.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> .