Question: Which one is lighter, Tim Armstrong (the one whose mass is 168 pounds) or Chris Brown (the one that is a member of Pittsburgh Steelers) ?
Choices:
Simon Cowell
Sylvester Stallone
William Henry Harrison
Chris Brown
Tim Armstrong
David Byrne
Richard Gere
James E. Reilly
Paul Simon
Max Fleischer
Answer: Tim Armstrong
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tim Armstrong" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "168"^^xsd:double . } UNION { ?e <pred:name> "Chris Brown" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Pittsburgh Steelers" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Tim Armstrong
function: FilterNum
dependencies: 0
inputs: mass
168 pound
=
function: Find
inputs: Pittsburgh Steelers
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: Chris Brown
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
less