Question: What is the association of Durham (whose postal code is DH1) with County Durham?
Choices:
capital of
writing system
film crew member
foundational text
original language of film or TV show
film regional debut venue
takes place in fictional universe
parent organization
use
famous people
Answer: capital of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Durham" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "DH1" . ?e_2 <pred:name> "County Durham" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Durham
function: FilterStr
dependencies: 0
inputs: postal code
DH1
function: Find
inputs: County Durham
function: QueryRelation
dependencies: 1
2