Question: Who is lighter in weight: the Mark Williams born on 1973-09-28, or Mauricio Pinilla of U.S. Grosseto F.C.?
Choices:
William Henry Harrison
Mauricio Pinilla
Paul Simon
Simon Cowell
Rahul Dev Burman
Max Fleischer
Richard Gere
David Byrne
Sylvester Stallone
James E. Reilly
Program:
function: Find
inputs: Mark Williams
function: FilterDate
dependencies: 0
inputs: date of birth
1973-09-28
=
function: Find
inputs: U.S. Grosseto F.C.
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: Mauricio Pinilla
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mark Williams" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1973-09-28"^^xsd:date . } UNION { ?e <pred:name> "Mauricio Pinilla" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "U.S. Grosseto F.C." . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mauricio Pinilla