Question: Is West Orange or Vernona (postal code 07044) smaller by area?
Choices:
Princeton
Ridgewood
Montclair
Verona
Red Bank
Livingston
Wexford
North Hollywood
Whanganui
West Orange
Answer: Verona
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Orange" . } UNION { ?e <pred:name> "Verona" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "07044" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: West Orange
function: Find
inputs: Verona
function: FilterStr
dependencies: 1
inputs: postal code
07044
function: SelectBetween
dependencies: 0
2
inputs: area
less