Question: Which has less mass, Mike Watt who is related to ice hockey or Tim Armstrong who was born on 1967-05-12?
Choices:
William Henry Harrison
Sylvester Stallone
David Byrne
Simon Cowell
Paul Simon
James E. Reilly
Mike Watt
Max Fleischer
Richard Gere
Tim Armstrong
Program:
function: Find
inputs: ice hockey
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Mike Watt
function: And
dependencies: 1
2
function: Find
inputs: Tim Armstrong
function: FilterDate
dependencies: 4
inputs: date of birth
1967-05-12
=
function: SelectBetween
dependencies: 3
5
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mike Watt" . ?e <sport> ?e_1 . ?e_1 <pred:name> "ice hockey" . } UNION { ?e <pred:name> "Tim Armstrong" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1967-05-12"^^xsd:date . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tim Armstrong