Question: Which one has a bigger atomic number, zinc or sodium?
Choices:
sodium
selenium
manganese
Somerset County
magnesium
calcium
The B-52's
zinc
William A. Fraker
phosphorus
Answer: zinc
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "sodium" .  } UNION { ?e <pred:name> "zinc" .  } ?e <atomic_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: sodium
function: Find
inputs: zinc
function: SelectBetween
dependencies: 0
1
inputs: atomic number
greater