Question: How many animes use the same language as Cary-Hiroyuki Tagawa?
Choices:
3
4
5
6
7
8
9
10
11
12
Program:
function: Find
inputs: Cary-Hiroyuki Tagawa
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
forward
function: FilterConcept
dependencies: 1
inputs: language
function: Relate
dependencies: 2
inputs: language of work or name
backward
function: FilterConcept
dependencies: 3
inputs: anime
function: Count
dependencies: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anime" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "language" . ?e_2 <languages_spoken,_written_or_signed> ?e_1 . ?e_2 <pred:name> "Cary-Hiroyuki Tagawa" .   }
Answer: 8