Simple Question (Direct)
Simple Question
Q21130085
P702
Q863908
USER
What encodes Mitogen-activated protein kinase kinase kinase kinase 5 ?
(Q21130085,P702,c(Q863908))
action filter_type
action find
entity Q21130085
relation P702
type Q863908
['Q21130085', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?f WHERE { resource:Q21130085 property:P702 ?f . ?f rdf:type ontology:Q863908 }
Mitogen-activated protein kinase kinase kinase kinase 5
action filter_type
action find
entity Mitogen-activated protein kinase kinase kinase kinase 5
relation encoded by
type nucleic acid sequence
['Mitogen-activated protein kinase kinase kinase kinase 5', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?f WHERE { resource:Mitogen-activated_protein_kinase_kinase_kinase_kinase_5 property:encoded_by ?f . ?f rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18036250
SYSTEM
MAP4K5
Q18036250
(Q21130085,P702,c(Q863908))
action filter_type
action find
entity Q21130085
relation P702
type Q863908
[ANSWER] encodes Mitogen-activated protein kinase kinase kinase 5
['Q21130085', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?f WHERE { resource:Q21130085 property:P702 ?f . ?f rdf:type ontology:Q863908 }
MAP4K5
MAP4K5 encodes Mitogen-activated protein kinase kinase kinase 5
MAP4K5
action filter_type
action find
entity Mitogen-activated protein kinase kinase kinase kinase 5
relation encoded by
type nucleic acid sequence
['Mitogen-activated protein kinase kinase kinase kinase 5', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?f WHERE { resource:Mitogen-activated_protein_kinase_kinase_kinase_kinase_5 property:encoded_by ?f . ?f rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18036250
P703
Q16521
USER
Where is that nucleic acid sequence found ?
(Q18036250,P703,c(Q16521))
action filter_type
action find
entity Q18036250
relation P703
type Q16521
['Q18036250', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?v WHERE { resource:Q18036250 property:P703 ?v . ?v rdf:type ontology:Q16521 }
MAP4K5
action filter_type
action find
entity MAP4K5
relation found in taxon
type taxon
['MAP4K5', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?v WHERE { resource:MAP4K5 property:found_in_taxon ?v . ?v rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q18036250,P703,c(Q16521))
action filter_type
action find
entity Q18036250
relation P703
type Q16521
That nucleic acid sequence is found in [ANSWER]
['Q18036250', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?v WHERE { resource:Q18036250 property:P703 ?v . ?v rdf:type ontology:Q16521 }
Homo sapiens
That nucleic acid sequence is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity MAP4K5
relation found in taxon
type taxon
['MAP4K5', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?v WHERE { resource:MAP4K5 property:found_in_taxon ?v . ?v rdf:type ontology:taxon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18036250
P684
Q863908
USER
What is the name of the species that has MAP4K5 as its orthologous gene ?
(c(Q863908),P684,Q18036250)
action filter_type
action find
entity Q18036250
relation P684
type Q863908
[{'concept': 'Q863908'}, 'P684', 'Q18036250']
SELECT DISTINCT ?b WHERE { resource:Q18036250 property:P684 ?b . ?b rdf:type ontology:Q863908 }
MAP4K5
action filter_type
action find
entity MAP4K5
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'MAP4K5']
SELECT DISTINCT ?b WHERE { resource:MAP4K5 property:ortholog ?b . ?b rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18304191
SYSTEM
Map4k5
Q18304191
(c(Q863908),P684,Q18036250)
action filter_type
action find
entity Q18036250
relation P684
type Q863908
The name of the species that has MAP4 K5 as its orthologous gene is [ANSWER]
[{'concept': 'Q863908'}, 'P684', 'Q18036250']
SELECT DISTINCT ?b WHERE { resource:Q18036250 property:P684 ?b . ?b rdf:type ontology:Q863908 }
Map4k5
The name of the species that has MAP4 K5 as its orthologous gene is Map4k5
Map4k5
action filter_type
action find
entity MAP4K5
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'MAP4K5']
SELECT DISTINCT ?b WHERE { resource:MAP4K5 property:ortholog ?b . ?b rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18304191
P688
Q181394
USER
Which nutrient is encoded by that nucleic acid sequence ?
(Q18304191,P688,c(Q181394))
action filter_type
action find
entity Q18304191
relation P688
type Q181394
['Q18304191', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?i WHERE { resource:Q18304191 property:P688 ?i . ?i rdf:type ontology:Q181394 }
Map4k5
action filter_type
action find
entity Map4k5
relation encodes
type nutrient
['Map4k5', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?i WHERE { resource:Map4k5 property:encodes ?i . ?i rdf:type ontology:nutrient }
[]
nutrient
Q21985112
SYSTEM
Mitogen-activated protein kinase kinase kinase kinase 5
Q21985112
(Q18304191,P688,c(Q181394))
action filter_type
action find
entity Q18304191
relation P688
type Q181394
The Mitogen-activated protein kinase kinase 5 is encoded by that nucleic acid sequence
['Q18304191', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?i WHERE { resource:Q18304191 property:P688 ?i . ?i rdf:type ontology:Q181394 }
Mitogen-activated protein kinase kinase kinase kinase 5
The Mitogen-activated protein kinase kinase 5 is encoded by that nucleic acid sequence
Mitogen-activated protein kinase kinase kinase kinase 5
action filter_type
action find
entity Map4k5
relation encodes
type nutrient
['Map4k5', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?i WHERE { resource:Map4k5 property:encodes ?i . ?i rdf:type ontology:nutrient }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q21985112 Q23076314
P702
Q863908
USER
Does glycyl-tRNA synthetase subunit alpha    EAE_06095 encode that nutrient ?
(Q21985112,P702,Q23076314)
action is_in
entity Q23076314
action find
entity Q21985112
relation P702
['Q21985112', 'P702', 'Q23076314']
ASK WHERE { resource:Q21985112 property:P702 resource:Q23076314 }
Mitogen-activated protein kinase kinase kinase kinase 5 glycyl-tRNA synthetase subunit alpha    EAE_06095
action is_in
entity glycyl-tRNA synthetase subunit alpha    EAE_06095
action find
entity Mitogen-activated protein kinase kinase kinase kinase 5
relation encoded by
['Mitogen-activated protein kinase kinase kinase kinase 5', 'encoded by', 'glycyl-tRNA synthetase subunit alpha    EAE_06095']
ASK WHERE { resource:Mitogen-activated_protein_kinase_kinase_kinase_kinase_5 property:encoded_by resource:glycyl-tRNA_synthetase_subunit_alpha____EAE_06095 }
[]
nucleic acid sequence
SYSTEM
NO
(Q21985112,P702,Q23076314)
action is_in
entity Q23076314
action find
entity Q21985112
relation P702
[ANSWER]
['Q21985112', 'P702', 'Q23076314']
ASK WHERE { resource:Q21985112 property:P702 resource:Q23076314 }
No
action is_in
entity glycyl-tRNA synthetase subunit alpha    EAE_06095
action find
entity Mitogen-activated protein kinase kinase kinase kinase 5
relation encoded by
['Mitogen-activated protein kinase kinase kinase kinase 5', 'encoded by', 'glycyl-tRNA synthetase subunit alpha    EAE_06095']
ASK WHERE { resource:Mitogen-activated_protein_kinase_kinase_kinase_kinase_5 property:encoded_by resource:glycyl-tRNA_synthetase_subunit_alpha____EAE_06095 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21130085
P129
Q8386
USER
Which drug communicates with Mitogen-activated protein kinase kinase kinase kinase 5 ?
(c(Q8386),P129,Q21130085)
action filter_type
action find
entity Q21130085
relation P129
type Q8386
[{'concept': 'Q8386'}, 'P129', 'Q21130085']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q8386 . resource:Q21130085 property:P129 ?k }
Mitogen-activated protein kinase kinase kinase kinase 5
action filter_type
action find
entity Mitogen-activated protein kinase kinase kinase kinase 5
relation physically interacts with
type drug
[{'concept': 'drug'}, 'physically interacts with', 'Mitogen-activated protein kinase kinase kinase kinase 5']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:drug . resource:Mitogen-activated_protein_kinase_kinase_kinase_kinase_5 property:physically_interacts_with ?k }
[]
drug
Q894611
SYSTEM
bosutinib
Q894611
(c(Q8386),P129,Q21130085)
action filter_type
action find
entity Q21130085
relation P129
type Q8386
And [ANSWER] communicates with Mitogen-activated protein kinase kinase 5
[{'concept': 'Q8386'}, 'P129', 'Q21130085']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q8386 . resource:Q21130085 property:P129 ?k }
bosutinib
And bosutinib communicates with Mitogen-activated protein kinase kinase 5
bosutinib
action filter_type
action find
entity Mitogen-activated protein kinase kinase kinase kinase 5
relation physically interacts with
type drug
[{'concept': 'drug'}, 'physically interacts with', 'Mitogen-activated protein kinase kinase kinase kinase 5']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:drug . resource:Mitogen-activated_protein_kinase_kinase_kinase_kinase_5 property:physically_interacts_with ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q894611
P2176
Q2057971
USER
Which health problems require that drug in their treatment ?
(c(Q2057971),P2176,Q894611)
action filter_type
action find_reverse
entity Q894611
relation P2176
type Q2057971
[{'concept': 'Q2057971'}, 'P2176', 'Q894611']
SELECT DISTINCT ?d WHERE { ?d property:P2176 resource:Q894611 . ?d rdf:type ontology:Q2057971 }
bosutinib
action filter_type
action find_reverse
entity bosutinib
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', 'bosutinib']
SELECT DISTINCT ?d WHERE { ?d property:drug_used_for_treatment resource:bosutinib . ?d rdf:type ontology:health_problem }
[]
health problem
Q729735 Q18555280
SYSTEM
chronic myeloid leukemia, giant cell glioblastoma
Q729735 Q18555280
(c(Q2057971),P2176,Q894611)
action filter_type
action find_reverse
entity Q894611
relation P2176
type Q2057971
[ANSWERS] require that drug in their treatment
[{'concept': 'Q2057971'}, 'P2176', 'Q894611']
SELECT DISTINCT ?d WHERE { ?d property:P2176 resource:Q894611 . ?d rdf:type ontology:Q2057971 }
chronic myeloid leukemia giant cell glioblastoma
Chronic myeloid leukemia and giant cell glioblastoma require that drug in their treatment
chronic myeloid leukemia giant cell glioblastoma
action filter_type
action find_reverse
entity bosutinib
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', 'bosutinib']
SELECT DISTINCT ?d WHERE { ?d property:drug_used_for_treatment resource:bosutinib . ?d rdf:type ontology:health_problem }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P828
Q2057971 Q12136 Q2057971
USER
Which health problems are the causes of min number of diseases or health problems ?
(c(Q12136)|c(Q2057971),P828,c(Q2057971))
action argmin
action union
action find_reverse_tuple_counts
relation P828
type Q2057971
type Q12136
action find_reverse_tuple_counts
relation P828
type Q2057971
type Q2057971
[[{'concept': 'Q12136'}, {'concept': 'Q2057971'}], 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?y WHERE { { ?i property:P828 ?y . ?y rdf:type ontology:Q2057971 . ?i rdf:type ontology:Q12136 } UNION { ?i rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q2057971 . ?i property:P828 ?y } } GROUP BY ?y } . FILTER ( ?j = ?f ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?t WHERE { VALUES ( ?u ) { ( ontology:Q12136 ) ( ontology:Q2057971 ) } . ?r rdf:type ?u } GROUP BY ?t } } }
action argmin
action union
action find_reverse_tuple_counts
relation has cause
type health problem
type disease
action find_reverse_tuple_counts
relation has cause
type health problem
type health problem
[[{'concept': 'disease'}, {'concept': 'health problem'}], 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?y WHERE { { ?i property:has_cause ?y . ?y rdf:type ontology:health_problem . ?i rdf:type ontology:disease } UNION { ?i rdf:type ontology:health_problem . ?y rdf:type ontology:health_problem . ?i property:has_cause ?y } } GROUP BY ?y } . FILTER ( ?j = ?f ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?t WHERE { VALUES ( ?u ) { ( ontology:disease ) ( ontology:health_problem ) } . ?r rdf:type ?u } GROUP BY ?t } } }
[]
health problem disease health problem
Q11085 Q12152 Q29496
SYSTEM
Parkinson's disease, myocardial infarction, leukemia
Q83319 Q271759 Q41478 Q1909343 Q7080278 Q836356 Q721073 Q121041 Q188151 Q599683 Q243257 Q1077139 Q478389 Q12090 Q12152 Q217519 Q18554068 Q847583 Q767485 Q799615 Q32446 Q5160454 Q181754 Q105688 Q11085 Q281928 Q79793 Q2450598 Q736715 Q12125 Q273510 Q12195 Q179945 Q29496 Q16244733 Q943897 Q133780 Q15715457 Q2840
(c(Q12136)|c(Q2057971),P828,c(Q2057971))
action argmin
action union
action find_reverse_tuple_counts
relation P828
type Q2057971
type Q12136
action find_reverse_tuple_counts
relation P828
type Q2057971
type Q2057971
[ANSWERS] are the causes of min number of diseases or health problems
[[{'concept': 'Q12136'}, {'concept': 'Q2057971'}], 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?y WHERE { { ?i property:P828 ?y . ?y rdf:type ontology:Q2057971 . ?i rdf:type ontology:Q12136 } UNION { ?i rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q2057971 . ?i property:P828 ?y } } GROUP BY ?y } . FILTER ( ?j = ?f ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?t WHERE { VALUES ( ?u ) { ( ontology:Q12136 ) ( ontology:Q2057971 ) } . ?r rdf:type ?u } GROUP BY ?t } } }
typhoid fever porphyria hemorrhoid dermatophytosis Oguchi disease croup delusional disorder appendicitis ischemia Brugada syndrome chikungunya tic disorder kyphosis Cholera myocardial infarction bubonic plague lens subluxation cardiomyopathy respiratory failure osteitis fibrosa pulmonary fibrosis congenital syphilis heart failure hypoxia Parkinson's disease social phobia measles infective endocarditis chronic kidney disease common cold candidiasis poliomyelitis psoriasis leukemia intestinal obstruction gastroparesis plague hepatobiliary disease influenza
Parkinson's disease, myocardial infarction and leukemia are the causes of min number of diseases or health problems
Parkinson's disease myocardial infarction leukemia
action argmin
action union
action find_reverse_tuple_counts
relation has cause
type health problem
type disease
action find_reverse_tuple_counts
relation has cause
type health problem
type health problem
[[{'concept': 'disease'}, {'concept': 'health problem'}], 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?y WHERE { { ?i property:has_cause ?y . ?y rdf:type ontology:health_problem . ?i rdf:type ontology:disease } UNION { ?i rdf:type ontology:health_problem . ?y rdf:type ontology:health_problem . ?i property:has_cause ?y } } GROUP BY ?y } . FILTER ( ?j = ?f ) . { SELECT DISTINCT ( MIN ( ?z ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?t WHERE { VALUES ( ?u ) { ( ontology:disease ) ( ontology:health_problem ) } . ?r rdf:type ?u } GROUP BY ?t } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12078 Q729735
P2176
Q8386
USER
Which drugs are used for treating chronic myeloid leukemia or cancer ?
OR((Q729735,P2176,c(Q8386)), (Q12078,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q729735
relation P2176
action find
entity Q12078
relation P2176
type Q8386
{'OR': [['Q729735', 'P2176', {'concept': 'Q8386'}], ['Q12078', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q729735 property:P2176 ?u } UNION { resource:Q12078 property:P2176 ?u } } . ?u rdf:type ontology:Q8386 }
cancer chronic myeloid leukemia
action filter_type
action union
action find
entity chronic myeloid leukemia
relation drug used for treatment
action find
entity cancer
relation drug used for treatment
type drug
{'OR': [['chronic myeloid leukemia', 'drug used for treatment', {'concept': 'drug'}], ['cancer', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?u WHERE { { { resource:chronic_myeloid_leukemia property:drug_used_for_treatment ?u } UNION { resource:cancer property:drug_used_for_treatment ?u } } . ?u rdf:type ontology:drug }
[]
drug
Q2070286 Q419940 Q21011233 Q412323 Q424972 Q384295 Q11711607 Q15211075 Q963093 Q7160789
SYSTEM
Some of them are vismodegib, dasatinib, ceritinib, Rituximab, prednisone, gemfibrozil, Ixabepilone, uramustine, sulindac, Peginterferon alfa-2b
Q5186964 Q417296 Q15366934 Q408801 Q216935 Q4567614 Q412616 Q5303688 Q212272 Q422252 Q421052 Q238512 Q5984881 Q424972 Q11426176 Q422112 Q423989 Q420296 Q32089 Q413299 Q2459042 Q1235195 Q13896859 Q408524 Q905835 Q412534 Q421862 Q3891664 Q20801757 Q420164 Q1592932 Q420207 Q190012 Q415869 Q418819 Q241150 Q1996756 Q180983 Q3906700 Q6808975 Q412486 Q417824 Q412963 Q423762 Q11711607 Q4689286 Q139347 Q4830631 Q186969 Q417222 Q7083106 Q423111 Q407541 Q3151081 Q425470 Q7699074 Q348922 Q894611 Q5134875 Q7160789 Q410352 Q417555 Q419319 Q419940 Q418702 Q1181878 Q202998 Q4882925 Q5383794 Q422232 Q412323 Q417775 Q905901 Q3611854 Q4391540 Q21011233 Q15211075 Q2070286 Q422222 Q1063862 Q2178381 Q419394 Q963093 Q384295 Q240642 Q423417 Q7739
OR((Q729735,P2176,c(Q8386)), (Q12078,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q729735
relation P2176
action find
entity Q12078
relation P2176
type Q8386
[ANSWERS] are used for treating chronic myeloid leukemia or cancer
{'OR': [['Q729735', 'P2176', {'concept': 'Q8386'}], ['Q12078', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q729735 property:P2176 ?u } UNION { resource:Q12078 property:P2176 ?u } } . ?u rdf:type ontology:Q8386 }
crizotinib febuxostat carfilzomib celecoxib lidocaine mycophenolate mofetil Trastuzumab doxercalciferol hydroxyurea dexamethasone Everolimus 5-fluorouracil ibrutinib prednisone prednisolone methylphenidate diethylstilbestrol Cetuximab Sirolimus Bevacizumab Ipilimumab Romiplostim Pembrolizumab cyclophosphamide plerixafor carvedilol ribavirin regorafenib Secretin Alemtuzumab Pegfilgrastim capecitabine adenosine carmustine exemestane aminoglutethimide enzalutamide cytarabine Plicamycin megestrol acetate allopurinol gefitinib cabazitaxel Paclitaxel Ixabepilone Aflibercept Cholecalciferol axitinib ibuprofen methylprednisolone olaparib vemurafenib fentanyl Filgrastim pentostatin temsirolimus busulfan bosutinib clofarabine Peginterferon alfa-2b gabapentin teniposide Bortezomib dasatinib Basiliximab decitabine zileuton Belinostat Epoetin alfa methotrexate Rituximab Panitumumab vorinostat alitretinoin Interferon Alfa-2b, Recombinant ceritinib uramustine vismodegib Digoxin idarubicin Darbepoetin alfa sevoflurane sulindac gemfibrozil valproic acid Imiquimod Arsenic trioxide
Vismodegib, dasatinib, ceritinib, Rituximab, prednisone, gemfibrozil, Ixabepilone, uramustine, sulindac and Peginterferon alfa-2b are used for treating chronic myeloid leukemia or cancer
vismodegib dasatinib ceritinib Rituximab prednisone gemfibrozil Ixabepilone uramustine sulindac Peginterferon alfa-2b
action filter_type
action union
action find
entity chronic myeloid leukemia
relation drug used for treatment
action find
entity cancer
relation drug used for treatment
type drug
{'OR': [['chronic myeloid leukemia', 'drug used for treatment', {'concept': 'drug'}], ['cancer', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?u WHERE { { { resource:chronic_myeloid_leukemia property:drug_used_for_treatment ?u } UNION { resource:cancer property:drug_used_for_treatment ?u } } . ?u rdf:type ontology:drug }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q189331
P2175
Q12136 Q8386
USER
Which diseases are less number of drugs a medication for than cardiac dysrhythmia ?
(c(Q8386),P2175,c(Q12136))
action less
action find_reverse_tuple_counts
relation P2175
type Q12136
type Q8386
action count
action filter_type
action find_reverse
entity Q189331
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?e ) WHERE { ?a rdf:type ontology:Q12136 . ?c rdf:type ontology:Q8386 . ?c property:P2175 ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:P2175 resource:Q189331 . ?k rdf:type ontology:Q8386 } } . FILTER ( ?e < ?y ) }
cardiac dysrhythmia
action less
action find_reverse_tuple_counts
relation medical condition treated
type disease
type drug
action count
action filter_type
action find_reverse
entity cardiac dysrhythmia
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?e ) WHERE { ?a rdf:type ontology:disease . ?c rdf:type ontology:drug . ?c property:medical_condition_treated ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:medical_condition_treated resource:cardiac_dysrhythmia . ?k rdf:type ontology:drug } } . FILTER ( ?e < ?y ) }
[]
disease drug
Q110315 Q4118092 Q627368
SYSTEM
lead poisoning, Macroglobulinemia, Blastomycosis
Q2200381 Q167844 Q1444550 Q18555060 Q1935832 Q917620 Q988594 Q1415275 Q1956718 Q815753 Q854353 Q627368 Q1363738 Q4138762 Q852163 Q2915477 Q133212 Q127664 Q110315 Q3726949 Q86 Q2067267 Q18554341 Q304497 Q12133 Q1068134 Q4118092 Q7616509 Q1996053 Q3072083 Q1283303
(c(Q8386),P2175,c(Q12136))
action less
action find_reverse_tuple_counts
relation P2175
type Q12136
type Q8386
action count
action filter_type
action find_reverse
entity Q189331
relation P2175
type Q8386
[ANSWERS] are less number of drugs a medication for than cardiac dysrhythmia
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?e ) WHERE { ?a rdf:type ontology:Q12136 . ?c rdf:type ontology:Q8386 . ?c property:P2175 ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:P2175 resource:Q189331 . ?k rdf:type ontology:Q8386 } } . FILTER ( ?e < ?y ) }
Neurogenic shock conjunctivitis ischaemic heart disease arteriosclerotic cardiovascular disease neurofibromatosis type II Onychomycosis eczema Spinal cord injury Becker myotonia filariasis enteritis Blastomycosis Erythema nodosum Hypovitaminosis D lower back pain Folate deficiency tumor Febrile seizure lead poisoning episcleritis headache Niemann–Pick disease, type C hepatic coma Hemiplegia deafness Morning sickness Macroglobulinemia neurofibromatosis type I chronic pancreatitis memory disorder Tricuspid atresia
Lead poisoning, Macroglobulinemia and Blastomycosis are less number of drugs a medication for than cardiac dysrhythmia
lead poisoning Macroglobulinemia Blastomycosis
action less
action find_reverse_tuple_counts
relation medical condition treated
type disease
type drug
action count
action filter_type
action find_reverse
entity cardiac dysrhythmia
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?e ) WHERE { ?a rdf:type ontology:disease . ?c rdf:type ontology:drug . ?c property:medical_condition_treated ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:medical_condition_treated resource:cardiac_dysrhythmia . ?k rdf:type ontology:drug } } . FILTER ( ?e < ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q4117658
P2175
Q12136 Q8386
USER
And what about inflammatory myopathy?
(c(Q8386),P2175,c(Q12136))
action less
action find_reverse_tuple_counts
relation P2175
type Q12136
type Q8386
action count
action filter_type
action find_reverse
entity Q4117658
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:P2175 ?x . ?x rdf:type ontology:Q12136 . ?j rdf:type ontology:Q8386 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P2175 resource:Q4117658 . ?q rdf:type ontology:Q8386 } } . FILTER ( ?g < ?l ) }
inflammatory myopathy
action less
action find_reverse_tuple_counts
relation medical condition treated
type disease
type drug
action count
action filter_type
action find_reverse
entity inflammatory myopathy
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:medical_condition_treated ?x . ?x rdf:type ontology:disease . ?j rdf:type ontology:drug } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:medical_condition_treated resource:inflammatory_myopathy . ?q rdf:type ontology:drug } } . FILTER ( ?g < ?l ) }
[]
disease drug
Q110315 Q189331 Q4118092
SYSTEM
lead poisoning, cardiac dysrhythmia, Macroglobulinemia
Q2200381 Q167844 Q1444550 Q18555060 Q1935832 Q917620 Q988594 Q1415275 Q1956718 Q815753 Q854353 Q627368 Q1363738 Q4138762 Q852163 Q2915477 Q133212 Q127664 Q110315 Q3726949 Q86 Q2067267 Q18554341 Q189331 Q304497 Q12133 Q1068134 Q4118092 Q7616509 Q1996053 Q3072083 Q1283303
(c(Q8386),P2175,c(Q12136))
action less
action find_reverse_tuple_counts
relation P2175
type Q12136
type Q8386
action count
action filter_type
action find_reverse
entity Q4117658
relation P2175
type Q8386
[ANSWERS]
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:P2175 ?x . ?x rdf:type ontology:Q12136 . ?j rdf:type ontology:Q8386 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P2175 resource:Q4117658 . ?q rdf:type ontology:Q8386 } } . FILTER ( ?g < ?l ) }
Neurogenic shock conjunctivitis ischaemic heart disease arteriosclerotic cardiovascular disease neurofibromatosis type II Onychomycosis eczema Spinal cord injury Becker myotonia filariasis enteritis Blastomycosis Erythema nodosum Hypovitaminosis D lower back pain Folate deficiency tumor Febrile seizure lead poisoning episcleritis headache Niemann–Pick disease, type C hepatic coma cardiac dysrhythmia Hemiplegia deafness Morning sickness Macroglobulinemia neurofibromatosis type I chronic pancreatitis memory disorder Tricuspid atresia
lead poisoning cardiac dysrhythmia Macroglobulinemia
action less
action find_reverse_tuple_counts
relation medical condition treated
type disease
type drug
action count
action filter_type
action find_reverse
entity inflammatory myopathy
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:medical_condition_treated ?x . ?x rdf:type ontology:disease . ?j rdf:type ontology:drug } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:medical_condition_treated resource:inflammatory_myopathy . ?q rdf:type ontology:drug } } . FILTER ( ?g < ?l ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P828
Q3839081 Q12136
USER
Which disasters are the causes of min number of diseases ?
(c(Q12136),P828,Q629257)
action argmin
action find_reverse_tuple_counts
relation P828
type Q3839081
type Q12136
[{'concept': 'Q12136'}, 'P828', 'Q629257']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P828 ?z . ?y rdf:type ontology:Q12136 . ?z rdf:type ontology:Q3839081 } GROUP BY ?z } } . FILTER ( ?r = ?m ) . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:P828 ?g . ?g rdf:type ontology:Q3839081 . ?u rdf:type ontology:Q12136 } GROUP BY ?g } }
action argmin
action find_reverse_tuple_counts
relation has cause
type disaster
type disease
[{'concept': 'disease'}, 'has cause', 'work accident']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:has_cause ?z . ?y rdf:type ontology:disease . ?z rdf:type ontology:disaster } GROUP BY ?z } } . FILTER ( ?r = ?m ) . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:has_cause ?g . ?g rdf:type ontology:disaster . ?u rdf:type ontology:disease } GROUP BY ?g } }
[]
disaster disease
Q8068 Q7692360 Q5377742
SYSTEM
flood, volcanic eruption, engine failure on take-off
Q5377742 Q7692360 Q8068 Q327541
(c(Q12136),P828,Q629257)
action argmin
action find_reverse_tuple_counts
relation P828
type Q3839081
type Q12136
[ANSWERS] are the causes of min number of diseases
[{'concept': 'Q12136'}, 'P828', 'Q629257']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P828 ?z . ?y rdf:type ontology:Q12136 . ?z rdf:type ontology:Q3839081 } GROUP BY ?z } } . FILTER ( ?r = ?m ) . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:P828 ?g . ?g rdf:type ontology:Q3839081 . ?u rdf:type ontology:Q12136 } GROUP BY ?g } }
engine failure on take-off volcanic eruption flood arson
Flood, volcanic eruption and engine failure on take-off are the causes of min number of diseases
flood volcanic eruption engine failure on take-off
action argmin
action find_reverse_tuple_counts
relation has cause
type disaster
type disease
[{'concept': 'disease'}, 'has cause', 'work accident']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:has_cause ?z . ?y rdf:type ontology:disease . ?z rdf:type ontology:disaster } GROUP BY ?z } } . FILTER ( ?r = ?m ) . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:has_cause ?g . ?g rdf:type ontology:disaster . ?u rdf:type ontology:disease } GROUP BY ?g } }
[]