Question: What city is the capital of the sovereign state whose motto text is "Tyfwch yn Rhydd a Ffrwythlon"?
Choices:
Lima
Canberra
Lagos
Durham
Guatemala City
Ipswich
Galway
Hanoi
San Marino
Turin
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: motto text
Tyfwch yn Rhydd a Ffrwythlon
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Relate
dependencies: 2
inputs: capital of
backward
function: FilterConcept
dependencies: 3
inputs: city
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <capital_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <motto_text> ?pv . ?pv <pred:value> "Tyfwch yn Rhydd a Ffrwythlon" .   }
Answer: Guatemala City