Question: How many video games are in the entertainment genre of American Idol, the music video game?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: music video game
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: American Idol
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: entertainment
function: Relate
dependencies: 5
inputs: genre
backward
function: FilterConcept
dependencies: 6
inputs: video game
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game" . ?e <genre> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "entertainment" . ?e_2 <genre> ?e_1 . ?e_2 <pred:name> "American Idol" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "music video game" .   }
Answer: 7