Question: Does Biloxi or Fayetteville (that is the headquarters location of the University of Arkansas) have the larger area?
Choices:
Oakland
Lansing
Fayetteville
Compton
New Haven
Boulder
Biloxi
Franklin
Waukegan
Columbus
Program:
function: Find
inputs: Biloxi
function: Find
inputs: University of Arkansas
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Fayetteville
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Biloxi" .  } UNION { ?e <pred:name> "Fayetteville" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "University of Arkansas" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Biloxi