Source

chempound / chempound-webapp / src / main / resources / net / chempound / templates / sparql-form.ftl

Full commit
<@layout.page
    title="SPARQL Query"
>

<h1>SPARQL Query</h1>
<form action="${URI_BASE}/sparql/" method="get">
<textarea name="query" rows="20" cols="120">PREFIX rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
PREFIX dct: &lt;http://purl.org/dc/terms/&gt;
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
PREFIX ore: &lt;http://www.openarchives.org/ore/terms/&gt;
</textarea>
    <p>
        <select name="format">
            <option>html</option>
            <option>sparql-xml</option>
        </select>
    </p>
    <p>
        <input type="submit" />
    </p>
</form>

</@layout.page>