Question: Does Ernest Rutherford or Enrico Fermi have the higher Erdős number?
Choices:
Sylvester Stallone
Richard Gere
Paul Simon
Enrico Fermi
David Byrne
James E. Reilly
William Henry Harrison
Rahul Dev Burman
Ernest Rutherford
Simon Cowell
Program:
function: Find
inputs: Ernest Rutherford
function: Find
inputs: Enrico Fermi
function: SelectBetween
dependencies: 0
1
inputs: Erdős number
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ernest Rutherford" .  } UNION { ?e <pred:name> "Enrico Fermi" .  } ?e <Erdős_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ernest Rutherford