Question: Is the Dewey Decimal Classification 2--74788 for the county of New York that has the capital Rochester (the one whose population is 208123)?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New York" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Rochester" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "208123"^^xsd:double . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--74788" .  }
Program:
function: Find
inputs: Rochester
function: FilterNum
dependencies: 0
inputs: population
208123
=
function: Relate
dependencies: 1
inputs: capital
backward
function: FilterConcept
dependencies: 2
inputs: county of New York
function: QueryAttr
dependencies: 3
inputs: Dewey Decimal Classification
function: VerifyStr
dependencies: 4
inputs: 2--74788
Answer: yes