Question: Does chicken (that has the nutrient manganese) or pork have the higher water volume?
Choices:
ice cream
bread
dietary fiber
chicken
sugar
orange
pork
pasta
beef
milk
Program:
function: Find
inputs: manganese
function: Relate
dependencies: 0
inputs: nutrient
backward
function: Find
inputs: chicken
function: And
dependencies: 1
2
function: Find
inputs: pork
function: SelectBetween
dependencies: 3
4
inputs: water footprint
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "chicken" . ?e <nutrient> ?e_1 . ?e_1 <pred:name> "manganese" .   } UNION { ?e <pred:name> "pork" .  } ?e <water_footprint> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: pork