Question: Who weighs more, Brad Jones (the one whose mass is 242 pound) or Jim Brown (the one that is drafted by Los Angeles Kings)?
Choices:
David Byrne
William Henry Harrison
Jim Brown
Max Fleischer
Rahul Dev Burman
Brad Jones
Paul Simon
James E. Reilly
Richard Gere
Sylvester Stallone
Answer: Brad Jones
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brad Jones" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "242"^^xsd:double . } UNION { ?e <pred:name> "Jim Brown" . ?e <drafted_by> ?e_1 . ?e_1 <pred:name> "Los Angeles Kings" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Brad Jones
function: FilterNum
dependencies: 0
inputs: mass
242 pound
=
function: Find
inputs: Los Angeles Kings
function: Relate
dependencies: 2
inputs: drafted by
backward
function: Find
inputs: Jim Brown
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
greater