Question: Which has lower elevation above sea level, Angelina Jolie or Jimi Hendrix (the one that influenced John Frusciante)?
Choices:
Rahul Dev Burman
David Byrne
James E. Reilly
Max Fleischer
Simon Cowell
Sylvester Stallone
William Henry Harrison
Angelina Jolie
Richard Gere
Jimi Hendrix
Program:
function: Find
inputs: Angelina Jolie
function: Find
inputs: John Frusciante
function: Relate
dependencies: 1
inputs: influenced by
forward
function: Find
inputs: Jimi Hendrix
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Angelina Jolie" .  } UNION { ?e <pred:name> "Jimi Hendrix" . ?e_1 <influenced_by> ?e . ?e_1 <pred:name> "John Frusciante" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Angelina Jolie