Question: Which has a greater area, Montgomery County (whose inception time is 1821) or Champaign County (which has the capital Urbana)?
Choices:
Madison County
McHenry County
Clinton County
Champaign County
DuPage County
DeKalb County
McLean County
Logan County
Peoria County
Montgomery County
Answer: Champaign County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montgomery County" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1821 . } UNION { ?e <pred:name> "Champaign County" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Urbana" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Montgomery County
function: FilterYear
dependencies: 0
inputs: inception
1821
=
function: Find
inputs: Urbana
function: Relate
dependencies: 2
inputs: capital of
forward
function: Find
inputs: Champaign County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
greater