Question: How many subscribers have the subreddit glendale that belongs to the city of the United States that is the birthplace of David Brin (in California)?
Choices:
1177707
508805
7705278
22641
2264899
27858
1826785
779
1251
397
Answer: 779
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "David Brin" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e ] <located_in_the_administrative_territorial_entity> ?qpv_1 . ?qpv_1 <pred:value> "California" . ?e <subreddit> ?pv . ?pv <pred:value> "glendale" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: David Brin
function: Relate
dependencies: 0
inputs: place of birth
forward
function: QFilterStr
dependencies: 1
inputs: located in the administrative territorial entity
California
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttrQualifier
dependencies: 3
inputs: subreddit
glendale
number of subscribers