Question: Which administrative territorial entity contains London (whose demonym is londinense), which is the birth place of Zero Dark Thirty cast member Mark Strong?
Choices:
Kentucky
Ramenki District
England
Florida
New Jersey
Wisconsin
Illinois
Maharashtra
Grand Duchy of Finland
Germany
Program:
function: Find
inputs: Zero Dark Thirty
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Mark Strong
function: And
dependencies: 1
2
function: Find
inputs: London
function: FilterStr
dependencies: 4
inputs: demonym
londinense
function: QueryRelationQualifier
dependencies: 3
5
inputs: place of birth
located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mark Strong" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> "Zero Dark Thirty" . ?e_2 <pred:name> "London" . ?e_2 <demonym> ?pv . ?pv <pred:value> "londinense" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }
Answer: England