Question: What is the relationship between Barcelona (the one whose publication date is 1994-01-01) to Cold War (the one that is the representative of Dwight D. Eisenhower)?
Choices:
winner
fictional universe described in
parent astronomical body
military casualty classification
studied by
manner of death
make-up artist
member of
continent
main subject
Answer: main subject
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Barcelona" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1994-01-01"^^xsd:date . ?e_2 <pred:name> "Cold War" . ?e_3 <conflict> ?e_2 . ?e_3 <pred:name> "Dwight D. Eisenhower" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Barcelona
function: FilterDate
dependencies: 0
inputs: publication date
1994-01-01
=
function: Find
inputs: Dwight D. Eisenhower
function: Relate
dependencies: 2
inputs: conflict
forward
function: Find
inputs: Cold War
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5