Question: How many independent record labels are headquartered in Nashville of the US, or, their name in kana is ニンジャ・チューン ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in kana
ニンジャ・チューン
function: FilterConcept
dependencies: 1
inputs: independent record label
function: Find
inputs: United States of America
function: Relate
dependencies: 3
inputs: country
backward
function: Find
inputs: Nashville
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: headquarters location
backward
function: FilterConcept
dependencies: 7
inputs: independent record label
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent record label" .  { ?e <name_in_kana> ?pv . ?pv <pred:value> "ニンジャ・チューン" .  } UNION { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Nashville" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "United States of America" .  } }
Answer: 2