Question: What is the postal code of the county town that is the capital of Surrey that is the filming location of War Horse?
Choices:
24129
21701
610000
76137
51147
70191
35901
GU1-4
91052
2650
Program:
function: Find
inputs: War Horse
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Surrey
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital of
backward
function: FilterConcept
dependencies: 4
inputs: county town
function: QueryAttr
dependencies: 5
inputs: postal code
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county town" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Surrey" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> "War Horse" .  ?e <postal_code> ?pv .  }
Answer: GU1-4