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