Question: What country does London (the residence of John Cale), where Minnie Driver was born, belong to?
Choices: Italy
Kingdom of Italy
South Africa
Confederation of the Rhine
Uruguay
Slovenia
worldwide
Russian Soviet Federative Socialist Republic
Turkey
United Kingdom
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Minnie Driver" . ?e_2 <pred:name> "London" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "John Cale" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: Minnie Driver
function: Find
inputs: John Cale
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
country
Answer: United Kingdom