Simple Question (Direct)
Simple Question
Q24102654
P703
Q631147
USER
Which taxon is succinyl-CoA synthetase subunit beta    NGR_c31290 a part of ?
(Q24102654,P703,c(Q631147))
action filter_type
action find
entity Q24102654
relation P703
type Q631147
['Q24102654', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?v WHERE { resource:Q24102654 property:P703 ?v . ?v rdf:type ontology:Q631147 }
succinyl-CoA synthetase subunit beta    NGR_c31290
action filter_type
action find
entity succinyl-CoA synthetase subunit beta    NGR_c31290
relation found in taxon
type infraspecific name
['succinyl-CoA synthetase subunit beta    NGR_c31290', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?v WHERE { resource:succinyl-CoA_synthetase_subunit_beta____NGR_c31290 property:found_in_taxon ?v . ?v rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q23309229
SYSTEM
Sinorhizobium fredii NGR234
Q23309229
(Q24102654,P703,c(Q631147))
action filter_type
action find
entity Q24102654
relation P703
type Q631147
[ANSWER] is succinyl-CoA synthetase subunit beta NGR_c31290 a part of
['Q24102654', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?v WHERE { resource:Q24102654 property:P703 ?v . ?v rdf:type ontology:Q631147 }
Sinorhizobium fredii NGR234
Sinorhizobium fredii NGR234 is succinyl-CoA synthetase subunit beta NGR_c31290 a part of
Sinorhizobium fredii NGR234
action filter_type
action find
entity succinyl-CoA synthetase subunit beta    NGR_c31290
relation found in taxon
type infraspecific name
['succinyl-CoA synthetase subunit beta    NGR_c31290', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?v WHERE { resource:succinyl-CoA_synthetase_subunit_beta____NGR_c31290 property:found_in_taxon ?v . ?v rdf:type ontology:infraspecific_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24102654
P682
Q3249551
USER
Which process is that nutrient involved in ?
(Q23309229,P682,c(Q3249551))
action filter_type
action find
entity Q24102654
relation P682
type Q3249551
['Q23309229', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?k WHERE { resource:Q24102654 property:P682 ?k . ?k rdf:type ontology:Q3249551 }
succinyl-CoA synthetase subunit beta    NGR_c31290
action filter_type
action find
entity succinyl-CoA synthetase subunit beta    NGR_c31290
relation biological process
type process
['Sinorhizobium fredii NGR234', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?k WHERE { resource:succinyl-CoA_synthetase_subunit_beta____NGR_c31290 property:biological_process ?k . ?k rdf:type ontology:process }
[]
process
Q1057
SYSTEM
metabolic process
Q1057
(Q23309229,P682,c(Q3249551))
action filter_type
action find
entity Q24102654
relation P682
type Q3249551
That nutrient is involved in [ANSWER]
['Q23309229', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?k WHERE { resource:Q24102654 property:P682 ?k . ?k rdf:type ontology:Q3249551 }
metabolic process
That nutrient is involved in metabolic process
metabolic process
action filter_type
action find
entity succinyl-CoA synthetase subunit beta    NGR_c31290
relation biological process
type process
['Sinorhizobium fredii NGR234', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?k WHERE { resource:succinyl-CoA_synthetase_subunit_beta____NGR_c31290 property:biological_process ?k . ?k rdf:type ontology:process }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24102654
P702
Q863908
USER
Which gene encodes succinyl-CoA synthetase subunit beta    NGR_c31290 ?
(Q24102654,P702,c(Q863908))
action filter_type
action find
entity Q24102654
relation P702
type Q863908
['Q24102654', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?e WHERE { resource:Q24102654 property:P702 ?e . ?e rdf:type ontology:Q863908 }
succinyl-CoA synthetase subunit beta    NGR_c31290
action filter_type
action find
entity succinyl-CoA synthetase subunit beta    NGR_c31290
relation encoded by
type nucleic acid sequence
['succinyl-CoA synthetase subunit beta    NGR_c31290', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?e WHERE { resource:succinyl-CoA_synthetase_subunit_beta____NGR_c31290 property:encoded_by ?e . ?e rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23317696
SYSTEM
succinyl-CoA synthetase subunit beta    NGR_c31290
Q23317696
(Q24102654,P702,c(Q863908))
action filter_type
action find
entity Q24102654
relation P702
type Q863908
Succinyl-CoA synthetase subunit beta NGR c31290 encodes succinyl-CoA synthetase subunit beta NGR_c31290
['Q24102654', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?e WHERE { resource:Q24102654 property:P702 ?e . ?e rdf:type ontology:Q863908 }
succinyl-CoA synthetase subunit beta    NGR_c31290
Succinyl-CoA synthetase subunit beta NGR c31290 encodes succinyl-CoA synthetase subunit beta NGR_c31290
succinyl-CoA synthetase subunit beta    NGR_c31290
action filter_type
action find
entity succinyl-CoA synthetase subunit beta    NGR_c31290
relation encoded by
type nucleic acid sequence
['succinyl-CoA synthetase subunit beta    NGR_c31290', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?e WHERE { resource:succinyl-CoA_synthetase_subunit_beta____NGR_c31290 property:encoded_by ?e . ?e rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24102654
P680
Q44424
USER
Which the chemical bonds that represents the molecular function of succinyl-CoA synthetase subunit beta    NGR_c31290 ?
(Q24102654,P680,c(Q44424))
action filter_type
action find
entity Q24102654
relation P680
type Q44424
['Q24102654', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?p WHERE { resource:Q24102654 property:P680 ?p . ?p rdf:type ontology:Q44424 }
succinyl-CoA synthetase subunit beta    NGR_c31290
action filter_type
action find
entity succinyl-CoA synthetase subunit beta    NGR_c31290
relation molecular function
type chemical bond
['succinyl-CoA synthetase subunit beta    NGR_c31290', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?p WHERE { resource:succinyl-CoA_synthetase_subunit_beta____NGR_c31290 property:molecular_function ?p . ?p rdf:type ontology:chemical_bond }
[]
chemical bond
Q14860850 Q14873986 Q13667380
SYSTEM
magnesium ion binding, manganese ion binding, metal ion binding
Q14860850 Q14873986 Q13667380
(Q24102654,P680,c(Q44424))
action filter_type
action find
entity Q24102654
relation P680
type Q44424
Represents and [ANSWERS]
['Q24102654', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?p WHERE { resource:Q24102654 property:P680 ?p . ?p rdf:type ontology:Q44424 }
magnesium ion binding manganese ion binding metal ion binding
Represents and magnesium ion binding, manganese ion binding and metal ion binding
magnesium ion binding manganese ion binding metal ion binding
action filter_type
action find
entity succinyl-CoA synthetase subunit beta    NGR_c31290
relation molecular function
type chemical bond
['succinyl-CoA synthetase subunit beta    NGR_c31290', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?p WHERE { resource:succinyl-CoA_synthetase_subunit_beta____NGR_c31290 property:molecular_function ?p . ?p rdf:type ontology:chemical_bond }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q23426320 Q24102654
P680
Q44424
USER
And also hypothetical protein    YE1052
AND((Q24102654,P680,c(Q44424)), (Q23426320,P680,c(Q44424)))
action filter_type
action intersection
action find
entity Q24102654
relation P680
action find
entity Q23426320
relation P680
type Q44424
{'AND': [['Q24102654', 'P680', {'concept': 'Q44424'}], ['Q23426320', 'P680', {'concept': 'Q44424'}]]}
SELECT DISTINCT ?f WHERE { resource:Q24102654 property:P680 ?f . resource:Q23426320 property:P680 ?f . ?f rdf:type ontology:Q44424 }
hypothetical protein    YE1052 succinyl-CoA synthetase subunit beta    NGR_c31290
action filter_type
action intersection
action find
entity succinyl-CoA synthetase subunit beta    NGR_c31290
relation molecular function
action find
entity hypothetical protein    YE1052
relation molecular function
type chemical bond
{'AND': [['succinyl-CoA synthetase subunit beta    NGR_c31290', 'molecular function', {'concept': 'chemical bond'}], ['hypothetical protein    YE1052', 'molecular function', {'concept': 'chemical bond'}]]}
SELECT DISTINCT ?f WHERE { resource:succinyl-CoA_synthetase_subunit_beta____NGR_c31290 property:molecular_function ?f . resource:hypothetical_protein____YE1052 property:molecular_function ?f . ?f rdf:type ontology:chemical_bond }
[]
chemical bond
Q13667380
SYSTEM
metal ion binding
Q13667380
AND((Q24102654,P680,c(Q44424)), (Q23426320,P680,c(Q44424)))
action filter_type
action intersection
action find
entity Q24102654
relation P680
action find
entity Q23426320
relation P680
type Q44424
[ANSWER]
{'AND': [['Q24102654', 'P680', {'concept': 'Q44424'}], ['Q23426320', 'P680', {'concept': 'Q44424'}]]}
SELECT DISTINCT ?f WHERE { resource:Q24102654 property:P680 ?f . resource:Q23426320 property:P680 ?f . ?f rdf:type ontology:Q44424 }
metal ion binding
metal ion binding
action filter_type
action intersection
action find
entity succinyl-CoA synthetase subunit beta    NGR_c31290
relation molecular function
action find
entity hypothetical protein    YE1052
relation molecular function
type chemical bond
{'AND': [['succinyl-CoA synthetase subunit beta    NGR_c31290', 'molecular function', {'concept': 'chemical bond'}], ['hypothetical protein    YE1052', 'molecular function', {'concept': 'chemical bond'}]]}
SELECT DISTINCT ?f WHERE { resource:succinyl-CoA_synthetase_subunit_beta____NGR_c31290 property:molecular_function ?f . resource:hypothetical_protein____YE1052 property:molecular_function ?f . ?f rdf:type ontology:chemical_bond }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q181394 Q8386
USER
Which nutrients do approximately 27 nutrients or drugs communicate with ?
(c(Q181394)|c(Q8386),P129,c(Q181394))
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
value 27
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:Q181394 . ?r rdf:type ontology:Q8386 . ?r property:P129 ?p } UNION { ?p rdf:type ontology:Q181394 . ?r rdf:type ontology:Q181394 . ?r property:P129 ?p } } GROUP BY ?p } . FILTER ( ?t = 27 ) }
action approx
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
value 27
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:nutrient . ?r rdf:type ontology:drug . ?r property:physically_interacts_with ?p } UNION { ?p rdf:type ontology:nutrient . ?r rdf:type ontology:nutrient . ?r property:physically_interacts_with ?p } } GROUP BY ?p } . FILTER ( ?t = 27 ) }
[]
nutrient nutrient drug
Q4639596 Q415364 Q21110872
SYSTEM
5-hydroxytryptamine receptor 2B, Prostaglandin G/H synthase 2, D(3) dopamine receptor
Q7050954 Q287961 Q410142 Q288797 Q4639596 Q4734884 Q415364 Q21110872 Q4734892 Q21115046 Q21109363
(c(Q181394)|c(Q8386),P129,c(Q181394))
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
value 27
[ANSWERS] approximately 27 nutrients or drugs communicate with
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:Q181394 . ?r rdf:type ontology:Q8386 . ?r property:P129 ?p } UNION { ?p rdf:type ontology:Q181394 . ?r rdf:type ontology:Q181394 . ?r property:P129 ?p } } GROUP BY ?p } . FILTER ( ?t = 27 ) }
Sodium-dependent noradrenaline transporter Beta-2 adrenergic receptor Sodium-dependent serotonin transporter 5-hydroxytryptamine receptor 1B 5-hydroxytryptamine receptor 2B Alpha-1A adrenergic receptor Prostaglandin G/H synthase 2 D(3) dopamine receptor Alpha-2A adrenergic receptor 5-hydroxytryptamine receptor 1D 5-hydroxytryptamine receptor 6
5-hydroxytryptamine receptor 2B, Prostaglandin G/H synthase 2 and D(3) dopamine receptor approximately 27 nutrients or drugs communicate with
5-hydroxytryptamine receptor 2B Prostaglandin G/H synthase 2 D(3) dopamine receptor
action approx
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
value 27
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:nutrient . ?r rdf:type ontology:drug . ?r property:physically_interacts_with ?p } UNION { ?p rdf:type ontology:nutrient . ?r rdf:type ontology:nutrient . ?r property:physically_interacts_with ?p } } GROUP BY ?p } . FILTER ( ?t = 27 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q124407 Q415364
P2176 P129
Q8386
USER
Which drugs do Prostaglandin G/H synthase 2 contact with or are used to cure type 1 diabetes mellitus ?
OR((Q415364,P129,c(Q8386)), (Q124407,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q415364
relation P129
action find
entity Q124407
relation P2176
type Q8386
{'OR': [['Q415364', 'P129', {'concept': 'Q8386'}], ['Q124407', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q8386 . { { resource:Q415364 property:P129 ?r } UNION { resource:Q124407 property:P2176 ?r } } }
type 1 diabetes mellitus Prostaglandin G/H synthase 2
action filter_type
action union
action find
entity Prostaglandin G/H synthase 2
relation physically interacts with
action find
entity type 1 diabetes mellitus
relation drug used for treatment
type drug
{'OR': [['Prostaglandin G/H synthase 2', 'physically interacts with', {'concept': 'drug'}], ['type 1 diabetes mellitus', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:drug . { { resource:Prostaglandin_G/H_synthase_2 property:physically_interacts_with ?r } UNION { resource:type_1_diabetes_mellitus property:drug_used_for_treatment ?r } } }
[]
drug
Q412666 Q284321 Q409192 Q18216 Q2062094 Q2754775 Q410965 Q417317 Q1749609 Q2465218
SYSTEM
Some of them are Ramipril, mefenamic acid, Ketoprofen, acetylsalicylic acid, Pramlintide, Insulin Aspart, Insulin Detemir, Insulin Glargine, oxaprozin, etodolac
Q347613 Q18216 Q419890 Q3978097 Q1592932 Q409192 Q2754775 Q186969 Q418270 Q2062094 Q1215575 Q7444755 Q412323 Q3492616 Q905755 Q4890814 Q2823284 Q2697833 Q409898 Q408676 Q420305 Q2014797 Q425154 Q410965 Q414028 Q57055 Q415411 Q1749609 Q20994 Q7334300 Q244408 Q5373824 Q415343 Q32089 Q139195 Q408801 Q284321 Q412666 Q2465218 Q413744 Q421342 Q631202 Q417317 Q6042242 Q417762 Q420626 Q411412 Q2526479
OR((Q415364,P129,c(Q8386)), (Q124407,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q415364
relation P129
action find
entity Q124407
relation P2176
type Q8386
Prostaglandin G/ H synthase 2 contact with the [ANSWERS]
{'OR': [['Q415364', 'P129', {'concept': 'Q8386'}], ['Q124407', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q8386 . { { resource:Q415364 property:P129 ?r } UNION { resource:Q124407 property:P2176 ?r } } }
valdecoxib acetylsalicylic acid flurbiprofen suprofen Pegfilgrastim Ketoprofen Insulin Aspart ibuprofen Efalizumab Pramlintide naproxen Secukinumab Rituximab Insulin Lispro carprofen benzquinamide meclofenamic acid Abatacept dapagliflozin piroxicam Ustekinumab Ketorolac Tocilizumab Insulin Detemir meloxicam paracetamol Anakinra oxaprozin nimesulide Rilonacept diclofenac empagliflozin Etanercept Sirolimus Calcitriol celecoxib mefenamic acid Ramipril etodolac lumiracoxib phenylbutazone etoricoxib Insulin Glargine Insulin Glulisine Exenatide glibenclamide rofecoxib Liraglutide
Prostaglandin G/ H synthase 2 contact with the Ramipril, mefenamic acid, Ketoprofen, acetylsalicylic acid, Pramlintide, Insulin Aspart, Insulin Detemir, Insulin Glargine, oxaprozin and etodolac
Ramipril mefenamic acid Ketoprofen acetylsalicylic acid Pramlintide Insulin Aspart Insulin Detemir Insulin Glargine oxaprozin etodolac
action filter_type
action union
action find
entity Prostaglandin G/H synthase 2
relation physically interacts with
action find
entity type 1 diabetes mellitus
relation drug used for treatment
type drug
{'OR': [['Prostaglandin G/H synthase 2', 'physically interacts with', {'concept': 'drug'}], ['type 1 diabetes mellitus', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:drug . { { resource:Prostaglandin_G/H_synthase_2 property:physically_interacts_with ?r } UNION { resource:type_1_diabetes_mellitus property:drug_used_for_treatment ?r } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P2175
Q2057971
USER
How many health problems are treated with that drug ?
(Q1749609,P2175,c(Q2057971))
['Q1749609', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1749609 property:P2175 ?z . ?z rdf:type ontology:Q2057971 }
['oxaprozin', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:oxaprozin property:medical_condition_treated ?z . ?z rdf:type ontology:health_problem }
[]
health problem
Quantitative|Count|Single entity type|Clarification
Q1749609
SYSTEM
Did you mean oxaprozin ?
(Q412666,P2175,c(Q2057971)) (Q284321,P2175,c(Q2057971)) (Q409192,P2175,c(Q2057971)) (Q18216,P2175,c(Q2057971)) (Q2062094,P2175,c(Q2057971)) (Q2754775,P2175,c(Q2057971)) (Q410965,P2175,c(Q2057971)) (Q417317,P2175,c(Q2057971)) (Q1749609,P2175,c(Q2057971)) (Q2465218,P2175,c(Q2057971))
[ANSWER]
['Q412666', 'P2175', {'concept': 'Q2057971'}] ['Q284321', 'P2175', {'concept': 'Q2057971'}] ['Q409192', 'P2175', {'concept': 'Q2057971'}] ['Q18216', 'P2175', {'concept': 'Q2057971'}] ['Q2062094', 'P2175', {'concept': 'Q2057971'}] ['Q2754775', 'P2175', {'concept': 'Q2057971'}] ['Q410965', 'P2175', {'concept': 'Q2057971'}] ['Q417317', 'P2175', {'concept': 'Q2057971'}] ['Q1749609', 'P2175', {'concept': 'Q2057971'}] ['Q2465218', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1749609 property:P2175 ?z . ?z rdf:type ontology:Q2057971 }
Did you mean oxaprozin ?
oxaprozin
['Ramipril', 'medical condition treated', {'concept': 'health problem'}] ['mefenamic acid', 'medical condition treated', {'concept': 'health problem'}] ['Ketoprofen', 'medical condition treated', {'concept': 'health problem'}] ['acetylsalicylic acid', 'medical condition treated', {'concept': 'health problem'}] ['Pramlintide', 'medical condition treated', {'concept': 'health problem'}] ['Insulin Aspart', 'medical condition treated', {'concept': 'health problem'}] ['Insulin Detemir', 'medical condition treated', {'concept': 'health problem'}] ['Insulin Glargine', 'medical condition treated', {'concept': 'health problem'}] ['oxaprozin', 'medical condition treated', {'concept': 'health problem'}] ['etodolac', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:oxaprozin property:medical_condition_treated ?z . ?z rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q1749609,P2175,c(Q2057971))
['Q1749609', 'P2175', {'concept': 'Q2057971'}]
['oxaprozin', 'medical condition treated', {'concept': 'health problem'}]
[]
SYSTEM
4
Q62736 Q861224 Q187255 Q52844
(Q1749609,P2175,c(Q2057971))
[ANSWER]
['Q1749609', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1749609 property:P2175 ?z . ?z rdf:type ontology:Q2057971 }
osteoarthritis/osteodystrophy juvenile idiopathic arthritis rheumatoid arthritis enthesopathy
4
['oxaprozin', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:oxaprozin property:medical_condition_treated ?z . ?z rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18031652 Q18216
P2293 P2175
Q2057971
USER
Which health problems are treated with acetylsalicylic acid or have genetic association with SOX5 ?
OR((Q18216,P2175,c(Q2057971)), (Q18031652,P2293,c(Q2057971)))
action filter_type
action union
action find
entity Q18216
relation P2175
action find
entity Q18031652
relation P2293
type Q2057971
{'OR': [['Q18216', 'P2175', {'concept': 'Q2057971'}], ['Q18031652', 'P2293', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q18216 property:P2175 ?b } UNION { resource:Q18031652 property:P2293 ?b } } . ?b rdf:type ontology:Q2057971 }
SOX5 acetylsalicylic acid
action filter_type
action union
action find
entity acetylsalicylic acid
relation medical condition treated
action find
entity SOX5
relation genetic association
type health problem
{'OR': [['acetylsalicylic acid', 'medical condition treated', {'concept': 'health problem'}], ['SOX5', 'genetic association', {'concept': 'health problem'}]]}
SELECT DISTINCT ?b WHERE { { { resource:acetylsalicylic_acid property:medical_condition_treated ?b } UNION { resource:SOX5 property:genetic_association ?b } } . ?b rdf:type ontology:health_problem }
[]
health problem
Q389735 Q179399 Q18556697 Q48143 Q18968110 Q794026 Q128581 Q844935 Q5340515 Q172941
SYSTEM
Some of them are cardiovascular disease, infertility, human immunodeficiency virus infectious disease, meningitis, duodenal ulcer, Azoospermia, breast cancer, coronary artery disease, systemic scleroderma, peptic ulcer disease
Q2157462 Q389735 Q172941 Q18968110 Q2421435 Q185034 Q4862390 Q179399 Q18555944 Q41861 Q128581 Q131755 Q19000661 Q1128595 Q815819 Q844935 Q18556697 Q199804 Q5340515 Q794026 Q18556932 Q2300099 Q18555280 Q133823 Q18554884 Q48143
OR((Q18216,P2175,c(Q2057971)), (Q18031652,P2293,c(Q2057971)))
action filter_type
action union
action find
entity Q18216
relation P2175
action find
entity Q18031652
relation P2293
type Q2057971
[ANSWERS] are treated with acetylsalicylic acid or have genetic association with SOX5
{'OR': [['Q18216', 'P2175', {'concept': 'Q2057971'}], ['Q18031652', 'P2293', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q18216 property:P2175 ?b } UNION { resource:Q18031652 property:P2293 ?b } } . ?b rdf:type ontology:Q2057971 }
schizophreniform disorder cardiovascular disease peptic ulcer disease duodenal ulcer pre-eclampsia sickle cell anemia brain ischemia infertility brain infarction hypertension breast cancer bipolar disorder congestive heart failure pulmonary hypertension atrial fibrillation coronary artery disease human immunodeficiency virus infectious disease chronic obstructive pulmonary disease systemic scleroderma Azoospermia large intestine cancer gastrointestinal system disease giant cell glioblastoma migraine retinal vein occlusion meningitis
Cardiovascular disease, infertility, human immunodeficiency virus infectious disease, meningitis, duodenal ulcer, Azoospermia, breast cancer, coronary artery disease, systemic scleroderma and peptic ulcer disease are treated with acetylsalicylic acid or have genetic association with SOX5
cardiovascular disease infertility human immunodeficiency virus infectious disease meningitis duodenal ulcer Azoospermia breast cancer coronary artery disease systemic scleroderma peptic ulcer disease
action filter_type
action union
action find
entity acetylsalicylic acid
relation medical condition treated
action find
entity SOX5
relation genetic association
type health problem
{'OR': [['acetylsalicylic acid', 'medical condition treated', {'concept': 'health problem'}], ['SOX5', 'genetic association', {'concept': 'health problem'}]]}
SELECT DISTINCT ?b WHERE { { { resource:acetylsalicylic_acid property:medical_condition_treated ?b } UNION { resource:SOX5 property:genetic_association ?b } } . ?b rdf:type ontology:health_problem }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q5593571
P828
Q2057971 Q12136
USER
Which diseases are caused by more number of health problems than Gram-negative folliculitis ?
(c(Q12136),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q12136
type Q2057971
action count
action filter_type
action find
entity Q5593571
relation P828
type Q12136
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?m ) WHERE { ?r property:P828 ?t . ?t rdf:type ontology:Q2057971 . ?r rdf:type ontology:Q12136 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z rdf:type ontology:Q12136 . resource:Q5593571 property:P828 ?z } } . FILTER ( ?m > ?h ) }
Gram-negative folliculitis
action greater
action find_tuple_counts
relation has cause
type disease
type health problem
action count
action filter_type
action find
entity Gram-negative folliculitis
relation has cause
type disease
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?m ) WHERE { ?r property:has_cause ?t . ?t rdf:type ontology:health_problem . ?r rdf:type ontology:disease } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z rdf:type ontology:disease . resource:Gram-negative_folliculitis property:has_cause ?z } } . FILTER ( ?m > ?h ) }
[]
health problem disease
Q209369 Q895930 Q2723627
SYSTEM
Hodgkin's lymphoma, Nodding disease, Pott disease
Q3281904 Q26737764 Q11290178 Q18975496 Q3634866 Q26737768 Q26737757 Q3152925 Q5567304 Q18967433 Q3480107 Q2637106 Q3144951 Q209369 Q1640810 Q895930 Q4420129 Q2723627 Q6741354 Q2249526 Q7900393 Q1186697 Q26737770 Q2777805
(c(Q12136),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q12136
type Q2057971
action count
action filter_type
action find
entity Q5593571
relation P828
type Q12136
[ANSWERS] are caused by more number of health problems than Gram-negative folliculitis
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?m ) WHERE { ?r property:P828 ?t . ?t rdf:type ontology:Q2057971 . ?r rdf:type ontology:Q12136 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z rdf:type ontology:Q12136 . resource:Q5593571 property:P828 ?z } } . FILTER ( ?m > ?h ) }
congenital physical abnormalitie paracentral scotoma Alcohol and health metabolic skin disease Lupus headache Bjerrum scotoma central scotoma chronic respiratory failure Glaukomflecken HIV encephalopathy bone pain Scintillating scotoma Benckiser's hemorrhage Hodgkin's lymphoma Hyper-IgD syndrome Nodding disease Mauriac syndrome Pott disease malarial nephropathy Cerebral hypoxia Uremic pericarditis demyelination ring scotoma Diabetes mellitus and pregnancy
Hodgkin's lymphoma, Nodding disease and Pott disease are caused by more number of health problems than Gram-negative folliculitis
Hodgkin's lymphoma Nodding disease Pott disease
action greater
action find_tuple_counts
relation has cause
type disease
type health problem
action count
action filter_type
action find
entity Gram-negative folliculitis
relation has cause
type disease
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?m ) WHERE { ?r property:has_cause ?t . ?t rdf:type ontology:health_problem . ?r rdf:type ontology:disease } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z rdf:type ontology:disease . resource:Gram-negative_folliculitis property:has_cause ?z } } . FILTER ( ?m > ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1736897
P828
Q2057971 Q12136
USER
And how about allergy to cats?
(c(Q12136),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q12136
type Q2057971
action count
action filter_type
action find
entity Q1736897
relation P828
type Q12136
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?v ) WHERE { ?b property:P828 ?u . ?b rdf:type ontology:Q12136 . ?u rdf:type ontology:Q2057971 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:Q1736897 property:P828 ?m . ?m rdf:type ontology:Q12136 } } . FILTER ( ?v > ?i ) }
allergy to cats
action greater
action find_tuple_counts
relation has cause
type disease
type health problem
action count
action filter_type
action find
entity allergy to cats
relation has cause
type disease
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?v ) WHERE { ?b property:has_cause ?u . ?b rdf:type ontology:disease . ?u rdf:type ontology:health_problem } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:allergy_to_cats property:has_cause ?m . ?m rdf:type ontology:disease } } . FILTER ( ?v > ?i ) }
[]
health problem disease
Q209369 Q895930 Q2723627
SYSTEM
Hodgkin's lymphoma, Nodding disease, Pott disease
Q3281904 Q26737764 Q11290178 Q18975496 Q3634866 Q26737768 Q26737757 Q3152925 Q5567304 Q18967433 Q3480107 Q2637106 Q3144951 Q209369 Q1640810 Q895930 Q4420129 Q2723627 Q6741354 Q2249526 Q7900393 Q1186697 Q26737770 Q2777805
(c(Q12136),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q12136
type Q2057971
action count
action filter_type
action find
entity Q1736897
relation P828
type Q12136
[ANSWERS]
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?v ) WHERE { ?b property:P828 ?u . ?b rdf:type ontology:Q12136 . ?u rdf:type ontology:Q2057971 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:Q1736897 property:P828 ?m . ?m rdf:type ontology:Q12136 } } . FILTER ( ?v > ?i ) }
congenital physical abnormalitie paracentral scotoma Alcohol and health metabolic skin disease Lupus headache Bjerrum scotoma central scotoma chronic respiratory failure Glaukomflecken HIV encephalopathy bone pain Scintillating scotoma Benckiser's hemorrhage Hodgkin's lymphoma Hyper-IgD syndrome Nodding disease Mauriac syndrome Pott disease malarial nephropathy Cerebral hypoxia Uremic pericarditis demyelination ring scotoma Diabetes mellitus and pregnancy
Hodgkin's lymphoma Nodding disease Pott disease
action greater
action find_tuple_counts
relation has cause
type disease
type health problem
action count
action filter_type
action find
entity allergy to cats
relation has cause
type disease
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?v ) WHERE { ?b property:has_cause ?u . ?b rdf:type ontology:disease . ?u rdf:type ontology:health_problem } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:allergy_to_cats property:has_cause ?m . ?m rdf:type ontology:disease } } . FILTER ( ?v > ?i ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P780
Q2057971 Q2057971 Q12136
USER
How many health problems are a symptom of atmost 1 health problems and diseases ?
(c(Q2057971)|c(Q12136),P780,c(Q2057971))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
value 1
[[{'concept': 'Q2057971'}, {'concept': 'Q12136'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { FILTER ( ?s <= 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?m WHERE { VALUES ( ?a ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } . ?r rdf:type ?a } GROUP BY ?m } }
action count
action atmost
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
value 1
[[{'concept': 'health problem'}, {'concept': 'disease'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { FILTER ( ?s <= 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?m WHERE { VALUES ( ?a ) { ( ontology:health_problem ) ( ontology:disease ) } . ?r rdf:type ?a } GROUP BY ?m } }
[]
health problem health problem disease
SYSTEM
212
Q334655 Q19275831 Q972514 Q5958765 Q18554331 Q2085267 Q271759 Q5572555 Q6279182 Q10874 Q864868 Q166019 Q21117568 Q3513968 Q1598200 Q854573 Q684383 Q16501 Q1435822 Q1123139 Q173022 Q7048905 Q147778 Q35869 Q1956682 Q5062120 Q177254 Q5062122 Q2879095 Q18642366 Q21117572 Q935293 Q1114480 Q16775468 Q156103 Q1527888 Q17142318 Q1553850 Q21111998 Q2088392 Q857667 Q4330029 Q3339235 Q2074059 Q21110191 Q911386 Q48143 Q1500373 Q131742 Q846316 Q279330 Q21513416 Q468433 Q2988775 Q938107 Q2306782 Q838139 Q677449 Q219223 Q207855 Q1384176 Q852376 Q783903 Q12167 Q55998 Q570197 Q13452408 Q505142 Q1531991 Q16242752 Q18553790 Q2681162 Q10863074 Q21112607 Q21116779 Q3108583 Q1502312 Q1193870 Q18556080 Q5375429 Q183130 Q202837 Q794026 Q12192 Q4597494 Q268594 Q5090486 Q189956 Q612681 Q1153419 Q1264268 Q1131786 Q4676384 Q18553940 Q939364 Q199804 Q622427 Q690210 Q229256 Q896643 Q18557427 Q21112593 Q684810 Q18556920 Q21109267 Q5289085 Q183344 Q1018652 Q2610084 Q1534492 Q42982 Q1294912 Q979168 Q1054718 Q2339038 Q11072 Q134003 Q170082 Q361648 Q2836 Q189470 Q671776 Q1356194 Q1145668 Q767485 Q369148 Q21112038 Q7562539 Q662298 Q21504914 Q1628473 Q16831900 Q188605 Q1507609 Q181754 Q2844600 Q18553993 Q105688 Q339221 Q906492 Q3042175 Q220570 Q751641 Q9376235 Q883863 Q1334541 Q221668 Q16874615 Q936382 Q2906693 Q1623006 Q572111 Q15401621 Q576349 Q2868696 Q838145 Q501561 Q179951 Q322370 Q114085 Q203601 Q170518 Q344873 Q18554311 Q496812 Q950591 Q794072 Q21128620 Q401402 Q5171111 Q1194557 Q21118423 Q32446 Q18967474 Q595010 Q41861 Q738153 Q748442 Q794086 Q21109048 Q18966290 Q2638851 Q79928 Q5712565 Q844935 Q734512 Q1036696 Q651223 Q5309747 Q476921 Q18558124 Q18558125 Q187440 Q4118166 Q1269320 Q757838 Q5251081 Q202758 Q21109885 Q4116448 Q224513 Q2046811 Q664174 Q1320276 Q648982 Q557552 Q14509067 Q7259546 Q18556164 Q5090456 Q81867 Q21109216
(c(Q2057971)|c(Q12136),P780,c(Q2057971))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
value 1
[ANSWER]
[[{'concept': 'Q2057971'}, {'concept': 'Q12136'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { FILTER ( ?s <= 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?m WHERE { VALUES ( ?a ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } . ?r rdf:type ?a } GROUP BY ?m } }
amenorrhea choking optic neuritis hypersensitivity retinal perforation pharyngitis porphyria glycerol kinase deficiency epileptic seizure blindness bone marrow suppression bleeding skin granuloma corneal opacity metabolic acidosis acute pancreatitis exophthalmos hypothyroidisms neutropenia Ketosis bronchitis Non-epileptic seizure liver cirrhosis asthma myoglobinuria central nervous system depression hyperopia central nervous system disease optic nerve disease intoxication lung granuloma purpura finger agnosia elephantiasis gastroenteritis pancreatitis pterygium hemoglobinuria fingernail damage migratory thrombophlebitis pulmonary edema airway obstruction nervous system disease Oculomotor apraxia diffuse nodular fibrosis stomatitis meningitis lactic acidosis hepatitis aplastic anemia bronchial disease hemorrhagic diarrhea anosmia heart conduction disease hypogonadism hypochromic anemia ventricular septal defect aspiration pneumonia lactose intolerance amblyopia exostosis seizure contact dermatitis malnutrition pleurisy proteinuria neuropathy eosinophilia Parkinsonian syndrome allergic contact dermatitis dry eye syndrome eye injury fatty liver disease leg paresthesia scaling dermatitis anterior segment mesenchymal dysgenesis polyneuropathy multiple organ dysfunction syndrome cranial nerve palsy Enchondromatosis gastritis cardiac arrest Azoospermia pneumonia intestinal atresia stupor toxic pneumonitis aphthous stomatitis anuria interstitial lung disease stannosis Cor pulmonale Acroosteolysis gastric ulcer congenital heart disease chronic obstructive pulmonary disease ptosis dysosmia dermatitis brachydactyly pancreatic cholera hand paresis berylliosis diffuse pulmonary fibrosis fibrotic pneumoconiosis dolichostenomelia sinusitis byssinosis sideroblastic anemia microhematuria type I hypersensitivity endophthalmitis brain edema kidney disease Neurogenic bladder amnestic disorder inherited blood coagulation disease psychotic disorder Double outlet right ventricle aphasia Fistula mutism Ectopia cordis hemolytic anemia respiratory failure neurilemmoma granulomatous pneumonitis facial paralysis ectropion wooden chest syndrome corneal ulcer intracranial hypotension pulmonary emphysema Ochronosis heart failure muscular atrophy corneal edema hypoxia Gynecomastia dystonia corneal dystrophy pulmonary embolism recurrent hypersomnia endolymphatic hydrops blepharospasm pleural effusion acute cystitis Supravalvar aortic stenosis Hypocalcaemia baritosis keratoconjunctivitis anterograde amnesia Trousseau sign of malignancy brain disease pain agnosia leukoplakia pericarditis strabismus ablepharon rhinitis pneumothorax burn adult respiratory distress syndrome corneal degeneration leukopenia scotoma Azotemia spleen injury nephritis corneal perforation laryngitis auditory nerve damage pulmonary fibrosis pulmonary congestion and hypostasis hypertrichosis hypertension ileus methemoglobinemia hypokalemia acute hemorrhagic cystitis delayed separation of umbilical cord Oligospermia acne hemorrhagic cystitis coronary artery disease bronchopneumonia hypothermia pneumoconiosis dryness kidney failure allergic asthma intracranial hypertension urticaria Polyostotic fibrous dysplasia Dysplastic nevus keratitis Defatting hypoglycemia chronic respiratory disease tracheal stenosis Precocious puberty simultanagnosia asbestosis hypovolemia argyria ankyloglossia exanthem Pulmonary toxicity granulomatous gastritis Chemical eye injury albino benign pneumoconiosis
212
action count
action atmost
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
value 1
[[{'concept': 'health problem'}, {'concept': 'disease'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { FILTER ( ?s <= 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?m WHERE { VALUES ( ?a ) { ( ontology:health_problem ) ( ontology:disease ) } . ?r rdf:type ?a } GROUP BY ?m } }
[]