Question: Since when is Plymouth (the one that is headed by member of parliament)the twinned administrative body of Plymouth (the one whose elevation (above sea level) is 57 metres) ?
Choices:
2007-04-17
1788-01-02
1839-03-04
1990-08-02
1996-03-11
1992-11-18
1972-08-28
2001
1968-09-24
2009-09-19
Answer: 2001
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Plymouth" . ?e_1 <office_held_by_head_of_government> ?e_3 . ?e_3 <pred:name> "member of parliament" . ?e_2 <pred:name> "Plymouth" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "57"^^xsd:double . ?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: member of parliament
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: Find
inputs: Plymouth
function: And
dependencies: 1
2
function: Find
inputs: Plymouth
function: FilterNum
dependencies: 4
inputs: elevation above sea level
57 metre
=
function: QueryRelationQualifier
dependencies: 3
5
inputs: twinned administrative body
start time