Question: Until which date was Tuscaloosa the capital of Alabama (official website www.alabama.gov) ?
Choices:
1970
1585
1930-03-28
2007-03-25
1940-07-21
1846
1934-01-18
1996-08-04
1990-12-01
1990-03-01
Program:
function: Find
inputs: Alabama
function: FilterStr
dependencies: 0
inputs: official website
https://www.alabama.gov
function: Find
inputs: Tuscaloosa
function: QueryRelationQualifier
dependencies: 1
2
inputs: capital
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alabama" . ?e_1 <official_website> ?pv . ?pv <pred:value> "https://www.alabama.gov" . ?e_2 <pred:name> "Tuscaloosa" . ?e_1 <capital> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1846