Question: Who has more children, Michael Dobson (the one whose official website is http://michaelricharddobson.com) or Michael Kamen?
Choices:
Sylvester Stallone
Rahul Dev Burman
William Henry Harrison
Simon Cowell
Michael Kamen
Richard Gere
Michael Dobson
Max Fleischer
Paul Simon
James E. Reilly
Program:
function: Find
inputs: Michael Dobson
function: FilterStr
dependencies: 0
inputs: official website
http://michaelricharddobson.com
function: Find
inputs: Michael Kamen
function: SelectBetween
dependencies: 1
2
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Michael Dobson" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://michaelricharddobson.com" . } UNION { ?e <pred:name> "Michael Kamen" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Michael Dobson