Question: selenium or calcium, which one has greater mass?
Choices:
phosphorus
Platoon
Richard Sylbert
John Williams
calcium
selenium
sodium
zinc
manganese
magnesium
Program:
function: Find
inputs: selenium
function: Find
inputs: calcium
function: SelectBetween
dependencies: 0
1
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "selenium" .  } UNION { ?e <pred:name> "calcium" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: selenium