Question: Is a greater amount of water needed in water (the one whose USDA NDB number is 05071) or pork?
Choices:
sugar
bread
petroleum
beef
pork
orange
milk
ice cream
pasta
dietary fiber
Answer: pork
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "chicken" . ?e <USDA_NDB_number> ?pv_1 . ?pv_1 <pred:value> "05071" . } UNION { ?e <pred:name> "pork" . } ?e <water_footprint> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: chicken
function: FilterStr
dependencies: 0
inputs: USDA NDB number
05071
function: Find
inputs: pork
function: SelectBetween
dependencies: 1
2
inputs: water footprint
greater