SQUALL to SPARQL Translator

Your SQUALL sentence:

Does 'Prince Harry' have the same dbp:mother as 'Prince William'?

The SPARQL translation:

ASK {
?x1 dbp:mother ?x3 .
?x2 dbp:mother ?x4 .
FILTER (?x1 != ?x2) .
FILTER (?x3 = ?x4) .
FILTER (REGEX(str(?x2),'Prince','i') && REGEX(str(?x2),'William','i')) .
FILTER (REGEX(str(?x1),'Prince','i') && REGEX(str(?x1),'Harry','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: