diff sparql/sparql/test/dawg/data-r2/expr-builtin/q-datatype-2.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-2.rq	Thu Aug 25 22:14:55 2011 -0400
@@ -0,0 +1,9 @@
+# Which literals have a datatype and which are errors.
+
+PREFIX : <http://example/> 
+PREFIX  xsd:    <http://www.w3.org/2001/XMLSchema#>
+
+SELECT ?x
+{ ?x :p ?v . 
+  FILTER(  datatype(?v) != <http://example/NotADataTypeIRI> ) 
+}