Question: Which has the greater area, Ocala or the 170.742476 square km Irvine?
Choices:
Compton
Irvine
Waukegan
Ocala
Franklin
Columbus
Boulder
Greenville
New Haven
Oakland
Answer: Irvine
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ocala" . } UNION { ?e <pred:name> "Irvine" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "170.742476"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Ocala
function: Find
inputs: Irvine
function: FilterNum
dependencies: 1
inputs: area
170.742476 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater