Question: How is Agatha Christie whose country is the Soviet Union related to Russia?
Choices:
manner of death
contributing factor of
official color
country
works in collection
series spin-off
producer
political ideology
interested in
sexual orientation
Program:
function: Find
inputs: Soviet Union
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Agatha Christie
function: And
dependencies: 1
2
function: Find
inputs: Russia
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Agatha Christie" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "Soviet Union" . ?e_2 <pred:name> "Russia" . ?e_1 ?p ?e_2 .  }
Answer: country