Question: Which motto belongs to Porto, home of J. K. Rowling?
Choices:
وحدة، تضامن، تنمية
Die Luft der Freiheit weht
Antiga, Mui Nobre, Sempre Leal e Invicta cidade do Porto
Unity, Peace, Justice
Tyfwch yn Rhydd a Ffrwythlon
We are a fortress
Deo vindice
Ingeniis Patuit Campus
Dan y Cysgod, Llewyrchaf
Bersekutu Bertambah Mutu
Answer: Antiga, Mui Nobre, Sempre Leal e Invicta cidade do Porto
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Porto" . ?e_1 <residence> ?e . ?e_1 <pred:name> "J. K. Rowling" .  ?e <motto_text> ?pv .  }
Program:
function: Find
inputs: J. K. Rowling
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Porto
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: motto text