Question: Which one has the largest area among the provinces of the Netherlands that shares border with Limburg (the one that is an administrative division of Netherlands)?
Choices: North Holland
North Brabant
Gelderland
Utrecht
South Holland
Friesland
Zeeland
Drenthe
Groningen
Limburg
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> "Limburg" . ?e_2 <contains_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Netherlands" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Netherlands
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Limburg
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: shares border with
forward
function: FilterConcept
dependencies: 4
inputs: province of the Netherlands
function: SelectAmong
dependencies: 5
inputs: area
largest
Answer: Gelderland