Question: Which has a greater mass, Marc Anthony (a member of Perth Glory FC) or Venus Williams?
Choices:
Simon Cowell
David Byrne
Max Fleischer
James E. Reilly
William Henry Harrison
Rahul Dev Burman
Paul Simon
Richard Gere
Sylvester Stallone
Marc Anthony
Program:
function: Find
inputs: Perth Glory FC
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Marc Anthony
function: And
dependencies: 1
2
function: Find
inputs: Venus Williams
function: SelectBetween
dependencies: 3
4
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Marc Anthony" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Perth Glory FC" .   } UNION { ?e <pred:name> "Venus Williams" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Marc Anthony