Question: What departments of France share a border with Seine-et-Marne and have under 33000 weddings annually?
Choices: Nord
Alpes-Maritimes
Manche
Aisne
Haut-Rhin
Bas-Rhin
Gironde
Seine-et-Marne
Vaucluse
Haute-Savoie
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "departments of France" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Seine-et-Marne" .  ?e <annual_number_of_weddings> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "33000"^^xsd:double ) .  }
Program:
function: Find
inputs: Seine-et-Marne
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: departments of France
function: FindAll
function: FilterNum
dependencies: 3
inputs: annual number of weddings
33000
<
function: FilterConcept
dependencies: 4
inputs: departments of France
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Aisne