Simple Question (Direct)
Simple Question
Q708186
P509
Q2057971
USER
What was the cause of death of George Archer ?
(Q708186,P509,c(Q2057971))
action filter_type
action find
entity Q708186
relation P509
type Q2057971
['Q708186', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { resource:Q708186 property:P509 ?g . ?g rdf:type ontology:Q2057971 }
George Archer
action filter_type
action find
entity George Archer
relation cause of death
type health problem
['George Archer', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { resource:George_Archer property:cause_of_death ?g . ?g rdf:type ontology:health_problem }
[]
health problem
Q208414
SYSTEM
lymphoma
Q208414
(Q708186,P509,c(Q2057971))
action filter_type
action find
entity Q708186
relation P509
type Q2057971
The cause of death of George Archer was a [ANSWER]
['Q708186', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { resource:Q708186 property:P509 ?g . ?g rdf:type ontology:Q2057971 }
lymphoma
The cause of death of George Archer was a lymphoma
lymphoma
action filter_type
action find
entity George Archer
relation cause of death
type health problem
['George Archer', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { resource:George_Archer property:cause_of_death ?g . ?g rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q708186
P84
Q811979
USER
What was designed by George Archer ?
(c(Q811979),P84,Q708186)
action filter_type
action find_reverse
entity Q708186
relation P84
type Q811979
[{'concept': 'Q811979'}, 'P84', 'Q708186']
SELECT DISTINCT ?t WHERE { ?t property:P84 resource:Q708186 . ?t rdf:type ontology:Q811979 }
George Archer
action filter_type
action find_reverse
entity George Archer
relation architect
type architectural structure
[{'concept': 'architectural structure'}, 'architect', 'George Archer']
SELECT DISTINCT ?t WHERE { ?t property:architect resource:George_Archer . ?t rdf:type ontology:architectural_structure }
[]
architectural structure
Q19866951
SYSTEM
Graham-Hughes House
Q19866951
(c(Q811979),P84,Q708186)
action filter_type
action find_reverse
entity Q708186
relation P84
type Q811979
The [ANSWER] was designed by George Archer
[{'concept': 'Q811979'}, 'P84', 'Q708186']
SELECT DISTINCT ?t WHERE { ?t property:P84 resource:Q708186 . ?t rdf:type ontology:Q811979 }
Graham-Hughes House
The Graham-Hughes House was designed by George Archer
Graham-Hughes House
action filter_type
action find_reverse
entity George Archer
relation architect
type architectural structure
[{'concept': 'architectural structure'}, 'architect', 'George Archer']
SELECT DISTINCT ?t WHERE { ?t property:architect resource:George_Archer . ?t rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1542
Q3839081 Q12136 Q2057971
USER
Which health problems have their outcome as atmost 2 disasters and diseases ?
(c(Q2057971),P1542,c(Q3839081)|c(Q12136))
action atmost
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q3839081
action find_tuple_counts
relation P1542
type Q2057971
type Q12136
value 2
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q3839081'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?x ) WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:Q3839081 ) ( ontology:Q12136 ) } } GROUP BY ?y } . FILTER ( ?x <= 2 ) }
action atmost
action union
action find_tuple_counts
relation cause of
type health problem
type disaster
action find_tuple_counts
relation cause of
type health problem
type disease
value 2
[{'concept': 'health problem'}, 'cause of', [{'concept': 'disaster'}, {'concept': 'disease'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?x ) WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:disaster ) ( ontology:disease ) } } GROUP BY ?y } . FILTER ( ?x <= 2 ) }
[]
disaster disease health problem
Q844935 Q12206 Q133823
SYSTEM
coronary artery disease, diabetes mellitus, migraine
Q1504570 Q12090 Q12125 Q357522 Q3541798 Q5572555 Q3043135 Q12204 Q12206 Q39222 Q42982 Q2465347 Q5797309 Q155857 Q1899576 Q2753827 Q243257 Q241827 Q929963 Q844935 Q121041 Q12195 Q15734316 Q599683 Q23037745 Q68833 Q8084905 Q943897 Q180152 Q147778 Q1186703 Q133823 Q217519 Q4330029 Q79793 Q4826344 Q133780 Q2840 Q131742 Q664174
(c(Q2057971),P1542,c(Q3839081)|c(Q12136))
action atmost
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q3839081
action find_tuple_counts
relation P1542
type Q2057971
type Q12136
value 2
[ANSWERS] have their outcome as atmost 2 disasters and diseases
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q3839081'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?x ) WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:Q3839081 ) ( ontology:Q12136 ) } } GROUP BY ?y } . FILTER ( ?x <= 2 ) }
protein C deficiency Cholera common cold Adipsia Tuberculosis of the adrenal glands glycerol kinase deficiency congenital lactase deficiency tuberculosis diabetes mellitus rabies type I hypersensitivity thyroid adenoma lacrimal duct obstruction rubella Vasa praevia Pigment dispersion syndrome chikungunya Upper airway resistance syndrome Primary polydipsia coronary artery disease appendicitis poliomyelitis underlying disease Brugada syndrome pollen allergy bone fracture autoimmune neuromuscular disease gastroparesis Vitiligo liver cirrhosis demyelinating disease migraine bubonic plague airway obstruction measles Autoimmune inner ear disease plague influenza hepatitis asbestosis
Coronary artery disease, diabetes mellitus and migraine have their outcome as atmost 2 disasters and diseases
coronary artery disease diabetes mellitus migraine
action atmost
action union
action find_tuple_counts
relation cause of
type health problem
type disaster
action find_tuple_counts
relation cause of
type health problem
type disease
value 2
[{'concept': 'health problem'}, 'cause of', [{'concept': 'disaster'}, {'concept': 'disease'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?x ) WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:disaster ) ( ontology:disease ) } } GROUP BY ?y } . FILTER ( ?x <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q844935
P2293
Q863908
USER
Which nucleic acid sequences have genetic relation with coronary artery disease ?
(Q844935,P2293,c(Q863908))
action filter_type
action find
entity Q844935
relation P2293
type Q863908
['Q844935', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ?h WHERE { resource:Q844935 property:P2293 ?h . ?h rdf:type ontology:Q863908 }
coronary artery disease
action filter_type
action find
entity coronary artery disease
relation genetic association
type nucleic acid sequence
['coronary artery disease', 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?h WHERE { resource:coronary_artery_disease property:genetic_association ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18029139 Q14913892 Q18045682
SYSTEM
ATXN3, TCF7L2, CSMD1
Q18037162 Q14903974 Q14913892 Q14911781 Q14911924 Q18034959 Q18044238 Q18043159 Q4654809 Q18041778 Q18047600 Q18028466 Q18036183 Q18046693 Q18029821 Q18049580 Q17928830 Q18033153 Q14912643 Q18028667 Q18037783 Q18028580 Q18042454 Q18037561 Q18056462 Q14839826 Q18049084 Q18046189 Q18036681 Q18033185 Q286987 Q17916070 Q14914316 Q18031595 Q18040371 Q17915090 Q18045682 Q18028636 Q17832572 Q18029139 Q18047738 Q18056131 Q18053521 Q18042029 Q18031879 Q18029761 Q18042779 Q17859908 Q18046549 Q18046685 Q18051919 Q18047749 Q14914188 Q18037069 Q17914045 Q18042081 Q18047680 Q18037086 Q18036502 Q18053156
(Q844935,P2293,c(Q863908))
action filter_type
action find
entity Q844935
relation P2293
type Q863908
[ANSWERS] have genetic relation with coronary artery disease
['Q844935', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ?h WHERE { resource:Q844935 property:P2293 ?h . ?h rdf:type ontology:Q863908 }
ZFPM2 SMAD3 TCF7L2 ALDH2 OPRM1 SH2B3 KIAA1462 DOCK6 ATP2B1 WDR33 HHIPL1 LAMC2 ADAMTS7 PDGFD PPP1R12B MSI2 FLT1 PLPP3 PRKCA LRP6 MTHFD1L LIPA KCNK13 EDC4 UBE2Q2P1 ABO KLHL29 C10orf76 TNIK NUMB ABCA1 CELSR2 KCNQ3 SMARCA4 ZC3HC1 DTNB CSMD1 LPA ZFHX3 ATXN3 CAPS2 MIA3 PHACTR1 WDR12 TCF21 MYL2 SLC12A9 CDH9 SEMA6D PLEKHO2 IGSF5 PSRC1 NRG1 ANKS1A DNM2 RNF130 FNDC1 CUX2 MRAS PLD5
ATXN3, TCF7L2 and CSMD1 have genetic relation with coronary artery disease
ATXN3 TCF7L2 CSMD1
action filter_type
action find
entity coronary artery disease
relation genetic association
type nucleic acid sequence
['coronary artery disease', 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?h WHERE { resource:coronary_artery_disease property:genetic_association ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q18029139 Q14913892 Q18045682
P2293
Q2057971
USER
Which health problems have genetic relation with those nucleic acid sequences ?
(Q18029139,P2293,c(Q2057971)) (Q14913892,P2293,c(Q2057971)) (Q18045682,P2293,c(Q2057971))
action filter_type
action find
entity prev_answer
relation P2293
type Q2057971
['Q18029139', 'P2293', {'concept': 'Q2057971'}] ['Q14913892', 'P2293', {'concept': 'Q2057971'}] ['Q18045682', 'P2293', {'concept': 'Q2057971'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2057971 . ?w property:P2293 ?p . VALUES ( ?w ) { ( resource:Q18037162 ) ( resource:Q14903974 ) ( resource:Q14913892 ) } }
ATXN3 TCF7L2 CSMD1
action filter_type
action find
entity prev_answer
relation genetic association
type health problem
['ATXN3', 'genetic association', {'concept': 'health problem'}] ['TCF7L2', 'genetic association', {'concept': 'health problem'}] ['CSMD1', 'genetic association', {'concept': 'health problem'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:health_problem . ?w property:genetic_association ?p . VALUES ( ?w ) { ( resource:ZFPM2 ) ( resource:SMAD3 ) ( resource:TCF7L2 ) } }
[]
health problem
Q12174 Q128581 Q8277
SYSTEM
obesity, breast cancer, multiple sclerosis
Q844935 Q222634 Q844935 Q2351083 Q3025883 Q128581 Q188874 Q131755 Q11081 Q844935 Q12174 Q520127 Q8277 Q12214
(Q18029139,P2293,c(Q2057971)) (Q14913892,P2293,c(Q2057971)) (Q18045682,P2293,c(Q2057971))
action filter_type
action find
entity prev_answer
relation P2293
type Q2057971
[ANSWERS] have genetic relation with those nucleic acid sequences
['Q18029139', 'P2293', {'concept': 'Q2057971'}] ['Q14913892', 'P2293', {'concept': 'Q2057971'}] ['Q18045682', 'P2293', {'concept': 'Q2057971'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2057971 . ?w property:P2293 ?p . VALUES ( ?w ) { ( resource:Q18037162 ) ( resource:Q14903974 ) ( resource:Q14913892 ) } }
coronary artery disease orofacial cleft coronary artery disease disease of metabolism type 2 diabetes mellitus breast cancer colorectal cancer bipolar disorder Alzheimer's disease coronary artery disease obesity periodontitis multiple sclerosis smallpox
Obesity, breast cancer and multiple sclerosis have genetic relation with those nucleic acid sequences
obesity breast cancer multiple sclerosis
action filter_type
action find
entity prev_answer
relation genetic association
type health problem
['ATXN3', 'genetic association', {'concept': 'health problem'}] ['TCF7L2', 'genetic association', {'concept': 'health problem'}] ['CSMD1', 'genetic association', {'concept': 'health problem'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:health_problem . ?w property:genetic_association ?p . VALUES ( ?w ) { ( resource:ZFPM2 ) ( resource:SMAD3 ) ( resource:TCF7L2 ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8277
P2175
Q1993433
USER
What is used for the treatment of that health problem ?
(c(Q1993433),P2175,Q8277)
action filter_type
action find_reverse
entity Q8277
relation P2175
type Q1993433
[{'concept': 'Q1993433'}, 'P2175', 'Q8277']
SELECT DISTINCT ?v WHERE { ?v property:P2175 resource:Q8277 . ?v rdf:type ontology:Q1993433 }
multiple sclerosis
action filter_type
action find_reverse
entity multiple sclerosis
relation medical condition treated
type signaling molecule
[{'concept': 'signaling molecule'}, 'medical condition treated', 'multiple sclerosis']
SELECT DISTINCT ?v WHERE { ?v property:medical_condition_treated resource:multiple_sclerosis . ?v rdf:type ontology:signaling_molecule }
[]
signaling molecule
Clarification for simple ques.
Q128581
SYSTEM
Did you mean breast cancer ?
Q12174 Q128581 Q8277
(c(Q1993433),P2175,Q12174) (c(Q1993433),P2175,Q128581) (c(Q1993433),P2175,Q8277)
[ANSWER]
[{'concept': 'Q1993433'}, 'P2175', 'Q12174'] [{'concept': 'Q1993433'}, 'P2175', 'Q128581'] [{'concept': 'Q1993433'}, 'P2175', 'Q8277']
SELECT DISTINCT ?v WHERE { ?v property:P2175 resource:Q8277 . ?v rdf:type ontology:Q1993433 }
obesity breast cancer multiple sclerosis
Did you mean breast cancer ?
breast cancer
[{'concept': 'signaling molecule'}, 'medical condition treated', 'obesity'] [{'concept': 'signaling molecule'}, 'medical condition treated', 'breast cancer'] [{'concept': 'signaling molecule'}, 'medical condition treated', 'multiple sclerosis']
SELECT DISTINCT ?v WHERE { ?v property:medical_condition_treated resource:multiple_sclerosis . ?v rdf:type ontology:signaling_molecule }
[]
Simple Question (Coreferenced)
USER
No, I meant multiple sclerosis. Could you tell me the answer for that?
(c(Q1993433),P2175,Q8277)
Q8277
[{'concept': 'Q1993433'}, 'P2175', 'Q8277']
[{'concept': 'signaling molecule'}, 'medical condition treated', 'multiple sclerosis']
[]
Q185690
SYSTEM
Corticotropin
Q185690
(c(Q1993433),P2175,Q8277)
action filter_type
action find_reverse
entity Q8277
relation P2175
type Q1993433
[ANSWER] is used for the treatment of that health problem
[{'concept': 'Q1993433'}, 'P2175', 'Q8277']
SELECT DISTINCT ?v WHERE { ?v property:P2175 resource:Q8277 . ?v rdf:type ontology:Q1993433 }
Corticotropin
Corticotropin is used for the treatment of that health problem
Corticotropin
action filter_type
action find_reverse
entity multiple sclerosis
relation medical condition treated
type signaling molecule
[{'concept': 'signaling molecule'}, 'medical condition treated', 'multiple sclerosis']
SELECT DISTINCT ?v WHERE { ?v property:medical_condition_treated resource:multiple_sclerosis . ?v rdf:type ontology:signaling_molecule }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P2175
Q1441305 Q2057971
USER
How many medical signs or health problems are cured by that signaling molecule ?
(Q185690,P2175,c(Q1441305)) (Q185690,P2175,c(Q2057971)) (Q185690,P2175,c(Q1441305)) (Q185690,P2175,c(Q2057971))
action count
action union
action filter_type
action find
entity Q185690
relation P2175
type Q1441305
action filter_type
action find
entity Q185690
relation P2175
type Q2057971
['Q185690', 'P2175', {'concept': 'Q1441305'}] ['Q185690', 'P2175', {'concept': 'Q2057971'}] ['Q185690', 'P2175', {'concept': 'Q1441305'}] ['Q185690', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { resource:Q185690 property:P2175 ?m . ?m rdf:type ontology:Q1441305 } UNION { resource:Q185690 property:P2175 ?m . ?m rdf:type ontology:Q2057971 } }
action count
action union
action filter_type
action find
entity Corticotropin
relation medical condition treated
type medical sign
action filter_type
action find
entity Corticotropin
relation medical condition treated
type health problem
['Corticotropin', 'medical condition treated', {'concept': 'medical sign'}] ['Corticotropin', 'medical condition treated', {'concept': 'health problem'}] ['Corticotropin', 'medical condition treated', {'concept': 'medical sign'}] ['Corticotropin', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { resource:Corticotropin property:medical_condition_treated ?m . ?m rdf:type ontology:medical_sign } UNION { resource:Corticotropin property:medical_condition_treated ?m . ?m rdf:type ontology:health_problem } }
[]
medical sign health problem
SYSTEM
6
Q972514 Q133823 Q187255 Q206901 Q7315912 Q8277
(Q185690,P2175,c(Q1441305)) (Q185690,P2175,c(Q2057971)) (Q185690,P2175,c(Q1441305)) (Q185690,P2175,c(Q2057971))
action count
action union
action filter_type
action find
entity Q185690
relation P2175
type Q1441305
action filter_type
action find
entity Q185690
relation P2175
type Q2057971
[ANSWER]
['Q185690', 'P2175', {'concept': 'Q1441305'}] ['Q185690', 'P2175', {'concept': 'Q2057971'}] ['Q185690', 'P2175', {'concept': 'Q1441305'}] ['Q185690', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { resource:Q185690 property:P2175 ?m . ?m rdf:type ontology:Q1441305 } UNION { resource:Q185690 property:P2175 ?m . ?m rdf:type ontology:Q2057971 } }
optic neuritis migraine rheumatoid arthritis amyotrophic lateral sclerosis respiratory distress multiple sclerosis
6
action count
action union
action filter_type
action find
entity Corticotropin
relation medical condition treated
type medical sign
action filter_type
action find
entity Corticotropin
relation medical condition treated
type health problem
['Corticotropin', 'medical condition treated', {'concept': 'medical sign'}] ['Corticotropin', 'medical condition treated', {'concept': 'health problem'}] ['Corticotropin', 'medical condition treated', {'concept': 'medical sign'}] ['Corticotropin', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { resource:Corticotropin property:medical_condition_treated ?m . ?m rdf:type ontology:medical_sign } UNION { resource:Corticotropin property:medical_condition_treated ?m . ?m rdf:type ontology:health_problem } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2840
P780
Q12136 Q1441305 Q2057971
USER
Which health problems have less number of diseases and medical signs as one of their symptoms than influenza ?
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action less
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q2840
relation P780
type Q12136
type Q1441305
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?l WHERE { { ?l property:P780 ?y . ?l rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q12136 } UNION { ?l property:P780 ?y . ?l rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q1441305 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Q2840 property:P780 ?t . { VALUES ( ?f ) { ( ontology:Q1441305 ) ( ontology:Q12136 ) } . ?t rdf:type ?f } } } . FILTER ( ?p < ?h ) }
influenza
action less
action union
action find_tuple_counts
relation symptoms
type health problem
type disease
action find_tuple_counts
relation symptoms
type health problem
type medical sign
action count
action filter_multi_types
action find
entity influenza
relation symptoms
type disease
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?l WHERE { { ?l property:symptoms ?y . ?l rdf:type ontology:health_problem . ?y rdf:type ontology:disease } UNION { ?l property:symptoms ?y . ?l rdf:type ontology:health_problem . ?y rdf:type ontology:medical_sign } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:influenza property:symptoms ?t . { VALUES ( ?f ) { ( ontology:medical_sign ) ( ontology:disease ) } . ?t rdf:type ?f } } } . FILTER ( ?p < ?h ) }
[]
disease medical sign health problem
Q212961 Q12152 Q29496
SYSTEM
pancreatic cancer, myocardial infarction, leukemia
Q3281274 Q18589315 Q4813631 Q2583514 Q16889762 Q154869 Q19000456 Q7080278 Q2070695 Q836356 Q3508686 Q721073 Q5319554 Q623031 Q558077 Q7688951 Q3843800 Q585011 Q3508664 Q2388598 Q26492785 Q6853 Q5432941 Q191779 Q18553762 Q192100 Q39222 Q3508705 Q5064113 Q1198391 Q774483 Q17120992 Q190564 Q1154422 Q156103 Q10529545 Q127724 Q205214 Q12152 Q1515119 Q5526844 Q7243138 Q207133 Q12252367 Q1077603 Q174651 Q18554801 Q632228 Q1432717 Q18556319 Q3298999 Q4421929 Q4352832 Q180266 Q21505506 Q21505507 Q212961 Q6668132 Q2836 Q460167 Q124604 Q799615 Q1518637 Q18557231 Q1648128 Q19000484 Q264118 Q145790 Q2845978 Q378681 Q27164422 Q1981276 Q281928 Q15401621 Q4676384 Q506433 Q432396 Q959457 Q332293 Q133087 Q522163 Q21505526 Q9390463 Q1286320 Q1117652 Q3508585 Q7165022 Q1077139 Q4865826 Q5032577 Q17089792 Q335555 Q265936 Q1952467 Q29496 Q129279 Q18555385 Q2106232 Q25345593 Q208562 Q664174 Q1641153 Q14509067 Q18557404 Q26492775
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action less
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q2840
relation P780
type Q12136
type Q1441305
[ANSWERS] have less number of diseases and medical signs as one of their symptoms than influenza
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?l WHERE { { ?l property:P780 ?y . ?l rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q12136 } UNION { ?l property:P780 ?y . ?l rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q1441305 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Q2840 property:P780 ?t . { VALUES ( ?f ) { ( ontology:Q1441305 ) ( ontology:Q12136 ) } . ?t rdf:type ?f } } } . FILTER ( ?p < ?h ) }
Griscelli syndrome Cataract-microcornea syndrome dyskinetic cerebral palsy Argentine hemorrhagic fever multiple pterygium syndrome hepatitis C syphilitic alopecia Oguchi disease macrocytic anemia croup Saethre–Chotzen syndrome delusional disorder dysplastic nevus syndrome liver cancer Williams Syndrome Taussig–Bing syndrome chronic congestive splenomegaly Antley-Bixler syndrome Lasthenie de Ferjol syndrome Ollier disease hypertrichotic osteochondrodysplasia Cantu type hepatitis B hyperlipoproteinemia type IV Gilles de la Tourette syndrome migraine with aura lymphatic filariasis rabies Timothy syndrome Cerebrospinal fluid leak intracranial aneurysm Galactosemia Hyperglycerolemia Huntington's disease leukocyte-adhesion deficiency syndrome gastroenteritis hyperandrogenism cataract Guillain–Barré syndrome myocardial infarction Gerstmann syndrome Gastrojejunocolic fistula Primary hypertrophic osteoathropathy Klinefelter's syndrome atherosclerosis malignant mesothelioma Bálint's syndrome multiple intestinal atresia Hajdu-Cheney syndrome Catatonic schizophrenia sea-blue histiocyte syndrome microcytic anemia Hippocampal sclerosis urofacial syndrome scarlet fever hypophosphatemic nephrolithiasis/osteoporosis 1 hypophosphatemic nephrolithiasis/osteoporosis 2 pancreatic cancer Loin pain hematuria syndrome aphasia Meniere's disease portal hypertension osteitis fibrosa VIPoma hypersplenism geniculate herpes zoster arteriosclerosis obliterans acute myeloid leukemia iridocyclitis stereotypic movement disorder peripheral artery disease X-linked cleft palate with or without ankyloglossia neuroendocrine tumor social phobia Trousseau sign of malignancy Acroosteolysis Trimethylaminuria achromatopsia inappropriate ADH syndrome carpal tunnel syndrome gout Sydenham's chorea myopathy, lactic acidosis, and sideroblastic anemia temtamy preaxial brachydactyly syndrome Schwannomatosis Thygeson's superficial punctate keratopathy ablepharon macrostomia syndrome pentalogy of Cantrell tic disorder Bart-Pumphrey syndrome Cannabinoid hyperemesis syndrome Psoriatic erythroderma Sjögren's syndrome Kawasaki disease hereditary multiple exostoses leukemia dysentery xanthomatosis Postanesthetic shivering Intermittent hydrarthrosis Marfan syndrome asbestosis secondary hypertrophic osteoarthropathy exanthem peroneal nerve paralysis poikiloderma with neutropenia
Pancreatic cancer, myocardial infarction and leukemia have less number of diseases and medical signs as one of their symptoms than influenza
pancreatic cancer myocardial infarction leukemia
action less
action union
action find_tuple_counts
relation symptoms
type health problem
type disease
action find_tuple_counts
relation symptoms
type health problem
type medical sign
action count
action filter_multi_types
action find
entity influenza
relation symptoms
type disease
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?l WHERE { { ?l property:symptoms ?y . ?l rdf:type ontology:health_problem . ?y rdf:type ontology:disease } UNION { ?l property:symptoms ?y . ?l rdf:type ontology:health_problem . ?y rdf:type ontology:medical_sign } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:influenza property:symptoms ?t . { VALUES ( ?f ) { ( ontology:medical_sign ) ( ontology:disease ) } . ?t rdf:type ?f } } } . FILTER ( ?p < ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6668132
P780
Q12136 Q1441305 Q2057971
USER
And how about Loin pain hematuria syndrome?
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action less
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q6668132
relation P780
type Q12136
type Q1441305
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?u ) WHERE { { ?e property:P780 ?y . ?e rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q1441305 } UNION { ?e rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q12136 . ?e property:P780 ?y } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q6668132 property:P780 ?h . { { ?h rdf:type ontology:Q12136 } UNION { ?h rdf:type ontology:Q1441305 } } } } . FILTER ( ?u < ?s ) }
Loin pain hematuria syndrome
action less
action union
action find_tuple_counts
relation symptoms
type health problem
type disease
action find_tuple_counts
relation symptoms
type health problem
type medical sign
action count
action filter_multi_types
action find
entity Loin pain hematuria syndrome
relation symptoms
type disease
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?u ) WHERE { { ?e property:symptoms ?y . ?e rdf:type ontology:health_problem . ?y rdf:type ontology:medical_sign } UNION { ?e rdf:type ontology:health_problem . ?y rdf:type ontology:disease . ?e property:symptoms ?y } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Loin_pain_hematuria_syndrome property:symptoms ?h . { { ?h rdf:type ontology:disease } UNION { ?h rdf:type ontology:medical_sign } } } } . FILTER ( ?u < ?s ) }
[]
disease medical sign health problem
Q191779 Q124604 Q378681
SYSTEM
Gilles de la Tourette syndrome, portal hypertension, peripheral artery disease
Q3281274 Q18589315 Q4813631 Q16889762 Q19000456 Q7080278 Q2070695 Q3508686 Q5319554 Q558077 Q7688951 Q3843800 Q585011 Q3508664 Q26492785 Q191779 Q18553762 Q192100 Q5064113 Q774483 Q17120992 Q1154422 Q10529545 Q205214 Q1515119 Q7243138 Q207133 Q12252367 Q18554801 Q632228 Q1432717 Q18556319 Q3298999 Q4421929 Q4352832 Q21505506 Q21505507 Q2836 Q460167 Q124604 Q799615 Q1518637 Q18557231 Q1648128 Q19000484 Q2845978 Q378681 Q27164422 Q281928 Q15401621 Q4676384 Q506433 Q959457 Q522163 Q21505526 Q9390463 Q1286320 Q1117652 Q3508585 Q1077139 Q4865826 Q5032577 Q17089792 Q1952467 Q129279 Q18555385 Q2106232 Q25345593 Q208562 Q1641153 Q14509067 Q26492775
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action less
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q6668132
relation P780
type Q12136
type Q1441305
[ANSWERS]
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?u ) WHERE { { ?e property:P780 ?y . ?e rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q1441305 } UNION { ?e rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q12136 . ?e property:P780 ?y } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q6668132 property:P780 ?h . { { ?h rdf:type ontology:Q12136 } UNION { ?h rdf:type ontology:Q1441305 } } } } . FILTER ( ?u < ?s ) }
Griscelli syndrome Cataract-microcornea syndrome dyskinetic cerebral palsy multiple pterygium syndrome syphilitic alopecia Oguchi disease macrocytic anemia Saethre–Chotzen syndrome dysplastic nevus syndrome Williams Syndrome Taussig–Bing syndrome chronic congestive splenomegaly Antley-Bixler syndrome Lasthenie de Ferjol syndrome hypertrichotic osteochondrodysplasia Cantu type Gilles de la Tourette syndrome migraine with aura lymphatic filariasis Cerebrospinal fluid leak Galactosemia Hyperglycerolemia leukocyte-adhesion deficiency syndrome hyperandrogenism Guillain–Barré syndrome Gerstmann syndrome Primary hypertrophic osteoathropathy Klinefelter's syndrome atherosclerosis multiple intestinal atresia Hajdu-Cheney syndrome Catatonic schizophrenia sea-blue histiocyte syndrome microcytic anemia Hippocampal sclerosis urofacial syndrome hypophosphatemic nephrolithiasis/osteoporosis 1 hypophosphatemic nephrolithiasis/osteoporosis 2 aphasia Meniere's disease portal hypertension osteitis fibrosa VIPoma hypersplenism geniculate herpes zoster arteriosclerosis obliterans stereotypic movement disorder peripheral artery disease X-linked cleft palate with or without ankyloglossia social phobia Trousseau sign of malignancy Acroosteolysis Trimethylaminuria inappropriate ADH syndrome Sydenham's chorea myopathy, lactic acidosis, and sideroblastic anemia temtamy preaxial brachydactyly syndrome Schwannomatosis Thygeson's superficial punctate keratopathy ablepharon macrostomia syndrome tic disorder Bart-Pumphrey syndrome Cannabinoid hyperemesis syndrome Psoriatic erythroderma hereditary multiple exostoses dysentery xanthomatosis Postanesthetic shivering Intermittent hydrarthrosis Marfan syndrome secondary hypertrophic osteoarthropathy exanthem poikiloderma with neutropenia
Gilles de la Tourette syndrome portal hypertension peripheral artery disease
action less
action union
action find_tuple_counts
relation symptoms
type health problem
type disease
action find_tuple_counts
relation symptoms
type health problem
type medical sign
action count
action filter_multi_types
action find
entity Loin pain hematuria syndrome
relation symptoms
type disease
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?u ) WHERE { { ?e property:symptoms ?y . ?e rdf:type ontology:health_problem . ?y rdf:type ontology:medical_sign } UNION { ?e rdf:type ontology:health_problem . ?y rdf:type ontology:disease . ?e property:symptoms ?y } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Loin_pain_hematuria_syndrome property:symptoms ?h . { { ?h rdf:type ontology:disease } UNION { ?h rdf:type ontology:medical_sign } } } } . FILTER ( ?u < ?s ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P2176
Q8386
USER
How many drugs are used to cure that health problem ?
(Q378681,P2176,c(Q8386))
['Q378681', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q378681 property:P2176 ?z . ?z rdf:type ontology:Q8386 }
['peripheral artery disease', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:peripheral_artery_disease property:drug_used_for_treatment ?z . ?z rdf:type ontology:drug }
[]
drug
Quantitative|Count|Single entity type|Clarification
Q191779
SYSTEM
Did you mean Gilles de la Tourette syndrome ?
(Q191779,P2176,c(Q8386)) (Q124604,P2176,c(Q8386)) (Q378681,P2176,c(Q8386))
[ANSWER]
['Q191779', 'P2176', {'concept': 'Q8386'}] ['Q124604', 'P2176', {'concept': 'Q8386'}] ['Q378681', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q378681 property:P2176 ?z . ?z rdf:type ontology:Q8386 }
Did you mean Gilles de la Tourette syndrome ?
Gilles de la Tourette syndrome
['Gilles de la Tourette syndrome', 'drug used for treatment', {'concept': 'drug'}] ['portal hypertension', 'drug used for treatment', {'concept': 'drug'}] ['peripheral artery disease', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:peripheral_artery_disease property:drug_used_for_treatment ?z . ?z rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant peripheral artery disease. Could you tell me the answer for that?
(Q378681,P2176,c(Q8386))
Q378681
['Q378681', 'P2176', {'concept': 'Q8386'}]
['peripheral artery disease', 'drug used for treatment', {'concept': 'drug'}]
[]
SYSTEM
4
Q416485 Q416331 Q410374 Q2212643
(Q378681,P2176,c(Q8386))
[ANSWER]
['Q378681', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q378681 property:P2176 ?z . ?z rdf:type ontology:Q8386 }
Streptokinase pentoxifylline Papaverine Ocriplasmin
4
['peripheral artery disease', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:peripheral_artery_disease property:drug_used_for_treatment ?z . ?z rdf:type ontology:drug }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q838966 Q128581
P2176
Q8386
USER
Which drugs are used as an antidote for breast cancer or irritable bowel syndrome ?
OR((Q128581,P2176,c(Q8386)), (Q838966,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q128581
relation P2176
action find
entity Q838966
relation P2176
type Q8386
{'OR': [['Q128581', 'P2176', {'concept': 'Q8386'}], ['Q838966', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?x WHERE { { ?v property:P2176 ?x . VALUES ( ?v ) { ( resource:Q128581 ) ( resource:Q838966 ) } } . ?x rdf:type ontology:Q8386 }
irritable bowel syndrome breast cancer
action filter_type
action union
action find
entity breast cancer
relation drug used for treatment
action find
entity irritable bowel syndrome
relation drug used for treatment
type drug
{'OR': [['breast cancer', 'drug used for treatment', {'concept': 'drug'}], ['irritable bowel syndrome', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?x WHERE { { ?v property:drug_used_for_treatment ?x . VALUES ( ?v ) { ( resource:breast_cancer ) ( resource:irritable_bowel_syndrome ) } } . ?x rdf:type ontology:drug }
[]
drug
Q412479 Q238512 Q408283 Q241150 Q2178381 Q907104 Q240642 Q239426 Q670131 Q424049
SYSTEM
Some of them are mesalazine, 5-fluorouracil, Denosumab, aminoglutethimide, Darbepoetin alfa, ranolazine, valproic acid, mitoxantrone, simvastatin, loratadine
Q194974 Q412415 Q11711607 Q425122 Q422416 Q412479 Q18216 Q408801 Q524995 Q415939 Q3950557 Q422806 Q139347 Q1988832 Q412197 Q410663 Q216935 Q907160 Q412178 Q3985253 Q419940 Q1592932 Q422232 Q420532 Q408283 Q420207 Q5187464 Q1215575 Q139195 Q418817 Q239426 Q412616 Q418192 Q418560 Q2298283 Q6695342 Q422252 Q421052 Q238512 Q20539232 Q424049 Q7083106 Q416463 Q670131 Q15269707 Q241150 Q905901 Q5462791 Q1996756 Q419143 Q418819 Q420436 Q419028 Q421862 Q412174 Q240642 Q3832559 Q180983 Q7226181 Q423989 Q218507 Q415588 Q1998021 Q18936 Q422222 Q1063862 Q413299 Q2178381 Q6808975 Q417740 Q5508491 Q417824 Q190067 Q907104 Q409587 Q413762 Q3993743 Q282629 Q412963 Q412534 Q26963 Q3275451 Q421768 Q423762 Q408524
OR((Q128581,P2176,c(Q8386)), (Q838966,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q128581
relation P2176
action find
entity Q838966
relation P2176
type Q8386
[ANSWERS] are used as an antidote for breast cancer or irritable bowel syndrome
{'OR': [['Q128581', 'P2176', {'concept': 'Q8386'}], ['Q838966', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?x WHERE { { ?v property:P2176 ?x . VALUES ( ?v ) { ( resource:Q128581 ) ( resource:Q838966 ) } } . ?x rdf:type ontology:Q8386 }
letrozole cisplatin Ixabepilone Epirubicin 17β-estradiol mesalazine acetylsalicylic acid celecoxib dexrazoxane chlorambucil Sargramostim bupivacaine Cholecalciferol bicalutamide irinotecan fluoxymesterone lidocaine leuprolide tamoxifen testolactone dasatinib Pegfilgrastim methotrexate Vinorelbine Denosumab capecitabine Crofelemer naproxen Calcitriol etoposide mitoxantrone Trastuzumab bexarotene ifosfamide melphalan lubiprostone dexamethasone Everolimus 5-fluorouracil eluxadoline loratadine olaparib alosetron simvastatin palbociclib aminoglutethimide vorinostat fluocinonide enzalutamide anastrozole exemestane docetaxel chenodeoxycholic acid ribavirin pregabalin valproic acid Linaclotide cytarabine Polycarbophil calcium diethylstilbestrol zoledronic acid Carboplatin Pertuzumab doxorubicin Digoxin idarubicin Bevacizumab Darbepoetin alfa megestrol acetate lovastatin Fulvestrant gefitinib Δ9-tetrahydrocannabinol ranolazine naltrexone Hyoscyamine toremifene Vinblastine cabazitaxel carvedilol progesterone propantheline methyltestosterone Paclitaxel cyclophosphamide
Mesalazine, 5-fluorouracil, Denosumab, aminoglutethimide, Darbepoetin alfa, ranolazine, valproic acid, mitoxantrone, simvastatin and loratadine are used as an antidote for breast cancer or irritable bowel syndrome
mesalazine 5-fluorouracil Denosumab aminoglutethimide Darbepoetin alfa ranolazine valproic acid mitoxantrone simvastatin loratadine
action filter_type
action union
action find
entity breast cancer
relation drug used for treatment
action find
entity irritable bowel syndrome
relation drug used for treatment
type drug
{'OR': [['breast cancer', 'drug used for treatment', {'concept': 'drug'}], ['irritable bowel syndrome', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?x WHERE { { ?v property:drug_used_for_treatment ?x . VALUES ( ?v ) { ( resource:breast_cancer ) ( resource:irritable_bowel_syndrome ) } } . ?x rdf:type ontology:drug }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P129
Q181394 Q8386
USER
How many drugs contact lesser number of nutrients than that drug ?
(c(Q8386),P129,c(Q181394))
[{'concept': 'Q8386'}, 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P129 ?y . ?z rdf:type ontology:Q8386 . ?y rdf:type ontology:Q181394 }
[{'concept': 'drug'}, 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:physically_interacts_with ?y . ?z rdf:type ontology:drug . ?y rdf:type ontology:nutrient }
[]
nutrient drug
Comparative|Count over More/Less|Single entity type|Clarification
Q412479
SYSTEM
Did you mean mesalazine ?
(c(Q8386),P129,c(Q181394))
[ANSWER]
[{'concept': 'Q8386'}, 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P129 ?y . ?z rdf:type ontology:Q8386 . ?y rdf:type ontology:Q181394 }
Did you mean mesalazine ?
mesalazine
[{'concept': 'drug'}, 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:physically_interacts_with ?y . ?z rdf:type ontology:drug . ?y rdf:type ontology:nutrient }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant loratadine. Could you tell me the answer for that?
(c(Q8386),P129,c(Q181394))
Q424049
[{'concept': 'Q8386'}, 'P129', {'concept': 'Q181394'}]
[{'concept': 'drug'}, 'physically interacts with', {'concept': 'nutrient'}]
[]
SYSTEM
519
Q5186964 Q3617574 Q424378 Q2608288 Q7521885 Q818165 Q4567614 Q417915 Q212272 Q6695342 Q421052 Q31030 Q417465 Q5871149 Q287415 Q416463 Q408163 Q3530324 Q193572 Q8564098 Q668093 Q947266 Q18936 Q419822 Q413050 Q385370 Q685119 Q2465218 Q153 Q408641 Q59412 Q425654 Q419646 Q21506464 Q419820 Q419824 Q418928 Q4006490 Q4832285 Q421274 Q412194 Q424952 Q420207 Q3011604 Q415081 Q4890934 Q20707748 Q420590 Q415203 Q241150 Q377342 Q929420 Q5613542 Q418857 Q340139 Q1185089 Q784717 Q321431 Q413744 Q421475 Q201370 Q407241 Q411412 Q305555 Q11711607 Q424508 Q282902 Q409236 Q19484 Q5132472 Q7681221 Q6590349 Q1640947 Q5515384 Q4738021 Q423357 Q2701912 Q4781812 Q177094 Q411648 Q407541 Q425470 Q7340703 Q424340 Q5134875 Q2697578 Q4353252 Q412486 Q258591 Q736113 Q417555 Q637247 Q2603363 Q421709 Q155683 Q410358 Q419319 Q5429279 Q303646 Q3121121 Q4161380 Q422806 Q773449 Q407721 Q423071 Q422232 Q409721 Q385347 Q867350 Q409898 Q2014797 Q418139 Q408265 Q418817 Q418819 Q213511 Q15304877 Q407617 Q3294630 Q2342544 Q20817216 Q423498 Q408557 Q1749609 Q411457 Q411456 Q420886 Q421637 Q607349 Q1074056 Q4734170 Q422970 Q2419445 Q521173 Q256502 Q414275 Q424965 Q415996 Q904647 Q248550 Q415970 Q421429 Q410074 Q421119 Q421937 Q166476 Q15408417 Q421934 Q424049 Q670131 Q352348 Q2458673 Q593166 Q170545 Q417689 Q634959 Q198473 Q410198 Q174723 Q411770 Q413486 Q193978 Q194974 Q426185 Q905835 Q4927426 Q3891664 Q425223 Q907160 Q415159 Q5308606 Q410551 Q408676 Q407988 Q422740 Q553223 Q1996756 Q418669 Q417141 Q425137 Q2735334 Q421369 Q1992452 Q577387 Q862989 Q423762 Q15708271 Q424037 Q421091 Q421094 Q421095 Q1988832 Q3985253 Q416132 Q68566 Q7705415 Q300989 Q1240093 Q415744 Q420262 Q3077133 Q7083106 Q423111 Q2991856 Q1169561 Q218284 Q794162 Q733186 Q5264583 Q418480 Q420885 Q55434 Q414463 Q415403 Q166825 Q425911 Q181003 Q410663 Q7833138 Q412479 Q18216 Q5646925 Q975059 Q3978097 Q218842 Q420009 Q1317131 Q423437 Q2211523 Q417240 Q426132 Q7650517 Q5613599 Q412327 Q419143 Q632405 Q15269707 Q207920 Q165399 Q410595 Q155472 Q408717 Q19598139 Q57055 Q4890814 Q218507 Q422482 Q407841 Q7842225 Q422222 Q6535758 Q2195995 Q417740 Q189522 Q6523413 Q420644 Q420133 Q408963 Q3877030 Q5065704 Q414143 Q240642 Q421304 Q420553 Q347613 Q621834 Q3800087 Q411441 Q577377 Q416516 Q4199443 Q421352 Q567927 Q411887 Q419890 Q729213 Q422252 Q412699 Q420188 Q424976 Q424972 Q2736873 Q423075 Q368941 Q5473324 Q134658 Q3832559 Q407431 Q5373824 Q419939 Q32089 Q5462791 Q1452256 Q418361 Q4875166 Q3633651 Q2139543 Q412534 Q410789 Q10354103 Q422188 Q424156 Q280786 Q424151 Q423930 Q419028 Q417997 Q414462 Q421072 Q416444 Q411781 Q410534 Q422618 Q407883 Q422185 Q7238392 Q416992 Q139195 Q416584 Q412963 Q415220 Q420077 Q423439 Q410546 Q179996 Q6534827 Q3496452 Q58356 Q20817244 Q958087 Q68484 Q425120 Q422782 Q693482 Q417654 Q423751 Q422212 Q422210 Q420571 Q423757 Q44931 Q6724151 Q418145 Q415122 Q867308 Q408432 Q16868421 Q5030940 Q821869 Q2736126 Q419472 Q12745763 Q22075856 Q5037818 Q29310 Q7814620 Q1992653 Q202998 Q424297 Q275926 Q2487682 Q7687250 Q414904 Q413840 Q327362 Q410195 Q5161126 Q4363248 Q5026909 Q2637746 Q2579108 Q424167 Q424165 Q424163 Q424161 Q898407 Q4688818 Q3324838 Q408801 Q2662662 Q2979523 Q2393348 Q414986 Q6095693 Q421042 Q155746 Q255968 Q2070286 Q3655338 Q412690 Q15366934 Q3342150 Q410400 Q7237376 Q419724 Q41576 Q216935 Q412957 Q421768 Q239426 Q795057 Q5303688 Q905755 Q2823284 Q408977 Q5984881 Q419663 Q419832 Q11426176 Q21011234 Q388801 Q418523 Q411347 Q20817273 Q408471 Q1075324 Q421342 Q409672 Q772735 Q901963 Q418060 Q907219 Q5399299 Q3790542 Q421862 Q423364 Q900898 Q409192 Q631202 Q412133 Q1207210 Q3570984 Q413772 Q414028 Q3712521 Q7699074 Q219626 Q180912 Q7844989 Q421910 Q924467 Q412529 Q190875 Q764283 Q417942 Q415433 Q5437132 Q417824 Q7914515 Q416025 Q425838 Q81225 Q411325 Q5119448 Q179452 Q20994 Q416473 Q7088466 Q2823312 Q407781 Q255680 Q4830631 Q928378 Q267896 Q834280 Q424333 Q424238 Q417222 Q413591 Q425680 Q416331 Q7694156 Q423890 Q422724 Q662511 Q318369 Q3706987 Q423741 Q414745 Q419769 Q1002165 Q2357007 Q420542 Q417767 Q6535779 Q417765 Q15708292 Q409468 Q419940 Q2555245 Q821641 Q424751 Q422438 Q4789167 Q519447 Q3791612 Q412178 Q420323 Q1215575 Q421230 Q409948 Q3702534 Q905664 Q20539232 Q2354337 Q410011 Q411515 Q386441 Q422112 Q178566 Q7941753 Q423417 Q2924764 Q413784 Q420436 Q410061 Q418785 Q420377 Q15053666
(c(Q8386),P129,c(Q181394))
[ANSWER]
[{'concept': 'Q8386'}, 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P129 ?y . ?z rdf:type ontology:Q8386 . ?y rdf:type ontology:Q181394 }
crizotinib anisindione succinylcholine thiothixene CCK-8 benserazide mycophenolate mofetil sufentanil hydroxyurea lubiprostone Everolimus xylometazoline mitotane histrelin cholic acid alosetron anagrelide tofacitinib salicylic acid fluticasone propionate Atorvastatin Irbesartan doxorubicin promazine tetrabenazine desoximetasone methoxamine etodolac ethanol L-Citrulline tolfenamic acid indacaterol drospirenone osimertinib azelastine phenoxybenzamine fenfluramine Urofollitropin azasetron dantrolene buspirone nadolol capecitabine dabrafenib donepezil bepridil Atezolizumab ropinirole tripelennamine aminoglutethimide propylthiouracil trandolapril guanabenz acebutolol lorcaserin butorphanol eprosartan abiraterone lumiracoxib beclometasone dipropionate alprenolol phenobarbital rofecoxib abarelix Ixabepilone ergometrine naloxone Fluvoxamine metformin clidinium tamibarotene perospirone phenindione gabexate alvimopan eugenol clofibrate apraclonidine imatinib tacrolimus fentanyl pentostatin robalzotan terbutaline clofarabine fludrocortisone nalmefene allopurinol cilostazol difluprednate teniposide formoterol chlorothiazide nandrolone calcipotriol salbutamol Bortezomib fadrozole hydromorphone saxagliptin dydrogesterone bupivacaine T4 buprenorphine midazolam methotrexate estriol thioguanine cilazapril dapagliflozin Ketorolac Esmolol Lorazepam etoposide exemestane Erythromycin raltitrexed sertraline chlorzoxazone acipimox testosterone propionate trimipramine telaprevir oxaprozin trazodone methocarbamol dicumarol Clobetasol propionate fluorometholone triamcinolone alogliptin promethazine desvenlafaxine aclidinium Alpha-Linolenic Acid tolbutamide dapoxetine flibanserin dexetimide leflunomide candesartan nimodipine losartan captopril hydroxyzine darifenacin methyltyrosine moclobemide loratadine simvastatin adapalene Ketotifen molindone L-Phenylalanine ramelteon latanoprost (isopropyl ester) Ziconotide L-Ornithine codeine silodosin diphenhydramine cinacalcet letrozole Cyproterone acetate plerixafor blonanserin regorafenib raloxifene leuprolide rosuvastatin dromostanolone propionate boceprevir piroxicam clonazepam propofol esomeprazole enzalutamide flutamide econazole fingolimod Pralidoxime maraviroc triptorelin bezafibrate nicorandil Paclitaxel obeticholic acid roxithromycin (R)-cetirizine hydroxychloroquine metoclopramide bicalutamide testolactone betamethasone mosapride Tesamorelin levodopa Pravastatin riluzole rivaroxaban teriflunomide olaparib vemurafenib trihexyphenidyl metolazone zofenopril Betaxolol telmisartan deslanoside tamsulosin tranylcypromine pethidine tapentadol flupirtine ibandronic acid miglustat L-Tryptophan fluoxymesterone trametinib mesalazine acetylsalicylic acid sivelestat ulipristal acetate suprofen zolpidem diazoxide tasosartan astemizole safinamide atomoxetine tolvaptan suvorexant guanfacine nilotinib anastrozole epinastine palbociclib γ-hydroxybutyric acid Azithromycin physostigmine Valsartan Eribulin netupitant paracetamol benzquinamide zoledronic acid gentamicin reserpine trimetrexate Digoxin levobetaxolol repaglinide lovastatin quinine lenvatinib felodipine chlorpheniramine indoramin nilutamide Cetrorelix gemcitabine valproic acid pramipexole mycophenolic acid valdecoxib aprepitant pyrilamine hydrocodone brimonidine enoxaparin iloperidone norethisterone pipotiazine rivastigmine flurbiprofen nicardipine dexamethasone bufexamac fenoterol Vitamin A prednisone alfuzosin cetirizine lofepramine fosaprepitant nicotinic acid Linaclotide Warfarin empagliflozin doxazosin Sirolimus fluocinonide (-)-sulpiride maprotiline bazedoxifene bambuterol tafluprost carvedilol ambrisentan probucol spironolactone tadalafil terazosin sibutramine hydrochlorothiazide chenodeoxycholic acid ezetimibe apixaban pyrimethamine entacapone Teriparatide miconazole ritonavir Ketoconazole enalapril pranlukast lurasidone Calcitriol nitrendipine cabazitaxel pemetrexed lacosamide cerivastatin neostigmine methadone levallorphan ciprofibrate amoxapine cimadronate labetalol prucalopride Disopyramide dobutamine roflumilast triprolidine loperamide budesonide omeprazole ticlopidine escitalopram sarpogrelate macitentan clemastine fexofenadine cyclizine protriptyline icotinib canagliflozin pinacidil cephalothin pyridostigmine α-methylnoradrenaline sonidegib carazolol tropicamide tolrestat Goserelin zileuton pancuronium bumetanide bromfenac tasimelteon aliskiren tolcapone triiodothyronine frovatriptan conivaptan pirlindole camostat trabectedin levorphanol finasteride minoxidil orlistat vardenafil venlafaxine afatinib oxiglutatione celecoxib dicyclomine ramosetron bimatoprost estrone Ivacaftor vildagliptin paricalcitol 6-aminocaproic acid vismodegib cangrelor galantamine carfilzomib nisoldipine phenytoin practolol fenofibrate cocaine lidocaine ajmalicine methyltestosterone mitoxantrone cabozantinib doxercalciferol carprofen meclofenamic acid vincristine ibrutinib methimazole sitagliptin prednisolone edoxaban furosemide niclosamide amlodipine hexestrol Paroxetine chlorpropamide phenylbutazone citalopram miglitol dapiprazole desloratadine tiagabine reboxetine sufinpyrazone ribavirin propranolol probenecid Ketoprofen etoricoxib dexmedetomidine dexmethylphenidate ximelagatran Tolazoline meloxicam dofetilide temsirolimus (-)-ephedrine melatonin Troglitazone phenylephrine fluocinolone acetonide rimonabant cortisol ethylestrenol Fluvastatin naphazoline fasudil gefitinib vandetanib misoprostol (methyl ester) bupranolol morphine atenolol ciclesonide Amphetamine nimesulide orciprenaline olodaterol tiludronic acid dextromethorphan mazindol axitinib zafirlukast Phenprocoumon bupropion salmeterol domperidone methylprednisolone sotalol Deoxycholic Acid pentoxifylline teduglutide digitoxin Amrinone propafenone Adenosine monophosphate diclofenamide procaine buserelin bosentan fluticasone fenoldopam ticagrelor montelukast levomilnacipran pioglitazone cobimetinib metoprolol dasatinib fenoprofen metyrapone eflornithine chloroquine arformoterol tafamidis ibutilide tamoxifen lapatinib naproxen auranofin nomifensine mirabegron sitaxsentan eluxadoline Phosphatidyl serine ondansetron methylnaltrexone meclizine methylphenidate chlordiazepoxide vorapaxar Imiquimod brexpiprazole pizotifen docetaxel amiodarone amisulpride mexiletine vilanterol
519
[{'concept': 'drug'}, 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:physically_interacts_with ?y . ?z rdf:type ontology:drug . ?y rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q424156
P2175
Q2057971
USER
How many health problems require tadalafil to be prescribed ?
(Q424156,P2175,c(Q2057971))
action count
action filter_type
action find
entity Q424156
relation P2175
type Q2057971
['Q424156', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q424156 property:P2175 ?i . ?i rdf:type ontology:Q2057971 }
tadalafil
action count
action filter_type
action find
entity tadalafil
relation medical condition treated
type health problem
['tadalafil', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:tadalafil property:medical_condition_treated ?i . ?i rdf:type ontology:health_problem }
[]
health problem
SYSTEM
8
Q1128595 Q1153419 Q1648484 Q506659 Q5340515 Q41861 Q184674 Q943897
(Q424156,P2175,c(Q2057971))
action count
action filter_type
action find
entity Q424156
relation P2175
type Q2057971
[ANSWER]
['Q424156', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q424156 property:P2175 ?i . ?i rdf:type ontology:Q2057971 }
pulmonary hypertension interstitial lung disease Duchenne muscular dystrophy prostatic adenoma systemic scleroderma hypertension impotence gastroparesis
8
action count
action filter_type
action find
entity tadalafil
relation medical condition treated
type health problem
['tadalafil', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:tadalafil property:medical_condition_treated ?i . ?i rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q424156
P129
Q181394
USER
Which nutrients do that drug contact with ?
action filter_type
action find
entity Q424156
relation P129
type Q181394
SELECT DISTINCT ?k WHERE { resource:Q424156 property:P129 ?k . ?k rdf:type ontology:Q181394 }
tadalafil
action filter_type
action find
entity tadalafil
relation physically interacts with
type nutrient
SELECT DISTINCT ?k WHERE { resource:tadalafil property:physically_interacts_with ?k . ?k rdf:type ontology:nutrient }
[]
nutrient
Q21119704 Q410798
SYSTEM
Dual 3',5'-cyclic-AMP and -GMP phosphodiesterase 11A, cGMP-specific 3',5'-cyclic phosphodiesterase
Q21119704 Q410798
action filter_type
action find
entity Q424156
relation P129
type Q181394
That drug contact [ANSWERS]
SELECT DISTINCT ?k WHERE { resource:Q424156 property:P129 ?k . ?k rdf:type ontology:Q181394 }
Dual 3',5'-cyclic-AMP and -GMP phosphodiesterase 11A cGMP-specific 3',5'-cyclic phosphodiesterase
That drug contact Dual 3',5'-cyclic-AMP and -GMP phosphodiesterase 11A and cGMP-specific 3',5'-cyclic phosphodiesterase
Dual 3',5'-cyclic-AMP and -GMP phosphodiesterase 11A cGMP-specific 3',5'-cyclic phosphodiesterase
action filter_type
action find
entity tadalafil
relation physically interacts with
type nutrient
SELECT DISTINCT ?k WHERE { resource:tadalafil property:physically_interacts_with ?k . ?k rdf:type ontology:nutrient }
[]