From 42d9de6b6207fdc680ee2457bc3a6c0d5514f766 Mon Sep 17 00:00:00 2001
From: Alvaro Graves <alvaro@graves.cl>
Date: Thu, 26 Jan 2012 17:02:21 -0800
Subject: [PATCH] Nmaed graph to rdfs:Resource

---
 models/class.rdfs:Resource/html.queries/main.query | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/models/class.rdfs:Resource/html.queries/main.query b/models/class.rdfs:Resource/html.queries/main.query
index bacd99ba..2f315c7c 100644
--- a/models/class.rdfs:Resource/html.queries/main.query
+++ b/models/class.rdfs:Resource/html.queries/main.query
@@ -1,4 +1,6 @@
 SELECT ?s2 ?p2 ?s1 ?p1  WHERE {
+{
+GRAPH ?g{
         {
                 <{{uri}}> ?s1 ?p1 .
         }UNION{
@@ -6,3 +8,11 @@ SELECT ?s2 ?p2 ?s1 ?p1  WHERE {
 
         }
 }
+}UNION{        {
+                <{{uri}}> ?s1 ?p1 .
+        }UNION{
+                ?s2 ?p2 <{{uri}}> .
+
+        }
+}
+}
-- 
GitLab