Question: Who is taller, Jimi Hendrix, whose pyeudonym is Jimmy James, or William Powell who was a member of the Arizona Cardinals?
Choices:
Richard Gere
David Byrne
Paul Simon
James E. Reilly
Jimi Hendrix
Sylvester Stallone
Simon Cowell
Rahul Dev Burman
Max Fleischer
William Henry Harrison
Program:
function: Find
inputs: Jimi Hendrix
function: FilterStr
dependencies: 0
inputs: pseudonym
Jimmy James
function: Find
inputs: Arizona Cardinals
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: William Powell
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jimi Hendrix" . ?e <pseudonym> ?pv_1 . ?pv_1 <pred:value> "Jimmy James" . } UNION { ?e <pred:name> "William Powell" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Arizona Cardinals" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jimi Hendrix