Question: which person is shorter, Chuck Norris (whose native language is Chuck Norris) or Linda cardinelli?
Choices:
David Byrne
Chuck Norris
William Henry Harrison
Max Fleischer
Rahul Dev Burman
Simon Cowell
Richard Gere
Paul Simon
James E. Reilly
Linda Cardellini
Program:
function: Find
inputs: Linda Cardellini
function: Find
inputs: Chuck Norris
function: FilterStr
dependencies: 1
inputs: name in native language
Chuck Norris
function: SelectBetween
dependencies: 0
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Linda Cardellini" . } UNION { ?e <pred:name> "Chuck Norris" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> "Chuck Norris" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Linda Cardellini