myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3495] branches/component-querying/public/compone


From: noreply
Subject: [myexperiment-hackers] [3495] branches/component-querying/public/component_query_demo.html: Added proposed SPARQL template to demo page
Date: Tue, 9 Apr 2013 13:14:28 +0000 (UTC)

Revision
3495
Author
fbacall
Date
2013-04-09 13:14:28 +0000 (Tue, 09 Apr 2013)

Log Message

Added proposed SPARQL template to demo page

Modified Paths

Diff

Modified: branches/component-querying/public/component_query_demo.html (3494 => 3495)


--- branches/component-querying/public/component_query_demo.html	2013-04-09 11:10:15 UTC (rev 3494)
+++ branches/component-querying/public/component_query_demo.html	2013-04-09 13:14:28 UTC (rev 3495)
@@ -4,13 +4,33 @@
     <title>myExperiment Component Query Form</title>
   </head>
   <body>
-    <h1>myExperiment Component Querying</h1>
-    <form action="" method="GET">
-      <h2>SPARQL Prefixes</h2>
-      <textarea rows="5" cols="80" name="prefixes"></textarea><br/>
-      <h2>SPARQL Query Fragment</h2>
-      <textarea rows="20" cols="80" name="query">?w a wfdesc:Workflow .</textarea><br/>
-      <input type="submit"/>
-    </form>
+    <h1>myExperiment Component Querying Demo</h1>
+    <div style="float: left; margin-right: 3em">
+      <form action="" method="GET">
+        <h2>SPARQL Prefixes</h2>
+        <textarea rows="5" cols="80" name="prefixes"></textarea><br/>
+        <h2>SPARQL Query Fragment</h2>
+        <textarea rows="20" cols="80" name="query"></textarea><br/>
+        <input type="submit"/>
+      </form>
+    </div>
+    <div style="float:left">
+      <h2>SPARQL Template</h2>
+      PREFIX rdfs:&lt;http://www.w3.org/2000/01/rdf-schema#&gt;<br/>
+      PREFIX wfdesc:&lt;http://purl.org/wf4ever/wfdesc#&gt;<br/>
+      <i>{sparql_prefixes}</i><br/><br/>
+      <div>
+      SELECT ?workflow_uri WHERE {
+        <div style="margin-left: 2em;">
+        GRAPH ?workflow_uri {
+          <div style="margin-left: 2em;">
+          ?w a wfdesc:Workflow . <br/>
+            <i>{sparql_query_fragment}</i>
+          </div>
+        }
+        </div>
+      }
+      </div>
+    </div>
 	</body>
 </html>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]