Question: How many Maine counties are located in the United States state that has a subscription number of 14863 under the subreddit Maine?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maine" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of the United States" . ?e_1 <subreddit> ?pv . ?pv <pred:value> "Maine" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "14863"^^xsd:double .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subreddit
Maine
function: QFilterNum
dependencies: 1
inputs: number of subscribers
14863
=
function: FilterConcept
dependencies: 2
inputs: state of the United States
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: county of Maine
function: Count
dependencies: 5