SPARCool offers a way to run SPARQL queries about any URI that follows the Linked Data principles by calling a simple URL based on the http://sparcool.net/format/predicate[;l=lang]/URI pattern.
For instance, http://sparcool.net/j/dbp:abstract;l=en/http://dbpedia.org/resource/Semantic_Web will return answer(s) for the following query, using JSON serialization format for SPARQL Query results:
PREFIX dbp: <http://dbpedia.org/property/>
SELECT DISTINCT ?value
FROM <http://dbpedia.org/resource/Semantic_Web>
WHERE {
<http://dbpedia.org/resource/Semantic_Web> dbpedia:abstract ?value .
FILTER (lang(?value) = "en") .
}
The following values are supported for the format parameter:
Predicate must be written using a prefix:value syntax. The supported prefixes are retrieved from prefix.cc. Hence, you can add you own prefixes there.