Question: What does Michael Patrick King have to do with Greenwich Village (whose postal code is 10012)?
Choices:
coextensive with
field of this occupation
copyright representative
instrumentation
founded by
capital
color
discoverer or inventor
follows
residence
Program:
function: Find
inputs: Michael Patrick King
function: Find
inputs: Greenwich Village
function: FilterStr
dependencies: 1
inputs: postal code
10012
function: QueryRelation
dependencies: 0
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Patrick King" . ?e_2 <pred:name> "Greenwich Village" . ?e_2 <postal_code> ?pv . ?pv <pred:value> "10012" . ?e_1 ?p ?e_2 .  }
Answer: residence