Question: Which area is larger, Ghent or Antwerp (the one whose NIS/INS code is 11002)?
Choices:
Cass County
Kent County
Washoe County
Greene County
Delaware County
Antwerp
Ghent
Lee County
African Union
Orange County
Answer: Antwerp
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ghent" . } UNION { ?e <pred:name> "Antwerp" . ?e <NIS/INS_code> ?pv_1 . ?pv_1 <pred:value> "11002" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Ghent
function: Find
inputs: Antwerp
function: FilterStr
dependencies: 1
inputs: NIS/INS code
11002
function: SelectBetween
dependencies: 0
2
inputs: area
greater