Question: Which weighs less, phosphorus or sodium?
Choices:
sodium
Beauty and the Beast
magnesium
phosphorus
manganese
Pakistan Peoples Party
Dog Day Afternoon
calcium
zinc
selenium
Program:
function: Find
inputs: phosphorus
function: Find
inputs: sodium
function: SelectBetween
dependencies: 0
1
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "phosphorus" .  } UNION { ?e <pred:name> "sodium" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: sodium