Question: What are the number of feature films whose publication date is before 2010 and that derives Pirates of the Caribbean: At World's End (the one that is released for PlayStation 3) ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2010
<
function: FilterConcept
dependencies: 1
inputs: feature film
function: Find
inputs: PlayStation 3
function: Relate
dependencies: 3
inputs: platform
backward
function: Find
inputs: Pirates of the Caribbean: At World's End
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: derivative work
backward
function: FilterConcept
dependencies: 7
inputs: feature film
function: And
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2010 ) . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Pirates of the Caribbean: At World's End" . ?e_1 <platform> ?e_2 . ?e_2 <pred:name> "PlayStation 3" .  }
Answer: 1