Question: John Mills who served in the Continental Army was buried in which US state?
Choices:
Iowa
Vermont
California
Illinois
Massachusetts
Ohio
Florida
New Hampshire
Colorado
Georgia
Answer: Ohio
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e_1 <place_of_burial> ?e . ?e_1 <pred:name> "John Mills" . ?e_1 <military_branch> ?e_2 . ?e_2 <pred:name> "Continental Army" .   }
Program:
function: Find
inputs: Continental Army
function: Relate
dependencies: 0
inputs: military branch
backward
function: Find
inputs: John Mills
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of burial
forward
function: FilterConcept
dependencies: 4
inputs: state of the United States
function: What
dependencies: 5