Question: What does Prince of Persia: The Sands of Time (whose publication date is 2010-05-09) have to do with Prince of Persia: The Sands of Time (publication date is 2003-11-06)?
Choices:
airline hub
place of burial
practiced by
production company
captain
language of work or name
illustrator
doctoral advisor
takes place in fictional universe
named after
Answer: named after
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Prince of Persia: The Sands of Time" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2010-05-09"^^xsd:date . ?e_2 <pred:name> "Prince of Persia: The Sands of Time" . ?e_2 <publication_date> ?pv_1 . ?pv_1 <pred:date> "2003-11-06"^^xsd:date . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Prince of Persia: The Sands of Time
function: FilterDate
dependencies: 0
inputs: publication date
2010-05-09
=
function: Find
inputs: Prince of Persia: The Sands of Time
function: FilterDate
dependencies: 2
inputs: publication date
2003-11-06
=
function: QueryRelation
dependencies: 1
3