Question: What is the connection between Ralph Waldo Emerson to Concord (the one that is the twinned administrative body of Baghdad)?
Choices:
voice actor
basic form of government
musical conductor
start point
librettist
lyrics by
place of death
member of sports team
educated at
mascot
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ralph Waldo Emerson" . ?e_2 <pred:name> "Concord" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Baghdad" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ralph Waldo Emerson
function: Find
inputs: Baghdad
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Concord
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4