Question: How many television-series episodes have a director equal to the person who is the director of P.S. I Love You (the one whose publication date is 2013-02-04)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: P.S. I Love You
function: FilterDate
dependencies: 0
inputs: publication date
2013-02-04
=
function: Relate
dependencies: 1
inputs: director
forward
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: director
backward
function: FilterConcept
dependencies: 4
inputs: television series episode
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series episode" . ?e <director> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <director> ?e_1 . ?e_2 <pred:name> "P.S. I Love You" . ?e_2 <publication_date> ?pv . ?pv <pred:date> "2013-02-04"^^xsd:date .   }
Answer: 3