Question: What is the postal code for a city in the US whose subreddit is ypsi ypsi (the subscription number of this statement is 1134) ?
Choices:
15601, 15605, 15606
21402-5000
87190
87114
70499
25000
06842
48197–48198
20161
18104
Answer: 48197–48198
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> "ypsi" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "1134"^^xsd:double . ?e <postal_code> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subreddit
ypsi
function: QFilterNum
dependencies: 1
inputs: number of subscribers
1134
=
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttr
dependencies: 3
inputs: postal code