Question: What is the ending date that Melbourne (whose subreddit is melbourne) is the capital of Australia (that contains the administrative division South Australia)?
Choices: 1911
2013-03-31
1815-03-04
-336
1981-02-09
1963-01-01
2010-03-01
1927
1876-10-07
1971-10-26
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Australia" . ?e_1 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "South Australia" . ?e_2 <pred:name> "Melbourne" . ?e_2 <subreddit> ?pv . ?pv <pred:value> "melbourne" . ?e_1 <capital> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: South Australia
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: Australia
function: And
dependencies: 1
2
function: Find
inputs: Melbourne
function: FilterStr
dependencies: 4
inputs: subreddit
melbourne
function: QueryRelationQualifier
dependencies: 3
5
inputs: capital
end time
Answer: 1927