Simple Question (Direct)
Simple Question
Q21983216
P682
Q3249551
USER
What is the process that Probable ATP-dependent RNA helicase DHX58 is involved in ?
(Q21983216,P682,c(Q3249551))
action filter_type
action find
entity Q21983216
relation P682
type Q3249551
['Q21983216', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?b WHERE { resource:Q21983216 property:P682 ?b . ?b rdf:type ontology:Q3249551 }
Probable ATP-dependent RNA helicase DHX58
action filter_type
action find
entity Probable ATP-dependent RNA helicase DHX58
relation biological process
type process
['Probable ATP-dependent RNA helicase DHX58', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?b WHERE { resource:Probable_ATP-dependent_RNA_helicase_DHX58 property:biological_process ?b . ?b rdf:type ontology:process }
[]
process
Q14916317
SYSTEM
immune system process
Q14916317
(Q21983216,P682,c(Q3249551))
action filter_type
action find
entity Q21983216
relation P682
type Q3249551
The process that Probable ATP-dependent RNA helicase DHX58 is involved in is h [ANSWER]
['Q21983216', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?b WHERE { resource:Q21983216 property:P682 ?b . ?b rdf:type ontology:Q3249551 }
immune system process
The process that Probable ATP-dependent RNA helicase DHX58 is involved in is h immune system process
immune system process
action filter_type
action find
entity Probable ATP-dependent RNA helicase DHX58
relation biological process
type process
['Probable ATP-dependent RNA helicase DHX58', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?b WHERE { resource:Probable_ATP-dependent_RNA_helicase_DHX58 property:biological_process ?b . ?b rdf:type ontology:process }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21983216
P702
Q863908
USER
Which nucleic acid sequence encodes Probable ATP-dependent RNA helicase DHX58 ?
(Q21983216,P702,c(Q863908))
action filter_type
action find
entity Q21983216
relation P702
type Q863908
['Q21983216', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q863908 . resource:Q21983216 property:P702 ?c }
Probable ATP-dependent RNA helicase DHX58
action filter_type
action find
entity Probable ATP-dependent RNA helicase DHX58
relation encoded by
type nucleic acid sequence
['Probable ATP-dependent RNA helicase DHX58', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:nucleic_acid_sequence . resource:Probable_ATP-dependent_RNA_helicase_DHX58 property:encoded_by ?c }
[]
nucleic acid sequence
Q18269729
SYSTEM
Dhx58
Q18269729
(Q21983216,P702,c(Q863908))
action filter_type
action find
entity Q21983216
relation P702
type Q863908
[ANSWER] encodes Probable ATP-dependent RNA helicase DHX58
['Q21983216', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q863908 . resource:Q21983216 property:P702 ?c }
Dhx58
Dhx58 encodes Probable ATP-dependent RNA helicase DHX58
Dhx58
action filter_type
action find
entity Probable ATP-dependent RNA helicase DHX58
relation encoded by
type nucleic acid sequence
['Probable ATP-dependent RNA helicase DHX58', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:nucleic_acid_sequence . resource:Probable_ATP-dependent_RNA_helicase_DHX58 property:encoded_by ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21983216
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q18269729)
action filter_type
action find_reverse
entity Q21983216
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q18269729']
SELECT DISTINCT ?c WHERE { ?c property:P688 resource:Q21983216 . ?c rdf:type ontology:Q863908 }
Probable ATP-dependent RNA helicase DHX58
action filter_type
action find_reverse
entity Probable ATP-dependent RNA helicase DHX58
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Dhx58']
SELECT DISTINCT ?c WHERE { ?c property:encodes resource:Probable_ATP-dependent_RNA_helicase_DHX58 . ?c rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18269729
SYSTEM
Dhx58
Q18269729
(c(Q863908),P688,Q18269729)
action filter_type
action find_reverse
entity Q21983216
relation P688
type Q863908
[ANSWER] encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q18269729']
SELECT DISTINCT ?c WHERE { ?c property:P688 resource:Q21983216 . ?c rdf:type ontology:Q863908 }
Dhx58
Dhx58 encodes that nutrient
Dhx58
action filter_type
action find_reverse
entity Probable ATP-dependent RNA helicase DHX58
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Dhx58']
SELECT DISTINCT ?c WHERE { ?c property:encodes resource:Probable_ATP-dependent_RNA_helicase_DHX58 . ?c rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18269729
P684
Q863908
USER
Which nucleic acid sequence is that one an orthlogous gene of ?
(c(Q863908),P684,Q18269729)
action filter_type
action find
entity Q18269729
relation P684
type Q863908
[{'concept': 'Q863908'}, 'P684', 'Q18269729']
SELECT DISTINCT ?g WHERE { resource:Q18269729 property:P684 ?g . ?g rdf:type ontology:Q863908 }
Dhx58
action filter_type
action find
entity Dhx58
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'Dhx58']
SELECT DISTINCT ?g WHERE { resource:Dhx58 property:ortholog ?g . ?g rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18046012
SYSTEM
DHX58
Q18046012
(c(Q863908),P684,Q18269729)
action filter_type
action find
entity Q18269729
relation P684
type Q863908
[ANSWER] is that one an orthlogous gene of
[{'concept': 'Q863908'}, 'P684', 'Q18269729']
SELECT DISTINCT ?g WHERE { resource:Q18269729 property:P684 ?g . ?g rdf:type ontology:Q863908 }
DHX58
DHX58 is that one an orthlogous gene of
DHX58
action filter_type
action find
entity Dhx58
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'Dhx58']
SELECT DISTINCT ?g WHERE { resource:Dhx58 property:ortholog ?g . ?g rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P688
Q181394
USER
How many nutrients do that nucleic acid sequence encode ?
(Q18046012,P688,c(Q181394))
action count
action filter_type
action find
entity Q18046012
relation P688
type Q181394
['Q18046012', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q18046012 property:P688 ?m . ?m rdf:type ontology:Q181394 }
action count
action filter_type
action find
entity DHX58
relation encodes
type nutrient
['DHX58', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:DHX58 property:encodes ?m . ?m rdf:type ontology:nutrient }
[]
nutrient
SYSTEM
2
Q21149176 Q21111268
(Q18046012,P688,c(Q181394))
action count
action filter_type
action find
entity Q18046012
relation P688
type Q181394
[ANSWER]
['Q18046012', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q18046012 property:P688 ?m . ?m rdf:type ontology:Q181394 }
Probable ATP-dependent RNA helicase DHX58 Probable ATP-dependent RNA helicase DHX58
2
action count
action filter_type
action find
entity DHX58
relation encodes
type nutrient
['DHX58', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:DHX58 property:encodes ?m . ?m rdf:type ontology:nutrient }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q6671777 Q5962346 Q3249551
USER
Which processes have their main use as atmost 1 structures and classification schemes ?
(c(Q3249551),P366,c(Q6671777)|c(Q5962346))
action atmost
action union
action find_tuple_counts
relation P366
type Q3249551
type Q6671777
action find_tuple_counts
relation P366
type Q3249551
type Q5962346
value 1
[{'concept': 'Q3249551'}, 'P366', [{'concept': 'Q6671777'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?q ) WHERE { { ?e property:P366 ?i . ?e rdf:type ontology:Q3249551 . ?i rdf:type ontology:Q6671777 } UNION { ?e property:P366 ?i . ?e rdf:type ontology:Q3249551 . ?i rdf:type ontology:Q5962346 } } GROUP BY ?e } . FILTER ( ?q <= 1 ) }
action atmost
action union
action find_tuple_counts
relation use
type process
type structure
action find_tuple_counts
relation use
type process
type classification scheme
value 1
[{'concept': 'process'}, 'use', [{'concept': 'structure'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?q ) WHERE { { ?e property:use ?i . ?e rdf:type ontology:process . ?i rdf:type ontology:structure } UNION { ?e property:use ?i . ?e rdf:type ontology:process . ?i rdf:type ontology:classification_scheme } } GROUP BY ?e } . FILTER ( ?q <= 1 ) }
[]
structure classification scheme process
Q21006380 Q228185 Q338709
SYSTEM
carbon dioxide cleaning, Zufallsprinzip, accelerometry
Q228185 Q4993278 Q244945 Q913323 Q22681126 Q1777267 Q1762591 Q198947 Q245045 Q2334061 Q1002535 Q807926 Q207122 Q21006380 Q651206 Q759327 Q231938 Q229344 Q247236 Q231703 Q229956 Q2261628 Q164707 Q1244869 Q338709 Q18120378 Q1415489 Q233031 Q256311 Q320060 Q286949 Q571741 Q198945 Q306581 Q233018 Q5459872 Q1022314 Q860803 Q13461032
(c(Q3249551),P366,c(Q6671777)|c(Q5962346))
action atmost
action union
action find_tuple_counts
relation P366
type Q3249551
type Q6671777
action find_tuple_counts
relation P366
type Q3249551
type Q5962346
value 1
[ANSWERS] have their main use as atmost 1 structures and classification schemes
[{'concept': 'Q3249551'}, 'P366', [{'concept': 'Q6671777'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?q ) WHERE { { ?e property:P366 ?i . ?e rdf:type ontology:Q3249551 . ?i rdf:type ontology:Q6671777 } UNION { ?e property:P366 ?i . ?e rdf:type ontology:Q3249551 . ?i rdf:type ontology:Q5962346 } } GROUP BY ?e } . FILTER ( ?q <= 1 ) }
Zufallsprinzip Dalén light intercropping separation of variables Classification And Regression Tree bone fracture treatment diagnostic test Zielbeleuchtung Intercut design of experiments geometric modeling Barcheck Artificial insemination carbon dioxide cleaning isolation tank Auf Putz Zwei-Zettel-Spiel 3D Documentation Zählverfahren Zwangszentrierung 4-Gläser-Probe Chopped and screwed 100-Fallennächte Glocken accelerometry measurement method Managed float regime Two-point measurement equivalence scale outflow measurement airway management Anteigen Zielbaumverfahren thicken by boiling two-point calibration Floating C-Test Bildflug mnemotechnic
Carbon dioxide cleaning, Zufallsprinzip and accelerometry have their main use as atmost 1 structures and classification schemes
carbon dioxide cleaning Zufallsprinzip accelerometry
action atmost
action union
action find_tuple_counts
relation use
type process
type structure
action find_tuple_counts
relation use
type process
type classification scheme
value 1
[{'concept': 'process'}, 'use', [{'concept': 'structure'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?q ) WHERE { { ?e property:use ?i . ?e rdf:type ontology:process . ?i rdf:type ontology:structure } UNION { ?e property:use ?i . ?e rdf:type ontology:process . ?i rdf:type ontology:classification_scheme } } GROUP BY ?e } . FILTER ( ?q <= 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21006380
P186
Q8386
USER
Which drug is used to construct that process ?
(Q21006380,P186,c(Q8386))
action filter_type
action find
entity Q21006380
relation P186
type Q8386
['Q21006380', 'P186', {'concept': 'Q8386'}]
SELECT DISTINCT ?l WHERE { resource:Q21006380 property:P186 ?l . ?l rdf:type ontology:Q8386 }
carbon dioxide cleaning
action filter_type
action find
entity carbon dioxide cleaning
relation material used
type drug
['carbon dioxide cleaning', 'material used', {'concept': 'drug'}]
SELECT DISTINCT ?l WHERE { resource:carbon_dioxide_cleaning property:material_used ?l . ?l rdf:type ontology:drug }
[]
drug
Clarification for simple ques.
Q338709
SYSTEM
Did you mean accelerometry ?
Q21006380 Q228185 Q338709
(Q21006380,P186,c(Q8386)) (Q228185,P186,c(Q8386)) (Q338709,P186,c(Q8386))
[ANSWER]
['Q21006380', 'P186', {'concept': 'Q8386'}] ['Q228185', 'P186', {'concept': 'Q8386'}] ['Q338709', 'P186', {'concept': 'Q8386'}]
SELECT DISTINCT ?l WHERE { resource:Q21006380 property:P186 ?l . ?l rdf:type ontology:Q8386 }
carbon dioxide cleaning Zufallsprinzip accelerometry
Did you mean accelerometry ?
accelerometry
['carbon dioxide cleaning', 'material used', {'concept': 'drug'}] ['Zufallsprinzip', 'material used', {'concept': 'drug'}] ['accelerometry', 'material used', {'concept': 'drug'}]
SELECT DISTINCT ?l WHERE { resource:carbon_dioxide_cleaning property:material_used ?l . ?l rdf:type ontology:drug }
[]
Simple Question (Coreferenced)
USER
No, I meant carbon dioxide cleaning. Could you tell me the answer for that?
(Q21006380,P186,c(Q8386))
Q21006380
['Q21006380', 'P186', {'concept': 'Q8386'}]
['carbon dioxide cleaning', 'material used', {'concept': 'drug'}]
[]
Q1997
SYSTEM
Carbon dioxide
Q1997
(Q21006380,P186,c(Q8386))
action filter_type
action find
entity Q21006380
relation P186
type Q8386
[ANSWER] is used to construct that process
['Q21006380', 'P186', {'concept': 'Q8386'}]
SELECT DISTINCT ?l WHERE { resource:Q21006380 property:P186 ?l . ?l rdf:type ontology:Q8386 }
Carbon dioxide
Carbon dioxide is used to construct that process
Carbon dioxide
action filter_type
action find
entity carbon dioxide cleaning
relation material used
type drug
['carbon dioxide cleaning', 'material used', {'concept': 'drug'}]
SELECT DISTINCT ?l WHERE { resource:carbon_dioxide_cleaning property:material_used ?l . ?l rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2176
Q8386 Q2057971
USER
How many health problems are cured by around 93 drugs ?
(c(Q2057971),P2176,c(Q8386))
action count
action approx
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
value 93
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?y ) WHERE { ?s property:P2176 ?l . ?s rdf:type ontology:Q2057971 . ?l rdf:type ontology:Q8386 } GROUP BY ?s } . FILTER ( ?y = 93 ) }
action count
action approx
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
value 93
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?y ) WHERE { ?s property:drug_used_for_treatment ?l . ?s rdf:type ontology:health_problem . ?l rdf:type ontology:drug } GROUP BY ?s } . FILTER ( ?y = 93 ) }
[]
drug health problem
SYSTEM
1
Q41861
(c(Q2057971),P2176,c(Q8386))
action count
action approx
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
value 93
[ANSWER]
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?y ) WHERE { ?s property:P2176 ?l . ?s rdf:type ontology:Q2057971 . ?l rdf:type ontology:Q8386 } GROUP BY ?s } . FILTER ( ?y = 93 ) }
hypertension
1
action count
action approx
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
value 93
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?y ) WHERE { ?s property:drug_used_for_treatment ?l . ?s rdf:type ontology:health_problem . ?l rdf:type ontology:drug } GROUP BY ?s } . FILTER ( ?y = 93 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3327495
P2176
Q8386 Q2057971
USER
How many health problems are treated with greater number of drugs than Oral candidiasis ?
(c(Q2057971),P2176,c(Q8386))
action count
action greater
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q3327495
relation P2176
type Q2057971
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?e property:P2176 ?x . ?e rdf:type ontology:Q2057971 . ?x rdf:type ontology:Q8386 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z rdf:type ontology:Q2057971 . resource:Q3327495 property:P2176 ?z } } . FILTER ( ?p > ?i ) }
Oral candidiasis
action count
action greater
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity Oral candidiasis
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?e property:drug_used_for_treatment ?x . ?e rdf:type ontology:health_problem . ?x rdf:type ontology:drug } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z rdf:type ontology:health_problem . resource:Oral_candidiasis property:drug_used_for_treatment ?z } } . FILTER ( ?p > ?i ) }
[]
drug health problem
SYSTEM
162
Q916280 Q3776920 Q35869 Q18556131 Q2085267 Q725345 Q273510 Q147778 Q638729 Q264118 Q830308 Q980709 Q1072420 Q18968110 Q185034 Q9294051 Q184559 Q180614 Q208414 Q18555117 Q18554191 Q12152 Q18556697 Q172341 Q41478 Q212961 Q504775 Q448310 Q220570 Q189588 Q18554672 Q741713 Q2032041 Q6708277 Q2157462 Q133087 Q12206 Q223254 Q324464 Q653971 Q372701 Q166019 Q2290446 Q1485 Q815819 Q19000444 Q5340515 Q838966 Q954625 Q1128595 Q79928 Q938107 Q844935 Q18971509 Q281490 Q5609817 Q19597369 Q18555302 Q929737 Q1641132 Q949302 Q4676432 Q183344 Q52849 Q184674 Q221668 Q178436 Q2450598 Q165328 Q389735 Q486485 Q18975905 Q19000661 Q19000544 Q259626 Q736715 Q128581 Q12199 Q18556113 Q18555301 Q18975788 Q467635 Q133823 Q18554145 Q861224 Q18555280 Q3041498 Q178194 Q938205 Q12174 Q52844 Q268667 Q1477 Q223591 Q729735 Q631361 Q18556020 Q506659 Q18555222 Q18556933 Q18556932 Q159701 Q544006 Q199804 Q7535406 Q181257 Q8277 Q38404 Q42982 Q114085 Q1054718 Q131755 Q12156 Q18557827 Q33525 Q11085 Q179399 Q4119259 Q41861 Q540571 Q18556612 Q18556979 Q124407 Q1891209 Q18555313 Q41571 Q154869 Q7331102 Q464067 Q62736 Q504790 Q218712 Q153356 Q187255 Q17141201 Q18555307 Q3108586 Q12192 Q18553940 Q202387 Q511097 Q1128440 Q172941 Q18554460 Q3441028 Q83030 Q5442760 Q178190 Q1435822 Q18971555 Q4862390 Q191779 Q1783924 Q18555066 Q181923 Q1088156 Q101896 Q8285 Q18553444 Q187440 Q977090 Q29496
(c(Q2057971),P2176,c(Q8386))
action count
action greater
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q3327495
relation P2176
type Q2057971
[ANSWER]
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?e property:P2176 ?x . ?e rdf:type ontology:Q2057971 . ?x rdf:type ontology:Q8386 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z rdf:type ontology:Q2057971 . resource:Q3327495 property:P2176 ?z } } . FILTER ( ?p > ?i ) }
restless legs syndrome bacterial pneumonia asthma thyroid carcinoma pharyngitis Kaposi's sarcoma candidiasis liver cirrhosis autoimmune thrombocytopenic purpura acute myeloid leukemia age related macular degeneration status epilepticus primary biliary cirrhosis duodenal ulcer sickle cell anemia ocular hypertension arteriosclerosis melanoma lymphoma opiate dependence visual epilepsy myocardial infarction human immunodeficiency virus infectious disease ovarian cancer hemorrhoid pancreatic cancer urinary bladder cancer seborrheic dermatitis pulmonary embolism stomach cancer Plasmodium falciparum malaria panic disorder intermediate coronary syndrome lymphoid leukemia schizophreniform disorder gout diabetes mellitus otitis media Testicular cancer dyspepsia esophageal cancer bleeding idiopathic pulmonary fibrosis systemic lupus erythematosus atrial fibrillation neurotic disorder systemic scleroderma irritable bowel syndrome myelodysplastic syndrome pulmonary hypertension acne hypogonadism coronary artery disease focal epilepsy urinary incontinence .l. Athlete's foot Gram-negative bacterial infection scalp dermatosis liver disease malignant hypertension skin disease pustulosis of palm and sole sinusitis ankylosing spondylitis impotence acute cystitis constipation infective endocarditis osteoporosis cardiovascular disease Anasarca collecting duct carcinoma congestive heart failure lung small cell carcinoma aspergillosis chronic kidney disease breast cancer acquired immunodeficiency syndrome non-small cell lung carcinoma facial dermatosis spindle cell sarcoma multiple myeloma migraine familial hyperlipidemia juvenile idiopathic arthritis giant cell glioblastoma eye disease cystic fibrosis neuroblastoma obesity enthesopathy atopic dermatitis ulcerative colitis gastroesophageal reflux disease chronic myeloid leukemia diabetic retinopathy lung benign neoplasm prostatic adenoma endometrial carcinoma cribriform carcinoma large intestine cancer glaucoma anxiety disorder chronic obstructive pulmonary disease skin infection prostate cancer multiple sclerosis autism type I hypersensitivity rhinitis kidney disease bipolar disorder malaria cocaine abuse carcinoma Parkinson's disease infertility vernal conjunctivitis hypertension fibromyalgia mixed glioma peripheral nervous system disease type 1 diabetes mellitus mycosis fungoides hand dermatosis epilepsy hepatitis C alcohol abuse mycosis osteoarthritis/osteodystrophy nephrotic syndrome Zollinger-Ellison syndrome chlamydia rheumatoid arthritis Tinea leg dermatosis open-angle glaucoma pneumonia gastric ulcer post-traumatic stress disorder psoriatic arthritis toxic shock syndrome peptic ulcer disease brain cancer Norum disease dementia female reproductive system disease obsessive-compulsive disorder neutropenia obstructive lung disease brain ischemia Gilles de la Tourette syndrome head and neck cancer relapsing-remitting multiple sclerosis attention deficit hyperactivity disorder chronic lymphocytic leukemia gonorrhea myasthenia gravis nicotine dependence urticaria vulvovaginal candidiasis leukemia
162
action count
action greater
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity Oral candidiasis
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?e property:drug_used_for_treatment ?x . ?e rdf:type ontology:health_problem . ?x rdf:type ontology:drug } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z rdf:type ontology:health_problem . resource:Oral_candidiasis property:drug_used_for_treatment ?z } } . FILTER ( ?p > ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q631361
P2176
Q8386 Q2057971
USER
And also tell me about diabetic retinopathy?
(c(Q2057971),P2176,c(Q8386))
action count
action greater
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q631361
relation P2176
type Q2057971
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?g ) WHERE { ?j property:P2176 ?i . ?i rdf:type ontology:Q8386 . ?j rdf:type ontology:Q2057971 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q631361 property:P2176 ?b . ?b rdf:type ontology:Q2057971 } } . FILTER ( ?g > ?x ) }
diabetic retinopathy
action count
action greater
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity diabetic retinopathy
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?g ) WHERE { ?j property:drug_used_for_treatment ?i . ?i rdf:type ontology:drug . ?j rdf:type ontology:health_problem } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:diabetic_retinopathy property:drug_used_for_treatment ?b . ?b rdf:type ontology:health_problem } } . FILTER ( ?g > ?x ) }
[]
drug health problem
SYSTEM
83
Q3776920 Q35869 Q264118 Q18968110 Q185034 Q184559 Q180614 Q208414 Q18554191 Q12152 Q18556697 Q172341 Q41478 Q212961 Q504775 Q220570 Q189588 Q6708277 Q2157462 Q12206 Q223254 Q166019 Q1485 Q815819 Q19000444 Q954625 Q1128595 Q79928 Q844935 Q18971509 Q19597369 Q4676432 Q183344 Q52849 Q221668 Q389735 Q486485 Q18975905 Q19000661 Q128581 Q12199 Q18556113 Q18975788 Q467635 Q133823 Q18554145 Q861224 Q3041498 Q12174 Q52844 Q268667 Q1477 Q223591 Q18556020 Q18555222 Q18556932 Q159701 Q544006 Q199804 Q181257 Q8277 Q131755 Q18557827 Q33525 Q11085 Q179399 Q41861 Q18556612 Q124407 Q41571 Q7331102 Q62736 Q504790 Q187255 Q3108586 Q172941 Q18971555 Q1783924 Q181923 Q1088156 Q101896 Q187440 Q29496
(c(Q2057971),P2176,c(Q8386))
action count
action greater
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q631361
relation P2176
type Q2057971
[ANSWER]
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?g ) WHERE { ?j property:P2176 ?i . ?i rdf:type ontology:Q8386 . ?j rdf:type ontology:Q2057971 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q631361 property:P2176 ?b . ?b rdf:type ontology:Q2057971 } } . FILTER ( ?g > ?x ) }
bacterial pneumonia asthma acute myeloid leukemia duodenal ulcer sickle cell anemia arteriosclerosis melanoma lymphoma visual epilepsy myocardial infarction human immunodeficiency virus infectious disease ovarian cancer hemorrhoid pancreatic cancer urinary bladder cancer pulmonary embolism stomach cancer lymphoid leukemia schizophreniform disorder diabetes mellitus otitis media bleeding systemic lupus erythematosus atrial fibrillation neurotic disorder myelodysplastic syndrome pulmonary hypertension acne coronary artery disease focal epilepsy Gram-negative bacterial infection pustulosis of palm and sole sinusitis ankylosing spondylitis acute cystitis cardiovascular disease Anasarca collecting duct carcinoma congestive heart failure breast cancer acquired immunodeficiency syndrome non-small cell lung carcinoma spindle cell sarcoma multiple myeloma migraine familial hyperlipidemia juvenile idiopathic arthritis eye disease obesity enthesopathy atopic dermatitis ulcerative colitis gastroesophageal reflux disease lung benign neoplasm endometrial carcinoma large intestine cancer glaucoma anxiety disorder chronic obstructive pulmonary disease prostate cancer multiple sclerosis bipolar disorder cocaine abuse carcinoma Parkinson's disease infertility hypertension mixed glioma type 1 diabetes mellitus epilepsy alcohol abuse osteoarthritis/osteodystrophy nephrotic syndrome rheumatoid arthritis open-angle glaucoma peptic ulcer disease obstructive lung disease head and neck cancer attention deficit hyperactivity disorder chronic lymphocytic leukemia gonorrhea urticaria leukemia
83
action count
action greater
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity diabetic retinopathy
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?g ) WHERE { ?j property:drug_used_for_treatment ?i . ?i rdf:type ontology:drug . ?j rdf:type ontology:health_problem } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:diabetic_retinopathy property:drug_used_for_treatment ?b . ?b rdf:type ontology:health_problem } } . FILTER ( ?g > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q7331102
P2175
Q2057971 Q8386
USER
Which health problems are cured by approximately the same number of drugs as alcohol abuse ?
(c(Q8386),P2175,c(Q2057971))
action approx
action find_reverse_tuple_counts
relation P2175
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q7331102
relation P2175
type Q2057971
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?x ) WHERE { ?z rdf:type ontology:Q2057971 . ?j rdf:type ontology:Q8386 . ?j property:P2175 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q7331102 property:P2175 ?c . ?c rdf:type ontology:Q2057971 } } . FILTER ( ?x = ?o ) }
alcohol abuse
action approx
action find_reverse_tuple_counts
relation medical condition treated
type health problem
type drug
action count
action filter_type
action find
entity alcohol abuse
relation medical condition treated
type health problem
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?x ) WHERE { ?z rdf:type ontology:health_problem . ?j rdf:type ontology:drug . ?j property:medical_condition_treated ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:alcohol_abuse property:medical_condition_treated ?c . ?c rdf:type ontology:health_problem } } . FILTER ( ?x = ?o ) }
[]
health problem drug
Q12174 Q131755 Q181923
SYSTEM
obesity, bipolar disorder, attention deficit hyperactivity disorder
Q916280 Q3776920 Q18556131 Q2085267 Q725345 Q273510 Q147778 Q638729 Q264118 Q830308 Q980709 Q1072420 Q18968110 Q185034 Q9294051 Q184559 Q18555117 Q18554191 Q11085 Q41478 Q212961 Q504775 Q448310 Q220570 Q189588 Q18554672 Q741713 Q18555280 Q6708277 Q12206 Q133087 Q223254 Q324464 Q653971 Q372701 Q166019 Q2290446 Q1485 Q5340515 Q838966 Q954625 Q1128595 Q938107 Q18971509 Q281490 Q5609817 Q18555302 Q929737 Q1641132 Q949302 Q183344 Q2032041 Q184674 Q178436 Q2450598 Q165328 Q486485 Q18975905 Q19000544 Q259626 Q736715 Q12199 Q18555301 Q18975788 Q133823 Q18554145 Q861224 Q178194 Q938205 Q12174 Q52844 Q52849 Q268667 Q1477 Q223591 Q729735 Q631361 Q18556020 Q506659 Q18555222 Q18556933 Q159701 Q199804 Q7535406 Q38404 Q42982 Q114085 Q1054718 Q131755 Q12156 Q18557827 Q33525 Q179399 Q4119259 Q540571 Q79928 Q18556612 Q18556979 Q124407 Q1891209 Q18555313 Q154869 Q7331102 Q464067 Q504790 Q218712 Q153356 Q17141201 Q18555307 Q3108586 Q12192 Q18553940 Q202387 Q511097 Q172941 Q18554460 Q3441028 Q83030 Q5442760 Q178190 Q1435822 Q18971555 Q4862390 Q191779 Q1783924 Q18555066 Q181923 Q1088156 Q101896 Q8285 Q18553444 Q187440 Q977090
(c(Q8386),P2175,c(Q2057971))
action approx
action find_reverse_tuple_counts
relation P2175
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q7331102
relation P2175
type Q2057971
[ANSWERS] are cured by approximately the same number of drugs as alcohol abuse
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?x ) WHERE { ?z rdf:type ontology:Q2057971 . ?j rdf:type ontology:Q8386 . ?j property:P2175 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q7331102 property:P2175 ?c . ?c rdf:type ontology:Q2057971 } } . FILTER ( ?x = ?o ) }
restless legs syndrome bacterial pneumonia thyroid carcinoma pharyngitis Kaposi's sarcoma candidiasis liver cirrhosis autoimmune thrombocytopenic purpura acute myeloid leukemia age related macular degeneration status epilepticus primary biliary cirrhosis duodenal ulcer sickle cell anemia ocular hypertension arteriosclerosis opiate dependence visual epilepsy Parkinson's disease hemorrhoid pancreatic cancer urinary bladder cancer seborrheic dermatitis pulmonary embolism stomach cancer Plasmodium falciparum malaria panic disorder giant cell glioblastoma lymphoid leukemia diabetes mellitus gout otitis media Testicular cancer dyspepsia esophageal cancer bleeding idiopathic pulmonary fibrosis systemic lupus erythematosus systemic scleroderma irritable bowel syndrome myelodysplastic syndrome pulmonary hypertension hypogonadism focal epilepsy urinary incontinence .l. Athlete's foot scalp dermatosis liver disease malignant hypertension skin disease sinusitis intermediate coronary syndrome impotence constipation infective endocarditis osteoporosis Anasarca collecting duct carcinoma lung small cell carcinoma aspergillosis chronic kidney disease acquired immunodeficiency syndrome facial dermatosis spindle cell sarcoma migraine familial hyperlipidemia juvenile idiopathic arthritis cystic fibrosis neuroblastoma obesity enthesopathy ankylosing spondylitis atopic dermatitis ulcerative colitis gastroesophageal reflux disease chronic myeloid leukemia diabetic retinopathy lung benign neoplasm prostatic adenoma endometrial carcinoma cribriform carcinoma glaucoma chronic obstructive pulmonary disease skin infection autism type I hypersensitivity rhinitis kidney disease bipolar disorder malaria cocaine abuse carcinoma infertility vernal conjunctivitis fibromyalgia acne mixed glioma peripheral nervous system disease type 1 diabetes mellitus mycosis fungoides hand dermatosis hepatitis C alcohol abuse mycosis nephrotic syndrome Zollinger-Ellison syndrome chlamydia Tinea leg dermatosis open-angle glaucoma pneumonia gastric ulcer post-traumatic stress disorder psoriatic arthritis peptic ulcer disease brain cancer Norum disease dementia female reproductive system disease obsessive-compulsive disorder neutropenia obstructive lung disease brain ischemia Gilles de la Tourette syndrome head and neck cancer relapsing-remitting multiple sclerosis attention deficit hyperactivity disorder chronic lymphocytic leukemia gonorrhea myasthenia gravis nicotine dependence urticaria vulvovaginal candidiasis
Obesity, bipolar disorder and attention deficit hyperactivity disorder are cured by approximately the same number of drugs as alcohol abuse
obesity bipolar disorder attention deficit hyperactivity disorder
action approx
action find_reverse_tuple_counts
relation medical condition treated
type health problem
type drug
action count
action filter_type
action find
entity alcohol abuse
relation medical condition treated
type health problem
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?x ) WHERE { ?z rdf:type ontology:health_problem . ?j rdf:type ontology:drug . ?j property:medical_condition_treated ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:alcohol_abuse property:medical_condition_treated ?c . ?c rdf:type ontology:health_problem } } . FILTER ( ?x = ?o ) }
[]