Question: How many academic disciplines are a performer of the soundtrack album of Star Wars Episode IV: A New Hope (whose release region is Japan)?
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> "academic discipline" . ?e_1 <performer> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "soundtrack album" . ?e_3 <soundtrack_album> ?e_1 . ?e_3 <pred:name> "Star Wars Episode IV: A New Hope" . ?e_3 <film_release_region> ?e_4 . ?e_4 <pred:name> "Japan" .   }
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Star Wars Episode IV: A New Hope
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: soundtrack album
forward
function: FilterConcept
dependencies: 4
inputs: soundtrack album
function: Relate
dependencies: 5
inputs: performer
forward
function: FilterConcept
dependencies: 6
inputs: academic discipline
function: Count
dependencies: 7