Question: Who is shorter, Kaley Cuoco or Chuck Norris (the one whose Libris-URI is hftx4141548jzf7)?
Choices:
Richard Gere
Chuck Norris
David Byrne
Sylvester Stallone
Paul Simon
Kaley Cuoco
Rahul Dev Burman
James E. Reilly
Max Fleischer
William Henry Harrison
Program:
function: Find
inputs: Kaley Cuoco
function: Find
inputs: Chuck Norris
function: FilterStr
dependencies: 1
inputs: Libris-URI
hftx4141548jzf7
function: SelectBetween
dependencies: 0
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kaley Cuoco" . } UNION { ?e <pred:name> "Chuck Norris" . ?e <Libris-URI> ?pv_1 . ?pv_1 <pred:value> "hftx4141548jzf7" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kaley Cuoco