What is the {symptoms} and the {drug used for treatment} of {Migraine} ?
When you use a medication to treat migraines, what are the symptoms?
What is the symptoms of the drug used for treatment of Migraine ?
SELECT ?d ?r WHERE { resource:migraine_disorder property:drug_used_for_treatment ?r . resource:migraine_disorder property:symptoms ?d }
 SELECT ?ans_1 ?ans_2 WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q133823> . ?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/Q133823> . ?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:Q133823 wdt:P780 ?ans_1 . wd:Q133823 wdt:P2176 ?ans_2 }
headache paracetamol vomiting paracetamol Nausea paracetamol burping paracetamol photophobia paracetamol headache amitriptyline vomiting amitriptyline Nausea amitriptyline burping amitriptyline photophobia amitriptyline headache ibuprofen vomiting ibuprofen Nausea ibuprofen burping ibuprofen photophobia ibuprofen headache rizatriptan vomiting rizatriptan Nausea rizatriptan burping rizatriptan photophobia rizatriptan headache zolmitriptan vomiting zolmitriptan Nausea zolmitriptan burping zolmitriptan photophobia zolmitriptan headache zonisamide vomiting zonisamide Nausea zonisamide burping zonisamide photophobia zonisamide headache topiramate vomiting topiramate Nausea topiramate burping topiramate photophobia topiramate headache diclofenac vomiting diclofenac Nausea diclofenac burping diclofenac photophobia diclofenac headache fentanyl vomiting fentanyl Nausea fentanyl burping fentanyl photophobia fentanyl headache buprenorphine vomiting buprenorphine Nausea buprenorphine burping buprenorphine photophobia buprenorphine headache almotriptan vomiting almotriptan Nausea almotriptan burping almotriptan photophobia almotriptan headache lamotrigine vomiting lamotrigine Nausea lamotrigine burping lamotrigine photophobia lamotrigine headache gabapentin vomiting gabapentin Nausea gabapentin burping gabapentin photophobia gabapentin headache duloxetine vomiting duloxetine Nausea duloxetine burping duloxetine photophobia duloxetine headache pregabalin vomiting pregabalin Nausea pregabalin burping pregabalin photophobia pregabalin headache eletriptan vomiting eletriptan Nausea eletriptan burping eletriptan photophobia eletriptan headache sumatriptan vomiting sumatriptan Nausea sumatriptan burping sumatriptan photophobia sumatriptan headache ergotamine vomiting ergotamine Nausea ergotamine burping ergotamine photophobia ergotamine headache naratriptan vomiting naratriptan Nausea naratriptan burping naratriptan photophobia naratriptan headache dihydroergotamine vomiting dihydroergotamine Nausea dihydroergotamine burping dihydroergotamine photophobia dihydroergotamine headache propranolol vomiting propranolol Nausea propranolol burping propranolol photophobia propranolol headache triptan vomiting triptan Nausea triptan burping triptan photophobia triptan headache venlafaxine vomiting venlafaxine Nausea venlafaxine burping venlafaxine photophobia venlafaxine headache butorphanol vomiting butorphanol Nausea butorphanol burping butorphanol photophobia butorphanol headache naproxen vomiting naproxen Nausea naproxen burping naproxen photophobia naproxen headache ketorolac vomiting ketorolac Nausea ketorolac burping ketorolac photophobia ketorolac headache botulinum toxin type A vomiting botulinum toxin type A Nausea botulinum toxin type A burping botulinum toxin type A photophobia botulinum toxin type A headache clonixin vomiting clonixin Nausea clonixin burping clonixin photophobia clonixin