Question: How many independent record labels belong to a voice actor of TTransformers: Revenge of the Fallen (the one that origins from United States of America) (the character role of this statement is Arcee) ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent record label" . ?e_1 <record_label> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <voice_actor> ?e_1 . ?e_2 <pred:name> "Transformers: Revenge of the Fallen" . ?e_2 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_1 ] <character_role> ?qpv . ?qpv <pred:value> "Arcee" .   }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Transformers: Revenge of the Fallen
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: voice actor
forward
function: QFilterStr
dependencies: 4
inputs: character role
Arcee
function: FilterConcept
dependencies: 5
inputs: human
function: Relate
dependencies: 6
inputs: record label
forward
function: FilterConcept
dependencies: 7
inputs: independent record label
function: Count
dependencies: 8