Question: What is the postal code of Charles University's headquarters location in Prague (which is the twinned administrative body of Saint Petersburg)?
Choices:
81730
70174
56404
51067
94117-1080
11000
OL9 6AA
94704
93047
47374–47375
Program:
function: Find
inputs: Charles University
function: Find
inputs: Saint Petersburg
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Prague
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Charles University" . ?e_2 <pred:name> "Prague" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Saint Petersburg" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }
Answer: 11000