Question: What is the connection between John Williams (the one that is in the military branch British Army) to United Kingdom?
Choices:
enclave within
archives at
organisation directed from the office or person
color
instrument
illustrator
mouth of the watercourse
used by
country of citizenship
history of topic
Program:
function: Find
inputs: British Army
function: Relate
dependencies: 0
inputs: military branch
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <military_branch> ?e_3 . ?e_3 <pred:name> "British Army" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship