Question: Who weighs more, Kevin McCarthy (the one that was born in Winnipeg) or Cris Collinsworth?
Choices:
Simon Cowell
Cris Collinsworth
William Henry Harrison
Max Fleischer
Kevin McCarthy
Rahul Dev Burman
David Byrne
Richard Gere
Sylvester Stallone
Paul Simon
Program:
function: Find
inputs: Winnipeg
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Kevin McCarthy
function: And
dependencies: 1
2
function: Find
inputs: Cris Collinsworth
function: SelectBetween
dependencies: 3
4
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kevin McCarthy" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Winnipeg" .   } UNION { ?e <pred:name> "Cris Collinsworth" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Kevin McCarthy