Simple Question (Direct)
Simple Question
Q23575292
P680
Q44424
USER
Which the chemical bonds that represents the molecular function of cytochrome P450    AMED_2875 ?
(Q23575292,P680,c(Q44424))
action filter_type
action find
entity Q23575292
relation P680
type Q44424
['Q23575292', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?d WHERE { resource:Q23575292 property:P680 ?d . ?d rdf:type ontology:Q44424 }
cytochrome P450    AMED_2875
action filter_type
action find
entity cytochrome P450    AMED_2875
relation molecular function
type chemical bond
['cytochrome P450    AMED_2875', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?d WHERE { resource:cytochrome_P450____AMED_2875 property:molecular_function ?d . ?d rdf:type ontology:chemical_bond }
[]
chemical bond
Q13667380 Q14358439
SYSTEM
metal ion binding, iron ion binding
Q13667380 Q14358439
(Q23575292,P680,c(Q44424))
action filter_type
action find
entity Q23575292
relation P680
type Q44424
Represents the [ANSWERS]
['Q23575292', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?d WHERE { resource:Q23575292 property:P680 ?d . ?d rdf:type ontology:Q44424 }
metal ion binding iron ion binding
Represents the metal ion binding and iron ion binding
metal ion binding iron ion binding
action filter_type
action find
entity cytochrome P450    AMED_2875
relation molecular function
type chemical bond
['cytochrome P450    AMED_2875', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?d WHERE { resource:cytochrome_P450____AMED_2875 property:molecular_function ?d . ?d rdf:type ontology:chemical_bond }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23575292
P682
Q1057
USER
Which metabolic process is cytochrome P450    AMED_2875 involved in ?
(Q23575292,P682,c(Q1057))
action filter_type
action find
entity Q23575292
relation P682
type Q1057
['Q23575292', 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?w WHERE { resource:Q23575292 property:P682 ?w . ?w rdf:type ontology:Q1057 }
cytochrome P450    AMED_2875
action filter_type
action find
entity cytochrome P450    AMED_2875
relation biological process
type metabolic process
['cytochrome P450    AMED_2875', 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?w WHERE { resource:cytochrome_P450____AMED_2875 property:biological_process ?w . ?w rdf:type ontology:metabolic_process }
[]
metabolic process
Q14349764
SYSTEM
oxidation-reduction process
Q14349764
(Q23575292,P682,c(Q1057))
action filter_type
action find
entity Q23575292
relation P682
type Q1057
Which metabolic process is cytochrome P450 AMED_2875 involved in
['Q23575292', 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?w WHERE { resource:Q23575292 property:P682 ?w . ?w rdf:type ontology:Q1057 }
oxidation-reduction process
Which metabolic process is cytochrome P450 AMED_2875 involved in
oxidation-reduction process
action filter_type
action find
entity cytochrome P450    AMED_2875
relation biological process
type metabolic process
['cytochrome P450    AMED_2875', 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?w WHERE { resource:cytochrome_P450____AMED_2875 property:biological_process ?w . ?w rdf:type ontology:metabolic_process }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q79529 Q8386
USER
Which nutrients do approximately 46 chemical substances or drugs collaborate with ?
(c(Q79529)|c(Q8386),P129,c(Q181394))
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
value 46
[[{'concept': 'Q79529'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) ?m WHERE { ?i rdf:type ?v . VALUES ( ?v ) { ( ontology:Q79529 ) ( ontology:Q8386 ) } } GROUP BY ?m } . FILTER ( ?c = 46 ) }
action approx
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 drug
value 46
[[{'concept': 'chemical substance'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) ?m WHERE { ?i rdf:type ?v . VALUES ( ?v ) { ( ontology:chemical_substance ) ( ontology:drug ) } } GROUP BY ?m } . FILTER ( ?c = 46 ) }
[]
nutrient chemical substance drug
Q2034004 Q21110872 Q288797
SYSTEM
D(2) dopamine receptor, D(3) dopamine receptor, 5-hydroxytryptamine receptor 1B
Q309513 Q288797 Q21115051 Q21109355 Q21110872 Q21109363 Q2034004
(c(Q79529)|c(Q8386),P129,c(Q181394))
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
value 46
Approximately 46 chemical substances or drugs collaborate with [ANSWERS]
[[{'concept': 'Q79529'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) ?m WHERE { ?i rdf:type ?v . VALUES ( ?v ) { ( ontology:Q79529 ) ( ontology:Q8386 ) } } GROUP BY ?m } . FILTER ( ?c = 46 ) }
Histamine H1 receptor 5-hydroxytryptamine receptor 1B 5-hydroxytryptamine receptor 1E 5-hydroxytryptamine receptor 7 D(3) dopamine receptor 5-hydroxytryptamine receptor 6 D(2) dopamine receptor
Approximately 46 chemical substances or drugs collaborate with D(2) dopamine receptor, D(3) dopamine receptor and 5-hydroxytryptamine receptor 1B
D(2) dopamine receptor D(3) dopamine receptor 5-hydroxytryptamine receptor 1B
action approx
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 drug
value 46
[[{'concept': 'chemical substance'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) ?m WHERE { ?i rdf:type ?v . VALUES ( ?v ) { ( ontology:chemical_substance ) ( ontology:drug ) } } GROUP BY ?m } . FILTER ( ?c = 46 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P129
Q8386
USER
How many drugs do that nutrient interact with ?
(Q21110872,P129,c(Q8386))
['Q21110872', 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21110872 property:P129 ?z . ?z rdf:type ontology:Q8386 }
['D(3) dopamine receptor', 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:D(3)_dopamine_receptor property:physically_interacts_with ?z . ?z rdf:type ontology:drug }
[]
drug
Quantitative|Count|Single entity type|Clarification
Q21110872
SYSTEM
Did you mean D(3) dopamine receptor ?
(Q2034004,P129,c(Q8386)) (Q21110872,P129,c(Q8386)) (Q288797,P129,c(Q8386))
[ANSWER]
['Q2034004', 'P129', {'concept': 'Q8386'}] ['Q21110872', 'P129', {'concept': 'Q8386'}] ['Q288797', 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21110872 property:P129 ?z . ?z rdf:type ontology:Q8386 }
Did you mean D(3) dopamine receptor ?
D(3) dopamine receptor
['D(2) dopamine receptor', 'physically interacts with', {'concept': 'drug'}] ['D(3) dopamine receptor', 'physically interacts with', {'concept': 'drug'}] ['5-hydroxytryptamine receptor 1B', 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:D(3)_dopamine_receptor property:physically_interacts_with ?z . ?z rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q21110872,P129,c(Q8386))
['Q21110872', 'P129', {'concept': 'Q8386'}]
['D(3) dopamine receptor', 'physically interacts with', {'concept': 'drug'}]
[]
SYSTEM
27
Q419822 Q424446 Q423308 Q408588 Q170304 Q2359690 Q407972 Q144085 Q6821618 Q269111 Q424238 Q6590349 Q411985 Q418050 Q420590 Q422418 Q7702355 Q413581 Q58614 Q251347 Q421304 Q412443 Q226905 Q1452256 Q221361 Q420350 Q415752
(Q21110872,P129,c(Q8386))
[ANSWER]
['Q21110872', 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21110872 property:P129 ?z . ?z rdf:type ontology:Q8386 }
promazine lisuride cabergoline vilazodone dopamine prochlorperazine chlorpromazine pimozide mesoridazine apomorphine domperidone perospirone rotigotine sertindole ropinirole sulpiride terguride bromocriptine loxapine haloperidol pramipexole risperidone zotepine (-)-sulpiride clozapine flupentixol pergolide
27
['D(3) dopamine receptor', 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:D(3)_dopamine_receptor property:physically_interacts_with ?z . ?z rdf:type ontology:drug }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23575292
P703
Q631147
USER
Where is cytochrome P450    AMED_2875 found ?
(Q23575292,P703,c(Q631147))
action filter_type
action find
entity Q23575292
relation P703
type Q631147
['Q23575292', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?j WHERE { resource:Q23575292 property:P703 ?j . ?j rdf:type ontology:Q631147 }
cytochrome P450    AMED_2875
action filter_type
action find
entity cytochrome P450    AMED_2875
relation found in taxon
type infraspecific name
['cytochrome P450    AMED_2875', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?j WHERE { resource:cytochrome_P450____AMED_2875 property:found_in_taxon ?j . ?j rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102998
SYSTEM
Amycolatopsis mediterranei U32
Q21102998
(Q23575292,P703,c(Q631147))
action filter_type
action find
entity Q23575292
relation P703
type Q631147
Cytochrome P450 AMED_2875 is found in [ANSWER]
['Q23575292', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?j WHERE { resource:Q23575292 property:P703 ?j . ?j rdf:type ontology:Q631147 }
Amycolatopsis mediterranei U32
Cytochrome P450 AMED_2875 is found in Amycolatopsis mediterranei U32
Amycolatopsis mediterranei U32
action filter_type
action find
entity cytochrome P450    AMED_2875
relation found in taxon
type infraspecific name
['cytochrome P450    AMED_2875', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?j WHERE { resource:cytochrome_P450____AMED_2875 property:found_in_taxon ?j . ?j rdf:type ontology:infraspecific_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24130817
Q631147
USER
And how about tryptophan permease    EAE_04240?
(Q24130817,P703,c(Q631147))
action filter_type
action find
entity Q24130817
relation P703
type Q631147
['Q24130817', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?o WHERE { resource:Q24130817 property:P703 ?o . ?o rdf:type ontology:Q631147 }
tryptophan permease    EAE_04240
action filter_type
action find
entity tryptophan permease    EAE_04240
relation found in taxon
type infraspecific name
['tryptophan permease    EAE_04240', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?o WHERE { resource:tryptophan_permease____EAE_04240 property:found_in_taxon ?o . ?o rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102927
SYSTEM
Enterobacter aerogenes KCTC 2190
Q21102927
(Q24130817,P703,c(Q631147))
action filter_type
action find
entity Q24130817
relation P703
type Q631147
[ANSWER]
['Q24130817', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?o WHERE { resource:Q24130817 property:P703 ?o . ?o rdf:type ontology:Q631147 }
Enterobacter aerogenes KCTC 2190
Enterobacter aerogenes KCTC 2190
action filter_type
action find
entity tryptophan permease    EAE_04240
relation found in taxon
type infraspecific name
['tryptophan permease    EAE_04240', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?o WHERE { resource:tryptophan_permease____EAE_04240 property:found_in_taxon ?o . ?o rdf:type ontology:infraspecific_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q410142 Q21110872
P129
Q8386
USER
Which drugs do D(3) dopamine receptor or Sodium-dependent serotonin transporter interact with ?
OR((Q21110872,P129,c(Q8386)), (Q410142,P129,c(Q8386)))
action filter_type
action union
action find
entity Q21110872
relation P129
action find
entity Q410142
relation P129
type Q8386
{'OR': [['Q21110872', 'P129', {'concept': 'Q8386'}], ['Q410142', 'P129', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q410142 property:P129 ?r } UNION { resource:Q21110872 property:P129 ?r } } . ?r rdf:type ontology:Q8386 }
Sodium-dependent serotonin transporter D(3) dopamine receptor
action filter_type
action union
action find
entity D(3) dopamine receptor
relation physically interacts with
action find
entity Sodium-dependent serotonin transporter
relation physically interacts with
type drug
{'OR': [['D(3) dopamine receptor', 'physically interacts with', {'concept': 'drug'}], ['Sodium-dependent serotonin transporter', 'physically interacts with', {'concept': 'drug'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Sodium-dependent_serotonin_transporter property:physically_interacts_with ?r } UNION { resource:D(3)_dopamine_receptor property:physically_interacts_with ?r } } . ?r rdf:type ontology:drug }
[]
drug
Q424446 Q58397 Q418050 Q144085 Q412443 Q58713 Q411985 Q409236 Q221361 Q408432
SYSTEM
Some of them are lisuride, amitriptyline, sertindole, pimozide, risperidone, clomipramine, rotigotine, Fluvoxamine, clozapine, protriptyline
Q419822 Q413581 Q424446 Q58356 Q408588 Q422418 Q61387 Q205517 Q2359690 Q409236 Q407972 Q144085 Q6821618 Q269111 Q424238 Q417240 Q6590349 Q898407 Q423308 Q226905 Q3563148 Q420590 Q1747559 Q170304 Q409672 Q424151 Q423757 Q423498 Q7702355 Q418050 Q368941 Q58614 Q58713 Q251347 Q407617 Q421304 Q408432 Q412443 Q411985 Q408471 Q411932 Q416632 Q1452256 Q58397 Q221361 Q6535779 Q422244 Q2419445 Q420350 Q415752 Q423288 Q424965 Q58396
OR((Q21110872,P129,c(Q8386)), (Q410142,P129,c(Q8386)))
action filter_type
action union
action find
entity Q21110872
relation P129
action find
entity Q410142
relation P129
type Q8386
[ANSWERS]
{'OR': [['Q21110872', 'P129', {'concept': 'Q8386'}], ['Q410142', 'P129', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q410142 property:P129 ?r } UNION { resource:Q21110872 property:P129 ?r } } . ?r rdf:type ontology:Q8386 }
promazine bromocriptine lisuride amoxapine vilazodone sulpiride nortriptyline ziprasidone prochlorperazine Fluvoxamine chlorpromazine pimozide mesoridazine apomorphine domperidone atomoxetine perospirone venlafaxine cabergoline zotepine vortioxetine ropinirole phenelzine dopamine citalopram sibutramine escitalopram trimipramine terguride sertindole lofepramine loxapine clomipramine haloperidol sertraline pramipexole protriptyline risperidone rotigotine Paroxetine duloxetine nefazodone (-)-sulpiride amitriptyline clozapine levomilnacipran fluoxetine desvenlafaxine flupentixol pergolide desipramine dapoxetine Imipramine
Which drugs D(3) pamine receptor or Sodium-dependent serotonin transporter interact with
lisuride amitriptyline sertindole pimozide risperidone clomipramine rotigotine Fluvoxamine clozapine protriptyline
action filter_type
action union
action find
entity D(3) dopamine receptor
relation physically interacts with
action find
entity Sodium-dependent serotonin transporter
relation physically interacts with
type drug
{'OR': [['D(3) dopamine receptor', 'physically interacts with', {'concept': 'drug'}], ['Sodium-dependent serotonin transporter', 'physically interacts with', {'concept': 'drug'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Sodium-dependent_serotonin_transporter property:physically_interacts_with ?r } UNION { resource:D(3)_dopamine_receptor property:physically_interacts_with ?r } } . ?r rdf:type ontology:drug }
[]
Clarification
Simple Question|Single Entity|Indirect
Q408432
P2175
Q2057971
USER
Which health problem requires that drug to be prescribed ?
(Q408432,P2175,c(Q2057971))
action filter_type
action find
entity Q408432
relation P2175
type Q2057971
['Q408432', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { resource:Q408432 property:P2175 ?i . ?i rdf:type ontology:Q2057971 }
protriptyline
action filter_type
action find
entity protriptyline
relation medical condition treated
type health problem
['protriptyline', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { resource:protriptyline property:medical_condition_treated ?i . ?i rdf:type ontology:health_problem }
[]
health problem
Clarification for simple ques.
Q58713
SYSTEM
Did you mean clomipramine ?
Q424446 Q58397 Q418050 Q144085 Q412443 Q58713 Q411985 Q409236 Q221361 Q408432
(Q424446,P2175,c(Q2057971)) (Q58397,P2175,c(Q2057971)) (Q418050,P2175,c(Q2057971)) (Q144085,P2175,c(Q2057971)) (Q412443,P2175,c(Q2057971)) (Q58713,P2175,c(Q2057971)) (Q411985,P2175,c(Q2057971)) (Q409236,P2175,c(Q2057971)) (Q221361,P2175,c(Q2057971)) (Q408432,P2175,c(Q2057971))
[ANSWER]
['Q424446', 'P2175', {'concept': 'Q2057971'}] ['Q58397', 'P2175', {'concept': 'Q2057971'}] ['Q418050', 'P2175', {'concept': 'Q2057971'}] ['Q144085', 'P2175', {'concept': 'Q2057971'}] ['Q412443', 'P2175', {'concept': 'Q2057971'}] ['Q58713', 'P2175', {'concept': 'Q2057971'}] ['Q411985', 'P2175', {'concept': 'Q2057971'}] ['Q409236', 'P2175', {'concept': 'Q2057971'}] ['Q221361', 'P2175', {'concept': 'Q2057971'}] ['Q408432', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { resource:Q408432 property:P2175 ?i . ?i rdf:type ontology:Q2057971 }
lisuride amitriptyline sertindole pimozide risperidone clomipramine rotigotine Fluvoxamine clozapine protriptyline
Did you mean clomipramine ?
clomipramine
['lisuride', 'medical condition treated', {'concept': 'health problem'}] ['amitriptyline', 'medical condition treated', {'concept': 'health problem'}] ['sertindole', 'medical condition treated', {'concept': 'health problem'}] ['pimozide', 'medical condition treated', {'concept': 'health problem'}] ['risperidone', 'medical condition treated', {'concept': 'health problem'}] ['clomipramine', 'medical condition treated', {'concept': 'health problem'}] ['rotigotine', 'medical condition treated', {'concept': 'health problem'}] ['Fluvoxamine', 'medical condition treated', {'concept': 'health problem'}] ['clozapine', 'medical condition treated', {'concept': 'health problem'}] ['protriptyline', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { resource:protriptyline property:medical_condition_treated ?i . ?i rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
USER
No, I meant protriptyline. Could you tell me the answer for that?
(Q408432,P2175,c(Q2057971))
Q408432
['Q408432', 'P2175', {'concept': 'Q2057971'}]
['protriptyline', 'medical condition treated', {'concept': 'health problem'}]
[]
Q19000444
SYSTEM
neurotic disorder
Q19000444
(Q408432,P2175,c(Q2057971))
action filter_type
action find
entity Q408432
relation P2175
type Q2057971
Drug [ANSWER] requires that drug to be prescribed
['Q408432', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { resource:Q408432 property:P2175 ?i . ?i rdf:type ontology:Q2057971 }
neurotic disorder
Drug neurotic disorder requires that drug to be prescribed
neurotic disorder
action filter_type
action find
entity protriptyline
relation medical condition treated
type health problem
['protriptyline', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { resource:protriptyline property:medical_condition_treated ?i . ?i rdf:type ontology:health_problem }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q23118
P921
Q8386 Q2342494 Q838948
USER
Which drugs were the main subjects of lesser number of collectables or works of art 's work than LSD ?
(c(Q2342494)|c(Q838948),P921,c(Q8386))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q8386
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q23118
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?h WHERE { { ?h rdf:type ontology:Q8386 . ?s rdf:type ontology:Q838948 . ?s property:P921 ?h } UNION { ?h rdf:type ontology:Q8386 . ?s rdf:type ontology:Q2342494 . ?s property:P921 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P921 resource:Q23118 . { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?u < ?k ) }
LSD
action less
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 work of art
action count
action filter_multi_types
action find_reverse
entity LSD
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?h WHERE { { ?h rdf:type ontology:drug . ?s rdf:type ontology:work_of_art . ?s property:main_subject ?h } UNION { ?h rdf:type ontology:drug . ?s rdf:type ontology:collectable . ?s property:main_subject ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:main_subject resource:LSD . { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:collectable ) } } } } . FILTER ( ?u < ?k ) }
[]
drug collectable work of art
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))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q8386
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q23118
relation P921
type Q2342494
type Q838948
[ANSWERS] were the main subjects of lesser number of collectables or works of art 's work than LSD
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?h WHERE { { ?h rdf:type ontology:Q8386 . ?s rdf:type ontology:Q838948 . ?s property:P921 ?h } UNION { ?h rdf:type ontology:Q8386 . ?s rdf:type ontology:Q2342494 . ?s property:P921 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P921 resource:Q23118 . { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?u < ?k ) }
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 lesser number of collectables or works of art 's work than LSD
Insulin chlorpromazine Erythromycin
action less
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 work of art
action count
action filter_multi_types
action find_reverse
entity LSD
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?h WHERE { { ?h rdf:type ontology:drug . ?s rdf:type ontology:work_of_art . ?s property:main_subject ?h } UNION { ?h rdf:type ontology:drug . ?s rdf:type ontology:collectable . ?s property:main_subject ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:main_subject resource:LSD . { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:collectable ) } } } } . FILTER ( ?u < ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q134808
P921
Q8386 Q2342494 Q838948
USER
And also tell me about vaccine?
(c(Q2342494)|c(Q838948),P921,c(Q8386))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q8386
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q134808
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?o WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } . ?i property:P921 resource:Q134808 } } . FILTER ( ?c < ?a ) }
vaccine
action less
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 work of art
action count
action filter_multi_types
action find_reverse
entity vaccine
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?o WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:collectable ) } } . ?i property:main_subject resource:vaccine } } . FILTER ( ?c < ?a ) }
[]
drug collectable work of art
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 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 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))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q8386
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q134808
relation P921
type Q2342494
type Q838948
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?o WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } . ?i property:P921 resource:Q134808 } } . FILTER ( ?c < ?a ) }
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 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 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 Erythromycin
action less
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 work of art
action count
action filter_multi_types
action find_reverse
entity vaccine
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?o WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:collectable ) } } . ?i property:main_subject resource:vaccine } } . FILTER ( ?c < ?a ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q184559 Q408432
P769 P2176
Q8386
USER
Which drugs show a significant interaction with protriptyline or are prescribed for arteriosclerosis ?
OR((Q408432,P769,c(Q8386)), (Q184559,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q408432
relation P769
action find
entity Q184559
relation P2176
type Q8386
{'OR': [['Q408432', 'P769', {'concept': 'Q8386'}], ['Q184559', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q408432 property:P769 ?g } UNION { resource:Q184559 property:P2176 ?g } } . ?g rdf:type ontology:Q8386 }
arteriosclerosis protriptyline
action filter_type
action union
action find
entity protriptyline
relation significant drug interaction
action find
entity arteriosclerosis
relation drug used for treatment
type drug
{'OR': [['protriptyline', 'significant drug interaction', {'concept': 'drug'}], ['arteriosclerosis', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?g WHERE { { { resource:protriptyline property:significant_drug_interaction ?g } UNION { resource:arteriosclerosis property:drug_used_for_treatment ?g } } . ?g rdf:type ontology:drug }
[]
drug
Q409595 Q1117888 Q5268499 Q2701912 Q416331 Q899036 Q418656 Q668093 Q670131 Q1240093
SYSTEM
Some of them are Isocarboxazid, 4-[1-hydroxy-2-(1-phenoxypropan-2-ylamino)propyl]phenol, dextrothyroxine, clofibrate, pentoxifylline, Colesevelam, procarbazine, Atorvastatin, simvastatin, Pravastatin
Q2701912 Q417740 Q409595 Q10354103 Q1117888 Q420885 Q418006 Q419724 Q418656 Q417942 Q668093 Q384295 Q5268499 Q1747559 Q3294635 Q1240093 Q416331 Q423439 Q670131 Q899036
OR((Q408432,P769,c(Q8386)), (Q184559,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q408432
relation P769
action find
entity Q184559
relation P2176
type Q8386
[ANSWERS] show a significant interaction with protriptyline or are prescribed for arteriosclerosis
{'OR': [['Q408432', 'P769', {'concept': 'Q8386'}], ['Q184559', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q408432 property:P769 ?g } UNION { resource:Q184559 property:P2176 ?g } } . ?g rdf:type ontology:Q8386 }
clofibrate lovastatin Isocarboxazid probucol 4-[1-hydroxy-2-(1-phenoxypropan-2-ylamino)propyl]phenol tranylcypromine Colestyramine fenofibrate procarbazine Fluvastatin Atorvastatin gemfibrozil dextrothyroxine phenelzine Colestipol Pravastatin pentoxifylline cerivastatin simvastatin Colesevelam
Isocarboxazid, 4-[1-hydroxy-2-(1-phenoxypropan-2-ylamino)propyl]phenol, dextrothyroxine, clofibrate, pentoxifylline, Colesevelam, procarbazine, Atorvastatin, simvastatin and Pravastatin show a significant interaction with protriptyline or are prescribed for arteriosclerosis
Isocarboxazid 4-[1-hydroxy-2-(1-phenoxypropan-2-ylamino)propyl]phenol dextrothyroxine clofibrate pentoxifylline Colesevelam procarbazine Atorvastatin simvastatin Pravastatin
action filter_type
action union
action find
entity protriptyline
relation significant drug interaction
action find
entity arteriosclerosis
relation drug used for treatment
type drug
{'OR': [['protriptyline', 'significant drug interaction', {'concept': 'drug'}], ['arteriosclerosis', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?g WHERE { { { resource:protriptyline property:significant_drug_interaction ?g } UNION { resource:arteriosclerosis property:drug_used_for_treatment ?g } } . ?g rdf:type ontology:drug }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q409595 Q1117888 Q5268499 Q2701912 Q416331 Q899036 Q418656 Q668093 Q670131 Q1240093
P2175
Q2057971
USER
Which health problems require those drugs to be prescribed ?
(Q409595,P2175,c(Q2057971)) (Q1117888,P2175,c(Q2057971)) (Q5268499,P2175,c(Q2057971)) (Q2701912,P2175,c(Q2057971)) (Q416331,P2175,c(Q2057971)) (Q899036,P2175,c(Q2057971)) (Q418656,P2175,c(Q2057971)) (Q668093,P2175,c(Q2057971)) (Q670131,P2175,c(Q2057971)) (Q1240093,P2175,c(Q2057971))
action filter_type
action find
entity prev_answer
relation P2175
type Q2057971
['Q409595', 'P2175', {'concept': 'Q2057971'}] ['Q1117888', 'P2175', {'concept': 'Q2057971'}] ['Q5268499', 'P2175', {'concept': 'Q2057971'}] ['Q2701912', 'P2175', {'concept': 'Q2057971'}] ['Q416331', 'P2175', {'concept': 'Q2057971'}] ['Q899036', 'P2175', {'concept': 'Q2057971'}] ['Q418656', 'P2175', {'concept': 'Q2057971'}] ['Q668093', 'P2175', {'concept': 'Q2057971'}] ['Q670131', 'P2175', {'concept': 'Q2057971'}] ['Q1240093', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { ?h property:P2175 ?a . ?a rdf:type ontology:Q2057971 . VALUES ( ?h ) { ( resource:Q2701912 ) ( resource:Q417740 ) ( resource:Q409595 ) } }
Isocarboxazid 4-[1-hydroxy-2-(1-phenoxypropan-2-ylamino)propyl]phenol dextrothyroxine clofibrate pentoxifylline Colesevelam procarbazine Atorvastatin simvastatin Pravastatin
action filter_type
action find
entity prev_answer
relation medical condition treated
type health problem
['Isocarboxazid', 'medical condition treated', {'concept': 'health problem'}] ['4-[1-hydroxy-2-(1-phenoxypropan-2-ylamino)propyl]phenol', 'medical condition treated', {'concept': 'health problem'}] ['dextrothyroxine', 'medical condition treated', {'concept': 'health problem'}] ['clofibrate', 'medical condition treated', {'concept': 'health problem'}] ['pentoxifylline', 'medical condition treated', {'concept': 'health problem'}] ['Colesevelam', 'medical condition treated', {'concept': 'health problem'}] ['procarbazine', 'medical condition treated', {'concept': 'health problem'}] ['Atorvastatin', 'medical condition treated', {'concept': 'health problem'}] ['simvastatin', 'medical condition treated', {'concept': 'health problem'}] ['Pravastatin', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { ?h property:medical_condition_treated ?a . ?a rdf:type ontology:health_problem . VALUES ( ?h ) { ( resource:clofibrate ) ( resource:lovastatin ) ( resource:Isocarboxazid ) } }
[]
health problem
Q128581 Q844935 Q844935
SYSTEM
coronary artery disease for 2nd, 3rd, breast cancer for 1st
Q19000444 Q1053824 Q746001 Q184559 Q844935 Q18554145 Q184559 Q389735 Q844935 Q18554145 Q184559 Q389735 Q1097957 Q2072063 Q2590966 Q1072420 Q18554377 Q504790 Q12202 Q1648484 Q659033 Q4862390 Q10859678 Q644318 Q10863074 Q184559 Q18556113 Q2012569 Q489997 Q18556468 Q378681 Q576349 Q18554674 Q574905 Q844935 Q184559 Q18554145 Q180614 Q467635 Q18554460 Q18556020 Q844935 Q18554145 Q184559 Q1128595 Q500816 Q18554145 Q389735 Q18555066 Q183344 Q1088156 Q185034 Q184559 Q2397009 Q18556697 Q998273 Q128581 Q131755 Q35869 Q3041498 Q815819 Q844935 Q18556113 Q12192 Q18965511 Q189588 Q180152 Q2661464 Q133823 Q11088 Q18968224 Q199804 Q18556932 Q844935 Q18554145 Q184559
(Q409595,P2175,c(Q2057971)) (Q1117888,P2175,c(Q2057971)) (Q5268499,P2175,c(Q2057971)) (Q2701912,P2175,c(Q2057971)) (Q416331,P2175,c(Q2057971)) (Q899036,P2175,c(Q2057971)) (Q418656,P2175,c(Q2057971)) (Q668093,P2175,c(Q2057971)) (Q670131,P2175,c(Q2057971)) (Q1240093,P2175,c(Q2057971))
action filter_type
action find
entity prev_answer
relation P2175
type Q2057971
[ANSWERS]
['Q409595', 'P2175', {'concept': 'Q2057971'}] ['Q1117888', 'P2175', {'concept': 'Q2057971'}] ['Q5268499', 'P2175', {'concept': 'Q2057971'}] ['Q2701912', 'P2175', {'concept': 'Q2057971'}] ['Q416331', 'P2175', {'concept': 'Q2057971'}] ['Q899036', 'P2175', {'concept': 'Q2057971'}] ['Q418656', 'P2175', {'concept': 'Q2057971'}] ['Q668093', 'P2175', {'concept': 'Q2057971'}] ['Q670131', 'P2175', {'concept': 'Q2057971'}] ['Q1240093', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { ?h property:P2175 ?a . ?a rdf:type ontology:Q2057971 . VALUES ( ?h ) { ( resource:Q2701912 ) ( resource:Q417740 ) ( resource:Q409595 ) } }
neurotic disorder Raynaud disease Thromboangiitis obliterans arteriosclerosis coronary artery disease familial hyperlipidemia arteriosclerosis cardiovascular disease coronary artery disease familial hyperlipidemia arteriosclerosis cardiovascular disease intermittent claudication patent ductus arteriosus cutaneous leishmaniasis primary biliary cirrhosis diabetic polyneuropathy nephrotic syndrome stroke Duchenne muscular dystrophy biliary atresia brain ischemia perinatal necrotizing enterocolitis vasculitis fatty liver disease arteriosclerosis non-small cell lung carcinoma endometriosis of uterus diabetic angiopathy vasculogenic impotence peripheral artery disease brain disease cerebral malaria Clostridium difficile colitis coronary artery disease arteriosclerosis familial hyperlipidemia melanoma multiple myeloma brain cancer lung benign neoplasm coronary artery disease familial hyperlipidemia arteriosclerosis pulmonary hypertension polycystic ovary syndrome familial hyperlipidemia cardiovascular disease relapsing-remitting multiple sclerosis sinusitis chronic lymphocytic leukemia sickle cell anemia arteriosclerosis choroideremia human immunodeficiency virus infectious disease Smith–Lemli–Opitz syndrome breast cancer bipolar disorder asthma eye disease atrial fibrillation coronary artery disease non-small cell lung carcinoma pneumonia secondary progressive multiple sclerosis stomach cancer Vitiligo glucose intolerance migraine celiac disease rectum cancer chronic obstructive pulmonary disease large intestine cancer coronary artery disease familial hyperlipidemia arteriosclerosis
Breast cancer, coronary artery disease and coronary artery disease require those drugs to be prescribed
breast cancer coronary artery disease coronary artery disease
action filter_type
action find
entity prev_answer
relation medical condition treated
type health problem
['Isocarboxazid', 'medical condition treated', {'concept': 'health problem'}] ['4-[1-hydroxy-2-(1-phenoxypropan-2-ylamino)propyl]phenol', 'medical condition treated', {'concept': 'health problem'}] ['dextrothyroxine', 'medical condition treated', {'concept': 'health problem'}] ['clofibrate', 'medical condition treated', {'concept': 'health problem'}] ['pentoxifylline', 'medical condition treated', {'concept': 'health problem'}] ['Colesevelam', 'medical condition treated', {'concept': 'health problem'}] ['procarbazine', 'medical condition treated', {'concept': 'health problem'}] ['Atorvastatin', 'medical condition treated', {'concept': 'health problem'}] ['simvastatin', 'medical condition treated', {'concept': 'health problem'}] ['Pravastatin', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { ?h property:medical_condition_treated ?a . ?a rdf:type ontology:health_problem . VALUES ( ?h ) { ( resource:clofibrate ) ( resource:lovastatin ) ( resource:Isocarboxazid ) } }
[]