Question: Which area is larger, Livingston (the one whose official website is http://www.livingstonnj.org/) or Princeton?
Choices:
Belleville
Wexford
Whanganui
Verona
Livingston
Princeton
West Orange
Montclair
Red Bank
Ridgewood
Answer: Princeton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Livingston" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.livingstonnj.org/" . } UNION { ?e <pred:name> "Princeton" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Livingston
function: FilterStr
dependencies: 0
inputs: official website
http://www.livingstonnj.org/
function: Find
inputs: Princeton
function: SelectBetween
dependencies: 1
2
inputs: area
greater