Question: Whose net worth is lower: Tom Brady, of the official website www.tombrady.com, or Kate Moss?
Choices:
Kate Moss
Rahul Dev Burman
Paul Simon
Simon Cowell
David Byrne
James E. Reilly
Richard Gere
William Henry Harrison
Max Fleischer
Tom Brady
Program:
function: Find
inputs: Tom Brady
function: FilterStr
dependencies: 0
inputs: official website
http://www.tombrady.com/
function: Find
inputs: Kate Moss
function: SelectBetween
dependencies: 1
2
inputs: net worth
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tom Brady" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.tombrady.com/" . } UNION { ?e <pred:name> "Kate Moss" . } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kate Moss