What is the {medical condition treated} and the {pregnancy category} of {Doxycycline} ?
What is Doxycycline treating medically and what is its category of pregnancy?
What does Doxycycline medically treat and what is its pregnancy category?
SELECT ?v ?u WHERE { resource:doxycycline property:pregnancy_category ?u . resource:doxycycline property:medical_condition_treated ?v }
 SELECT ?ans_1 ?ans_2 WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q422442> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2175> . ?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/Q422442> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3489> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_2. } 
SELECT ?ans_1 ?ans_2 WHERE { wd:Q422442 wdt:P2175 ?ans_1 . wd:Q422442 wdt:P3489 ?ans_2 }
Australian pregnancy category D pneumonia US pregnancy category D pneumonia Australian pregnancy category D staphylococcal infection US pregnancy category D staphylococcal infection Australian pregnancy category D acne US pregnancy category D acne Australian pregnancy category D Anthrax US pregnancy category D Anthrax Australian pregnancy category D chlamydia infection US pregnancy category D chlamydia infection Australian pregnancy category D brucellosis US pregnancy category D brucellosis Australian pregnancy category D Q fever US pregnancy category D Q fever Australian pregnancy category D sinusitis US pregnancy category D sinusitis Australian pregnancy category D Lyme disease US pregnancy category D Lyme disease Australian pregnancy category D bubonic plague US pregnancy category D bubonic plague Australian pregnancy category D urinary tract infection US pregnancy category D urinary tract infection Australian pregnancy category D dermatitis US pregnancy category D dermatitis Australian pregnancy category D rickettsiosis US pregnancy category D rickettsiosis Australian pregnancy category D relapsing fever borreliosis US pregnancy category D relapsing fever borreliosis Australian pregnancy category D rosacea US pregnancy category D rosacea Australian pregnancy category D cellulitis US pregnancy category D cellulitis Australian pregnancy category D bacterial pneumonia US pregnancy category D bacterial pneumonia Australian pregnancy category D gram-negative bacterial infection US pregnancy category D gram-negative bacterial infection