Question: Who weighs more, Alan Ball (the one whose height is 185 centimetre) or Brian Jones (the one that is a member of Jacksonville Jaguars)?
Choices:
Richard Gere
Alan Ball
David Byrne
James E. Reilly
Paul Simon
Max Fleischer
Sylvester Stallone
William Henry Harrison
Rahul Dev Burman
Brian Jones
Answer: Brian Jones
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alan Ball" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "185"^^xsd:double . } UNION { ?e <pred:name> "Brian Jones" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Jacksonville Jaguars" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Alan Ball
function: FilterNum
dependencies: 0
inputs: height
185 centimetre
=
function: Find
inputs: Jacksonville Jaguars
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: Brian Jones
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
greater