Question: Who is shorter: Scarlett Johansson, or Sting whose ISNI is 0000 0000 4519 6685?
Choices:
Max Fleischer
Scarlett Johansson
Sting
William Henry Harrison
Simon Cowell
Rahul Dev Burman
Richard Gere
Paul Simon
David Byrne
Sylvester Stallone
Program:
function: Find
inputs: Scarlett Johansson
function: Find
inputs: Sting
function: FilterStr
dependencies: 1
inputs: ISNI
0000 0000 4519 6685
function: SelectBetween
dependencies: 0
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Scarlett Johansson" . } UNION { ?e <pred:name> "Sting" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0000 4519 6685" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Scarlett Johansson