Question: Were there other than 790000 cases in Costa Rica of the disease indicated by MeSH Code C03.752.530?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "disease" . ?e <MeSH_Code> ?pv_1 . ?pv_1 <pred:value> "C03.752.530" . ?e <number_of_cases> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "790000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_cases> ; <pred:fact_t> ?pv ] <country> ?qpv . ?qpv <pred:value> "Costa Rica" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: MeSH Code
C03.752.530
function: FilterConcept
dependencies: 1
inputs: disease
function: QueryAttrUnderCondition
dependencies: 2
inputs: number of cases
country
Costa Rica
function: VerifyNum
dependencies: 3
inputs: 790000
!=