Question: Tell me the relationship with Gary Conway, who works as a musician, and United Kingdom
Choices: official religion
country of citizenship
work location
contributor(s) to the creative work
patron saint
located in or next to body of water
art director
appointed by
takes place in fictional universe
religious order
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gerry Conway" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "musician" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: musician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Gerry Conway
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
Answer: country of citizenship