Question: How many former French territories are an administrative division of the republic that is the country of origin of Moonraker, whose production company is United Artists?
Choices: 4
5
6
7
8
9
10
11
12
13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "republic" . ?e_2 <country_of_origin> ?e_1 . ?e_2 <pred:name> "Moonraker" . ?e_2 <production_company> ?e_3 . ?e_3 <pred:name> "United Artists" .   }
Program:
function: Find
inputs: United Artists
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Moonraker
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country of origin
forward
function: FilterConcept
dependencies: 4
inputs: republic
function: Relate
dependencies: 5
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 6
inputs: former French region
function: Count
dependencies: 7
Answer: 11