Question: When did the Labour Party (the one whose headquarter location is City of Westminster) have 554000 members?
Choices:
1773
1996-07-03
2016
2010-08-21
1874
2007-06-13
1954-03-25
1912-01-01
1897-01-28
2000-07-05
Answer: 2016
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Labour Party" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "City of Westminster" .  ?e <member_count> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "554000"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <member_count> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: City of Westminster
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: Find
inputs: Labour Party
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: member count
554000
point in time