Question: Which is greater in area, San Jose or Summit?
Choices:
Compton
Waukegan
San Jose
Greenville
Oakland
Summit
Columbus
New Haven
Boulder
Lansing
Program:
function: Find
inputs: San Jose
function: Find
inputs: Summit
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Jose" .  } UNION { ?e <pred:name> "Summit" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: San Jose