Question: Who weighs less, Marilyn Monroe (the one whose ISNI is 0000 0003 6863 9110) or Stephen King (the one that is related to sport association football)?
Choices:
Marilyn Monroe
William Henry Harrison
Rahul Dev Burman
Paul Simon
David Byrne
Richard Gere
Simon Cowell
Sylvester Stallone
Max Fleischer
Stephen King
Answer: Marilyn Monroe
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Marilyn Monroe" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0003 6863 9110" . } UNION { ?e <pred:name> "Stephen King" . ?e <sport> ?e_1 . ?e_1 <pred:name> "association football" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Marilyn Monroe
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0003 6863 9110
function: Find
inputs: association football
function: Relate
dependencies: 2
inputs: sport
backward
function: Find
inputs: Stephen King
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
less