Question: Which has a larger atomic number phosphorus or sodium?
Choices: magnesium
zinc
manganese
Shrek the Third
phosphorus
sodium
Taken
selenium
calcium
Governor General's Award for English-language non-fiction
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "phosphorus" .  } UNION { ?e <pred:name> "sodium" .  } ?e <atomic_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: phosphorus
function: Find
inputs: sodium
function: SelectBetween
dependencies: 0
1
inputs: atomic number
greater
Answer: phosphorus