Question: Which province of the Netherlands that shares a border with North Rhine-Westphalia has the largest land area?
Choices:
Zeeland
Friesland
North Holland
Drenthe
Overijssel
Groningen
Limburg
Utrecht
Gelderland
North Brabant
Answer: Gelderland
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of the Netherlands" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "North Rhine-Westphalia" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: North Rhine-Westphalia
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: province of the Netherlands
function: SelectAmong
dependencies: 2
inputs: area
largest