Question: What is the number of subsidiary companies belonging to the production company of Resident Evil, a title which had a release region of South Africa?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "subsidiary company" . ?e <owner_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "agent" . ?e_2 <production_company> ?e_1 . ?e_2 <pred:name> "Resident Evil" . ?e_2 <film_release_region> ?e_3 . ?e_3 <pred:name> "South Africa" .   }
Program:
function: Find
inputs: South Africa
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Resident Evil
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: production company
forward
function: FilterConcept
dependencies: 4
inputs: agent
function: Relate
dependencies: 5
inputs: owner of
backward
function: FilterConcept
dependencies: 6
inputs: subsidiary company
function: Count
dependencies: 7
Answer: 1