Question: What is the relationship between John Davis (the one that is related to sport cricket) and Wales?
Choices: located in the administrative territorial entity
country of citizenship
doctoral student
statistical leader
languages spoken, written or signed
contains settlement
drafted by
edition or translation of
drug used for treatment
newspaper format
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "cricket" . ?e_2 <pred:name> "Wales" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: cricket
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: John Davis
function: And
dependencies: 1
2
function: Find
inputs: Wales
function: QueryRelation
dependencies: 3
4
Answer: country of citizenship