Question: Which Netherlands province has the smallest population and shares a border with Utrecht (whose ISNI is 0000 0004 0508 3482)?
Choices:
North Brabant
Overijssel
Zeeland
Limburg
Gelderland
Groningen
Utrecht
Drenthe
South Holland
Friesland
Program:
function: Find
inputs: Utrecht
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0508 3482
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: province of the Netherlands
function: SelectAmong
dependencies: 3
inputs: population
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of the Netherlands" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Utrecht" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0004 0508 3482" . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Gelderland