Question: Which has more mass, Megan Fox or Robert Smith of the Cleveland Cavaliers?
Choices:
Simon Cowell
William Henry Harrison
David Byrne
Paul Simon
Rahul Dev Burman
James E. Reilly
Richard Gere
Sylvester Stallone
Robert Smith
Megan Fox
Program:
function: Find
inputs: Megan Fox
function: Find
inputs: Cleveland Cavaliers
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: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Megan Fox" .  } UNION { ?e <pred:name> "Robert Smith" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Cleveland Cavaliers" .   } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Robert Smith