Question: What is the postal code for the headquarters location of Philips (whose ISNI NL0000009538) in Amsterdam (that is the twinned administrative body of Nicosia)?
Choices: 07017–07019
75202
93030
18015
1070 MX
90001–90068
76137
47901, 47904, 47905, 47909
20162
99092
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Philips" . ?e_1 <ISIN> ?pv . ?pv <pred:value> "NL0000009538" . ?e_2 <pred:name> "Amsterdam" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Nicosia" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }
Program:
function: Find
inputs: Philips
function: FilterStr
dependencies: 0
inputs: ISIN
NL0000009538
function: Find
inputs: Nicosia
function: Relate
dependencies: 2
inputs: twinned administrative body
forward
function: Find
inputs: Amsterdam
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: headquarters location
postal code
Answer: 1070 MX