Question: What is the beginning date that Mainz's country is the German Empire (that shares a border with Austria-Hungary)?
Choices:
1871-01-18
2012-06-22
2007-09-24
2007-03-02
2000-11-09
1983-09-13
2001-10-01
1980-07-28
1866-08-23
2001-03-16
Program:
function: Find
inputs: Mainz
function: Find
inputs: Austria-Hungary
function: Relate
dependencies: 1
inputs: shares border with
forward
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_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Austria-Hungary" . ?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