Question: Which one, Merlin (the one whose official website is http://www.bbc.co.uk/merlin/) or The Pacific, has fewer number of seasons?
Choices:
The Diary of Anne Frank
Battlestar Galactica
The Stand
Roots
George Washington
The Civil War
Emma
The Ten Commandments
Merlin
The Pacific
Program:
function: Find
inputs: Merlin
function: FilterStr
dependencies: 0
inputs: official website
http://www.bbc.co.uk/merlin/
function: Find
inputs: The Pacific
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Merlin" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.bbc.co.uk/merlin/" . } UNION { ?e <pred:name> "The Pacific" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Pacific