Simple Question (Direct)
Simple Question
Q24122360
P703
Q631147
USER
Where is exonuclease    BN117_0536 found ?
(Q24122360,P703,c(Q631147))
action filter_type
action find
entity Q24122360
relation P703
type Q631147
['Q24122360', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q631147 . resource:Q24122360 property:P703 ?c }
exonuclease    BN117_0536
action filter_type
action find
entity exonuclease    BN117_0536
relation found in taxon
type infraspecific name
['exonuclease    BN117_0536', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:infraspecific_name . resource:exonuclease____BN117_0536 property:found_in_taxon ?c }
[]
infraspecific name
Q21064863
SYSTEM
Bordetella parapertussis Bpp5
Q21064863
(Q24122360,P703,c(Q631147))
action filter_type
action find
entity Q24122360
relation P703
type Q631147
Exonuclease BN117_0536 is found in [ANSWER]
['Q24122360', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q631147 . resource:Q24122360 property:P703 ?c }
Bordetella parapertussis Bpp5
Exonuclease BN117_0536 is found in Bordetella parapertussis Bpp5
Bordetella parapertussis Bpp5
action filter_type
action find
entity exonuclease    BN117_0536
relation found in taxon
type infraspecific name
['exonuclease    BN117_0536', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:infraspecific_name . resource:exonuclease____BN117_0536 property:found_in_taxon ?c }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P129
Q181394 Q79529 Q181394
USER
Which nutrients do min number of chemical substances and nutrients collaborate with ?
(c(Q79529)|c(Q181394),P129,c(Q181394))
action argmin
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
[[{'concept': 'Q79529'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?v ) { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ?l . VALUES ( ?l ) { ( ontology:Q79529 ) ( ontology:Q181394 ) } } GROUP BY ?q } } . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?j ) WHERE { { ?t property:P129 ?p . ?p rdf:type ontology:Q181394 . ?t rdf:type ontology:Q79529 } UNION { ?t property:P129 ?p . ?p rdf:type ontology:Q181394 . ?t rdf:type ontology:Q181394 } } GROUP BY ?p } . FILTER ( ?j = ?v ) }
action argmin
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
[[{'concept': 'chemical substance'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?v ) { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ?l . VALUES ( ?l ) { ( ontology:chemical_substance ) ( ontology:nutrient ) } } GROUP BY ?q } } . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?j ) WHERE { { ?t property:physically_interacts_with ?p . ?p rdf:type ontology:nutrient . ?t rdf:type ontology:chemical_substance } UNION { ?t property:physically_interacts_with ?p . ?p rdf:type ontology:nutrient . ?t rdf:type ontology:nutrient } } GROUP BY ?p } . FILTER ( ?j = ?v ) }
[]
nutrient chemical substance nutrient
Q5446456 Q15335226 Q254943
SYSTEM
Fibroblast growth factor receptor 2, D(2) dopamine receptor, Retinoic acid receptor alpha
Q21494718 Q21115210 Q21119831 Q21108693 Q21109971 Q21104718 Q21119231 Q21115284 Q21987850 Q423701 Q420930 Q1407929 Q21173169 Q21497881 Q21118791 Q1499998 Q1947065 Q15335226 Q14864142 Q7553281 Q4216080 Q410142 Q4048886 Q21113552 Q21137668 Q1552797 Q21135205 Q424440 Q21117208 Q21102756 Q3609382 Q21113671 Q401536 Q258915 Q21126218 Q21130085 Q21135448 Q21173374 Q21126810 Q21984557 Q7861688 Q21118909 Q21136517 Q21496578 Q21496575 Q21496576 Q2042529 Q21109974 Q21985924 Q5038044 Q14905270 Q5201199 Q905736 Q21135975 Q21172213 Q14914580 Q5198252 Q21109744 Q21124458 Q21111742 Q21123239 Q15324125 Q21115204 Q21110467 Q254943 Q21119828 Q21118920 Q6414726 Q22680153 Q21108482 Q21116513 Q21499436 Q21097491 Q21111162 Q21116946 Q21115906 Q21114332 Q21119851 Q417149 Q5611730 Q21154430 Q412483 Q1493174 Q11071131 Q21497887 Q22676679 Q5514257 Q3459294 Q21119672 Q21987843 Q21118732 Q21110396 Q419999 Q21135949 Q21096262 Q21135943 Q21135945 Q21117235 Q21108844 Q21119704 Q21111803 Q22679015 Q15322943 Q21174687 Q21105060 Q21125240 Q21118356 Q21117300 Q21175110 Q21175111 Q4036865 Q21983261 Q21102300 Q21139123 Q21108338 Q21496918 Q21117407 Q21110752 Q408305 Q21097237 Q21120955 Q14911895 Q3721138 Q21108487 Q14905748 Q21102136 Q5014947 Q423572 Q12746111 Q21499210 Q21100639 Q21119156 Q2819188 Q21119157 Q21115989 Q21118919 Q7136149 Q21106693 Q21103198 Q5464652 Q356093 Q21119847 Q22677167 Q21132917 Q21132915 Q21135411 Q21113504 Q14912057 Q21989670 Q21127300 Q21111553 Q21108161 Q21172884 Q21172886 Q1436420 Q21111833 Q21106691 Q6981557 Q14914198 Q21138907 Q21172286 Q21122921 Q21121233 Q21159525 Q22678664 Q5446457 Q5446456 Q21106737 Q5446453 Q14914104 Q3271142 Q21992684 Q21109026 Q21113832 Q21123416 Q21121086 Q21984578 Q21133205 Q21102082 Q21984577 Q904925 Q3415811 Q21131101 Q5014958 Q2521094 Q5014957 Q415718 Q21982203 Q21113540 Q423561 Q21120051 Q21115996 Q22676802 Q21109157 Q21115998 Q21988427 Q21991039 Q411791 Q21118884 Q21127141 Q21111265 Q15327766 Q21118970 Q21118976 Q416336 Q21173608 Q21136134 Q21129997 Q6592976 Q423628 Q21113510 Q424693 Q21123223 Q410434 Q6449560 Q21111520 Q21984381 Q21125499 Q21499447 Q5201201 Q21495791 Q21121496 Q21123220 Q21134814 Q21113683 Q21118710 Q418781
(c(Q79529)|c(Q181394),P129,c(Q181394))
action argmin
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
Min number of chemical substances and nutrients collaborate with [ANSWERS]
[[{'concept': 'Q79529'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?v ) { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ?l . VALUES ( ?l ) { ( ontology:Q79529 ) ( ontology:Q181394 ) } } GROUP BY ?q } } . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?j ) WHERE { { ?t property:P129 ?p . ?p rdf:type ontology:Q181394 . ?t rdf:type ontology:Q79529 } UNION { ?t property:P129 ?p . ?p rdf:type ontology:Q181394 . ?t rdf:type ontology:Q181394 } } GROUP BY ?p } . FILTER ( ?j = ?v ) }
Lysophosphatidic acid receptor 2 ATP-binding cassette sub-family A member 1 Potassium voltage-gated channel subfamily H member 5 G-protein coupled receptor 87 Cation channel sperm-associated protein 4 Solute carrier family 22 member 3 Tyrosine-protein kinase TXK Activated CDC42 kinase 1 Prostaglandin E2 receptor EP2 subtype Coagulation factor X Glutathione reductase, mitochondrial Cytochrome P450 1A1 Lysophosphatidic acid receptor 3 G protein-activated inward rectifier potassium channel 4 Multidrug resistance-associated protein 5 Voltage-dependent L-type calcium channel subunit alpha-1C Voltage-dependent N-type calcium channel subunit alpha-1B D(2) dopamine receptor 3-hydroxy-3-methylglutaryl-coenzyme A reductase Solute carrier family 12 member 3 72 kDa type IV collagenase Sodium-dependent serotonin transporter 3-oxo-5-alpha-steroid 4-dehydrogenase 2 ATP-sensitive inward rectifier potassium channel 14 Fibroblast growth factor receptor 4 Heat-stable enterotoxin receptor Dihydroorotate dehydrogenase (quinone), mitochondrial Cytochrome P450 3A4 Chymotrypsin-like elastase family member 1 Testis-specific serine/threonine-protein kinase 1 Cytochrome P450 11B2, mitochondrial ATP-binding cassette sub-family C member 8 Tyrosine-protein kinase Blk Renin Folate transporter 1 Mitogen-activated protein kinase kinase kinase kinase 5 Sodium channel protein type 2 subunit alpha Plasminogen Prostaglandin G/H synthase 1 Potassium voltage-gated channel subfamily D member 1 Non-receptor tyrosine-protein kinase TYK2 Ovarian cancer G-protein coupled receptor 1 Zinc-activated ligand-gated ion channel Lysophosphatidic acid receptor 3 Lysophosphatidic acid receptor 4 Lysophosphatidic acid receptor 6 Toll-like receptor 9 Cation channel sperm-associated protein 3 P2X purinoceptor 4 Carbonic anhydrase 4 Thyrotropin-releasing hormone receptor Cysteinyl leukotriene receptor 2 Prostacyclin receptor Multidrug and toxin extrusion protein 1 Solute carrier family 22 member 1 Short transient receptor potential channel 6 Cyclin-dependent kinase 6 Dual specificity mitogen-activated protein kinase kinase 7 Sodium-dependent neutral amino acid transporter B(0)AT2 Complement C1r subcomponent Cone cGMP-specific 3',5'-cyclic phosphodiesterase subunit alpha' Transient receptor potential cation channel subfamily V member 4 5'-AMP-activated protein kinase subunit beta-1 Potassium-transporting ATPase alpha chain 1 Retinoic acid receptor alpha ATP-sensitive inward rectifier potassium channel 8 P2X purinoceptor 3 ATP-sensitive inward rectifier potassium channel 11 Ornithine decarboxylase DNA topoisomerase 2-alpha Serine/threonine-protein kinase 4 Muscarinic acetylcholine receptor M1 Sodium/potassium-transporting ATPase subunit alpha-1 Acetylcholine receptor subunit alpha Carbonic anhydrase 12 Poly [ADP-ribose] polymerase 2 Tubulin beta chain Potassium channel subfamily K member 4 Dihydrofolate reductase Growth hormone-releasing hormone receptor Lysophosphatidic acid receptor 4 Cholesterol side-chain cleavage enzyme, mitochondrial Vitamin K-dependent gamma-carboxylase Glucagon-like peptide 2 receptor G protein-activated inward rectifier potassium channel 1 Acetylcholinesterase G-protein coupled estrogen receptor 1 Sodium channel protein type 5 subunit alpha Phosphatidylinositol 4-kinase type 2-beta Prostaglandin E2 receptor EP4 subtype Maltase-glucoamylase, intestinal Peptidyl-prolyl cis-trans isomerase FKBP1A Transthyretin Solute carrier family 22 member 11 Sodium leak channel non-selective protein Solute carrier family 22 member 8 Solute carrier family 22 member 12 Nuclear receptor ROR-beta P2X purinoceptor 4 Dual 3',5'-cyclic-AMP and -GMP phosphodiesterase 11A Voltage-dependent L-type calcium channel subunit alpha-1S Cholinesterase Short transient receptor potential channel 4 Sodium/bile acid cotransporter Aldo-keto reductase family 1 member C3 Solute carrier organic anion transporter family member 2A1 Calcium/calmodulin-dependent protein kinase type II subunit gamma Cytochrome P450 3A5 Vitamin K epoxide reductase complex subunit 1 Solute carrier family 22 member 2 Discoidin domain-containing receptor 2 Platelet-derived growth factor receptor beta C-C chemokine receptor type 4 Lysophosphatidic acid receptor 2 Ribonucleoside-diphosphate reductase subunit M2 Lysophosphatidic acid receptor 1 Serine/threonine-protein kinase 24 Cytochrome P450 2J2 Steroid 17-alpha-hydroxylase/17,20 lyase Aromatic-L-amino-acid decarboxylase Nuclear receptor subfamily 2 group C member 2 Thymidylate synthase Neutrophil elastase Parathyroid hormone/parathyroid hormone-related peptide receptor Voltage-dependent L-type calcium channel subunit alpha-1C Retinoic acid receptor RXR-beta Cytochrome P450 1B1 Tyrosine-protein kinase BTK Motilin receptor Carbonic anhydrase 13 Programmed cell death 1 ligand 1 Inosine-5'-monophosphate dehydrogenase 2 Type-1 angiotensin II receptor Inosine-5'-monophosphate dehydrogenase 1 Potassium/sodium hyperpolarization-activated cyclic nucleotide-gated channel 1 P2X purinoceptor 1 Parathyroid hormone 2 receptor Cytoplasmic tyrosine-protein kinase BMX G-protein coupled receptor family C group 6 member A Follicle-stimulating hormone receptor Adenosine deaminase Potassium channel subfamily K member 12 Thyroid peroxidase Carbonic anhydrase 14 Carbonic anhydrase 7 Multidrug and toxin extrusion protein 2 Inward rectifier potassium channel 13 ATP-sensitive inward rectifier potassium channel 11 DNA topoisomerase 2-alpha Serine/threonine-protein kinase 10 Solute carrier family 22 member 6 Lysine-specific histone demethylase 1A Lysophosphatidic acid receptor 6 Lysophosphatidic acid receptor 5 Xanthine dehydrogenase/oxidase Cation channel sperm-associated protein 2 Tyrosine-protein kinase FRK Sodium channel protein type 4 subunit alpha Trifunctional purine biosynthetic protein adenosine-3 Ryanodine receptor 1 Brain-specific angiogenesis inhibitor 1 Chromaffin granule amine transporter Ribonucleoside-diphosphate reductase large subunit Ryanodine receptor 3 Ceramide glucosyltransferase Fibroblast growth factor receptor 3 Fibroblast growth factor receptor 2 Proteinase-activated receptor 1 Fibroblast growth factor receptor 1 Toll-like receptor 4 Cytochrome P450 2D6 Vascular endothelial growth factor receptor 3 Tryptase alpha/beta-1 Adhesion G protein-coupled receptor G3 Sodium/hydrogen exchanger 5 Proton-coupled folate transporter Potassium voltage-gated channel subfamily D member 2 Mas-related G-protein coupled receptor member X1 Acid-sensing ion channel 2 Potassium voltage-gated channel subfamily D member 3 Cytochrome P450 11B1, mitochondrial Ryanodine receptor 2 Membrane primary amine oxidase Cytochrome P450 2B6 Synaptic vesicular amine transporter Cytochrome P450 2C8 C-X-C chemokine receptor type 4 Potassium/sodium hyperpolarization-activated cyclic nucleotide-gated channel 4 Calcium/calmodulin-dependent protein kinase type 1D Lysosomal protective protein Retinoic acid receptor RXR-gamma Potassium/sodium hyperpolarization-activated cyclic nucleotide-gated channel 3 Thymidylate synthase Serine/threonine-protein kinase PLK4 Potassium/sodium hyperpolarization-activated cyclic nucleotide-gated channel 4 Prostacyclin receptor Multidrug and toxin extrusion protein 2 Arachidonate 5-lipoxygenase Niemann-Pick C1-like protein 1 Sodium-coupled monocarboxylate transporter 1 Cation channel sperm-associated protein 1 Transient receptor potential cation channel subfamily V member 5 G-protein coupled receptor 143 Probable G-protein coupled receptor 139 Antithrombin-III Peptidyl-prolyl cis-trans isomerase A Solute carrier organic anion transporter family member 3A1 Atypical chemokine receptor 3 Retinoic acid receptor beta Tyrosine-protein kinase Fyn ATP-sensitive inward rectifier potassium channel 10 Pancreatic triacylglycerol lipase High affinity cAMP-specific and IBMX-insensitive 3',5'-cyclic phosphodiesterase 8B RAF proto-oncogene serine/threonine-protein kinase Potassium voltage-gated channel subfamily KQT member 1 Chloride channel protein 1 Voltage-dependent L-type calcium channel subunit alpha-1D Trypsin-1 Muscarinic acetylcholine receptor M2 Cysteinyl leukotriene receptor 1 Metabotropic glutamate receptor 5 Phosphatidylinositol 4-kinase type 2-alpha High affinity cAMP-specific and IBMX-insensitive 3',5'-cyclic phosphodiesterase 8A Equilibrative nucleoside transporter 4 ATP-binding cassette sub-family G member 2 Retinoic acid receptor RXR-alpha Catechol O-methyltransferase
Min number of chemical substances and nutrients collaborate with Fibroblast growth factor receptor 2, D(2) dopamine receptor and Retinoic acid receptor alpha
Fibroblast growth factor receptor 2 D(2) dopamine receptor Retinoic acid receptor alpha
action argmin
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
[[{'concept': 'chemical substance'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?v ) { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ?l . VALUES ( ?l ) { ( ontology:chemical_substance ) ( ontology:nutrient ) } } GROUP BY ?q } } . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?j ) WHERE { { ?t property:physically_interacts_with ?p . ?p rdf:type ontology:nutrient . ?t rdf:type ontology:chemical_substance } UNION { ?t property:physically_interacts_with ?p . ?p rdf:type ontology:nutrient . ?t rdf:type ontology:nutrient } } GROUP BY ?p } . FILTER ( ?j = ?v ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5446456
P681
Q15989253
USER
Which parts are components of that nutrient ?
(Q5446456,P681,c(Q15989253))
action filter_type
action find
entity Q5446456
relation P681
type Q15989253
['Q5446456', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15989253 . resource:Q5446456 property:P681 ?q }
Fibroblast growth factor receptor 2
action filter_type
action find
entity Fibroblast growth factor receptor 2
relation cell component
type part
['Fibroblast growth factor receptor 2', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:part . resource:Fibroblast_growth_factor_receptor_2 property:cell_component ?q }
[]
part
Clarification for simple ques.
Q254943
SYSTEM
Did you mean Retinoic acid receptor alpha ?
Q5446456 Q15335226 Q254943
(Q5446456,P681,c(Q15989253)) (Q15335226,P681,c(Q15989253)) (Q254943,P681,c(Q15989253))
[ANSWER]
['Q5446456', 'P681', {'concept': 'Q15989253'}] ['Q15335226', 'P681', {'concept': 'Q15989253'}] ['Q254943', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15989253 . resource:Q5446456 property:P681 ?q }
Fibroblast growth factor receptor 2 D(2) dopamine receptor Retinoic acid receptor alpha
Did you mean Retinoic acid receptor alpha ?
Retinoic acid receptor alpha
['Fibroblast growth factor receptor 2', 'cell component', {'concept': 'part'}] ['D(2) dopamine receptor', 'cell component', {'concept': 'part'}] ['Retinoic acid receptor alpha', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:part . resource:Fibroblast_growth_factor_receptor_2 property:cell_component ?q }
[]
Simple Question (Coreferenced)
USER
No, I meant Fibroblast growth factor receptor 2. Could you tell me the answer for that?
(Q5446456,P681,c(Q15989253))
Q5446456
['Q5446456', 'P681', {'concept': 'Q15989253'}]
['Fibroblast growth factor receptor 2', 'cell component', {'concept': 'part'}]
[]
Q79899 Q40260 Q14645596
SYSTEM
cytoplasm, nucleus, extracellular region
Q79899 Q40260 Q14645596 Q14349455
(Q5446456,P681,c(Q15989253))
action filter_type
action find
entity Q5446456
relation P681
type Q15989253
[ANSWERS] are components of that nutrient
['Q5446456', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15989253 . resource:Q5446456 property:P681 ?q }
cytoplasm nucleus extracellular region membrane
Cytoplasm, nucleus and extracellular region are components of that nutrient
cytoplasm nucleus extracellular region
action filter_type
action find
entity Fibroblast growth factor receptor 2
relation cell component
type part
['Fibroblast growth factor receptor 2', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:part . resource:Fibroblast_growth_factor_receptor_2 property:cell_component ?q }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q41478 Q254943
P129 P2175
Q8386
USER
Which drugs interacts with Retinoic acid receptor alpha or are prescribed for hemorrhoid ?
OR((c(Q8386),P129,Q254943), (c(Q8386),P2175,Q41478))
action filter_type
action union
action find_reverse
entity Q254943
relation P129
action find_reverse
entity Q41478
relation P2175
type Q8386
{'OR': [[{'concept': 'Q8386'}, 'P129', 'Q254943'], [{'concept': 'Q8386'}, 'P2175', 'Q41478']]}
SELECT DISTINCT ?v WHERE { { { ?v property:P129 resource:Q254943 } UNION { ?v property:P2175 resource:Q41478 } } . ?v rdf:type ontology:Q8386 }
hemorrhoid Retinoic acid receptor alpha
action filter_type
action union
action find_reverse
entity Retinoic acid receptor alpha
relation physically interacts with
action find_reverse
entity hemorrhoid
relation medical condition treated
type drug
{'OR': [[{'concept': 'drug'}, 'physically interacts with', 'Retinoic acid receptor alpha'], [{'concept': 'drug'}, 'medical condition treated', 'hemorrhoid']]}
SELECT DISTINCT ?v WHERE { { { ?v property:physically_interacts_with resource:Retinoic_acid_receptor_alpha } UNION { ?v property:medical_condition_treated resource:hemorrhoid } } . ?v rdf:type ontology:drug }
[]
drug
Q29417 Q419608 Q924467 Q162867 Q216935 Q422745 Q352348 Q7681221 Q190875 Q416132
SYSTEM
Some of them are all-trans-retinoic acid, Tetracaine, fluocinolone acetonide, nitroglycerin, lidocaine, Benzocaine, adapalene, tamibarotene, cortisol, betamethasone
Q7681221 Q3611854 Q422745 Q352348 Q11426176 Q1074056 Q607349 Q190875 Q179748 Q5462791 Q162867 Q422252 Q216935 Q416132 Q29417 Q421910 Q419608 Q924467
OR((c(Q8386),P129,Q254943), (c(Q8386),P2175,Q41478))
action filter_type
action union
action find_reverse
entity Q254943
relation P129
action find_reverse
entity Q41478
relation P2175
type Q8386
[ANSWERS] interact with Retinoic acid receptor alpha or are prescribed for hemorrhoid
{'OR': [[{'concept': 'Q8386'}, 'P129', 'Q254943'], [{'concept': 'Q8386'}, 'P2175', 'Q41478']]}
SELECT DISTINCT ?v WHERE { { { ?v property:P129 resource:Q254943 } UNION { ?v property:P2175 resource:Q41478 } } . ?v rdf:type ontology:Q8386 }
tamibarotene alitretinoin Benzocaine adapalene prednisolone triamcinolone fluorometholone cortisol Isosorbide Dinitrate fluocinonide nitroglycerin dexamethasone lidocaine betamethasone all-trans-retinoic acid phenylephrine Tetracaine fluocinolone acetonide
All-trans-retinoic acid, Tetracaine, fluocinolone acetonide, nitroglycerin, lidocaine, Benzocaine, adapalene, tamibarotene, cortisol and betamethasone interact with Retinoic acid receptor alpha or are prescribed for hemorrhoid
all-trans-retinoic acid Tetracaine fluocinolone acetonide nitroglycerin lidocaine Benzocaine adapalene tamibarotene cortisol betamethasone
action filter_type
action union
action find_reverse
entity Retinoic acid receptor alpha
relation physically interacts with
action find_reverse
entity hemorrhoid
relation medical condition treated
type drug
{'OR': [[{'concept': 'drug'}, 'physically interacts with', 'Retinoic acid receptor alpha'], [{'concept': 'drug'}, 'medical condition treated', 'hemorrhoid']]}
SELECT DISTINCT ?v WHERE { { { ?v property:physically_interacts_with resource:Retinoic_acid_receptor_alpha } UNION { ?v property:medical_condition_treated resource:hemorrhoid } } . ?v rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q41478
P2176
Q8386
USER
How many drugs are used as a remedy for hemorrhoid ?
(Q41478,P2176,c(Q8386))
action count
action filter_type
action find
entity Q41478
relation P2176
type Q8386
['Q41478', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Q41478 property:P2176 ?o . ?o rdf:type ontology:Q8386 }
hemorrhoid
action count
action filter_type
action find
entity hemorrhoid
relation drug used for treatment
type drug
['hemorrhoid', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:hemorrhoid property:drug_used_for_treatment ?o . ?o rdf:type ontology:drug }
[]
drug
SYSTEM
14
Q5462791 Q422745 Q419608 Q607349 Q11426176 Q1074056 Q190875 Q179748 Q162867 Q422252 Q216935 Q421910 Q924467 Q416132
(Q41478,P2176,c(Q8386))
action count
action filter_type
action find
entity Q41478
relation P2176
type Q8386
[ANSWER]
['Q41478', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Q41478 property:P2176 ?o . ?o rdf:type ontology:Q8386 }
fluocinonide Benzocaine Tetracaine fluorometholone prednisolone triamcinolone cortisol Isosorbide Dinitrate nitroglycerin dexamethasone lidocaine phenylephrine fluocinolone acetonide betamethasone
14
action count
action filter_type
action find
entity hemorrhoid
relation drug used for treatment
type drug
['hemorrhoid', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:hemorrhoid property:drug_used_for_treatment ?o . ?o rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q18556932
P2176
Q8386
USER
And what about large intestine cancer?
(Q18556932,P2176,c(Q8386))
action count
action filter_type
action find
entity Q18556932
relation P2176
type Q8386
['Q18556932', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q18556932 property:P2176 ?b . ?b rdf:type ontology:Q8386 }
large intestine cancer
action count
action filter_type
action find
entity large intestine cancer
relation drug used for treatment
type drug
['large intestine cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:large_intestine_cancer property:drug_used_for_treatment ?b . ?b rdf:type ontology:drug }
[]
drug
SYSTEM
34
Q4689286 Q18216 Q3891664 Q367700 Q7127523 Q139347 Q4830631 Q419383 Q420207 Q2359590 Q19856779 Q162867 Q257331 Q5462356 Q421052 Q238512 Q6695342 Q7083106 Q241374 Q670131 Q415392 Q20801763 Q7699074 Q415411 Q420296 Q413299 Q408801 Q416451 Q412963 Q963093 Q417775 Q422327 Q7914515 Q240642
(Q18556932,P2176,c(Q8386))
action count
action filter_type
action find
entity Q18556932
relation P2176
type Q8386
[ANSWER]
['Q18556932', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q18556932 property:P2176 ?b . ?b rdf:type ontology:Q8386 }
Aflibercept acetylsalicylic acid regorafenib Cyclosporine Palifermin Cholecalciferol axitinib desflurane capecitabine trifluridine mitomycin C nitroglycerin Streptozocin floxuridine Everolimus 5-fluorouracil lubiprostone olaparib ursodeoxycholic acid simvastatin Omalizumab Aldesleukin temsirolimus Anakinra Cetuximab Bevacizumab celecoxib azacitidine cabazitaxel sulindac Panitumumab Oxaliplatin vandetanib valproic acid
34
action count
action filter_type
action find
entity large intestine cancer
relation drug used for treatment
type drug
['large intestine cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:large_intestine_cancer property:drug_used_for_treatment ?b . ?b rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q128581
Q8386
USER
And also tell me about breast cancer?
(Q128581,P2176,c(Q8386))
action count
action filter_type
action find
entity Q128581
relation P2176
type Q8386
['Q128581', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { resource:Q128581 property:P2176 ?e . ?e rdf:type ontology:Q8386 }
breast cancer
action count
action filter_type
action find
entity breast cancer
relation drug used for treatment
type drug
['breast cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { resource:breast_cancer property:drug_used_for_treatment ?e . ?e rdf:type ontology:drug }
[]
drug
SYSTEM
72
(Q128581,P2176,c(Q8386))
action count
action filter_type
action find
entity Q128581
relation P2176
type Q8386
[ANSWER]
['Q128581', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { resource:Q128581 property:P2176 ?e . ?e rdf:type ontology:Q8386 }
72
action count
action filter_type
action find
entity breast cancer
relation drug used for treatment
type drug
['breast cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { resource:breast_cancer property:drug_used_for_treatment ?e . ?e rdf:type ontology:drug }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18556932 Q254943
P2176 P129
Q8386
USER
Which drugs do Retinoic acid receptor alpha interact with or are used as a remedy for large intestine cancer ?
OR((Q254943,P129,c(Q8386)), (Q18556932,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q254943
relation P129
action find
entity Q18556932
relation P2176
type Q8386
{'OR': [['Q254943', 'P129', {'concept': 'Q8386'}], ['Q18556932', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q254943 property:P129 ?f } UNION { resource:Q18556932 property:P2176 ?f } } . ?f rdf:type ontology:Q8386 }
large intestine cancer Retinoic acid receptor alpha
action filter_type
action union
action find
entity Retinoic acid receptor alpha
relation physically interacts with
action find
entity large intestine cancer
relation drug used for treatment
type drug
{'OR': [['Retinoic acid receptor alpha', 'physically interacts with', {'concept': 'drug'}], ['large intestine cancer', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Retinoic_acid_receptor_alpha property:physically_interacts_with ?f } UNION { resource:large_intestine_cancer property:drug_used_for_treatment ?f } } . ?f rdf:type ontology:drug }
[]
drug
Q7681221 Q413299 Q29417 Q417775 Q419383 Q238512 Q415411 Q963093 Q7127523 Q241374
SYSTEM
Some of them are tamibarotene, Bevacizumab, all-trans-retinoic acid, Panitumumab, desflurane, 5-fluorouracil, Anakinra, sulindac, Palifermin, ursodeoxycholic acid
Q4689286 Q18216 Q3891664 Q367700 Q7127523 Q139347 Q4830631 Q7681221 Q420207 Q2359590 Q19856779 Q257331 Q5462356 Q421052 Q238512 Q162867 Q7083106 Q241374 Q670131 Q419383 Q3611854 Q415392 Q352348 Q20801763 Q29417 Q7699074 Q415411 Q420296 Q6695342 Q413299 Q408801 Q416451 Q412963 Q963093 Q417775 Q422327 Q7914515 Q240642
OR((Q254943,P129,c(Q8386)), (Q18556932,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q254943
relation P129
action find
entity Q18556932
relation P2176
type Q8386
[ANSWERS]
{'OR': [['Q254943', 'P129', {'concept': 'Q8386'}], ['Q18556932', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q254943 property:P129 ?f } UNION { resource:Q18556932 property:P2176 ?f } } . ?f rdf:type ontology:Q8386 }
Aflibercept acetylsalicylic acid regorafenib Cyclosporine Palifermin Cholecalciferol axitinib tamibarotene capecitabine trifluridine mitomycin C Streptozocin floxuridine Everolimus 5-fluorouracil nitroglycerin olaparib ursodeoxycholic acid simvastatin desflurane alitretinoin Omalizumab adapalene Aldesleukin all-trans-retinoic acid temsirolimus Anakinra Cetuximab lubiprostone Bevacizumab celecoxib azacitidine cabazitaxel sulindac Panitumumab Oxaliplatin vandetanib valproic acid
Which drugs Retinoic acid receptor alpha interact with or are used as a remedy for large intestine cancer
tamibarotene Bevacizumab all-trans-retinoic acid Panitumumab desflurane 5-fluorouracil Anakinra sulindac Palifermin ursodeoxycholic acid
action filter_type
action union
action find
entity Retinoic acid receptor alpha
relation physically interacts with
action find
entity large intestine cancer
relation drug used for treatment
type drug
{'OR': [['Retinoic acid receptor alpha', 'physically interacts with', {'concept': 'drug'}], ['large intestine cancer', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Retinoic_acid_receptor_alpha property:physically_interacts_with ?f } UNION { resource:large_intestine_cancer property:drug_used_for_treatment ?f } } . ?f rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18556932
P2175
Q8386
USER
How many drugs are prescribed for large intestine cancer ?
(c(Q8386),P2175,Q18556932)
action count
action filter_type
action find_reverse
entity Q18556932
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', 'Q18556932']
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:P2175 resource:Q18556932 . ?s rdf:type ontology:Q8386 }
large intestine cancer
action count
action filter_type
action find_reverse
entity large intestine cancer
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'large intestine cancer']
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:medical_condition_treated resource:large_intestine_cancer . ?s rdf:type ontology:drug }
[]
drug
SYSTEM
34
Q415392 Q20801763 Q5462356 Q417775 Q670131 Q416451 Q162867 Q257331 Q367700 Q4689286 Q19856779 Q419383 Q4830631 Q963093 Q139347 Q413299 Q415411 Q7127523 Q7699074 Q2359590 Q3891664 Q421052 Q241374 Q240642 Q408801 Q18216 Q7914515 Q238512 Q412963 Q6695342 Q420207 Q422327 Q420296 Q7083106
(c(Q8386),P2175,Q18556932)
action count
action filter_type
action find_reverse
entity Q18556932
relation P2175
type Q8386
[ANSWER]
[{'concept': 'Q8386'}, 'P2175', 'Q18556932']
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:P2175 resource:Q18556932 . ?s rdf:type ontology:Q8386 }
Omalizumab Aldesleukin floxuridine Panitumumab simvastatin azacitidine nitroglycerin Streptozocin Cyclosporine Aflibercept mitomycin C desflurane axitinib sulindac Cholecalciferol Bevacizumab Anakinra Palifermin temsirolimus trifluridine regorafenib Everolimus ursodeoxycholic acid valproic acid celecoxib acetylsalicylic acid vandetanib 5-fluorouracil cabazitaxel lubiprostone capecitabine Oxaliplatin Cetuximab olaparib
34
action count
action filter_type
action find_reverse
entity large intestine cancer
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'large intestine cancer']
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:medical_condition_treated resource:large_intestine_cancer . ?s rdf:type ontology:drug }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q412208
P921
Q8386 Q732577 Q838948
USER
How many drugs were around the same number of publications and works of art mainly about as lisinopril ?
(c(Q732577)|c(Q838948),P921,c(Q8386))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action find_reverse_tuple_counts
relation P921
type Q8386
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q412208
relation P921
type Q732577
type Q838948
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?v WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:P921 resource:Q412208 . { { ?e rdf:type ontology:Q732577 } UNION { ?e rdf:type ontology:Q838948 } } } } . FILTER ( ?a = ?h ) }
lisinopril
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action find_reverse_tuple_counts
relation main subject
type drug
type work of art
action count
action filter_multi_types
action find_reverse
entity lisinopril
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?v WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:publication ) ( ontology:work_of_art ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:main_subject resource:lisinopril . { { ?e rdf:type ontology:publication } UNION { ?e rdf:type ontology:work_of_art } } } } . FILTER ( ?a = ?h ) }
[]
drug publication work of art
SYSTEM
248
Q377270 Q422416 Q410083 Q20816880 Q193572 Q192717 Q243547 Q1147309 Q2957662 Q409262 Q3273062 Q412194 Q5134338 Q415550 Q411441 Q214769 Q418351 Q413486 Q71969 Q898739 Q421352 Q816759 Q212272 Q1752915 Q162867 Q422252 Q238512 Q3108899 Q424976 Q414796 Q184630 Q413188 Q193166 Q620730 Q188017 Q238474 Q281082 Q388801 Q134658 Q18939 Q170545 Q424145 Q423989 Q421183 Q408471 Q18936 Q413690 Q258450 Q685119 Q190067 Q554881 Q80863 Q174723 Q199678 Q422241 Q408646 Q425362 Q26963 Q412143 Q416206 Q326224 Q192471 Q76560 Q2467555 Q170304 Q421862 Q423364 Q384993 Q421781 Q1215575 Q127060 Q407972 Q193045 Q190875 Q423930 Q282003 Q412208 Q60235 Q411461 Q121874 Q244150 Q3800087 Q413968 Q415869 Q908663 Q273169 Q180912 Q421910 Q282629 Q410352 Q213511 Q192464 Q416821 Q23118 Q29417 Q200774 Q416905 Q419642 Q2314 Q210402 Q132621 Q221520 Q414547 Q425234 Q375613 Q423169 Q423005 Q415734 Q407617 Q413504 Q134808 Q81225 Q412221 Q416507 Q179996 Q416503 Q407241 Q846227 Q285911 Q412299 Q423762 Q411635 Q412415 Q41576 Q181003 Q152763 Q421119 Q410441 Q411885 Q407781 Q179731 Q5103230 Q415939 Q46452 Q422745 Q408524 Q518114 Q186127 Q190012 Q19484 Q5319614 Q186969 Q409231 Q420673 Q2701912 Q422669 Q408977 Q300989 Q412496 Q191924 Q416740 Q12144 Q407172 Q423357 Q419995 Q423423 Q186521 Q415588 Q407308 Q422215 Q407541 Q3322838 Q287029 Q418157 Q418011 Q219626 Q425296 Q348922 Q900898 Q186242 Q2768526 Q318369 Q423746 Q485277 Q181619 Q407431 Q411237 Q419175 Q413918 Q62947 Q191700 Q203174 Q183290 Q425289 Q904308 Q409632 Q420360 Q2603363 Q169569 Q407535 Q410358 Q339975 Q2341200 Q18216 Q821641 Q1318776 Q422884 Q52353 Q408427 Q773449 Q2502747 Q409492 Q208451 Q422232 Q414065 Q19856779 Q418560 Q408032 Q415850 Q182040 Q385347 Q410595 Q2354337 Q251698 Q419401 Q418817 Q416516 Q57055 Q409665 Q422112 Q178566 Q415571 Q407927 Q425502 Q39798 Q408570 Q20817216 Q407841 Q418523 Q410829 Q423814 Q192423 Q582356 Q423890 Q26272 Q411456 Q186474 Q198504 Q22124685 Q327362 Q411594 Q418656 Q2298283 Q410374 Q420436 Q410061 Q407125 Q7739
(c(Q732577)|c(Q838948),P921,c(Q8386))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action find_reverse_tuple_counts
relation P921
type Q8386
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q412208
relation P921
type Q732577
type Q838948
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?v WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:P921 resource:Q412208 . { { ?e rdf:type ontology:Q732577 } UNION { ?e rdf:type ontology:Q838948 } } } } . FILTER ( ?a = ?h ) }
dihydrocodeine 17β-estradiol Polyethylene glycol L-Lysine salicylic acid Streptomycin Ketamine Cyclandelate activated charcoal Meticillin MM1 buspirone Clioquinol Isoprenaline hydrocodone Magnesium oxide meprobamate diphenhydramine Hexamethylenetetramine Laudanum norethisterone Beta blocker hydroxyurea trifluoperazine nitroglycerin dexamethasone 5-fluorouracil glipizide Vitamin A temazepam Potassium Chloride methacholine Choline Glycine L-Tyrosine 5-aminolevulinic acid Nalidixic Acid furosemide nicotinic acid azathioprine L-Phenylalanine Praziquantel diethylstilbestrol Hexobarbital Paroxetine doxorubicin acetazolamide penicillin G methoxamine Δ9-tetrahydrocannabinol Ethylmorphine Adenosine triphosphate codeine Vitamin C Sodium lauryl sulfate Triclosan Hexachlorophene progesterone triazolam Pentamidine Colchicine Menadione antidepressant Furazolidone dopamine ribavirin propranolol Isoflurophate Cupric Chloride naproxen Folic Acid chlorpromazine Tetracycline cortisol hydrochlorothiazide Lindane lisinopril caffeine pilocarpine Potassium Iodide Ampicillin pyrilamine Dimercaprol carmustine kaolin capsaicin melatonin phenylephrine Vinblastine gabapentin Erythromycin Levoleucovorin Menotropins LSD all-trans-retinoic acid Follitropin beta carisoprodol Trypan blue sodium chloride diazepam (-)-adrenaline triamterene Sodium salicylate Thallous Chloride RK-0202 Isoniazid Malathion Aminopterin sertraline azelaic acid vaccine morphine clonidine thiotepa methadone Aminophenazone phenobarbital antiviral drug ouabain oxazepam Paclitaxel Permethrin cisplatin cocaine L-Tryptophan Lithium captopril modafinil Chromic chloride dextromethorphan Sodium bicarbonate Chlorphentermine chlorambucil opiumerty Benzocaine cyclophosphamide Oxybenzone Dactinomycin adenosine metformin Dz13 ibuprofen indomethacin guanethidine clofibrate Nitrofurantoin vincristine levodopa quinidine Methamphetamine enflurane Nicotine Chorionic gonadotropin eugenol amiloride Sulfanilamide L-Threonine Carboplatin theophylline Phenoxymethylpenicillin fentanyl (+/-)-benzphetamine Isotretinoin Phentermine mechlorethamine (-)-ephedrine prazosin busulfan probenecid (-)-noradrenaline monobenzone Adenosine monophosphate Pyridoxine L-Histidine L-Glutamine Warfarin 4-hydroxyproline Phenacetin Isoflurane flunitrazepam Benzoic Acid thalidomide L-Serine chlorthalidone Mestranol pentobarbital phentolamine chlorothiazide Metronidazole oxycodone salbutamol Sodium Nitrite Clodronate acetylsalicylic acid metyrapone testosterone Ethyl carbamate Benzyl alcohol Sulfathiazole T4 Sofosbuvir cimetidine calcium chloride methotrexate attapulgite mitomycin C ifosfamide Edetic Acid Amobarbital Aspartame thioguanine physostigmine Phosphatidyl serine Amifostine Carbachol etoposide enoxaparin paracetamol disulfiram methylphenidate chlordiazepoxide Bleomycin Dimethyl sulfoxide Nitrofural Insulin Methoxsalen testosterone propionate reserpine niclosamide Heptabarbital dimercaptosuccinic acid Nicotinamide Interferon gamma-1b digitoxin Atropine methocarbamol L-Cysteine zidovudine L-Methionine triiodothyronine methoxyflurane procarbazine melphalan Papaverine docetaxel amiodarone Aluminum hydroxide Arsenic trioxide
248
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action find_reverse_tuple_counts
relation main subject
type drug
type work of art
action count
action filter_multi_types
action find_reverse
entity lisinopril
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?v WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:publication ) ( ontology:work_of_art ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:main_subject resource:lisinopril . { { ?e rdf:type ontology:publication } UNION { ?e rdf:type ontology:work_of_art } } } } . FILTER ( ?a = ?h ) }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23917585
Q8386
USER
And also tell me about Adenosine 3',5'-cyclic monophosphate phosphodiesterase in guinea-pig lung—Properties and effect of adrenergic drugs?
(Q23917585,P921,c(Q8386))
action filter_type
action find
entity Q23917585
relation P921
type Q8386
['Q23917585', 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q8386 . resource:Q23917585 property:P921 ?r }
Adenosine 3',5'-cyclic monophosphate phosphodiesterase in guinea-pig lung—Properties and effect of adrenergic drugs
action filter_type
action find
entity Adenosine 3',5'-cyclic monophosphate phosphodiesterase in guinea-pig lung—Properties and effect of adrenergic drugs
relation main subject
type drug
["Adenosine 3',5'-cyclic monophosphate phosphodiesterase in guinea-pig lung—Properties and effect of adrenergic drugs", 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:drug . resource:Adenosine_3',5'-cyclic_monophosphate_phosphodiesterase_in_guinea-pig_lung—Properties_and_effect_of_adrenergic_drugs property:main_subject ?r }
[]
drug
Q685119 Q186242
SYSTEM
methoxamine, (-)-noradrenaline
Q685119 Q186242
(Q23917585,P921,c(Q8386))
action filter_type
action find
entity Q23917585
relation P921
type Q8386
[ANSWERS]
['Q23917585', 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q8386 . resource:Q23917585 property:P921 ?r }
methoxamine (-)-noradrenaline
methoxamine (-)-noradrenaline
action filter_type
action find
entity Adenosine 3',5'-cyclic monophosphate phosphodiesterase in guinea-pig lung—Properties and effect of adrenergic drugs
relation main subject
type drug
["Adenosine 3',5'-cyclic monophosphate phosphodiesterase in guinea-pig lung—Properties and effect of adrenergic drugs", 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:drug . resource:Adenosine_3',5'-cyclic_monophosphate_phosphodiesterase_in_guinea-pig_lung—Properties_and_effect_of_adrenergic_drugs property:main_subject ?r }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5346630 Q963093
P509 P2175
Q2057971
USER
Which health problems are cured by sulindac or caused the death of Edwin M. Randall ?
OR((Q963093,P2175,c(Q2057971)), (Q5346630,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q963093
relation P2175
action find
entity Q5346630
relation P509
type Q2057971
{'OR': [['Q963093', 'P2175', {'concept': 'Q2057971'}], ['Q5346630', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q963093 property:P2175 ?d } UNION { resource:Q5346630 property:P509 ?d } } . ?d rdf:type ontology:Q2057971 }
Edwin M. Randall sulindac
action filter_type
action union
action find
entity sulindac
relation medical condition treated
action find
entity Edwin M. Randall
relation cause of death
type health problem
{'OR': [['sulindac', 'medical condition treated', {'concept': 'health problem'}], ['Edwin M. Randall', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?d WHERE { { { resource:sulindac property:medical_condition_treated ?d } UNION { resource:Edwin_M._Randall property:cause_of_death ?d } } . ?d rdf:type ontology:health_problem }
[]
health problem
Q52844 Q62736 Q187255 Q18556932 Q401402 Q133087
SYSTEM
enthesopathy, osteoarthritis/osteodystrophy, rheumatoid arthritis, large intestine cancer, nephritis, gout
Q52844 Q62736 Q187255 Q18556932 Q401402 Q133087
OR((Q963093,P2175,c(Q2057971)), (Q5346630,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q963093
relation P2175
action find
entity Q5346630
relation P509
type Q2057971
[ANSWERS] are cured by sulindac or caused the death of Edwin M. Randall
{'OR': [['Q963093', 'P2175', {'concept': 'Q2057971'}], ['Q5346630', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q963093 property:P2175 ?d } UNION { resource:Q5346630 property:P509 ?d } } . ?d rdf:type ontology:Q2057971 }
enthesopathy osteoarthritis/osteodystrophy rheumatoid arthritis large intestine cancer nephritis gout
Enthesopathy, osteoarthritis/osteodystrophy, rheumatoid arthritis, large intestine cancer, nephritis and gout are cured by sulindac or caused the death of Edwin M. Randall
enthesopathy osteoarthritis/osteodystrophy rheumatoid arthritis large intestine cancer nephritis gout
action filter_type
action union
action find
entity sulindac
relation medical condition treated
action find
entity Edwin M. Randall
relation cause of death
type health problem
{'OR': [['sulindac', 'medical condition treated', {'concept': 'health problem'}], ['Edwin M. Randall', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?d WHERE { { { resource:sulindac property:medical_condition_treated ?d } UNION { resource:Edwin_M._Randall property:cause_of_death ?d } } . ?d rdf:type ontology:health_problem }
[]