Question: Does Kevin Smith (whose date of birth is 1986-12-17) or Scott Wilson (that was born in Oakville) weigh less?
Choices:
Rahul Dev Burman
William Henry Harrison
David Byrne
Paul Simon
Max Fleischer
James E. Reilly
Richard Gere
Scott Wilson
Kevin Smith
Simon Cowell
Program:
function: Find
inputs: Kevin Smith
function: FilterDate
dependencies: 0
inputs: date of birth
1986-12-17
=
function: Find
inputs: Oakville
function: Relate
dependencies: 2
inputs: place of birth
backward
function: Find
inputs: Scott Wilson
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kevin Smith" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1986-12-17"^^xsd:date . } UNION { ?e <pred:name> "Scott Wilson" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Oakville" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Scott Wilson