Simple Question (Direct)
Simple Question
Q425295
P2175
Q2057971
USER
Which health problems are Cisapride a medication for ?
(Q425295,P2175,c(Q2057971))
action filter_type
action find
entity Q425295
relation P2175
type Q2057971
['Q425295', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { resource:Q425295 property:P2175 ?a . ?a rdf:type ontology:Q2057971 }
Cisapride
action filter_type
action find
entity Cisapride
relation medical condition treated
type health problem
['Cisapride', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { resource:Cisapride property:medical_condition_treated ?a . ?a rdf:type ontology:health_problem }
[]
health problem
Q223591 Q653971 Q178436
SYSTEM
gastroesophageal reflux disease, dyspepsia, constipation
Q653971 Q223591 Q178436 Q943897
(Q425295,P2175,c(Q2057971))
action filter_type
action find
entity Q425295
relation P2175
type Q2057971
[ANSWERS]
['Q425295', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { resource:Q425295 property:P2175 ?a . ?a rdf:type ontology:Q2057971 }
dyspepsia gastroesophageal reflux disease constipation gastroparesis
Which health problems are Cisapride a medication for
gastroesophageal reflux disease dyspepsia constipation
action filter_type
action find
entity Cisapride
relation medical condition treated
type health problem
['Cisapride', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { resource:Cisapride property:medical_condition_treated ?a . ?a rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q425295
P769
Q8386
USER
Which drugs show a significant interaction with that one ?
(Q223591,P769,c(Q8386)) (Q653971,P769,c(Q8386)) (Q178436,P769,c(Q8386))
action filter_type
action find
entity Q425295
relation P769
type Q8386
['Q223591', 'P769', {'concept': 'Q8386'}] ['Q653971', 'P769', {'concept': 'Q8386'}] ['Q178436', 'P769', {'concept': 'Q8386'}]
SELECT DISTINCT ?q WHERE { resource:Q425295 property:P769 ?q . ?q rdf:type ontology:Q8386 }
Cisapride
action filter_type
action find
entity Cisapride
relation significant drug interaction
type drug
['gastroesophageal reflux disease', 'significant drug interaction', {'concept': 'drug'}] ['dyspepsia', 'significant drug interaction', {'concept': 'drug'}] ['constipation', 'significant drug interaction', {'concept': 'drug'}]
SELECT DISTINCT ?q WHERE { resource:Cisapride property:significant_drug_interaction ?q . ?q rdf:type ontology:drug }
[]
drug
Q407972 Q251347 Q144085
SYSTEM
chlorpromazine, haloperidol, pimozide
Q58375 Q41576 Q422418 Q408163 Q422438 Q10354103 Q425120 Q407972 Q144085 Q6821618 Q424238 Q410011 Q412496 Q4890934 Q3712521 Q413591 Q976559 Q165399 Q423757 Q213511 Q251347 Q118551 Q408637 Q421381 Q3791612 Q417597 Q174259 Q419394 Q417909 Q947595 Q423437 Q409672 Q179996 Q410061 Q424940 Q7739 Q416206
(Q223591,P769,c(Q8386)) (Q653971,P769,c(Q8386)) (Q178436,P769,c(Q8386))
action filter_type
action find
entity Q425295
relation P769
type Q8386
[ANSWERS] show a significant interaction with that one
['Q223591', 'P769', {'concept': 'Q8386'}] ['Q653971', 'P769', {'concept': 'Q8386'}] ['Q178436', 'P769', {'concept': 'Q8386'}]
SELECT DISTINCT ?q WHERE { resource:Q425295 property:P769 ?q . ?q rdf:type ontology:Q8386 }
thioridazine cocaine sulpiride anagrelide chloroquine probucol Disopyramide chlorpromazine pimozide mesoridazine domperidone ondansetron quinidine bepridil dofetilide sotalol Sparfloxacin Azithromycin escitalopram Erythromycin haloperidol Clarithromycin dronedarone flecainide ibutilide procainamide droperidol sevoflurane terfenadine Halofantrine astemizole citalopram methadone amiodarone Moxifloxacin Arsenic trioxide Pentamidine
Chlorpromazine, haloperidol and pimozide show a significant interaction with that one
chlorpromazine haloperidol pimozide
action filter_type
action find
entity Cisapride
relation significant drug interaction
type drug
['gastroesophageal reflux disease', 'significant drug interaction', {'concept': 'drug'}] ['dyspepsia', 'significant drug interaction', {'concept': 'drug'}] ['constipation', 'significant drug interaction', {'concept': 'drug'}]
SELECT DISTINCT ?q WHERE { resource:Cisapride property:significant_drug_interaction ?q . ?q rdf:type ontology:drug }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P921
Q8386 Q2342494 Q838948
USER
Which drugs were the main subjects of approximately the same number of collectables and works of art 's work as that drug ?
(c(Q2342494)|c(Q838948),P921,c(Q8386))
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P921 ?y } UNION { ?x property:P921 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q8386 . ?x rdf:type ontology:Q838948 }
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?y WHERE { { { ?z property:main_subject ?y } UNION { ?x property:main_subject ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:drug . ?x rdf:type ontology:work_of_art }
[]
drug collectable work of art
Comparative|More/Less|Mult. entity type|Clarification
Q407972
SYSTEM
Did you mean chlorpromazine ?
(c(Q2342494)|c(Q838948),P921,c(Q8386))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P921 ?y } UNION { ?x property:P921 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q8386 . ?x rdf:type ontology:Q838948 }
Did you mean chlorpromazine ?
chlorpromazine
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?y WHERE { { { ?z property:main_subject ?y } UNION { ?x property:main_subject ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:drug . ?x rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q2342494)|c(Q838948),P921,c(Q8386))
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q8386'}]
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'drug'}]
[]
Q39798 Q407972 Q213511
SYSTEM
Insulin, chlorpromazine, Erythromycin
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 Q905750 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 Q153 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 Q29417 Q200774 Q416905 Q419642 Q2314 Q210402 Q132621 Q221520 Q414547 Q1997 Q425234 Q375613 Q663 Q423169 Q423005 Q415734 Q407617 Q130336 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 Q753 Q2768526 Q318369 Q423746 Q485277 Q181619 Q407431 Q411237 Q419175 Q413918 Q62947 Q191700 Q203174 Q183290 Q425289 Q904308 Q409632 Q420360 Q2603363 Q169569 Q407535 Q410358 Q339975 Q2341200 Q32921 Q18216 Q821641 Q1318776 Q422884 Q52353 Q408427 Q773449 Q2502747 Q409492 Q208451 Q422232 Q414065 Q19856779 Q418560 Q408032 Q415850 Q182040 Q385347 Q410595 Q2354337 Q758 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 Q47512 Q207843 Q411594 Q418656 Q2298283 Q410374 Q420436 Q410061 Q407125 Q7739
(c(Q2342494)|c(Q838948),P921,c(Q8386))
[ANSWERS] were the main subjects of approximately the same number of collectables and works of art 's work as that drug
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P921 ?y } UNION { ?x property:P921 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q8386 . ?x rdf:type ontology:Q838948 }
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 Nitrous oxide 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 ethanol 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 all-trans-retinoic acid Follitropin beta carisoprodol Trypan blue sodium chloride diazepam (-)-adrenaline triamterene Sodium salicylate Carbon dioxide Thallous Chloride RK-0202 aluminium Isoniazid Malathion Aminopterin sertraline Phenol 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 copper 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 halothane 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 zinc 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 acetic acid Nitric Oxide methoxyflurane procarbazine melphalan Papaverine docetaxel amiodarone Aluminum hydroxide Arsenic trioxide
Insulin, chlorpromazine and Erythromycin were the main subjects of approximately the same number of collectables and works of art 's work as that drug
Insulin chlorpromazine Erythromycin
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?y WHERE { { { ?z property:main_subject ?y } UNION { ?x property:main_subject ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:drug . ?x rdf:type ontology:work_of_art }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P681
Q15989253 Q5058355
USER
How many parts or cellular components are the cell components of that drug ?
(Q39798,P681,c(Q15989253)) (Q39798,P681,c(Q5058355)) (Q39798,P681,c(Q15989253)) (Q39798,P681,c(Q5058355)) (Q407972,P681,c(Q15989253)) (Q407972,P681,c(Q5058355)) (Q213511,P681,c(Q15989253)) (Q213511,P681,c(Q5058355))
['Q39798', 'P681', {'concept': 'Q15989253'}] ['Q39798', 'P681', {'concept': 'Q5058355'}] ['Q39798', 'P681', {'concept': 'Q15989253'}] ['Q39798', 'P681', {'concept': 'Q5058355'}] ['Q407972', 'P681', {'concept': 'Q15989253'}] ['Q407972', 'P681', {'concept': 'Q5058355'}] ['Q213511', 'P681', {'concept': 'Q15989253'}] ['Q213511', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q24766924 property:P681 ?z } UNION { resource:Q24766924 property:P681 ?y } UNION { resource:Q24766924 property:P681 ?z } UNION { resource:Q24766924 property:P681 ?y } UNION { resource:Q407972 property:P681 ?z } UNION { resource:Q407972 property:P681 ?y } UNION { resource:Q213511 property:P681 ?z } UNION { resource:Q213511 property:P681 ?y } } . ?z rdf:type ontology:Q153126 . ?y rdf:type ontology:Q5058355 }
['Insulin', 'cell component', {'concept': 'part'}] ['Insulin', 'cell component', {'concept': 'cellular component'}] ['Insulin', 'cell component', {'concept': 'part'}] ['Insulin', 'cell component', {'concept': 'cellular component'}] ['chlorpromazine', 'cell component', {'concept': 'part'}] ['chlorpromazine', 'cell component', {'concept': 'cellular component'}] ['Erythromycin', 'cell component', {'concept': 'part'}] ['Erythromycin', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Insulin property:cell_component ?z } UNION { resource:Insulin property:cell_component ?y } UNION { resource:Insulin property:cell_component ?z } UNION { resource:Insulin property:cell_component ?y } UNION { resource:chlorpromazine property:cell_component ?z } UNION { resource:chlorpromazine property:cell_component ?y } UNION { resource:Erythromycin property:cell_component ?z } UNION { resource:Erythromycin property:cell_component ?y } } . ?z rdf:type ontology:part . ?y rdf:type ontology:cellular_component }
[]
part cellular component
Quantitative|Count|Mult. entity type|Clarification
Q213511
SYSTEM
Did you mean Erythromycin ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q24766924 property:P681 ?z } UNION { resource:Q24766924 property:P681 ?y } UNION { resource:Q24766924 property:P681 ?z } UNION { resource:Q24766924 property:P681 ?y } UNION { resource:Q407972 property:P681 ?z } UNION { resource:Q407972 property:P681 ?y } UNION { resource:Q213511 property:P681 ?z } UNION { resource:Q213511 property:P681 ?y } } . ?z rdf:type ontology:Q153126 . ?y rdf:type ontology:Q5058355 }
Did you mean Erythromycin ?
Erythromycin
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Insulin property:cell_component ?z } UNION { resource:Insulin property:cell_component ?y } UNION { resource:Insulin property:cell_component ?z } UNION { resource:Insulin property:cell_component ?y } UNION { resource:chlorpromazine property:cell_component ?z } UNION { resource:chlorpromazine property:cell_component ?y } UNION { resource:Erythromycin property:cell_component ?z } UNION { resource:Erythromycin property:cell_component ?y } } . ?z rdf:type ontology:part . ?y rdf:type ontology:cellular_component }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Insulin. Could you tell me the answer for that?
(Q39798,P681,c(Q15989253)) (Q39798,P681,c(Q5058355)) (Q39798,P681,c(Q15989253)) (Q39798,P681,c(Q5058355)) (Q407972,P681,c(Q15989253)) (Q407972,P681,c(Q5058355)) (Q213511,P681,c(Q15989253)) (Q213511,P681,c(Q5058355))
Q39798
['Q39798', 'P681', {'concept': 'Q15989253'}] ['Q39798', 'P681', {'concept': 'Q5058355'}] ['Q39798', 'P681', {'concept': 'Q15989253'}] ['Q39798', 'P681', {'concept': 'Q5058355'}] ['Q407972', 'P681', {'concept': 'Q15989253'}] ['Q407972', 'P681', {'concept': 'Q5058355'}] ['Q213511', 'P681', {'concept': 'Q15989253'}] ['Q213511', 'P681', {'concept': 'Q5058355'}]
['Insulin', 'cell component', {'concept': 'part'}] ['Insulin', 'cell component', {'concept': 'cellular component'}] ['Insulin', 'cell component', {'concept': 'part'}] ['Insulin', 'cell component', {'concept': 'cellular component'}] ['chlorpromazine', 'cell component', {'concept': 'part'}] ['chlorpromazine', 'cell component', {'concept': 'cellular component'}] ['Erythromycin', 'cell component', {'concept': 'part'}] ['Erythromycin', 'cell component', {'concept': 'cellular component'}]
[]
SYSTEM
2
Q2914458 Q14645596
(Q39798,P681,c(Q15989253)) (Q39798,P681,c(Q5058355)) (Q39798,P681,c(Q15989253)) (Q39798,P681,c(Q5058355)) (Q407972,P681,c(Q15989253)) (Q407972,P681,c(Q5058355)) (Q213511,P681,c(Q15989253)) (Q213511,P681,c(Q5058355))
[ANSWER]
['Q39798', 'P681', {'concept': 'Q15989253'}] ['Q39798', 'P681', {'concept': 'Q5058355'}] ['Q39798', 'P681', {'concept': 'Q15989253'}] ['Q39798', 'P681', {'concept': 'Q5058355'}] ['Q407972', 'P681', {'concept': 'Q15989253'}] ['Q407972', 'P681', {'concept': 'Q5058355'}] ['Q213511', 'P681', {'concept': 'Q15989253'}] ['Q213511', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q24766924 property:P681 ?z } UNION { resource:Q24766924 property:P681 ?y } UNION { resource:Q24766924 property:P681 ?z } UNION { resource:Q24766924 property:P681 ?y } UNION { resource:Q407972 property:P681 ?z } UNION { resource:Q407972 property:P681 ?y } UNION { resource:Q213511 property:P681 ?z } UNION { resource:Q213511 property:P681 ?y } } . ?z rdf:type ontology:Q153126 . ?y rdf:type ontology:Q5058355 }
extracellular space extracellular region
2
['Insulin', 'cell component', {'concept': 'part'}] ['Insulin', 'cell component', {'concept': 'cellular component'}] ['Insulin', 'cell component', {'concept': 'part'}] ['Insulin', 'cell component', {'concept': 'cellular component'}] ['chlorpromazine', 'cell component', {'concept': 'part'}] ['chlorpromazine', 'cell component', {'concept': 'cellular component'}] ['Erythromycin', 'cell component', {'concept': 'part'}] ['Erythromycin', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Insulin property:cell_component ?z } UNION { resource:Insulin property:cell_component ?y } UNION { resource:Insulin property:cell_component ?z } UNION { resource:Insulin property:cell_component ?y } UNION { resource:chlorpromazine property:cell_component ?z } UNION { resource:chlorpromazine property:cell_component ?y } UNION { resource:Erythromycin property:cell_component ?z } UNION { resource:Erythromycin property:cell_component ?y } } . ?z rdf:type ontology:part . ?y rdf:type ontology:cellular_component }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39798
P800
Q502895
USER
Whose notable work was Insulin ?
(c(Q502895),P800,Q39798)
action filter_type
action find_reverse
entity Q39798
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q39798']
SELECT DISTINCT ?c WHERE { ?c property:P800 resource:Q39798 . ?c rdf:type ontology:Q502895 }
Insulin
action filter_type
action find_reverse
entity Insulin
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Insulin']
SELECT DISTINCT ?c WHERE { ?c property:notable_work resource:Insulin . ?c rdf:type ontology:common_name }
[]
common name
Q7130164
SYSTEM
Panayotis Katsoyannis
Q7130164
(c(Q502895),P800,Q39798)
action filter_type
action find_reverse
entity Q39798
relation P800
type Q502895
[ANSWER] was Insulin
[{'concept': 'Q502895'}, 'P800', 'Q39798']
SELECT DISTINCT ?c WHERE { ?c property:P800 resource:Q39798 . ?c rdf:type ontology:Q502895 }
Panayotis Katsoyannis
Panayotis Katsoyannis was Insulin
Panayotis Katsoyannis
action filter_type
action find_reverse
entity Insulin
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Insulin']
SELECT DISTINCT ?c WHERE { ?c property:notable_work resource:Insulin . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39798
P101
Q502895
USER
Which person works in the domain of Insulin ?
(c(Q502895),P101,Q39798)
action filter_type
action find_reverse
entity Q39798
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q39798']
SELECT DISTINCT ?h WHERE { ?h property:P101 resource:Q39798 . ?h rdf:type ontology:Q502895 }
Insulin
action filter_type
action find_reverse
entity Insulin
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Insulin']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work resource:Insulin . ?h rdf:type ontology:common_name }
[]
common name
Q7487
SYSTEM
Dorothy Hodgkin
Q7487
(c(Q502895),P101,Q39798)
action filter_type
action find_reverse
entity Q39798
relation P101
type Q502895
[ANSWER] works in the domain of Insulin
[{'concept': 'Q502895'}, 'P101', 'Q39798']
SELECT DISTINCT ?h WHERE { ?h property:P101 resource:Q39798 . ?h rdf:type ontology:Q502895 }
Dorothy Hodgkin
Dorothy Hodgkin works in the domain of Insulin
Dorothy Hodgkin
action filter_type
action find_reverse
entity Insulin
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Insulin']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work resource:Insulin . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39798
P681
Q15989253
USER
Which part is a component of that drug ?
(Q7487,P681,c(Q15989253))
action filter_type
action find
entity Q39798
relation P681
type Q15989253
['Q7487', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?b WHERE { resource:Q39798 property:P681 ?b . ?b rdf:type ontology:Q15989253 }
Insulin
action filter_type
action find
entity Insulin
relation cell component
type part
['Dorothy Hodgkin', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?b WHERE { resource:Insulin property:cell_component ?b . ?b rdf:type ontology:part }
[]
part
Q14645596
SYSTEM
extracellular region
Q14645596
(Q7487,P681,c(Q15989253))
action filter_type
action find
entity Q39798
relation P681
type Q15989253
[ANSWER] is a component of that drug
['Q7487', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?b WHERE { resource:Q39798 property:P681 ?b . ?b rdf:type ontology:Q15989253 }
extracellular region
Extracellular region is a component of that drug
extracellular region
action filter_type
action find
entity Insulin
relation cell component
type part
['Dorothy Hodgkin', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?b WHERE { resource:Insulin property:cell_component ?b . ?b rdf:type ontology:part }
[]