Question: Which has more area, West Hartford or Newton that was founded on 1864-04-11?
Choices:
Amherst
Kensington
Westport
Brookline
Chapel Hill
Litchfield
Uxbridge
West Hartford
Greenwich
Newton
Answer: West Hartford
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Hartford" . } UNION { ?e <pred:name> "Newton" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1864-04-11"^^xsd:date . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: West Hartford
function: Find
inputs: Newton
function: FilterDate
dependencies: 1
inputs: inception
1864-04-11
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater