Question: When did Hobart become the capital of Tasmania, which itself has a subreddit named tasmania?
Choices:
1987-02-20
2000-11-17
1856-01-01
1978
2009-10-21
1860-01-01
2012-07-24
2008-01-28
1843
2010-08-21
Program:
function: Find
inputs: Hobart
function: Find
inputs: Tasmania
function: FilterStr
dependencies: 1
inputs: subreddit
tasmania
function: QueryRelationQualifier
dependencies: 0
2
inputs: capital of
start time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hobart" . ?e_2 <pred:name> "Tasmania" . ?e_2 <subreddit> ?pv . ?pv <pred:value> "tasmania" . ?e_1 <capital_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Answer: 1856-01-01