Question: What former French region sharing a border with Rhineland-Palatinate has a SIREN number of 235700010?
Choices:
Poitou-Charentes
Aquitaine
Upper Normandy
Nord-Pas-de-Calais
Alsace
Champagne-Ardenne
Lorraine
Burgundy
Lower Normandy
Picardy
Program:
function: Find
inputs: Rhineland-Palatinate
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: former French region
function: FindAll
function: FilterStr
dependencies: 3
inputs: SIREN number
235700010
function: FilterConcept
dependencies: 4
inputs: former French region
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Rhineland-Palatinate" .  ?e <SIREN_number> ?pv . ?pv <pred:value> "235700010" .  }
Answer: Lorraine