Question: When did Halifax (the one whose area is 5490.9 square kilometre) become the twinned administrative body of Aachen (the one that is the twinned administrative body of Cape Town)?
Choices:
1946-07-04
2007-08-08
1964-12-01
1979-01-01
2002
1956-03-12
1920-05-07
1963-11-29
1993-03-16
1821-03-04
Answer: 1979-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Halifax" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "5490.9"^^xsd:double . ?e_2 <pred:name> "Aachen" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Cape Town" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: Halifax
function: FilterNum
dependencies: 0
inputs: area
5490.9 square kilometre
=
function: Find
inputs: Cape Town
function: Relate
dependencies: 2
inputs: twinned administrative body
backward
function: Find
inputs: Aachen
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: twinned administrative body
start time