Question: What is the connection between Richard Harris (the one that uses the language English) to County Limerick?
Choices:
had as last meal
derivative work
place of birth
film release region
residence
airline hub
language of work or name
time period
successful candidate
publisher
Answer: residence
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Harris" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "County Limerick" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Richard Harris
function: And
dependencies: 1
2
function: Find
inputs: County Limerick
function: QueryRelation
dependencies: 3
4