Question: What country does London, the birthplace of Sandy Powell and Minnie Driver, belong to ?
Choices: Netherlands
Germany
Thailand
Russian Empire
New Zealand
England
Venezuela
United Kingdom
Burkina Faso
Brazil
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Minnie Driver" . ?e_2 <pred:name> "London" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Sandy Powell" . ?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: Sandy Powell
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
country
Answer: United Kingdom