Question: Who is taller, DMX or Stephen King, who is part of association football?
Choices:
DMX
Sylvester Stallone
Paul Simon
Max Fleischer
William Henry Harrison
Rahul Dev Burman
David Byrne
Simon Cowell
James E. Reilly
Stephen King
Program:
function: Find
inputs: DMX
function: Find
inputs: association football
function: Relate
dependencies: 1
inputs: sport
backward
function: Find
inputs: Stephen King
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "DMX" .  } UNION { ?e <pred:name> "Stephen King" . ?e <sport> ?e_1 . ?e_1 <pred:name> "association football" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: DMX