Question: Who is taller, Amanda Lear or Robert Smith (the one that is a member of Los Angeles Clippers)?
Choices:
David Byrne
James E. Reilly
William Henry Harrison
Sylvester Stallone
Robert Smith
Paul Simon
Simon Cowell
Max Fleischer
Richard Gere
Rahul Dev Burman
Program:
function: Find
inputs: Amanda Lear
function: Find
inputs: Los Angeles Clippers
function: Relate
dependencies: 1
inputs: member of sports team
backward
function: Find
inputs: Robert Smith
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amanda Lear" .  } UNION { ?e <pred:name> "Robert Smith" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Los Angeles Clippers" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Robert Smith