Question: Which one, Gary (the one that is the birthplace of Fred Williamson) or Marietta, has greater area?
Choices:
New Haven
Compton
Franklin
Columbus
Oakland
Boulder
Gary
Lansing
Greenville
Waukegan
Answer: Gary
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gary" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Fred Williamson" .   } UNION { ?e <pred:name> "Marietta" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Fred Williamson
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Gary
function: And
dependencies: 1
2
function: Find
inputs: Marietta
function: SelectBetween
dependencies: 3
4
inputs: area
greater