Question: Who weighs more, Jackie Robinson, whose ISNI is 0000 0000 8137 088X, or Mark Johnson, who weighs 105 kilograms?
Choices:
Rahul Dev Burman
Max Fleischer
David Byrne
Jackie Robinson
Richard Gere
Simon Cowell
Sylvester Stallone
Paul Simon
Mark Johnson
James E. Reilly
Program:
function: Find
inputs: Jackie Robinson
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0000 8137 088X
function: Find
inputs: Mark Johnson
function: FilterNum
dependencies: 2
inputs: mass
105 kilogram
=
function: SelectBetween
dependencies: 1
3
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jackie Robinson" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0000 8137 088X" . } UNION { ?e <pred:name> "Mark Johnson" . ?e <mass> ?pv_2 . ?pv_2 <pred:unit> "kilogram" . ?pv_2 <pred:value> "105"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mark Johnson