You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2011/07/19 09:54:14 UTC

svn commit: r1148213 - /incubator/jena/Jena2/ARQ/trunk/Q.rq

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
+    } .
+}