Question: Which location has the more sizable area, Traverse City or Port Arthur?
Choices:
Waukegan
Port Arthur
Compton
Oakland
Columbus
Lansing
Boulder
Traverse City
Franklin
New Haven
Program:
function: Find
inputs: Port Arthur
function: Find
inputs: Traverse City
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Port Arthur" .  } UNION { ?e <pred:name> "Traverse City" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Port Arthur