Question: Does David Healy (the one that is a member of Sunderland A.F.C.) or Mike Myers (the one whose mass is 107 kilogram) have lesser mass ?
Choices:
David Byrne
Max Fleischer
Paul Simon
Richard Gere
David Healy
Rahul Dev Burman
Sylvester Stallone
William Henry Harrison
Simon Cowell
Mike Myers
Answer: David Healy
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David Healy" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Sunderland A.F.C." . } UNION { ?e <pred:name> "Mike Myers" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "kilogram" . ?pv_1 <pred:value> "107"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sunderland A.F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: David Healy
function: And
dependencies: 1
2
function: Find
inputs: Mike Myers
function: FilterNum
dependencies: 4
inputs: mass
107 kilogram
=
function: SelectBetween
dependencies: 3
5
inputs: mass
less