Question: How many diseases are a kind of health specialty of the academic discipline that includes the health specialty classic autism?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 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:instance_of> ?c_1 . ?c_1 <pred:name> "academic discipline" . ?e_2 <health_specialty> ?e_1 . ?e_2 <pred:name> "classic autism" .   }
Program:
function: Find
inputs: classic autism
function: Relate
dependencies: 0
inputs: health specialty
forward
function: FilterConcept
dependencies: 1
inputs: academic discipline
function: Relate
dependencies: 2
inputs: health specialty
backward
function: FilterConcept
dependencies: 3
inputs: disease
function: Count
dependencies: 4