Question: What country is Manchester (where Bernard Hill was born and The Chemical Brothers were formed)?
Choices:
United Kingdom
Mexico
Monaco
Czech Republic
Albania
German Democratic Republic
Philippines
Kingdom of Saxony
Malaysia
worldwide
Program:
function: Find
inputs: Bernard Hill
function: Find
inputs: The Chemical Brothers
function: Relate
dependencies: 1
inputs: location of formation
forward
function: Find
inputs: Manchester
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Bernard Hill" . ?e_2 <pred:name> "Manchester" . ?e_3 <location_of_formation> ?e_2 . ?e_3 <pred:name> "The Chemical Brothers" . ?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 .  }
Answer: United Kingdom