Question: Who weighs more, Richard Harris (the one that is related to sport American football) or Klaas-Jan Huntelaar?
Choices:
Max Fleischer
David Byrne
Richard Harris
Paul Simon
Simon Cowell
Richard Gere
James E. Reilly
Klaas-Jan Huntelaar
Rahul Dev Burman
William Henry Harrison
Program:
function: Find
inputs: American football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Richard Harris
function: And
dependencies: 1
2
function: Find
inputs: Klaas-Jan Huntelaar
function: SelectBetween
dependencies: 3
4
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Richard Harris" . ?e <sport> ?e_1 . ?e_1 <pred:name> "American football" .   } UNION { ?e <pred:name> "Klaas-Jan Huntelaar" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Richard Harris