Question: Which area is larger, Bismarck (the one whose area is 87.381746 square kilometre) or Greenville (the one that is located in Greenville County)?
Choices:
Bismarck
Greenville
Columbus
Waukegan
Oakland
Boulder
Compton
Franklin
Lansing
New Britain
Program:
function: Find
inputs: Bismarck
function: FilterNum
dependencies: 0
inputs: area
87.381746 square kilometre
=
function: Find
inputs: Greenville County
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Greenville
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bismarck" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "87.381746"^^xsd:double . } UNION { ?e <pred:name> "Greenville" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Greenville County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bismarck