Question: Which one has less duration, Led Zeppelin (the one whose official website is http://discography.ledzeppelin.com/disc_lz1.html) or Peter Gabriel (the one that uses the language English)?
Choices:
Shakira
Friends
Led Zeppelin
Bedtime Stories
Illinois
The Beatles
Peter Gabriel
Neil Young
Metallica
David Bowie
Program:
function: Find
inputs: Led Zeppelin
function: FilterStr
dependencies: 0
inputs: official website
http://discography.ledzeppelin.com/disc_lz1.html
function: Find
inputs: English
function: Relate
dependencies: 2
inputs: language of work or name
backward
function: Find
inputs: Peter Gabriel
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Led Zeppelin" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://discography.ledzeppelin.com/disc_lz1.html" . } UNION { ?e <pred:name> "Peter Gabriel" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Led Zeppelin