Question: What is the beginning date that Mainz's country is the German Empire (that has the religion Protestantism)?
Choices:
1902-10-01
1997-10-08
1815
1871-01-18
2011-02-14
1910-08-29
1859-07-12
2007-03-08
1966-10-31
1777-12-17
Program:
function: Find
inputs: Mainz
function: Find
inputs: Protestantism
function: Relate
dependencies: 1
inputs: religion
backward
function: Find
inputs: German Empire
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: country
start time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mainz" . ?e_2 <pred:name> "German Empire" . ?e_2 <religion> ?e_3 . ?e_3 <pred:name> "Protestantism" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Answer: 1871-01-18