Question: Peter Morgan was born in the London that's the story setting of This Means War and that belongs to which country?
Choices:
United Kingdom
Ireland
Switzerland
Singapore
Canada
Georgia
English
Denmark
Philippines
Kingdom of Bavaria
Program:
function: Find
inputs: Peter Morgan
function: Find
inputs: This Means War
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Peter Morgan" . ?e_2 <pred:name> "London" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "This Means War" . ?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