Question: At the 2012 Summer Olympics, who was taller, Chris Brown or Megumi Hayashibara?
Choices:
Simon Cowell
David Byrne
William Henry Harrison
Megumi Hayashibara
Richard Gere
Paul Simon
Sylvester Stallone
Max Fleischer
James E. Reilly
Chris Brown
Program:
function: Find
inputs: 2012 Summer Olympics
function: Relate
dependencies: 0
inputs: participant of
backward
function: Find
inputs: Chris Brown
function: And
dependencies: 1
2
function: Find
inputs: Megumi Hayashibara
function: SelectBetween
dependencies: 3
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Brown" . ?e <participant_of> ?e_1 . ?e_1 <pred:name> "2012 Summer Olympics" .   } UNION { ?e <pred:name> "Megumi Hayashibara" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chris Brown