Question: Is Jermaine Easter or Kevin Smith (birth name Kevin Rey Smith) shorter in height?
Choices:
Jermaine Easter
Simon Cowell
Sylvester Stallone
Kevin Smith
Richard Gere
Rahul Dev Burman
David Byrne
Max Fleischer
Paul Simon
James E. Reilly
Program:
function: Find
inputs: Jermaine Easter
function: Find
inputs: Kevin Smith
function: FilterStr
dependencies: 1
inputs: birth name
Kevin Rey Smith
function: SelectBetween
dependencies: 0
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jermaine Easter" . } UNION { ?e <pred:name> "Kevin Smith" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> "Kevin Rey Smith" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jermaine Easter