Question: What is the number of subscribers to the washingtondc subreddit, which represents the U.S. city that is John Quincy Adams' working location, Adams being the one who passed on in Washington, DC?
Choices:
21593
137510
6643
58963
348060
1621397
13564601
247
59485
276146
Answer: 58963
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <work_location> ?e . ?e_1 <pred:name> "John Quincy Adams" . ?e_1 <place_of_death> ?e_2 . ?e_2 <pred:name> "Washington, D.C." .  ?e <subreddit> ?pv . ?pv <pred:value> "washingtondc" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: John Quincy Adams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: work location
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: QueryAttrQualifier
dependencies: 5
inputs: subreddit
washingtondc
number of subscribers