Simple Question (Direct)
Simple Question
Q21630845
P681
Q15989253
USER
Which is the cell component of ribonuclease R    FTT_1553c ?
(Q21630845,P681,c(Q15989253))
action filter_type
action find
entity Q21630845
relation P681
type Q15989253
['Q21630845', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?r WHERE { resource:Q21630845 property:P681 ?r . ?r rdf:type ontology:Q15989253 }
ribonuclease R    FTT_1553c
action filter_type
action find
entity ribonuclease R    FTT_1553c
relation cell component
type part
['ribonuclease R    FTT_1553c', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?r WHERE { resource:ribonuclease_R____FTT_1553c property:cell_component ?r . ?r rdf:type ontology:part }
[]
part
Q79899
SYSTEM
cytoplasm
Q79899
(Q21630845,P681,c(Q15989253))
action filter_type
action find
entity Q21630845
relation P681
type Q15989253
The [ANSWER] is the cell component of ribonuclease R FTT_1553c
['Q21630845', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?r WHERE { resource:Q21630845 property:P681 ?r . ?r rdf:type ontology:Q15989253 }
cytoplasm
The cytoplasm is the cell component of ribonuclease R FTT_1553c
cytoplasm
action filter_type
action find
entity ribonuclease R    FTT_1553c
relation cell component
type part
['ribonuclease R    FTT_1553c', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?r WHERE { resource:ribonuclease_R____FTT_1553c property:cell_component ?r . ?r rdf:type ontology:part }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21630845
P703
Q16521
USER
Where is ribonuclease R    FTT_1553c found ?
(Q21630845,P703,c(Q16521))
action filter_type
action find
entity Q21630845
relation P703
type Q16521
['Q21630845', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?d WHERE { resource:Q21630845 property:P703 ?d . ?d rdf:type ontology:Q16521 }
ribonuclease R    FTT_1553c
action filter_type
action find
entity ribonuclease R    FTT_1553c
relation found in taxon
type taxon
['ribonuclease R    FTT_1553c', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?d WHERE { resource:ribonuclease_R____FTT_1553c property:found_in_taxon ?d . ?d rdf:type ontology:taxon }
[]
taxon
Q21065232
SYSTEM
Francisella tularensis subsp. tularensis SCHU S4
Q21065232
(Q21630845,P703,c(Q16521))
action filter_type
action find
entity Q21630845
relation P703
type Q16521
Ribonuclease R FTT_1553c is found in [ANSWER]
['Q21630845', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?d WHERE { resource:Q21630845 property:P703 ?d . ?d rdf:type ontology:Q16521 }
Francisella tularensis subsp. tularensis SCHU S4
Ribonuclease R FTT_1553c is found in Francisella tularensis subsp. tularensis SCHU S4
Francisella tularensis subsp. tularensis SCHU S4
action filter_type
action find
entity ribonuclease R    FTT_1553c
relation found in taxon
type taxon
['ribonuclease R    FTT_1553c', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?d WHERE { resource:ribonuclease_R____FTT_1553c property:found_in_taxon ?d . ?d rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21630845
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q21065232)
action filter_type
action find_reverse
entity Q21630845
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21065232']
SELECT DISTINCT ?r WHERE { ?r property:P688 resource:Q21630845 . ?r rdf:type ontology:Q863908 }
ribonuclease R    FTT_1553c
action filter_type
action find_reverse
entity ribonuclease R    FTT_1553c
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Francisella tularensis subsp. tularensis SCHU S4']
SELECT DISTINCT ?r WHERE { ?r property:encodes resource:ribonuclease_R____FTT_1553c . ?r rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q21627488
SYSTEM
ribonuclease R    FTT_1553c
Q21627488
(c(Q863908),P688,Q21065232)
action filter_type
action find_reverse
entity Q21630845
relation P688
type Q863908
Ribonuclease R FTT 1553c encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q21065232']
SELECT DISTINCT ?r WHERE { ?r property:P688 resource:Q21630845 . ?r rdf:type ontology:Q863908 }
ribonuclease R    FTT_1553c
Ribonuclease R FTT 1553c encodes that nutrient
ribonuclease R    FTT_1553c
action filter_type
action find_reverse
entity ribonuclease R    FTT_1553c
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Francisella tularensis subsp. tularensis SCHU S4']
SELECT DISTINCT ?r WHERE { ?r property:encodes resource:ribonuclease_R____FTT_1553c . ?r rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21627488
P702
Q181394
USER
What is the gene that is encoded by that nucleic acid sequence ?
(c(Q181394),P702,Q21627488)
action filter_type
action find_reverse
entity Q21627488
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q21627488']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q181394 . ?m property:P702 resource:Q21627488 }
ribonuclease R    FTT_1553c
action filter_type
action find_reverse
entity ribonuclease R    FTT_1553c
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'ribonuclease R    FTT_1553c']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:nutrient . ?m property:encoded_by resource:ribonuclease_R____FTT_1553c }
[]
nutrient
Q21630845
SYSTEM
ribonuclease R    FTT_1553c
Q21630845
(c(Q181394),P702,Q21627488)
action filter_type
action find_reverse
entity Q21627488
relation P702
type Q181394
The gene that is encoded by that nucleic acid sequence is RNA ribonuclease R FTT 1553c
[{'concept': 'Q181394'}, 'P702', 'Q21627488']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q181394 . ?m property:P702 resource:Q21627488 }
ribonuclease R    FTT_1553c
The gene that is encoded by that nucleic acid sequence is RNA ribonuclease R FTT 1553c
ribonuclease R    FTT_1553c
action filter_type
action find_reverse
entity ribonuclease R    FTT_1553c
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'ribonuclease R    FTT_1553c']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:nutrient . ?m property:encoded_by resource:ribonuclease_R____FTT_1553c }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q8386 Q79529
USER
Which nutrients do exactly 15 drugs and chemical substances interact with ?
(c(Q8386)|c(Q79529),P129,c(Q181394))
action equal
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
value 15
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?f WHERE { { ?f rdf:type ontology:Q181394 . ?b rdf:type ontology:Q8386 . ?b property:P129 ?f } UNION { ?b rdf:type ontology:Q79529 . ?f rdf:type ontology:Q181394 . ?b property:P129 ?f } } GROUP BY ?f } . FILTER ( ?d = 15 ) }
action equal
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
value 15
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?f WHERE { { ?f rdf:type ontology:nutrient . ?b rdf:type ontology:drug . ?b property:physically_interacts_with ?f } UNION { ?b rdf:type ontology:chemical_substance . ?f rdf:type ontology:nutrient . ?b property:physically_interacts_with ?f } } GROUP BY ?f } . FILTER ( ?d = 15 ) }
[]
nutrient drug chemical substance
Q5629167 Q21172390 Q2271947
SYSTEM
Histone deacetylase 1, Vascular endothelial growth factor receptor 2, Sodium-dependent dopamine transporter
Q2271947 Q21172390 Q5629167 Q21109359
(c(Q8386)|c(Q79529),P129,c(Q181394))
action equal
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
value 15
Exactly 15 drugs and chemical substances interact with [ANSWERS]
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?f WHERE { { ?f rdf:type ontology:Q181394 . ?b rdf:type ontology:Q8386 . ?b property:P129 ?f } UNION { ?b rdf:type ontology:Q79529 . ?f rdf:type ontology:Q181394 . ?b property:P129 ?f } } GROUP BY ?f } . FILTER ( ?d = 15 ) }
Sodium-dependent dopamine transporter Vascular endothelial growth factor receptor 2 Histone deacetylase 1 5-hydroxytryptamine receptor 5A
Exactly 15 drugs and chemical substances interact with Histone deacetylase 1, Vascular endothelial growth factor receptor 2 and Sodium-dependent dopamine transporter
Histone deacetylase 1 Vascular endothelial growth factor receptor 2 Sodium-dependent dopamine transporter
action equal
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
value 15
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?f WHERE { { ?f rdf:type ontology:nutrient . ?b rdf:type ontology:drug . ?b property:physically_interacts_with ?f } UNION { ?b rdf:type ontology:chemical_substance . ?f rdf:type ontology:nutrient . ?b property:physically_interacts_with ?f } } GROUP BY ?f } . FILTER ( ?d = 15 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q81938
P2176
Q8386
USER
How many drugs are used to cure pain ?
(Q81938,P2176,c(Q8386))
action count
action filter_type
action find
entity Q81938
relation P2176
type Q8386
['Q81938', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q81938 property:P2176 ?v . ?v rdf:type ontology:Q8386 }
pain
action count
action filter_type
action find
entity pain
relation drug used for treatment
type drug
['pain', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:pain property:drug_used_for_treatment ?v . ?v rdf:type ontology:drug }
[]
drug
SYSTEM
100
Q377270 Q347613 Q216935 Q411441 Q277979 Q417915 Q239426 Q419890 Q162867 Q422252 Q424049 Q670131 Q243547 Q417204 Q415793 Q423380 Q174723 Q2465218 Q58396 Q58397 Q244408 Q425386 Q409192 Q416760 Q410011 Q412133 Q190012 Q414028 Q418445 Q273169 Q1320691 Q422740 Q422745 Q5103226 Q5198674 Q416905 Q304782 Q2964133 Q174259 Q1185089 Q221174 Q409587 Q130336 Q81225 Q407418 Q1109018 Q423288 Q2496906 Q411412 Q425207 Q41576 Q419608 Q3114549 Q61387 Q186969 Q409231 Q417222 Q412221 Q6823309 Q2579108 Q413598 Q407541 Q18216 Q421297 Q26272 Q419175 Q423741 Q423538 Q410352 Q422806 Q12745763 Q407535 Q510494 Q416791 Q303646 Q2555245 Q412174 Q2487682 Q422970 Q407721 Q419383 Q898407 Q1215575 Q3292273 Q416554 Q58713 Q57055 Q3272027 Q418361 Q3294630 Q412164 Q218507 Q415578 Q407592 Q408801 Q284321 Q411456 Q417902 Q411594 Q2602750
(Q81938,P2176,c(Q8386))
action count
action filter_type
action find
entity Q81938
relation P2176
type Q8386
[ANSWER]
['Q81938', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q81938 property:P2176 ?v . ?v rdf:type ontology:Q8386 }
dihydrocodeine valdecoxib lidocaine hydrocodone nalbuphine sufentanil mitoxantrone flurbiprofen nitroglycerin dexamethasone loratadine simvastatin Ketamine levomepromazine (-)-pentazocine oxymorphone codeine etodolac Imipramine amitriptyline diclofenac dyclonine Ketoprofen mepivacaine ondansetron dexmedetomidine adenosine meloxicam etomidate capsaicin Salsalate propofol Benzocaine Chlorphenesin cyclobenzaprine carisoprodol Etidocaine chloroprocaine droperidol butorphanol topiramate naltrexone Phenol morphine (-)-menthol Dezocine desipramine Salicylamide rofecoxib nabumetone cocaine Tetracaine phenazopyridine nortriptyline ibuprofen indomethacin methylprednisolone clonidine metaxalone levorphanol prilocaine fentanyl acetylsalicylic acid 4-methyl-3-[[1-oxo-2-(propylamino)propyl]amino]-2-thiophenecarboxylic acid methyl ester Atropine Phenacetin procaine tizanidine gabapentin bupivacaine α-methylnoradrenaline oxycodone triflupromazine Doxepin hydromorphone fenoprofen pregabalin bromfenac promethazine buprenorphine desflurane venlafaxine naproxen orphenadrine PGE2 clomipramine paracetamol levobupivacaine maprotiline chlorzoxazone clobazam zoledronic acid Antipyrine Tramadol celecoxib mefenamic acid methocarbamol remifentanil methoxyflurane diflunisal
100
action count
action filter_type
action find
entity pain
relation drug used for treatment
type drug
['pain', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:pain property:drug_used_for_treatment ?v . ?v rdf:type ontology:drug }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q81938
P2176
Q8386
USER
Which drugs are used as a remedy for that mental process ?
action filter_type
action find
entity Q81938
relation P2176
type Q8386
SELECT DISTINCT ?w WHERE { resource:Q81938 property:P2176 ?w . ?w rdf:type ontology:Q8386 }
pain
action filter_type
action find
entity pain
relation drug used for treatment
type drug
SELECT DISTINCT ?w WHERE { resource:pain property:drug_used_for_treatment ?w . ?w rdf:type ontology:drug }
[]
drug
Q670131 Q410011 Q41576
SYSTEM
simvastatin, ondansetron, cocaine
Q377270 Q347613 Q216935 Q411441 Q277979 Q417915 Q239426 Q419890 Q162867 Q422252 Q424049 Q670131 Q243547 Q58713 Q273169 Q415793 Q423380 Q174723 Q2465218 Q58396 Q58397 Q244408 Q425386 Q409192 Q416760 Q410011 Q412133 Q190012 Q414028 Q418445 Q417204 Q1320691 Q422740 Q422745 Q5103226 Q5198674 Q416905 Q304782 Q2964133 Q174259 Q1185089 Q221174 Q409587 Q130336 Q81225 Q407418 Q1109018 Q423288 Q2496906 Q411412 Q425207 Q41576 Q419608 Q3114549 Q61387 Q186969 Q409231 Q417222 Q412221 Q6823309 Q2579108 Q413598 Q407541 Q2555245 Q421297 Q284321 Q419175 Q423741 Q423538 Q410352 Q2487682 Q12745763 Q407535 Q510494 Q416791 Q303646 Q18216 Q412174 Q422806 Q411594 Q407721 Q419383 Q898407 Q1215575 Q3292273 Q416554 Q57055 Q3272027 Q418361 Q3294630 Q412164 Q218507 Q415578 Q407592 Q408801 Q26272 Q411456 Q417902 Q422970 Q2602750
action filter_type
action find
entity Q81938
relation P2176
type Q8386
[ANSWERS] are used as a remedy for that mental process
SELECT DISTINCT ?w WHERE { resource:Q81938 property:P2176 ?w . ?w rdf:type ontology:Q8386 }
dihydrocodeine valdecoxib lidocaine hydrocodone nalbuphine sufentanil mitoxantrone flurbiprofen nitroglycerin dexamethasone loratadine simvastatin Ketamine clomipramine capsaicin (-)-pentazocine oxymorphone codeine etodolac Imipramine amitriptyline diclofenac dyclonine Ketoprofen mepivacaine ondansetron dexmedetomidine adenosine meloxicam etomidate levomepromazine Salsalate propofol Benzocaine Chlorphenesin cyclobenzaprine carisoprodol Etidocaine chloroprocaine droperidol butorphanol topiramate naltrexone Phenol morphine (-)-menthol Dezocine desipramine Salicylamide rofecoxib nabumetone cocaine Tetracaine phenazopyridine nortriptyline ibuprofen indomethacin methylprednisolone clonidine metaxalone levorphanol prilocaine fentanyl fenoprofen 4-methyl-3-[[1-oxo-2-(propylamino)propyl]amino]-2-thiophenecarboxylic acid methyl ester mefenamic acid Phenacetin procaine tizanidine gabapentin bromfenac α-methylnoradrenaline oxycodone triflupromazine Doxepin hydromorphone acetylsalicylic acid pregabalin bupivacaine methoxyflurane buprenorphine desflurane venlafaxine naproxen orphenadrine PGE2 paracetamol levobupivacaine maprotiline chlorzoxazone clobazam zoledronic acid Antipyrine Tramadol celecoxib Atropine methocarbamol remifentanil promethazine diflunisal
Simvastatin, ondansetron and cocaine are used as a remedy for that mental process
simvastatin ondansetron cocaine
action filter_type
action find
entity pain
relation drug used for treatment
type drug
SELECT DISTINCT ?w WHERE { resource:pain property:drug_used_for_treatment ?w . ?w rdf:type ontology:drug }
[]
Clarification
Simple Question|Single Entity|Indirect
Q410011
P769
Q8386
USER
Which drugs do that one have a significant interaction with ?
(c(Q8386),P769,Q410011)
action filter_type
action find
entity Q410011
relation P769
type Q8386
[{'concept': 'Q8386'}, 'P769', 'Q410011']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q8386 . resource:Q410011 property:P769 ?q }
ondansetron
action filter_type
action find
entity ondansetron
relation significant drug interaction
type drug
[{'concept': 'drug'}, 'significant drug interaction', 'ondansetron']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:drug . resource:ondansetron property:significant_drug_interaction ?q }
[]
drug
Clarification for simple ques.
Q41576
SYSTEM
Did you mean cocaine ?
Q670131 Q410011 Q41576
(c(Q8386),P769,Q670131) (c(Q8386),P769,Q410011) (c(Q8386),P769,Q41576)
[ANSWER]
[{'concept': 'Q8386'}, 'P769', 'Q670131'] [{'concept': 'Q8386'}, 'P769', 'Q410011'] [{'concept': 'Q8386'}, 'P769', 'Q41576']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q8386 . resource:Q410011 property:P769 ?q }
simvastatin ondansetron cocaine
Did you mean cocaine ?
cocaine
[{'concept': 'drug'}, 'significant drug interaction', 'simvastatin'] [{'concept': 'drug'}, 'significant drug interaction', 'ondansetron'] [{'concept': 'drug'}, 'significant drug interaction', 'cocaine']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:drug . resource:ondansetron property:significant_drug_interaction ?q }
[]
Simple Question (Coreferenced)
USER
No, I meant ondansetron. Could you tell me the answer for that?
(c(Q8386),P769,Q410011)
Q410011
[{'concept': 'Q8386'}, 'P769', 'Q410011']
[{'concept': 'drug'}, 'significant drug interaction', 'ondansetron']
[]
Q407972 Q144085 Q251347
SYSTEM
chlorpromazine, pimozide, haloperidol
Q58375 Q41576 Q422418 Q408163 Q422438 Q10354103 Q3791612 Q407972 Q144085 Q6821618 Q424238 Q412496 Q4890934 Q3712521 Q413591 Q976559 Q165399 Q423757 Q425295 Q425120 Q213511 Q408637 Q118551 Q251347 Q424940 Q417597 Q174259 Q419394 Q417909 Q947595 Q423437 Q409672 Q179996 Q410061 Q421381 Q7739 Q416206
(c(Q8386),P769,Q410011)
action filter_type
action find
entity Q410011
relation P769
type Q8386
That one have a significant interaction with the [ANSWERS]
[{'concept': 'Q8386'}, 'P769', 'Q410011']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q8386 . resource:Q410011 property:P769 ?q }
thioridazine cocaine sulpiride anagrelide chloroquine probucol ibutilide chlorpromazine pimozide mesoridazine domperidone quinidine bepridil dofetilide sotalol Sparfloxacin Azithromycin escitalopram Cisapride Disopyramide Erythromycin dronedarone Clarithromycin haloperidol Moxifloxacin procainamide droperidol sevoflurane terfenadine Halofantrine astemizole citalopram methadone amiodarone flecainide Arsenic trioxide Pentamidine
That one have a significant interaction with the chlorpromazine, pimozide and haloperidol
chlorpromazine pimozide haloperidol
action filter_type
action find
entity ondansetron
relation significant drug interaction
type drug
[{'concept': 'drug'}, 'significant drug interaction', 'ondansetron']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:drug . resource:ondansetron property:significant_drug_interaction ?q }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7918002
P769
Q8386
USER
Do Vedolizumab have a significant interaction with those ones ?
(Q7918002,P769,Q407972) (Q7918002,P769,Q144085) (Q7918002,P769,Q251347)
action is_in
entity prev_answer
action find
entity Q7918002
relation P769
['Q7918002', 'P769', 'Q407972'] ['Q7918002', 'P769', 'Q144085'] ['Q7918002', 'P769', 'Q251347']
ASK WHERE { resource:Q7918002 property:P769 ?i . VALUES ( ?i ) { ( resource:Q58375 ) ( resource:Q41576 ) ( resource:Q422418 ) } }
Vedolizumab
action is_in
entity prev_answer
action find
entity Vedolizumab
relation significant drug interaction
['Vedolizumab', 'significant drug interaction', 'chlorpromazine'] ['Vedolizumab', 'significant drug interaction', 'pimozide'] ['Vedolizumab', 'significant drug interaction', 'haloperidol']
ASK WHERE { resource:Vedolizumab property:significant_drug_interaction ?i . VALUES ( ?i ) { ( resource:thioridazine ) ( resource:cocaine ) ( resource:sulpiride ) } }
[]
drug
SYSTEM
NO
(Q7918002,P769,Q407972) (Q7918002,P769,Q144085) (Q7918002,P769,Q251347)
action is_in
entity prev_answer
action find
entity Q7918002
relation P769
[ANSWER]
['Q7918002', 'P769', 'Q407972'] ['Q7918002', 'P769', 'Q144085'] ['Q7918002', 'P769', 'Q251347']
ASK WHERE { resource:Q7918002 property:P769 ?i . VALUES ( ?i ) { ( resource:Q58375 ) ( resource:Q41576 ) ( resource:Q422418 ) } }
No
action is_in
entity prev_answer
action find
entity Vedolizumab
relation significant drug interaction
['Vedolizumab', 'significant drug interaction', 'chlorpromazine'] ['Vedolizumab', 'significant drug interaction', 'pimozide'] ['Vedolizumab', 'significant drug interaction', 'haloperidol']
ASK WHERE { resource:Vedolizumab property:significant_drug_interaction ?i . VALUES ( ?i ) { ( resource:thioridazine ) ( resource:cocaine ) ( resource:sulpiride ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1363738
P2175
Q12136 Q8386
USER
Which diseases are cured by around the same number of drugs as Erythema nodosum ?
(c(Q8386),P2175,c(Q12136))
action approx
action find_reverse_tuple_counts
relation P2175
type Q12136
type Q8386
action count
action filter_type
action find
entity Q1363738
relation P2175
type Q12136
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q1363738 property:P2175 ?i . ?i rdf:type ontology:Q12136 } } . FILTER ( ?n = ?g ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P2175 ?t . ?t rdf:type ontology:Q12136 . ?y rdf:type ontology:Q8386 } GROUP BY ?t } }
Erythema nodosum
action approx
action find_reverse_tuple_counts
relation medical condition treated
type disease
type drug
action count
action filter_type
action find
entity Erythema nodosum
relation medical condition treated
type disease
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Erythema_nodosum property:medical_condition_treated ?i . ?i rdf:type ontology:disease } } . FILTER ( ?n = ?g ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:medical_condition_treated ?t . ?t rdf:type ontology:disease . ?y rdf:type ontology:drug } GROUP BY ?t } }
[]
disease drug
Q110315 Q1148337 Q7514772
SYSTEM
lead poisoning, hepatocellular carcinoma, Silent stroke
Q1467339 Q2200381 Q167844 Q1444550 Q7514772 Q18555060 Q1935832 Q917620 Q988594 Q1415275 Q1956718 Q815753 Q854353 Q18554891 Q1148337 Q627368 Q1363738 Q4138762 Q852163 Q2915477 Q133212 Q127664 Q110315 Q3726949 Q86 Q4117658 Q2067267 Q18554341 Q189331 Q304497 Q23772742 Q12133 Q6029216 Q1068134 Q4118092 Q7616509 Q1996053 Q3072083 Q1283303
(c(Q8386),P2175,c(Q12136))
action approx
action find_reverse_tuple_counts
relation P2175
type Q12136
type Q8386
action count
action filter_type
action find
entity Q1363738
relation P2175
type Q12136
[ANSWERS] are cured by around the same number of drugs as Erythema nodosum
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q1363738 property:P2175 ?i . ?i rdf:type ontology:Q12136 } } . FILTER ( ?n = ?g ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P2175 ?t . ?t rdf:type ontology:Q12136 . ?y rdf:type ontology:Q8386 } GROUP BY ?t } }
hypertriglyceridemia Neurogenic shock conjunctivitis ischaemic heart disease Silent stroke arteriosclerotic cardiovascular disease neurofibromatosis type II Onychomycosis eczema Spinal cord injury Becker myotonia filariasis enteritis squamous cell carcinoma hepatocellular carcinoma Blastomycosis Erythema nodosum Hypovitaminosis D lower back pain Folate deficiency tumor Febrile seizure lead poisoning episcleritis headache inflammatory myopathy Niemann–Pick disease, type C hepatic coma cardiac dysrhythmia Hemiplegia Bacteroides Infections deafness infectious bone disease Morning sickness Macroglobulinemia neurofibromatosis type I chronic pancreatitis memory disorder Tricuspid atresia
Lead poisoning, hepatocellular carcinoma and Silent stroke are cured by around the same number of drugs as Erythema nodosum
lead poisoning hepatocellular carcinoma Silent stroke
action approx
action find_reverse_tuple_counts
relation medical condition treated
type disease
type drug
action count
action filter_type
action find
entity Erythema nodosum
relation medical condition treated
type disease
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Erythema_nodosum property:medical_condition_treated ?i . ?i rdf:type ontology:disease } } . FILTER ( ?n = ?g ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:medical_condition_treated ?t . ?t rdf:type ontology:disease . ?y rdf:type ontology:drug } GROUP BY ?t } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41576
P366
Q3773693
USER
Which kitchen utensil has its main utilization as cocaine ?
(c(Q3773693),P366,Q41576)
action filter_type
action find_reverse
entity Q41576
relation P366
type Q3773693
[{'concept': 'Q3773693'}, 'P366', 'Q41576']
SELECT DISTINCT ?o WHERE { ?o property:P366 resource:Q41576 . ?o rdf:type ontology:Q3773693 }
cocaine
action filter_type
action find_reverse
entity cocaine
relation use
type kitchen utensil
[{'concept': 'kitchen utensil'}, 'use', 'cocaine']
SELECT DISTINCT ?o WHERE { ?o property:use resource:cocaine . ?o rdf:type ontology:kitchen_utensil }
[]
kitchen utensil
Q4412786
SYSTEM
cocaine spoon
Q4412786
(c(Q3773693),P366,Q41576)
action filter_type
action find_reverse
entity Q41576
relation P366
type Q3773693
As [ANSWER] has its main utilization as cocaine
[{'concept': 'Q3773693'}, 'P366', 'Q41576']
SELECT DISTINCT ?o WHERE { ?o property:P366 resource:Q41576 . ?o rdf:type ontology:Q3773693 }
cocaine spoon
As cocaine spoon has its main utilization as cocaine
cocaine spoon
action filter_type
action find_reverse
entity cocaine
relation use
type kitchen utensil
[{'concept': 'kitchen utensil'}, 'use', 'cocaine']
SELECT DISTINCT ?o WHERE { ?o property:use resource:cocaine . ?o rdf:type ontology:kitchen_utensil }
[]