Question: Was the association football club, headquartered in Shanghai (the one whose Dewey Decimal Classification is 2--51132) established before 1849 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Shanghai" . ?e_1 <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--51132" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1849 ) .  }
Program:
function: Find
inputs: Shanghai
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--51132
function: Relate
dependencies: 1
inputs: headquarters location
backward
function: FilterConcept
dependencies: 2
inputs: association football club
function: QueryAttr
dependencies: 3
inputs: inception
function: VerifyYear
dependencies: 4
inputs: 1849
<