diff sparql/sparql/test/dawg/data-r2/expr-builtin/q-datatype-3.rq @ 0:7785ad38967f default tip

Uploaded
author atsuko
date Thu, 25 Aug 2011 22:14:55 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sparql/sparql/test/dawg/data-r2/expr-builtin/q-datatype-3.rq	Thu Aug 25 22:14:55 2011 -0400
@@ -0,0 +1,9 @@
+# Whichliterals have xsd:string as a datatype
+
+PREFIX : <http://example/> 
+PREFIX  xsd:    <http://www.w3.org/2001/XMLSchema#>
+
+SELECT ?x
+{ ?x :p ?v . 
+  FILTER( datatype(?v) = xsd:string ) 
+}