Question: How many provinces of China have Sherbrooke as a part or are an administrative division of the People's Republic of China?
Choices:
12
13
14
15
16
17
18
19
20
21
Program:
function: Find
inputs: Sherbrooke
function: Relate
dependencies: 0
inputs: part of
forward
function: FilterConcept
dependencies: 1
inputs: province of China
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: province of China
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of China" .  { ?e_1 <part_of> ?e . ?e_1 <pred:name> "Sherbrooke" .  } UNION { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "People's Republic of China" .  } }
Answer: 15