Simple Question (Direct)
Simple Question
Q21123416
P129
Q8386
USER
Which drug does Sodium/hydrogen exchanger 5 contact with ?
(Q21123416,P129,c(Q8386))
action filter_type
action find
entity Q21123416
relation P129
type Q8386
['Q21123416', 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ?h WHERE { resource:Q21123416 property:P129 ?h . ?h rdf:type ontology:Q8386 }
Sodium/hydrogen exchanger 5
action filter_type
action find
entity Sodium/hydrogen exchanger 5
relation physically interacts with
type drug
['Sodium/hydrogen exchanger 5', 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ?h WHERE { resource:Sodium/hydrogen_exchanger_5 property:physically_interacts_with ?h . ?h rdf:type ontology:drug }
[]
drug
Q419995
SYSTEM
amiloride
Q419995
(Q21123416,P129,c(Q8386))
action filter_type
action find
entity Q21123416
relation P129
type Q8386
[ANSWER] does Sodium/hydrogen exchanger 5 contact with
['Q21123416', 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ?h WHERE { resource:Q21123416 property:P129 ?h . ?h rdf:type ontology:Q8386 }
amiloride
Amiloride does Sodium/hydrogen exchanger 5 contact with
amiloride
action filter_type
action find
entity Sodium/hydrogen exchanger 5
relation physically interacts with
type drug
['Sodium/hydrogen exchanger 5', 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ?h WHERE { resource:Sodium/hydrogen_exchanger_5 property:physically_interacts_with ?h . ?h rdf:type ontology:drug }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21123416
P688
Q863908
USER
Which nucleic acid sequence encodes Sodium/hydrogen exchanger 5 ?
(c(Q863908),P688,Q21123416)
action filter_type
action find_reverse
entity Q21123416
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21123416']
SELECT DISTINCT ?k WHERE { ?k property:P688 resource:Q21123416 . ?k rdf:type ontology:Q863908 }
Sodium/hydrogen exchanger 5
action filter_type
action find_reverse
entity Sodium/hydrogen exchanger 5
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Sodium/hydrogen exchanger 5']
SELECT DISTINCT ?k WHERE { ?k property:encodes resource:Sodium/hydrogen_exchanger_5 . ?k rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18031555
SYSTEM
SLC9A5
Q18031555
(c(Q863908),P688,Q21123416)
action filter_type
action find_reverse
entity Q21123416
relation P688
type Q863908
[ANSWER] encodes Sodium/hydrogen exchanger 5
[{'concept': 'Q863908'}, 'P688', 'Q21123416']
SELECT DISTINCT ?k WHERE { ?k property:P688 resource:Q21123416 . ?k rdf:type ontology:Q863908 }
SLC9A5
SLC9A5 encodes Sodium/hydrogen exchanger 5
SLC9A5
action filter_type
action find_reverse
entity Sodium/hydrogen exchanger 5
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Sodium/hydrogen exchanger 5']
SELECT DISTINCT ?k WHERE { ?k property:encodes resource:Sodium/hydrogen_exchanger_5 . ?k rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21123416
P702
Q863908
USER
What is the gene that encodes Sodium/hydrogen exchanger 5 ?
(Q21123416,P702,c(Q863908))
action filter_type
action find
entity Q21123416
relation P702
type Q863908
['Q21123416', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?p WHERE { resource:Q21123416 property:P702 ?p . ?p rdf:type ontology:Q863908 }
Sodium/hydrogen exchanger 5
action filter_type
action find
entity Sodium/hydrogen exchanger 5
relation encoded by
type nucleic acid sequence
['Sodium/hydrogen exchanger 5', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?p WHERE { resource:Sodium/hydrogen_exchanger_5 property:encoded_by ?p . ?p rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18031555
SYSTEM
SLC9A5
Q18031555
(Q21123416,P702,c(Q863908))
action filter_type
action find
entity Q21123416
relation P702
type Q863908
The gene that encodes Sodium / hydrogen exchanger 5 is named [ANSWER]
['Q21123416', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?p WHERE { resource:Q21123416 property:P702 ?p . ?p rdf:type ontology:Q863908 }
SLC9A5
The gene that encodes Sodium / hydrogen exchanger 5 is named SLC9A5
SLC9A5
action filter_type
action find
entity Sodium/hydrogen exchanger 5
relation encoded by
type nucleic acid sequence
['Sodium/hydrogen exchanger 5', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?p WHERE { resource:Sodium/hydrogen_exchanger_5 property:encoded_by ?p . ?p rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P688
Q181394
USER
How many nutrients are encoded by that nucleic acid sequence ?
(Q18031555,P688,c(Q181394))
action count
action filter_type
action find
entity Q18031555
relation P688
type Q181394
['Q18031555', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Q18031555 property:P688 ?v . ?v rdf:type ontology:Q181394 }
action count
action filter_type
action find
entity SLC9A5
relation encodes
type nutrient
['SLC9A5', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:SLC9A5 property:encodes ?v . ?v rdf:type ontology:nutrient }
[]
nutrient
SYSTEM
1
Q21123416
(Q18031555,P688,c(Q181394))
action count
action filter_type
action find
entity Q18031555
relation P688
type Q181394
[ANSWER]
['Q18031555', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Q18031555 property:P688 ?v . ?v rdf:type ontology:Q181394 }
Sodium/hydrogen exchanger 5
1
action count
action filter_type
action find
entity SLC9A5
relation encodes
type nutrient
['SLC9A5', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:SLC9A5 property:encodes ?v . ?v rdf:type ontology:nutrient }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q409262
P921
Q8386 Q2342494 Q732577
USER
How many drugs were around the same number of collectables and publications mainly about as Meticillin ?
(c(Q2342494)|c(Q732577),P921,c(Q8386))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q409262
relation P921
type Q2342494
type Q732577
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?f ) WHERE { { ?e rdf:type ontology:Q8386 . ?t rdf:type ontology:Q2342494 . ?t property:P921 ?e } UNION { ?t property:P921 ?e . ?e rdf:type ontology:Q8386 . ?t rdf:type ontology:Q732577 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P921 resource:Q409262 . { { ?q rdf:type ontology:Q732577 } UNION { ?q rdf:type ontology:Q2342494 } } } } . FILTER ( ?f = ?n ) }
Meticillin
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type drug
type collectable
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action count
action filter_multi_types
action find_reverse
entity Meticillin
relation main subject
type collectable
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?f ) WHERE { { ?e rdf:type ontology:drug . ?t rdf:type ontology:collectable . ?t property:main_subject ?e } UNION { ?t property:main_subject ?e . ?e rdf:type ontology:drug . ?t rdf:type ontology:publication } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:main_subject resource:Meticillin . { { ?q rdf:type ontology:publication } UNION { ?q rdf:type ontology:collectable } } } } . FILTER ( ?f = ?n ) }
[]
drug collectable publication
SYSTEM
249
Q377270 Q422416 Q410083 Q20816880 Q193572 Q192717 Q243547 Q1147309 Q2957662 Q409262 Q3273062 Q412194 Q5134338 Q415550 Q411441 Q214769 Q418351 Q413486 Q71969 Q898739 Q421352 Q816759 Q60168 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(Q2342494)|c(Q732577),P921,c(Q8386))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q409262
relation P921
type Q2342494
type Q732577
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?f ) WHERE { { ?e rdf:type ontology:Q8386 . ?t rdf:type ontology:Q2342494 . ?t property:P921 ?e } UNION { ?t property:P921 ?e . ?e rdf:type ontology:Q8386 . ?t rdf:type ontology:Q732577 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P921 resource:Q409262 . { { ?q rdf:type ontology:Q732577 } UNION { ?q rdf:type ontology:Q2342494 } } } } . FILTER ( ?f = ?n ) }
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 diamorphine 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
249
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type drug
type collectable
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action count
action filter_multi_types
action find_reverse
entity Meticillin
relation main subject
type collectable
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?f ) WHERE { { ?e rdf:type ontology:drug . ?t rdf:type ontology:collectable . ?t property:main_subject ?e } UNION { ?t property:main_subject ?e . ?e rdf:type ontology:drug . ?t rdf:type ontology:publication } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:main_subject resource:Meticillin . { { ?q rdf:type ontology:publication } UNION { ?q rdf:type ontology:collectable } } } } . FILTER ( ?f = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q5103230
P921
Q8386 Q2342494 Q732577
USER
And what about Chlorphentermine?
(c(Q2342494)|c(Q732577),P921,c(Q8386))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q5103230
relation P921
type Q2342494
type Q732577
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?m WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:Q2342494 ) ( ontology:Q732577 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P921 resource:Q5103230 . { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?v = ?q ) }
Chlorphentermine
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type drug
type collectable
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action count
action filter_multi_types
action find_reverse
entity Chlorphentermine
relation main subject
type collectable
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?m WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:collectable ) ( ontology:publication ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:main_subject resource:Chlorphentermine . { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:publication ) ( ontology:collectable ) } } } } . FILTER ( ?v = ?q ) }
[]
drug collectable publication
SYSTEM
249
Q377270 Q422416 Q410083 Q20816880 Q193572 Q192717 Q243547 Q1147309 Q2957662 Q409262 Q3273062 Q412194 Q5134338 Q415550 Q411441 Q214769 Q418351 Q413486 Q71969 Q898739 Q421352 Q816759 Q60168 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(Q2342494)|c(Q732577),P921,c(Q8386))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q5103230
relation P921
type Q2342494
type Q732577
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?m WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:Q2342494 ) ( ontology:Q732577 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P921 resource:Q5103230 . { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?v = ?q ) }
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 diamorphine 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
249
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type drug
type collectable
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action count
action filter_multi_types
action find_reverse
entity Chlorphentermine
relation main subject
type collectable
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?m WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:collectable ) ( ontology:publication ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:main_subject resource:Chlorphentermine . { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:publication ) ( ontology:collectable ) } } } } . FILTER ( ?v = ?q ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q27551353 Q21123416
P681
Q5058355
USER
Which cellular components are the components of Sodium/hydrogen exchanger 5 and azole transporter YGR224W ?
AND((Q21123416,P681,c(Q5058355)), (Q27551353,P681,c(Q5058355)))
action filter_type
action intersection
action find
entity Q21123416
relation P681
action find
entity Q27551353
relation P681
type Q5058355
{'AND': [['Q21123416', 'P681', {'concept': 'Q5058355'}], ['Q27551353', 'P681', {'concept': 'Q5058355'}]]}
SELECT DISTINCT ?z WHERE { resource:Q21123416 property:P681 ?z . resource:Q27551353 property:P681 ?z . ?z rdf:type ontology:Q5058355 }
azole transporter YGR224W Sodium/hydrogen exchanger 5
action filter_type
action intersection
action find
entity Sodium/hydrogen exchanger 5
relation cell component
action find
entity azole transporter YGR224W
relation cell component
type cellular component
{'AND': [['Sodium/hydrogen exchanger 5', 'cell component', {'concept': 'cellular component'}], ['azole transporter YGR224W', 'cell component', {'concept': 'cellular component'}]]}
SELECT DISTINCT ?z WHERE { resource:Sodium/hydrogen_exchanger_5 property:cell_component ?z . resource:azole_transporter_YGR224W property:cell_component ?z . ?z rdf:type ontology:cellular_component }
[]
cellular component
Q29548
SYSTEM
plasma membrane
Q29548
AND((Q21123416,P681,c(Q5058355)), (Q27551353,P681,c(Q5058355)))
action filter_type
action intersection
action find
entity Q21123416
relation P681
action find
entity Q27551353
relation P681
type Q5058355
The components of Sodium / hydrogen exchanger 5 and azole transporter YGR224 W are in [ANSWER]
{'AND': [['Q21123416', 'P681', {'concept': 'Q5058355'}], ['Q27551353', 'P681', {'concept': 'Q5058355'}]]}
SELECT DISTINCT ?z WHERE { resource:Q21123416 property:P681 ?z . resource:Q27551353 property:P681 ?z . ?z rdf:type ontology:Q5058355 }
plasma membrane
The components of Sodium / hydrogen exchanger 5 and azole transporter YGR224 W are in plasma membrane
plasma membrane
action filter_type
action intersection
action find
entity Sodium/hydrogen exchanger 5
relation cell component
action find
entity azole transporter YGR224W
relation cell component
type cellular component
{'AND': [['Sodium/hydrogen exchanger 5', 'cell component', {'concept': 'cellular component'}], ['azole transporter YGR224W', 'cell component', {'concept': 'cellular component'}]]}
SELECT DISTINCT ?z WHERE { resource:Sodium/hydrogen_exchanger_5 property:cell_component ?z . resource:azole_transporter_YGR224W property:cell_component ?z . ?z rdf:type ontology:cellular_component }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q8386 Q386724 Q2342494
USER
Which drugs were the main subjects of exactly 3 works or collectables 's work ?
(c(Q386724)|c(Q2342494),P921,c(Q8386))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q386724
action find_reverse_tuple_counts
relation P921
type Q8386
type Q2342494
value 3
[[{'concept': 'Q386724'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?x WHERE { { ?f property:P921 ?x . ?x rdf:type ontology:Q8386 . ?f rdf:type ontology:Q386724 } UNION { ?x rdf:type ontology:Q8386 . ?f rdf:type ontology:Q2342494 . ?f property:P921 ?x } } GROUP BY ?x } . FILTER ( ?p = 3 ) }
action equal
action union
action find_reverse_tuple_counts
relation main subject
type drug
type work
action find_reverse_tuple_counts
relation main subject
type drug
type collectable
value 3
[[{'concept': 'work'}, {'concept': 'collectable'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?x WHERE { { ?f property:main_subject ?x . ?x rdf:type ontology:drug . ?f rdf:type ontology:work } UNION { ?x rdf:type ontology:drug . ?f rdf:type ontology:collectable . ?f property:main_subject ?x } } GROUP BY ?x } . FILTER ( ?p = 3 ) }
[]
drug work collectable
Q210402 Q416740 Q214769
SYSTEM
diazepam, enflurane, Magnesium oxide
Q214769 Q908663 Q210402 Q416740
(c(Q386724)|c(Q2342494),P921,c(Q8386))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q386724
action find_reverse_tuple_counts
relation P921
type Q8386
type Q2342494
value 3
[ANSWERS] were the main subjects of exactly 3 works or collectables 's work
[[{'concept': 'Q386724'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?x WHERE { { ?f property:P921 ?x . ?x rdf:type ontology:Q8386 . ?f rdf:type ontology:Q386724 } UNION { ?x rdf:type ontology:Q8386 . ?f rdf:type ontology:Q2342494 . ?f property:P921 ?x } } GROUP BY ?x } . FILTER ( ?p = 3 ) }
Magnesium oxide kaolin diazepam enflurane
Diazepam, enflurane and Magnesium oxide were the main subjects of exactly 3 works or collectables 's work
diazepam enflurane Magnesium oxide
action equal
action union
action find_reverse_tuple_counts
relation main subject
type drug
type work
action find_reverse_tuple_counts
relation main subject
type drug
type collectable
value 3
[[{'concept': 'work'}, {'concept': 'collectable'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?x WHERE { { ?f property:main_subject ?x . ?x rdf:type ontology:drug . ?f rdf:type ontology:work } UNION { ?x rdf:type ontology:drug . ?f rdf:type ontology:collectable . ?f property:main_subject ?x } } GROUP BY ?x } . FILTER ( ?p = 3 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q210402
P2175
Q2057971
USER
Which health problems are treated with that drug ?
(Q210402,P2175,c(Q2057971))
action filter_type
action find
entity Q210402
relation P2175
type Q2057971
['Q210402', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?u WHERE { resource:Q210402 property:P2175 ?u . ?u rdf:type ontology:Q2057971 }
diazepam
action filter_type
action find
entity diazepam
relation medical condition treated
type health problem
['diazepam', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?u WHERE { resource:diazepam property:medical_condition_treated ?u . ?u rdf:type ontology:health_problem }
[]
health problem
Clarification for simple ques.
Q416740
SYSTEM
Did you mean enflurane ?
Q210402 Q416740 Q214769
(Q210402,P2175,c(Q2057971)) (Q416740,P2175,c(Q2057971)) (Q214769,P2175,c(Q2057971))
[ANSWER]
['Q210402', 'P2175', {'concept': 'Q2057971'}] ['Q416740', 'P2175', {'concept': 'Q2057971'}] ['Q214769', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?u WHERE { resource:Q210402 property:P2175 ?u . ?u rdf:type ontology:Q2057971 }
diazepam enflurane Magnesium oxide
Did you mean enflurane ?
enflurane
['diazepam', 'medical condition treated', {'concept': 'health problem'}] ['enflurane', 'medical condition treated', {'concept': 'health problem'}] ['Magnesium oxide', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?u WHERE { resource:diazepam property:medical_condition_treated ?u . ?u rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
USER
No, I meant diazepam. Could you tell me the answer for that?
(Q210402,P2175,c(Q2057971))
Q210402
['Q210402', 'P2175', {'concept': 'Q2057971'}]
['diazepam', 'medical condition treated', {'concept': 'health problem'}]
[]
Q18554191 Q41571 Q544006
SYSTEM
visual epilepsy, epilepsy, anxiety disorder
Q980709 Q18554191 Q41571 Q741713 Q544006
(Q210402,P2175,c(Q2057971))
action filter_type
action find
entity Q210402
relation P2175
type Q2057971
And [ANSWERS] are treated with that drug
['Q210402', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?u WHERE { resource:Q210402 property:P2175 ?u . ?u rdf:type ontology:Q2057971 }
status epilepticus visual epilepsy epilepsy panic disorder anxiety disorder
And visual epilepsy, epilepsy and anxiety disorder are treated with that drug
visual epilepsy epilepsy anxiety disorder
action filter_type
action find
entity diazepam
relation medical condition treated
type health problem
['diazepam', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?u WHERE { resource:diazepam property:medical_condition_treated ?u . ?u rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q18554191 Q41571 Q544006
P2176
Q8386
USER
Which drugs are used as an antidote for those health problems ?
(Q18554191,P2176,c(Q8386)) (Q41571,P2176,c(Q8386)) (Q544006,P2176,c(Q8386))
action filter_type
action find
entity prev_answer
relation P2176
type Q8386
['Q18554191', 'P2176', {'concept': 'Q8386'}] ['Q41571', 'P2176', {'concept': 'Q8386'}] ['Q544006', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q8386 . ?g property:P2176 ?k . VALUES ( ?g ) { ( resource:Q980709 ) ( resource:Q18554191 ) ( resource:Q41571 ) } }
visual epilepsy epilepsy anxiety disorder
action filter_type
action find
entity prev_answer
relation drug used for treatment
type drug
['visual epilepsy', 'drug used for treatment', {'concept': 'drug'}] ['epilepsy', 'drug used for treatment', {'concept': 'drug'}] ['anxiety disorder', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:drug . ?g property:drug_used_for_treatment ?k . VALUES ( ?g ) { ( resource:status_epilepticus ) ( resource:visual_epilepsy ) ( resource:epilepsy ) } }
[]
drug
Q407972 Q240642 Q240642
SYSTEM
valproic acid for 2nd, 3rd, chlorpromazine for 1st
Q423746 Q408565 Q219957 Q2146170 Q210402 Q421301 Q410346 Q4533122 Q275926 Q420077 Q412174 Q5473363 Q415850 Q410400 Q240642 Q424342 Q176301 Q868658 Q413690 Q408565 Q422740 Q412534 Q3895202 Q219957 Q420383 Q412174 Q999805 Q417227 Q421567 Q410400 Q1176294 Q410346 Q421663 Q407988 Q906414 Q3742404 Q5515257 Q410412 Q4533122 Q408265 Q421301 Q210402 Q176301 Q868658 Q413690 Q422222 Q2146170 Q221174 Q827916 Q420077 Q410352 Q240642 Q410273 Q1175385 Q416791 Q5641126 Q423364 Q61387 Q2359690 Q409236 Q407972 Q412194 Q319877 Q898407 Q421937 Q417204 Q414796 Q418351 Q4926102 Q423071 Q178566 Q5102983 Q210402 Q2149443 Q418850 Q407617 Q418361 Q415850 Q413486 Q412299
(Q18554191,P2176,c(Q8386)) (Q41571,P2176,c(Q8386)) (Q544006,P2176,c(Q8386))
action filter_type
action find
entity prev_answer
relation P2176
type Q8386
[ANSWERS]
['Q18554191', 'P2176', {'concept': 'Q8386'}] ['Q41571', 'P2176', {'concept': 'Q8386'}] ['Q544006', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q8386 . ?g property:P2176 ?k . VALUES ( ?g ) { ( resource:Q980709 ) ( resource:Q18554191 ) ( resource:Q41571 ) } }
Pyridoxine rufinamide zonisamide retigabine diazepam felbamate lamotrigine ethotoin bumetanide lacosamide pregabalin fosphenytoin Amobarbital phenytoin valproic acid Paraldehyde oxcarbazepine perampanel acetazolamide rufinamide propofol carvedilol paramethadione zonisamide primidone pregabalin phensuximide (R)-etiracetam ethosuximide phenytoin metharbital lamotrigine vigabatrin clonazepam mesuximide phenacemide gabapentin enacarbil carbamazepine ethotoin Lorazepam felbamate diazepam oxcarbazepine perampanel acetazolamide Digoxin retigabine topiramate trimethadione lacosamide gabapentin valproic acid Eslicarbazepine acetate mephenytoin Doxepin halazepam propranolol nortriptyline prochlorperazine Fluvoxamine chlorpromazine buspirone alprazolam venlafaxine hydroxyzine levomepromazine temazepam meprobamate bromodiphenhydramine midazolam chlordiazepoxide chlormezanone diazepam prazepam clorazepate sertraline maprotiline Amobarbital diphenhydramine oxazepam
Chlorpromazine, valproic acid and valproic acid are used as an antidote for those health problems
chlorpromazine valproic acid valproic acid
action filter_type
action find
entity prev_answer
relation drug used for treatment
type drug
['visual epilepsy', 'drug used for treatment', {'concept': 'drug'}] ['epilepsy', 'drug used for treatment', {'concept': 'drug'}] ['anxiety disorder', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:drug . ?g property:drug_used_for_treatment ?k . VALUES ( ?g ) { ( resource:status_epilepticus ) ( resource:visual_epilepsy ) ( resource:epilepsy ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q210402
P636
Q151885
USER
Which concepts are the routes of administration of diazepam ?
(Q210402,P636,c(Q151885))
action filter_type
action find
entity Q210402
relation P636
type Q151885
['Q210402', 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { resource:Q210402 property:P636 ?v . ?v rdf:type ontology:Q151885 }
diazepam
action filter_type
action find
entity diazepam
relation route of administration
type concept
['diazepam', 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { resource:diazepam property:route_of_administration ?v . ?v rdf:type ontology:concept }
[]
concept
Q285166 Q640448 Q1344580
SYSTEM
oral administration, intravenous infusion, enteral
Q285166 Q640448 Q1344580
(Q210402,P636,c(Q151885))
action filter_type
action find
entity Q210402
relation P636
type Q151885
[ANSWERS] are the routes of administration of diazepam
['Q210402', 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { resource:Q210402 property:P636 ?v . ?v rdf:type ontology:Q151885 }
oral administration intravenous infusion enteral
Oral administration, intravenous infusion and enteral are the routes of administration of diazepam
oral administration intravenous infusion enteral
action filter_type
action find
entity diazepam
relation route of administration
type concept
['diazepam', 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { resource:diazepam property:route_of_administration ?v . ?v rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21173562
Q151885
USER
And what about chlorodifluoromethane exposure?
(Q21173562,P636,c(Q151885))
action filter_type
action find
entity Q21173562
relation P636
type Q151885
['Q21173562', 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { resource:Q21173562 property:P636 ?c . ?c rdf:type ontology:Q151885 }
chlorodifluoromethane exposure
action filter_type
action find
entity chlorodifluoromethane exposure
relation route of administration
type concept
['chlorodifluoromethane exposure', 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { resource:chlorodifluoromethane_exposure property:route_of_administration ?c . ?c rdf:type ontology:concept }
[]
concept
Q21074571 Q10268830 Q4669896
SYSTEM
eye contact, inhalation, skin absorption
Q21074571 Q10268830 Q4669896
(Q21173562,P636,c(Q151885))
action filter_type
action find
entity Q21173562
relation P636
type Q151885
[ANSWERS]
['Q21173562', 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { resource:Q21173562 property:P636 ?c . ?c rdf:type ontology:Q151885 }
eye contact inhalation skin absorption
eye contact inhalation skin absorption
action filter_type
action find
entity chlorodifluoromethane exposure
relation route of administration
type concept
['chlorodifluoromethane exposure', 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { resource:chlorodifluoromethane_exposure property:route_of_administration ?c . ?c rdf:type ontology:concept }
[]