Question: What number of Massachusetts counties have the Brockton administrative division within them or are located within Massachusetts, which is pronounced on audio at En-us-Massachusetts.ogg?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Massachusetts" .  { ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Brockton" .  } UNION { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Massachusetts" . ?e_1 <pronunciation_audio> ?pv . ?pv <pred:value> "En-us-Massachusetts.ogg" .  } }
Program:
function: Find
inputs: Brockton
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: county of Massachusetts
function: Find
inputs: Massachusetts
function: FilterStr
dependencies: 3
inputs: pronunciation audio
En-us-Massachusetts.ogg
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 5
inputs: county of Massachusetts
function: Or
dependencies: 2
6
function: Count
dependencies: 7