Question: Does William Powell, who has a height of 69 inches, or Tim Armstrong, who was born on May 12, 1967, have less mass?
Choices:
Simon Cowell
William Henry Harrison
James E. Reilly
Tim Armstrong
Paul Simon
Richard Gere
Rahul Dev Burman
William Powell
Max Fleischer
David Byrne
Program:
function: Find
inputs: William Powell
function: FilterNum
dependencies: 0
inputs: height
69 inch
=
function: Find
inputs: Tim Armstrong
function: FilterDate
dependencies: 2
inputs: date of birth
1967-05-12
=
function: SelectBetween
dependencies: 1
3
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "William Powell" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "inch" . ?pv_1 <pred:value> "69"^^xsd:double . } UNION { ?e <pred:name> "Tim Armstrong" . ?e <date_of_birth> ?pv_2 . ?pv_2 <pred:date> "1967-05-12"^^xsd:date . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tim Armstrong