Question: How many animes have a genre of alternate history or were originally in the Japanese language?
Choices:
3
4
5
6
7
8
9
10
11
12
Program:
function: Find
inputs: alternate history
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: anime
function: Find
inputs: Japanese
function: Relate
dependencies: 3
inputs: original language of film or TV show
backward
function: FilterConcept
dependencies: 4
inputs: anime
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anime" .  { ?e <genre> ?e_1 . ?e_1 <pred:name> "alternate history" .  } UNION { ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Japanese" .  } }
Answer: 9