Skip to content
architolk edited this page Jan 16, 2017 · 2 revisions

You can use a query to create a reusable query. At this moment, you can only use these queries as part of the default /sparql page.

A query should have a rdfs:label property, without such a property, the query will not be visible in the drop-down box at the sparql page.

Example

stage:query a elmo:Query;
	rdfs:label "Number of triples in the store";
	elmo:query "select (count(*) as ?count) where {?s?p?o}";
.
Clone this wiki locally