Question: For the administrative division of Lorraine (the one whose ISO 3166-2 code is FR-M), when did France cease to contain it?
Choices:
2011-01-04
2015-12-31
1814
1956-08-17
2011
1996-01-01
1859-01-01
2007
1947-01-01
1996
Answer: 2015-12-31
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "France" . ?e_2 <pred:name> "Lorraine" . ?e_2 <ISO_3166-2_code> ?pv . ?pv <pred:value> "FR-M" . ?e_1 <contains_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <contains_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <dissolved,_abolished_or_demolished> ?qpv .  }
Program:
function: Find
inputs: France
function: Find
inputs: Lorraine
function: FilterStr
dependencies: 1
inputs: ISO 3166-2 code
FR-M
function: QueryRelationQualifier
dependencies: 0
2
inputs: contains administrative territorial entity
dissolved, abolished or demolished