Question: How many film series are about Sonic the Hedgehog (the one that is released for PlayStation 2)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: PlayStation 2
function: Relate
dependencies: 0
inputs: platform
backward
function: Find
inputs: Sonic the Hedgehog
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: present in work
backward
function: FilterConcept
dependencies: 4
inputs: fictional human
function: Relate
dependencies: 5
inputs: named after
backward
function: FilterConcept
dependencies: 6
inputs: film series
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film series" . ?e <named_after> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "fictional human" . ?e_1 <present_in_work> ?e_2 . ?e_2 <pred:name> "Sonic the Hedgehog" . ?e_2 <platform> ?e_3 . ?e_3 <pred:name> "PlayStation 2" .   }
Answer: 0