Question: What is the association of Richard Wagner (who is involved in the World War I conflict) with Cambridge (whose population is 8409)?
Choices:
place of death
heritage designation
lyrics by
sports season of league or competition
official religion
culture
separated from
costume designer
interests
sidekick of
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Wagner" . ?e_1 <conflict> ?e_3 . ?e_3 <pred:name> "World War I" . ?e_2 <pred:name> "Cambridge" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "8409"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: World War I
function: Relate
dependencies: 0
inputs: conflict
backward
function: Find
inputs: Richard Wagner
function: And
dependencies: 1
2
function: Find
inputs: Cambridge
function: FilterNum
dependencies: 4
inputs: population
8409
=
function: QueryRelation
dependencies: 3
5