Simple Question (Direct)
Simple Question
Q1196300
P509
Q2057971
USER
What was the cause of death of Tsunesaburō Makiguchi ?
(Q1196300,P509,c(Q2057971))
action filter_type
action find
entity Q1196300
relation P509
type Q2057971
['Q1196300', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { resource:Q1196300 property:P509 ?f . ?f rdf:type ontology:Q2057971 }
Tsunesaburō Makiguchi
action filter_type
action find
entity Tsunesaburō Makiguchi
relation cause of death
type health problem
['Tsunesaburō Makiguchi', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { resource:Tsunesaburō_Makiguchi property:cause_of_death ?f . ?f rdf:type ontology:health_problem }
[]
health problem
Q12167
SYSTEM
malnutrition
Q12167
(Q1196300,P509,c(Q2057971))
action filter_type
action find
entity Q1196300
relation P509
type Q2057971
The cause of death of Tsunesaburō Makiguchi was a [ANSWER]
['Q1196300', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { resource:Q1196300 property:P509 ?f . ?f rdf:type ontology:Q2057971 }
malnutrition
The cause of death of Tsunesaburō Makiguchi was a malnutrition
malnutrition
action filter_type
action find
entity Tsunesaburō Makiguchi
relation cause of death
type health problem
['Tsunesaburō Makiguchi', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { resource:Tsunesaburō_Makiguchi property:cause_of_death ?f . ?f rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1196300
P112
Q163740
USER
Which nonprofit organization was founded by Tsunesaburō Makiguchi ?
(c(Q163740),P112,Q1196300)
action filter_type
action find_reverse
entity Q1196300
relation P112
type Q163740
[{'concept': 'Q163740'}, 'P112', 'Q1196300']
SELECT DISTINCT ?x WHERE { ?x property:P112 resource:Q1196300 . ?x rdf:type ontology:Q163740 }
Tsunesaburō Makiguchi
action filter_type
action find_reverse
entity Tsunesaburō Makiguchi
relation founder
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'founder', 'Tsunesaburō Makiguchi']
SELECT DISTINCT ?x WHERE { ?x property:founder resource:Tsunesaburō_Makiguchi . ?x rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q617717
SYSTEM
Soka Gakkai
Q617717
(c(Q163740),P112,Q1196300)
action filter_type
action find_reverse
entity Q1196300
relation P112
type Q163740
[ANSWER] was founded by Tsunesaburō Makiguchi
[{'concept': 'Q163740'}, 'P112', 'Q1196300']
SELECT DISTINCT ?x WHERE { ?x property:P112 resource:Q1196300 . ?x rdf:type ontology:Q163740 }
Soka Gakkai
Soka Gakkai was founded by Tsunesaburō Makiguchi
Soka Gakkai
action filter_type
action find_reverse
entity Tsunesaburō Makiguchi
relation founder
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'founder', 'Tsunesaburō Makiguchi']
SELECT DISTINCT ?x WHERE { ?x property:founder resource:Tsunesaburō_Makiguchi . ?x rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12167
P828
Q2057971
USER
What is the result of having malnutrition ?
(c(Q2057971),P828,Q12167)
action filter_type
action find_reverse
entity Q12167
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', 'Q12167']
SELECT DISTINCT ?w WHERE { ?w property:P828 resource:Q12167 . ?w rdf:type ontology:Q2057971 }
malnutrition
action filter_type
action find_reverse
entity malnutrition
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'malnutrition']
SELECT DISTINCT ?w WHERE { ?w property:has_cause resource:malnutrition . ?w rdf:type ontology:health_problem }
[]
health problem
Q1890194
SYSTEM
nutritional deficiency disease
Q1890194
(c(Q2057971),P828,Q12167)
action filter_type
action find_reverse
entity Q12167
relation P828
type Q2057971
The result of having malnutrition is called [ANSWER]
[{'concept': 'Q2057971'}, 'P828', 'Q12167']
SELECT DISTINCT ?w WHERE { ?w property:P828 resource:Q12167 . ?w rdf:type ontology:Q2057971 }
nutritional deficiency disease
The result of having malnutrition is called nutritional deficiency disease
nutritional deficiency disease
action filter_type
action find_reverse
entity malnutrition
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'malnutrition']
SELECT DISTINCT ?w WHERE { ?w property:has_cause resource:malnutrition . ?w rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12167
P1995
Q1047113
USER
Which special field does malnutrition specializes in ?
(Q12167,P1995,c(Q1047113))
action filter_type
action find
entity Q12167
relation P1995
type Q1047113
['Q12167', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?n WHERE { resource:Q12167 property:P1995 ?n . ?n rdf:type ontology:Q1047113 }
malnutrition
action filter_type
action find
entity malnutrition
relation medical specialty
type special field
['malnutrition', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?n WHERE { resource:malnutrition property:medical_specialty ?n . ?n rdf:type ontology:special_field }
[]
special field
Q162606
SYSTEM
endocrinology
Q162606
(Q12167,P1995,c(Q1047113))
action filter_type
action find
entity Q12167
relation P1995
type Q1047113
Malnutrition specializes in [ANSWER]
['Q12167', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?n WHERE { resource:Q12167 property:P1995 ?n . ?n rdf:type ontology:Q1047113 }
endocrinology
Malnutrition specializes in endocrinology
endocrinology
action filter_type
action find
entity malnutrition
relation medical specialty
type special field
['malnutrition', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?n WHERE { resource:malnutrition property:medical_specialty ?n . ?n rdf:type ontology:special_field }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1200239
Q1047113
USER
And how about dermatofibrosarcoma protuberans?
(Q1200239,P1995,c(Q1047113))
action filter_type
action find
entity Q1200239
relation P1995
type Q1047113
['Q1200239', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?i WHERE { resource:Q1200239 property:P1995 ?i . ?i rdf:type ontology:Q1047113 }
dermatofibrosarcoma protuberans
action filter_type
action find
entity dermatofibrosarcoma protuberans
relation medical specialty
type special field
['dermatofibrosarcoma protuberans', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?i WHERE { resource:dermatofibrosarcoma_protuberans property:medical_specialty ?i . ?i rdf:type ontology:special_field }
[]
special field
Q162555
SYSTEM
oncology
Q162555
(Q1200239,P1995,c(Q1047113))
action filter_type
action find
entity Q1200239
relation P1995
type Q1047113
[ANSWER]
['Q1200239', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?i WHERE { resource:Q1200239 property:P1995 ?i . ?i rdf:type ontology:Q1047113 }
oncology
oncology
action filter_type
action find
entity dermatofibrosarcoma protuberans
relation medical specialty
type special field
['dermatofibrosarcoma protuberans', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?i WHERE { resource:dermatofibrosarcoma_protuberans property:medical_specialty ?i . ?i rdf:type ontology:special_field }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q1047113 Q43229
USER
How many special fields do approximately the same number of organizations belong to as that special field ?
(c(Q43229),P101,c(Q1047113))
action count
action approx
action find_reverse_tuple_counts
relation P101
type Q1047113
type Q43229
action count
action filter_type
action find
entity Q162555
relation P101
type Q1047113
[{'concept': 'Q43229'}, 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q162555 property:P101 ?v . ?v rdf:type ontology:Q1047113 } } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:P101 ?g . ?i rdf:type ontology:Q43229 . ?g rdf:type ontology:Q1047113 } GROUP BY ?g } }
action count
action approx
action find_reverse_tuple_counts
relation field of work
type special field
type organization
action count
action filter_type
action find
entity oncology
relation field of work
type special field
[{'concept': 'organization'}, 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:oncology property:field_of_work ?v . ?v rdf:type ontology:special_field } } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:field_of_work ?g . ?i rdf:type ontology:organization . ?g rdf:type ontology:special_field } GROUP BY ?g } }
[]
special field organization
SYSTEM
154
Q26237583 Q2964004 Q121713 Q794605 Q1365243 Q499500 Q128406 Q21198 Q5891 Q7208 Q60195 Q182442 Q180502 Q583336 Q189329 Q7218 Q103824 Q1071 Q7215 Q788926 Q1333872 Q216685 Q2002157 Q384001 Q211500 Q837863 Q1773974 Q81009 Q598976 Q105650 Q327092 Q208217 Q683455 Q7754 Q2374463 Q177635 Q83042 Q376680 Q26237769 Q454812 Q40821 Q1660187 Q162555 Q411 Q631286 Q77604 Q6216 Q80006 Q739465 Q182468 Q864601 Q861689 Q7922 Q189553 Q213891 Q134435 Q7867 Q271707 Q120569 Q11351 Q213403 Q80015 Q745328 Q2445082 Q47417 Q160039 Q1569011 Q647525 Q207434 Q2442870 Q34178 Q173113 Q10379 Q435608 Q6497044 Q170978 Q4917288 Q2861470 Q840545 Q1461602 Q4260703 Q161437 Q2740627 Q1489271 Q171171 Q1066186 Q201486 Q80083 Q501778 Q102904 Q145903 Q7782365 Q1456948 Q898674 Q460162 Q1774688 Q9053037 Q5654877 Q461659 Q351870 Q33521 Q441 Q1221899 Q188449 Q17397651 Q5284418 Q382995 Q131089 Q2043282 Q28797 Q162606 Q10384 Q28793 Q10609775 Q11180 Q603441 Q459381 Q35395 Q502159 Q126552 Q27133094 Q165650 Q4356367 Q852732 Q1071953 Q81058 Q1430622 Q21583222 Q599991 Q207011 Q14565201 Q235007 Q11397 Q23498 Q26331146 Q12128 Q3110778 Q164204 Q489119 Q170201 Q504033 Q39645 Q141495 Q1371704 Q23404 Q428691 Q1045712 Q15218776 Q77590 Q52106 Q2143884 Q1741922 Q243748 Q1038158
(c(Q43229),P101,c(Q1047113))
action count
action approx
action find_reverse_tuple_counts
relation P101
type Q1047113
type Q43229
action count
action filter_type
action find
entity Q162555
relation P101
type Q1047113
[ANSWER]
[{'concept': 'Q43229'}, 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q162555 property:P101 ?v . ?v rdf:type ontology:Q1047113 } } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:P101 ?g . ?i rdf:type ontology:Q43229 . ?g rdf:type ontology:Q1047113 } GROUP BY ?g } }
ethnopolitics thoracic surgery acupuncture biblical studies tropical medicine clinical pathology pharmacology computer science philosophy pathology semiotics plastic surgery parasitology research on Antisemitism liberal arts education toxicology hematology geography virology Infectious disease combinatorial optimization orthopedics family therapy historical geography pneumatics pure mathematics preventive medicine rhetoric medical microbiology urology biomedical engineering literary science anatomical pathology mathematical analysis data science nephrology neurology traumatology pediatric neurology forensic medicine surgery film studies oncology astrobiology numismatics radiology liberalism computer programming study of the Hebrew language hydrography biomedicine Education economics pedagogy otolaryngology geochronology topography psychiatry rheology gastroenterology organic chemistry naturopathy Obstetrics gynecology mathematical statistics Science, technology and society international economics econometrics Urban history behavioral economics human–computer interaction lepidopterology theology agronomy cardiology Ancient History history of literature robotics control engineering emergency medicine sports medicine computer-supported cooperative work railway engineering ophthalmology heliophysics eloquence dermatology science of history history of science humanities translation studies volcanology egyptology Theoretical ecology geobotany neonatology museology clinical pharmacology spatial planning International studies sociology of religion reproductive medicine applied mathematics botany gynaecology neurosurgery supersonic aerodynamics obstetrics legal science geodesy business administration applied science endocrinology geriatrics film theory information visualization internal medicine bibliometrics literary theory phonetics serology business informatics vaccine development media studies Philosophical theology proof theory medical genetics homeopathy space medicine rabbinic studies zoogeography neuroscience altmetrics cardiac surgery classical mechanics archaeology Serbo-Croatian studies dentistry thracology musicology Hellenic studies veterinary medicine oral and maxillofacial surgery semantics mathematical optimization etruscology anthropology computer engineering neuroeconomics orthopedic surgery civil engineering biogeography Social medicine pediatric urology bacteriology homiletics
154
action count
action approx
action find_reverse_tuple_counts
relation field of work
type special field
type organization
action count
action filter_type
action find
entity oncology
relation field of work
type special field
[{'concept': 'organization'}, 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:oncology property:field_of_work ?v . ?v rdf:type ontology:special_field } } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:field_of_work ?g . ?i rdf:type ontology:organization . ?g rdf:type ontology:special_field } GROUP BY ?g } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P780
Q2057971 Q2057971 Q12136
USER
Which health problems are a sign of min number of health problems and diseases ?
(c(Q2057971)|c(Q12136),P780,c(Q2057971))
action argmin
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
[[{'concept': 'Q2057971'}, {'concept': 'Q12136'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?q WHERE { { ?i property:P780 ?q . ?q rdf:type ontology:Q2057971 . ?i rdf:type ontology:Q2057971 } UNION { ?q rdf:type ontology:Q2057971 . ?i rdf:type ontology:Q12136 . ?i property:P780 ?q } } GROUP BY ?q } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?k WHERE { VALUES ( ?e ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } . ?t rdf:type ?e } GROUP BY ?k } . FILTER ( ?f = ?p ) }
action argmin
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
[[{'concept': 'health problem'}, {'concept': 'disease'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?q WHERE { { ?i property:symptoms ?q . ?q rdf:type ontology:health_problem . ?i rdf:type ontology:health_problem } UNION { ?q rdf:type ontology:health_problem . ?i rdf:type ontology:disease . ?i property:symptoms ?q } } GROUP BY ?q } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?k WHERE { VALUES ( ?e ) { ( ontology:health_problem ) ( ontology:disease ) } . ?t rdf:type ?e } GROUP BY ?k } . FILTER ( ?f = ?p ) }
[]
health problem health problem disease
Q844935 Q35869 Q221668
SYSTEM
coronary artery disease, asthma, acute cystitis
Q19275831 Q972514 Q5958765 Q18554331 Q2085267 Q271759 Q864868 Q21117568 Q3513968 Q1598200 Q684383 Q16501 Q173022 Q7048905 Q147778 Q35869 Q1956682 Q5062120 Q177254 Q5062122 Q2879095 Q18642366 Q21117572 Q935293 Q1527888 Q1553850 Q21111998 Q857667 Q4330029 Q3339235 Q21110191 Q911386 Q48143 Q1500373 Q131742 Q846316 Q279330 Q468433 Q2306782 Q677449 Q783903 Q55998 Q570197 Q505142 Q1531991 Q16242752 Q2681162 Q10863074 Q21112607 Q21116779 Q1502312 Q1193870 Q18556080 Q183130 Q202837 Q12192 Q268594 Q5090486 Q612681 Q1153419 Q1264268 Q1131786 Q18553940 Q199804 Q622427 Q690210 Q21112593 Q684810 Q18556920 Q21109267 Q183344 Q1018652 Q1534492 Q42982 Q1294912 Q979168 Q11072 Q134003 Q170082 Q1145668 Q767485 Q21112038 Q662298 Q21504914 Q1628473 Q188605 Q1507609 Q181754 Q18553993 Q105688 Q906492 Q3042175 Q220570 Q883863 Q221668 Q936382 Q2906693 Q1623006 Q572111 Q2868696 Q838145 Q501561 Q179951 Q114085 Q203601 Q170518 Q344873 Q18554311 Q950591 Q794072 Q21128620 Q401402 Q5171111 Q1194557 Q21118423 Q32446 Q18967474 Q738153 Q748442 Q794086 Q21109048 Q2638851 Q5712565 Q844935 Q734512 Q1036696 Q651223 Q5309747 Q476921 Q18558124 Q18558125 Q187440 Q757838 Q5251081 Q202758 Q21109885 Q4116448 Q664174 Q1320276 Q648982 Q14509067 Q7259546 Q18556164 Q5090456 Q21109216
(c(Q2057971)|c(Q12136),P780,c(Q2057971))
action argmin
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
[ANSWERS] are a sign of min number of health problems and diseases
[[{'concept': 'Q2057971'}, {'concept': 'Q12136'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?q WHERE { { ?i property:P780 ?q . ?q rdf:type ontology:Q2057971 . ?i rdf:type ontology:Q2057971 } UNION { ?q rdf:type ontology:Q2057971 . ?i rdf:type ontology:Q12136 . ?i property:P780 ?q } } GROUP BY ?q } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?k WHERE { VALUES ( ?e ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } . ?t rdf:type ?e } GROUP BY ?k } . FILTER ( ?f = ?p ) }
choking optic neuritis hypersensitivity retinal perforation pharyngitis porphyria bone marrow suppression skin granuloma corneal opacity metabolic acidosis exophthalmos hypothyroidisms bronchitis Non-epileptic seizure liver cirrhosis asthma myoglobinuria central nervous system depression hyperopia central nervous system disease optic nerve disease intoxication lung granuloma purpura pancreatitis hemoglobinuria fingernail damage pulmonary edema airway obstruction nervous system disease diffuse nodular fibrosis stomatitis meningitis lactic acidosis hepatitis aplastic anemia bronchial disease anosmia hypochromic anemia aspiration pneumonia contact dermatitis pleurisy proteinuria eosinophilia Parkinsonian syndrome allergic contact dermatitis eye injury fatty liver disease leg paresthesia scaling dermatitis polyneuropathy multiple organ dysfunction syndrome cranial nerve palsy gastritis cardiac arrest pneumonia stupor toxic pneumonitis anuria interstitial lung disease stannosis Cor pulmonale gastric ulcer chronic obstructive pulmonary disease ptosis dysosmia hand paresis berylliosis diffuse pulmonary fibrosis fibrotic pneumoconiosis sinusitis byssinosis microhematuria type I hypersensitivity endophthalmitis brain edema amnestic disorder inherited blood coagulation disease psychotic disorder hemolytic anemia respiratory failure granulomatous pneumonitis ectropion wooden chest syndrome corneal ulcer pulmonary emphysema Ochronosis heart failure corneal edema hypoxia dystonia corneal dystrophy pulmonary embolism blepharospasm acute cystitis Hypocalcaemia baritosis keratoconjunctivitis anterograde amnesia pain agnosia leukoplakia pericarditis strabismus rhinitis pneumothorax burn adult respiratory distress syndrome corneal degeneration scotoma Azotemia spleen injury nephritis corneal perforation laryngitis auditory nerve damage pulmonary fibrosis pulmonary congestion and hypostasis ileus methemoglobinemia hypokalemia acute hemorrhagic cystitis Oligospermia hemorrhagic cystitis coronary artery disease bronchopneumonia hypothermia pneumoconiosis dryness kidney failure allergic asthma intracranial hypertension urticaria keratitis Defatting hypoglycemia chronic respiratory disease tracheal stenosis asbestosis hypovolemia argyria exanthem Pulmonary toxicity granulomatous gastritis Chemical eye injury benign pneumoconiosis
Coronary artery disease, asthma and acute cystitis are a sign of min number of health problems and diseases
coronary artery disease asthma acute cystitis
action argmin
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
[[{'concept': 'health problem'}, {'concept': 'disease'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?q WHERE { { ?i property:symptoms ?q . ?q rdf:type ontology:health_problem . ?i rdf:type ontology:health_problem } UNION { ?q rdf:type ontology:health_problem . ?i rdf:type ontology:disease . ?i property:symptoms ?q } } GROUP BY ?q } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?k WHERE { VALUES ( ?e ) { ( ontology:health_problem ) ( ontology:disease ) } . ?t rdf:type ?e } GROUP BY ?k } . FILTER ( ?f = ?p ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q844935 Q35869 Q221668
P2175
Q8386
USER
Which drugs are prescribed for coronary artery disease, asthma and acute cystitis ?
(c(Q8386),P2175,Q844935) (c(Q8386),P2175,Q35869) (c(Q8386),P2175,Q221668)
action union
action filter_type
action find_reverse
entity Q844935
relation P2175
type Q8386
action filter_type
action find_reverse
entity Q35869
relation P2175
type Q8386
action filter_type
action find_reverse
entity Q221668
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', 'Q844935'] [{'concept': 'Q8386'}, 'P2175', 'Q35869'] [{'concept': 'Q8386'}, 'P2175', 'Q221668']
SELECT DISTINCT ?m WHERE { ?m property:P2175 ?b . VALUES ( ?b ) { ( resource:Q844935 ) ( resource:Q35869 ) } }
coronary artery disease asthma acute cystitis
action union
action filter_type
action find_reverse
entity coronary artery disease
relation medical condition treated
type drug
action filter_type
action find_reverse
entity asthma
relation medical condition treated
type drug
action filter_type
action find_reverse
entity acute cystitis
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'coronary artery disease'] [{'concept': 'drug'}, 'medical condition treated', 'asthma'] [{'concept': 'drug'}, 'medical condition treated', 'acute cystitis']
SELECT DISTINCT ?m WHERE { ?m property:medical_condition_treated ?b . VALUES ( ?b ) { ( resource:coronary_artery_disease ) ( resource:asthma ) } }
[]
drug
Q670131 Q670131 Q424940
SYSTEM
Moxifloxacin for 3rd, simvastatin for 1st, 2nd
Q420542 Q417740 Q670131 Q418666 Q415366 Q3294635 Q1318776 Q418006 Q668093 Q258591 Q190012 Q1240093 Q417997 Q10354103 Q417942 Q907104 Q18216 Q5268499 Q419724 Q60235 Q411347 Q7307897 Q899036 Q384295 Q15623825 Q4919218 Q3790542 Q423439 Q4726914 Q410237 Q2295855 Q2701912 Q415392 Q417767 Q407308 Q417740 Q670131 Q202998 Q422212 Q421475 Q58614 Q263958 Q20817199 Q3746835 Q32921 Q693482 Q7127523 Q2450337 Q1073333 Q422252 Q132621 Q410789 Q928378 Q1087499 Q11426176 Q424972 Q424952 Q8564098 Q219626 Q424340 Q5104342 Q1236526 Q417222 Q637247 Q424333 Q419769 Q4918914 Q471763 Q410358 Q2166700 Q190875 Q2697833 Q5119448 Q413879 Q410237 Q7444755 Q3306175 Q422232 Q425152 Q281082 Q423787 Q3307752 Q418725 Q418546 Q7636169 Q422219 Q1050019 Q256602 Q2365016 Q422482 Q367700 Q216935 Q1639616 Q422669 Q203618 Q2313471 Q417968 Q421713 Q424193 Q2601832 Q2325775 Q2602246 Q415843 Q412223 Q244150 Q5119441 Q201928 Q3976824 Q415167 Q2878140 Q1082945 Q163901 Q411417 Q417897 Q1638852 Q424940 Q415739 Q411447 Q808845 Q2736402 Q422665 Q421670 Q183554 Q413728 Q348260 Q1758380 Q2555060 Q2319020 Q2552927 Q1639595 Q372598 Q1639588 Q20817140 Q2601530
(c(Q8386),P2175,Q844935) (c(Q8386),P2175,Q35869) (c(Q8386),P2175,Q221668)
action union
action filter_type
action find_reverse
entity Q844935
relation P2175
type Q8386
action filter_type
action find_reverse
entity Q35869
relation P2175
type Q8386
action filter_type
action find_reverse
entity Q221668
relation P2175
type Q8386
[ANSWERS]
[{'concept': 'Q8386'}, 'P2175', 'Q844935'] [{'concept': 'Q8386'}, 'P2175', 'Q35869'] [{'concept': 'Q8386'}, 'P2175', 'Q221668']
SELECT DISTINCT ?m WHERE { ?m property:P2175 ?b . VALUES ( ?b ) { ( resource:Q844935 ) ( resource:Q35869 ) } }
ticagrelor lovastatin simvastatin tranexamic acid tirofiban Colestipol testosterone Colestyramine Atorvastatin cilostazol adenosine Pravastatin ezetimibe probucol Fluvastatin ranolazine acetylsalicylic acid dextrothyroxine fenofibrate caffeine amlodipine regadenoson Colesevelam gemfibrozil Evolocumab Bivalirudin sufinpyrazone cerivastatin Alirocumab clopidogrel eptifibatide clofibrate Omalizumab montelukast theophylline lovastatin simvastatin zileuton budesonide beclometasone dipropionate loxapine pseudoephedrine Ephedra Flunisolide halothane roflumilast Palifermin Interferon beta-1a dyphylline dexamethasone (-)-adrenaline ambrisentan zafirlukast Troleandomycin prednisolone prednisone nadolol fluticasone propionate (-)-ephedrine terbutaline Oxtriphylline pirbuterol methylprednisolone formoterol salmeterol bosentan Bitolterol Aminophylline salbutamol Fluticasone furoate cortisol Abatacept ciclesonide golimumab clopidogrel Secukinumab Mepolizumab methotrexate Imipenem Nalidixic Acid Piperacillin Mezlocillin Oxacillin Aztreonam Sulfacytine Cloxacillin Carbenicillin Ciprofloxacin Gatifloxacin gentamicin Cyclosporine lidocaine enoxacin Nitrofurantoin Lomefloxacin Dicloxacillin Cefotaxime ceftriaxone Levofloxacin Ticarcillin cefoperazone Cefotetan Sulfamethoxazole Amphotericin B Ampicillin cyclacillin Amoxicillin Sulfamethizole Cefaclor Bacampicillin Ceftizoxime Cefixime cephalexin Norfloxacin Nafcillin Moxifloxacin Cefazolin Ofloxacin Ceftazidime Demeclocycline Trimethoprim Meropenem Fosfomycin Cefuroxime Adalimumab Tobramycin Sulfadiazine cefadroxil Cefepime Gemifloxacin Sulfisoxazole Cinoxacin Colistimethate Cefamandole
Simvastatin, simvastatin and Moxifloxacin are prescribed for coronary artery disease, asthma and acute cystitis
simvastatin simvastatin Moxifloxacin
action union
action filter_type
action find_reverse
entity coronary artery disease
relation medical condition treated
type drug
action filter_type
action find_reverse
entity asthma
relation medical condition treated
type drug
action filter_type
action find_reverse
entity acute cystitis
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'coronary artery disease'] [{'concept': 'drug'}, 'medical condition treated', 'asthma'] [{'concept': 'drug'}, 'medical condition treated', 'acute cystitis']
SELECT DISTINCT ?m WHERE { ?m property:medical_condition_treated ?b . VALUES ( ?b ) { ( resource:coronary_artery_disease ) ( resource:asthma ) } }
[]