Question: What is the end time of Salzburg (postal code 5082), which is the twinned administrative entity of Bern?
Choices:
2006-05-18
2008-01-01
1836
1870-10-12
1985
1879
2014-10-26
1423
1973-03-30
1990-10-01
Answer: 2008-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Salzburg" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "5082" . ?e_2 <pred:name> "Bern" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Salzburg
function: FilterStr
dependencies: 0
inputs: postal code
5082
function: Find
inputs: Bern
function: QueryRelationQualifier
dependencies: 1
2
inputs: twinned administrative body
end time