Question: Which area is larger, Teaneck or Subiaco?
Choices:
Whanganui
Red Bank
Montclair
Livingston
Teaneck
Belleville
Princeton
Verona
Ridgewood
North Hollywood
Program:
function: Find
inputs: Teaneck
function: Find
inputs: Subiaco
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Teaneck" .  } UNION { ?e <pred:name> "Subiaco" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Teaneck