Question: What medication is used to treat pneumonia?
Choices:
copper
University of Notre Dame
Resident Evil
Cyprus
analgesic
antibiotic
Kingdom of Scotland
over-the-counter drug
prescription drug
iron
Program:
function: Find
inputs: pneumonia
function: Relate
dependencies: 0
inputs: drug used for treatment
forward
function: FilterConcept
dependencies: 1
inputs: medication
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medication" . ?e_1 <drug_used_for_treatment> ?e . ?e_1 <pred:name> "pneumonia" .   }
Answer: antibiotic