Question: How many infectious diseases are famously suffered by Alan Alda or correspond to ICD-9 code 770.0?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "infectious disease" .  { ?e <notable_people_with_this_condition> ?e_1 . ?e_1 <pred:name> "Alan Alda" .  } UNION { ?e <ICD-9> ?pv . ?pv <pred:value> "770.0" .  } }
Program:
function: Find
inputs: Alan Alda
function: Relate
dependencies: 0
inputs: notable people with this condition
backward
function: FilterConcept
dependencies: 1
inputs: infectious disease
function: FindAll
function: FilterStr
dependencies: 3
inputs: ICD-9
770.0
function: FilterConcept
dependencies: 4
inputs: infectious disease
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2