What is the {symptoms} and the {drug used for treatment} of {Gastroenteritis} ?
What are the symptoms and medications used for Gastroenteritis?
What are the symptoms and drug used for treatment of Gastroenteritis?
SELECT ?b ?p WHERE { resource:gastroenteritis property:symptoms ?b . resource:gastroenteritis property:drug_used_for_treatment ?p }
 SELECT ?ans_1 ?ans_2 WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q156103> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P780> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_1. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q156103> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2176> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_2. } 
SELECT ?ans_1 ?ans_2 WHERE { wd:Q156103 wdt:P780 ?ans_1 . wd:Q156103 wdt:P2176 ?ans_2 }
ibuprofen fever erythromycin fever ciprofloxacin fever ondansetron fever ibuprofen diarrhea erythromycin diarrhea ciprofloxacin diarrhea ondansetron diarrhea ibuprofen vomiting erythromycin vomiting ciprofloxacin vomiting ondansetron vomiting ibuprofen abdominal pain erythromycin abdominal pain ciprofloxacin abdominal pain ondansetron abdominal pain ibuprofen Nausea erythromycin Nausea ciprofloxacin Nausea ondansetron Nausea ibuprofen dehydration erythromycin dehydration ciprofloxacin dehydration ondansetron dehydration ibuprofen heartburn erythromycin heartburn ciprofloxacin heartburn ondansetron heartburn ibuprofen spasm erythromycin spasm ciprofloxacin spasm ondansetron spasm ibuprofen abdominal cramps erythromycin abdominal cramps ciprofloxacin abdominal cramps ondansetron abdominal cramps