Question: Which has less of an Erdos number, Ernest Rutherford or David X. Cohen?
Choices:
Richard Gere
Sylvester Stallone
James E. Reilly
David Byrne
Simon Cowell
Paul Simon
David X. Cohen
Max Fleischer
William Henry Harrison
Ernest Rutherford
Program:
function: Find
inputs: Ernest Rutherford
function: Find
inputs: David X. Cohen
function: SelectBetween
dependencies: 0
1
inputs: Erdős number
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ernest Rutherford" .  } UNION { ?e <pred:name> "David X. Cohen" .  } ?e <Erdős_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: David X. Cohen