Question: How many disease are a kind of health specialty of psychotherapy or whose ICD-9 is 995.92?
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> "disease" .  { ?e <health_specialty> ?e_1 . ?e_1 <pred:name> "psychotherapy" .  } UNION { ?e <ICD-9> ?pv . ?pv <pred:value> "995.92" .  } }
Program:
function: Find
inputs: psychotherapy
function: Relate
dependencies: 0
inputs: health specialty
backward
function: FilterConcept
dependencies: 1
inputs: disease
function: FindAll
function: FilterStr
dependencies: 3
inputs: ICD-9
995.92
function: FilterConcept
dependencies: 4
inputs: disease
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 5