Question: How many diseases caused the disease that has John Irving among its notable people (the one whose name in native language is John Irving)?
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 <contributing_factor_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "disease" . ?e_1 <notable_people_with_this_condition> ?e_2 . ?e_2 <pred:name> "John Irving" . ?e_2 <name_in_native_language> ?pv . ?pv <pred:value> "John Irving" .   }
Program:
function: Find
inputs: John Irving
function: FilterStr
dependencies: 0
inputs: name in native language
John Irving
function: Relate
dependencies: 1
inputs: notable people with this condition
backward
function: FilterConcept
dependencies: 2
inputs: disease
function: Relate
dependencies: 3
inputs: contributing factor of
backward
function: FilterConcept
dependencies: 4
inputs: disease
function: Count
dependencies: 5
Answer: 0