Question: Who is lighter in weight: Alan Ball, at 195 pounds, or Jeff Daniels, draft pick of the Pittsburgh Penguins?
Choices:
William Henry Harrison
Paul Simon
Max Fleischer
Rahul Dev Burman
Simon Cowell
Richard Gere
Alan Ball
Jeff Daniels
Sylvester Stallone
David Byrne
Program:
function: Find
inputs: Alan Ball
function: FilterNum
dependencies: 0
inputs: mass
195 pound
=
function: Find
inputs: Pittsburgh Penguins
function: Relate
dependencies: 2
inputs: drafted by
backward
function: Find
inputs: Jeff Daniels
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alan Ball" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "195"^^xsd:double . } UNION { ?e <pred:name> "Jeff Daniels" . ?e <drafted_by> ?e_1 . ?e_1 <pred:name> "Pittsburgh Penguins" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alan Ball