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:<http://www.w3.org/2000/01/rdf-schema#><br/>
+ PREFIX wfdesc:<http://purl.org/wf4ever/wfdesc#><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>