Question: Does Ryan Murphy (the one that was born in Van Nuys) or Ron Howard (the one whose date of birth is 1982-11-14) have less mass?
Choices:
Richard Gere
Sylvester Stallone
David Byrne
Ron Howard
Ryan Murphy
James E. Reilly
Rahul Dev Burman
Simon Cowell
William Henry Harrison
Paul Simon
Answer: Ron Howard
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ryan Murphy" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Van Nuys" . } UNION { ?e <pred:name> "Ron Howard" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1982-11-14"^^xsd:date . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Van Nuys
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Ryan Murphy
function: And
dependencies: 1
2
function: Find
inputs: Ron Howard
function: FilterDate
dependencies: 4
inputs: date of birth
1982-11-14
=
function: SelectBetween
dependencies: 3
5
inputs: mass
less