Question: What is the start time of the Kingdom of Italy (which shares a border with Austria-Hungary and includes Emilia-Romagna)?
Choices:
1861-03-17
1580
2001-09-11
2012-06-01
1995-02-01
2010-05-10
1927
2006-10-19
1988-12-07
1933-05-01
Program:
function: Find
inputs: Emilia-Romagna
function: Find
inputs: Austria-Hungary
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Kingdom of Italy
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: country
start time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Emilia-Romagna" . ?e_2 <pred:name> "Kingdom of Italy" . ?e_2 <shares_border_with> ?e_3 . ?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: 1861-03-17