Question: Which one, Albert Einstein (the one that is influenced by Arthur Schopenhauer) or Linus Pauling, has the greater Erdős number?
Choices:
Simon Cowell
Rahul Dev Burman
Max Fleischer
Sylvester Stallone
Linus Pauling
Paul Simon
Albert Einstein
David Byrne
Richard Gere
William Henry Harrison
Answer: Linus Pauling
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Albert Einstein" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> "Arthur Schopenhauer" .   } UNION { ?e <pred:name> "Linus Pauling" .  } ?e <Erdős_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Arthur Schopenhauer
function: Relate
dependencies: 0
inputs: influenced by
backward
function: Find
inputs: Albert Einstein
function: And
dependencies: 1
2
function: Find
inputs: Linus Pauling
function: SelectBetween
dependencies: 3
4
inputs: Erdős number
greater