Question: Does Helena, established 1864-10-30, or Redding occupy a larger area?
Choices:
Oakland
Lansing
Helena
Greenville
New Haven
Franklin
Redding
Waukegan
Columbus
Compton
Answer: Redding
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Helena" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1864-10-30"^^xsd:date . } UNION { ?e <pred:name> "Redding" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Helena
function: FilterDate
dependencies: 0
inputs: inception
1864-10-30
=
function: Find
inputs: Redding
function: SelectBetween
dependencies: 1
2
inputs: area
greater