Question: What number of video games inspired Silent Hill (the one that has Sean Bean as a cast member)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Sean Bean
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Silent Hill
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: video game
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "Silent Hill" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Sean Bean" .   }
Answer: 1