Question: How many video game console models were followed by PlayStation 3 and are the platform of Transformers (whose genre is third-person shooter)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game console model" . ?e_1 <follows> ?e . ?e_1 <pred:name> "PlayStation 3" .  ?e_2 <platform> ?e . ?e_2 <pred:name> "Transformers" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "third-person shooter" .  }
Program:
function: Find
inputs: PlayStation 3
function: Relate
dependencies: 0
inputs: follows
forward
function: FilterConcept
dependencies: 1
inputs: video game console model
function: Find
inputs: third-person shooter
function: Relate
dependencies: 3
inputs: genre
backward
function: Find
inputs: Transformers
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: platform
forward
function: FilterConcept
dependencies: 7
inputs: video game console model
function: And
dependencies: 2
8
function: Count
dependencies: 9