Question: What is the number of infectious diseases whose DiseasesDB identifier is 14203 or minimal incubation period in humans is not 3.1 days?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "infectious disease" .  { ?e <DiseasesDB> ?pv . ?pv <pred:value> "14203" .  } UNION { ?e <minimal_incubation_period_in_humans> ?pv . ?pv <pred:unit> "day" . ?pv <pred:value> ?v . FILTER ( ?v != "3.1"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: DiseasesDB
14203
function: FilterConcept
dependencies: 1
inputs: infectious disease
function: FindAll
function: FilterNum
dependencies: 3
inputs: minimal incubation period in humans
3.1 day
!=
function: FilterConcept
dependencies: 4
inputs: infectious disease
function: Or
dependencies: 2
5
function: Count
dependencies: 6