title | layout | id | permalink |
---|---|---|---|
Nomisma.org SPARQL Endpoint |
default |
sparql |
/sparql/ |
For examples, see SPARQL Examples. A basic tutorial on SPARQL is available from Apache Jena.
<textarea name="query" rows="20" class="form-control" id="code">{% for namespace in site.data.namespaces %}{% if namespace.default == "true" %} PREFIX {{ namespace.prefix}}: <{{namespace.uri}}>{% endif %}{% endfor %}SELECT * WHERE {
?s ?p ?o
} LIMIT 100
</textarea>
-
{% for namespace in site.data.namespaces %}
{% if namespace.default == "true" %}
- {{ namespace.prefix}} {% else %}
- {{ namespace.prefix}} {% endif %} {% endfor %}
<div class="form-group">
<label for="output">Output</label>
<select name="output" class="form-control">
<option value="html">HTML</option>
<option value="xml">XML</option>
<option value="json">JSON</option>
<option value="text">Text</option>
<option value="csv">CSV</option>
</select>
</div>
<button type="submit" class="btn btn-default">Submit</button>
</div>
<div class="col-md-6">
<p class="text-info">This endpoint ({{ site.url }}/query) supports content negotiation for the following content types
with SELECT queries: <code>text/html</code>, <code>text/csv</code>, <code>text/plain</code>, <code>application/sparql-results+json</code>, and
<code>application/sparql-results+xml</code></p>
<p class="text-info">When querying for geo:lat and geo:long properties, a map will be generated, and geographic data may be downloaded as GeoJSON and
KML.</p>
</div>