Question: Does David X. Cohen or Karl Popper have a greater Erdős number?
Choices:
David Byrne
James E. Reilly
Karl Popper
Max Fleischer
David X. Cohen
Sylvester Stallone
William Henry Harrison
Richard Gere
Simon Cowell
Paul Simon
Answer: Karl Popper
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David X. Cohen" .  } UNION { ?e <pred:name> "Karl Popper" .  } ?e <Erdős_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: David X. Cohen
function: Find
inputs: Karl Popper
function: SelectBetween
dependencies: 0
1
inputs: Erdős number
greater