What is the {symptom} for {drug used for treatment} of {aspirin}
What are the types of symptoms that treat aspirin?
What kinds of symptoms does aspirin treat?
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:symptom . ?g property:drug_used_for_treatment resource:aspirin }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2176> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q18216> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q169872> } 
 select distinct ?sbj where { ?sbj wdt:P2176 wd:Q18216 . ?sbj wdt:P31 wd:Q169872 } 
tension headache