Question: The organization that publishes The Golden Compass, published by Sega, has how many operating areas in different regions of Italy?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of Italy" . ?e_1 <operating_area> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "organization" . ?e_2 <publisher> ?e_1 . ?e_2 <pred:name> "The Golden Compass" . ?e_2 <publisher> ?e_3 . ?e_3 <pred:name> "Sega" .   }
Program:
function: Find
inputs: Sega
function: Relate
dependencies: 0
inputs: publisher
backward
function: Find
inputs: The Golden Compass
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: publisher
forward
function: FilterConcept
dependencies: 4
inputs: organization
function: Relate
dependencies: 5
inputs: operating area
forward
function: FilterConcept
dependencies: 6
inputs: region of Italy
function: Count
dependencies: 7