Question: What is the number of infectious disease that has notable people Donald Sutherland (who was nominated for MTV movie award for best villain) or that got used for treatment of antibiotic
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> "Donald Sutherland" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "MTV Movie Award for Best Villain" .  } UNION { ?e <drug_used_for_treatment> ?e_1 . ?e_1 <pred:name> "antibiotic" .  } }
Program:
function: Find
inputs: MTV Movie Award for Best Villain
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Donald Sutherland
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: notable people with this condition
backward
function: FilterConcept
dependencies: 4
inputs: infectious disease
function: Find
inputs: antibiotic
function: Relate
dependencies: 6
inputs: drug used for treatment
backward
function: FilterConcept
dependencies: 7
inputs: infectious disease
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 2