Strabon

changeset 1208:23cdbfdc73b6

Added Srid Test for stSPARQL.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Mon Jul 15 15:54:42 2013 +0300 (2013-07-15)
parents d533f932c2b9
children b6ffe8daaa9e
files testsuite/src/test/resources/stSPARQL/BasicFunctionsTest/SridTest.rq testsuite/src/test/resources/stSPARQL/BasicFunctionsTest/SridTest.srx
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/testsuite/src/test/resources/stSPARQL/BasicFunctionsTest/SridTest.rq	Mon Jul 15 15:54:42 2013 +0300
     1.3 @@ -0,0 +1,5 @@
     1.4 +select (strdf:srid(?g) as ?dimension)
     1.5 +where
     1.6 +{
     1.7 +	ex:polygon1 ex:hasGeometry ?g.
     1.8 +}
     1.9 \ No newline at end of file
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/testsuite/src/test/resources/stSPARQL/BasicFunctionsTest/SridTest.srx	Mon Jul 15 15:54:42 2013 +0300
     2.3 @@ -0,0 +1,13 @@
     2.4 +<?xml version='1.0' encoding='UTF-8'?> 
     2.5 +	<sparql xmlns='http://www.w3.org/2005/sparql-results#'> 
     2.6 +		<head> 
     2.7 +			<variable name='dimension'/> 
     2.8 +		</head> 
     2.9 +		<results> 
    2.10 +			<result> 
    2.11 +				<binding name='dimension'> 
    2.12 +					<literal datatype='http://www.w3.org/2001/XMLSchema#int'>4326</literal> 
    2.13 +				</binding> 
    2.14 +			</result> 
    2.15 +		</results> 
    2.16 +	</sparql> 
    2.17 \ No newline at end of file