Question: Does Auburn (the one whose inception time is 1793) or Schenectady have greater area ?
Choices:
Long Beach
Utica
White Plains
Yonkers
Troy
Syracuse
Glen Cove
Schenectady
Auburn
Elmira
Program:
function: Find
inputs: Auburn
function: FilterYear
dependencies: 0
inputs: inception
1793
=
function: Find
inputs: Schenectady
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Auburn" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1793 . } UNION { ?e <pred:name> "Schenectady" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Schenectady