Question: How is World War I participant John Davis connected to Arlington National Cemetery?
Choices:
film editor
subsidiary
field of this occupation
voice actor
airline hub
parent organization
replaces
place of burial
mountain range
position played on team / speciality
Answer: place of burial
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <conflict> ?e_3 . ?e_3 <pred:name> "World War I" . ?e_2 <pred:name> "Arlington National Cemetery" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: World War I
function: Relate
dependencies: 0
inputs: conflict
backward
function: Find
inputs: John Davis
function: And
dependencies: 1
2
function: Find
inputs: Arlington National Cemetery
function: QueryRelation
dependencies: 3
4