Question: Which has a lower mass, Brian Jones, who is 73 inches in height, or Tom Brady, with the Instagram username tombrady?
Choices:
Simon Cowell
Sylvester Stallone
Max Fleischer
David Byrne
Rahul Dev Burman
Richard Gere
Tom Brady
Brian Jones
Paul Simon
William Henry Harrison
Program:
function: Find
inputs: Brian Jones
function: FilterNum
dependencies: 0
inputs: height
73 inch
=
function: Find
inputs: Tom Brady
function: FilterStr
dependencies: 2
inputs: Instagram username
tombrady
function: SelectBetween
dependencies: 1
3
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brian Jones" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "inch" . ?pv_1 <pred:value> "73"^^xsd:double . } UNION { ?e <pred:name> "Tom Brady" . ?e <Instagram_username> ?pv_2 . ?pv_2 <pred:value> "tombrady" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tom Brady