jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1148213 - /incubator/jena/Jena2/ARQ/trunk/Q.rq
Date Tue, 19 Jul 2011 07:54:14 GMT
Author: andy
Date: Tue Jul 19 07:54:13 2011
New Revision: 1148213

URL: http://svn.apache.org/viewvc?rev=1148213&view=rev
Log: (empty)

Modified:
    incubator/jena/Jena2/ARQ/trunk/Q.rq

Modified: incubator/jena/Jena2/ARQ/trunk/Q.rq
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/Q.rq?rev=1148213&r1=1148212&r2=1148213&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/Q.rq (original)
+++ incubator/jena/Jena2/ARQ/trunk/Q.rq Tue Jul 19 07:54:13 2011
@@ -1,4 +1,15 @@
-PREFIX apf:     <http://jena.hpl.hp.com/ARQ/property#>
-
-SELECT * { ?x apf:version ?y }
+PREFIX : <http://example/>
 
+SELECT *
+WHERE {
+    {
+        SELECT ?x ((COUNT(?y)) AS ?c)
+        WHERE {
+            ?x :p 123 .
+            OPTIONAL {
+                ?inst a ?x .
+            } .
+        }
+        GROUP BY ?x
+    } .
+}



Mime
View raw message