SQUALL to SPARQL Translator

Your SQUALL sentence:

How many Fire-s have location res:Paris and have period 'Middle Age'?

The SPARQL translation:

SELECT DISTINCT (COUNT(DISTINCT ?x2) AS ?x1) WHERE {
?x2 a :Fire .
?x2 :location res:Paris .
?x2 :period ?x3 .
FILTER (REGEX(str(?x3),'Middle','i') && REGEX(str(?x3),'Age','i')) .
}

Run at DBpedia SPARQL endpoint (assuming prefixes res: for resources, : and dbo: for ontology, and dbp: for properties in addition to DBpedia namespace definitions).

Load in DBpedia SPARQL Explorer (assuming the same prefixes as above).


Enter a SQUALL sentence: