Simple Question (Direct)
Simple Question
Q24280982
P702
Q863908
USER
What is the gene that encodes 50S ribosomal protein L18    O3K_02480 ?
(Q24280982,P702,c(Q863908))
action filter_type
action find
entity Q24280982
relation P702
type Q863908
['Q24280982', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?o WHERE { resource:Q24280982 property:P702 ?o . ?o rdf:type ontology:Q863908 }
50S ribosomal protein L18    O3K_02480
action filter_type
action find
entity 50S ribosomal protein L18    O3K_02480
relation encoded by
type nucleic acid sequence
['50S ribosomal protein L18    O3K_02480', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?o WHERE { resource:50S_ribosomal_protein_L18____O3K_02480 property:encoded_by ?o . ?o rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23116387
SYSTEM
50S ribosomal protein L18    O3K_02480
Q23116387
(Q24280982,P702,c(Q863908))
action filter_type
action find
entity Q24280982
relation P702
type Q863908
The gene that encodes 50S ribosomal protein L18 O3K_02480 is gene 50S ribosomal protein L18 O3K 02480
['Q24280982', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?o WHERE { resource:Q24280982 property:P702 ?o . ?o rdf:type ontology:Q863908 }
50S ribosomal protein L18    O3K_02480
The gene that encodes 50S ribosomal protein L18 O3K_02480 is gene 50S ribosomal protein L18 O3K 02480
50S ribosomal protein L18    O3K_02480
action filter_type
action find
entity 50S ribosomal protein L18    O3K_02480
relation encoded by
type nucleic acid sequence
['50S ribosomal protein L18    O3K_02480', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?o WHERE { resource:50S_ribosomal_protein_L18____O3K_02480 property:encoded_by ?o . ?o rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23116387
P688
Q181394
USER
Which nutrient is that nucleic acid sequence an encoding of ?
(Q23116387,P688,c(Q181394))
action filter_type
action find
entity Q23116387
relation P688
type Q181394
['Q23116387', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?n WHERE { resource:Q23116387 property:P688 ?n . ?n rdf:type ontology:Q181394 }
50S ribosomal protein L18    O3K_02480
action filter_type
action find
entity 50S ribosomal protein L18    O3K_02480
relation encodes
type nutrient
['50S ribosomal protein L18    O3K_02480', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?n WHERE { resource:50S_ribosomal_protein_L18____O3K_02480 property:encodes ?n . ?n rdf:type ontology:nutrient }
[]
nutrient
Q24280982
SYSTEM
50S ribosomal protein L18    O3K_02480
Q24280982
(Q23116387,P688,c(Q181394))
action filter_type
action find
entity Q23116387
relation P688
type Q181394
50S ribosomal protein L18 O3K 02480 is that nucleic acid sequence an encoding of
['Q23116387', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?n WHERE { resource:Q23116387 property:P688 ?n . ?n rdf:type ontology:Q181394 }
50S ribosomal protein L18    O3K_02480
50S ribosomal protein L18 O3K 02480 is that nucleic acid sequence an encoding of
50S ribosomal protein L18    O3K_02480
action filter_type
action find
entity 50S ribosomal protein L18    O3K_02480
relation encodes
type nutrient
['50S ribosomal protein L18    O3K_02480', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?n WHERE { resource:50S_ribosomal_protein_L18____O3K_02480 property:encodes ?n . ?n rdf:type ontology:nutrient }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q8386 Q181394
USER
Which nutrients communicates with approximately 37 nutrients or drugs ?
(c(Q181394),P129,c(Q181394)|c(Q8386))
action approx
action union
action find_tuple_counts
relation P129
type Q181394
type Q181394
action find_tuple_counts
relation P129
type Q181394
type Q8386
value 37
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q181394'}, {'concept': 'Q8386'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?z ) WHERE { { ?n property:P129 ?l . ?n rdf:type ontology:Q181394 . ?l rdf:type ontology:Q181394 } UNION { ?n property:P129 ?l . ?n rdf:type ontology:Q181394 . ?l rdf:type ontology:Q8386 } } GROUP BY ?n } . FILTER ( ?z = 37 ) }
action approx
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
value 37
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'nutrient'}, {'concept': 'drug'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?z ) WHERE { { ?n property:physically_interacts_with ?l . ?n rdf:type ontology:nutrient . ?l rdf:type ontology:nutrient } UNION { ?n property:physically_interacts_with ?l . ?n rdf:type ontology:nutrient . ?l rdf:type ontology:drug } } GROUP BY ?n } . FILTER ( ?z = 37 ) }
[]
nutrient drug nutrient
Q2034004 Q21108118 Q21115043
SYSTEM
D(2) dopamine receptor, 5-hydroxytryptamine receptor 2C, 5-hydroxytryptamine receptor 1A
Q309513 Q21108118 Q21115043 Q2034004
(c(Q181394),P129,c(Q181394)|c(Q8386))
action approx
action union
action find_tuple_counts
relation P129
type Q181394
type Q181394
action find_tuple_counts
relation P129
type Q181394
type Q8386
value 37
[ANSWERS] communicate with approximately 37 nutrients or drugs
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q181394'}, {'concept': 'Q8386'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?z ) WHERE { { ?n property:P129 ?l . ?n rdf:type ontology:Q181394 . ?l rdf:type ontology:Q181394 } UNION { ?n property:P129 ?l . ?n rdf:type ontology:Q181394 . ?l rdf:type ontology:Q8386 } } GROUP BY ?n } . FILTER ( ?z = 37 ) }
Histamine H1 receptor 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1A D(2) dopamine receptor
D(2) dopamine receptor, 5-hydroxytryptamine receptor 2C and 5-hydroxytryptamine receptor 1A communicate with approximately 37 nutrients or drugs
D(2) dopamine receptor 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1A
action approx
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
value 37
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'nutrient'}, {'concept': 'drug'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?z ) WHERE { { ?n property:physically_interacts_with ?l . ?n rdf:type ontology:nutrient . ?l rdf:type ontology:nutrient } UNION { ?n property:physically_interacts_with ?l . ?n rdf:type ontology:nutrient . ?l rdf:type ontology:drug } } GROUP BY ?n } . FILTER ( ?z = 37 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P129
Q181394 Q8386 Q79529
USER
How many nutrients do approximately the same number of drugs and chemical substances interact with as that nutrient ?
(c(Q8386)|c(Q79529),P129,c(Q181394))
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P129 ?y } UNION { ?x property:P129 ?y } } . ?z rdf:type ontology:Q8386 . ?y rdf:type ontology:Q181394 . ?x rdf:type ontology:Q79529 }
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:physically_interacts_with ?y } UNION { ?x property:physically_interacts_with ?y } } . ?z rdf:type ontology:drug . ?y rdf:type ontology:nutrient . ?x rdf:type ontology:chemical_substance }
[]
nutrient drug chemical substance
Comparative|Count over More/Less|Mult. entity type|Clarification
Q21115043
SYSTEM
Did you mean 5-hydroxytryptamine receptor 1A ?
(c(Q8386)|c(Q79529),P129,c(Q181394))
[ANSWER]
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P129 ?y } UNION { ?x property:P129 ?y } } . ?z rdf:type ontology:Q8386 . ?y rdf:type ontology:Q181394 . ?x rdf:type ontology:Q79529 }
Did you mean 5-hydroxytryptamine receptor 1A ?
5-hydroxytryptamine receptor 1A
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:physically_interacts_with ?y } UNION { ?x property:physically_interacts_with ?y } } . ?z rdf:type ontology:drug . ?y rdf:type ontology:nutrient . ?x rdf:type ontology:chemical_substance }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q8386)|c(Q79529),P129,c(Q181394))
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
[]
SYSTEM
2
Q21108118 Q21115043
(c(Q8386)|c(Q79529),P129,c(Q181394))
[ANSWER]
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P129 ?y } UNION { ?x property:P129 ?y } } . ?z rdf:type ontology:Q8386 . ?y rdf:type ontology:Q181394 . ?x rdf:type ontology:Q79529 }
5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1A
2
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:physically_interacts_with ?y } UNION { ?x property:physically_interacts_with ?y } } . ?z rdf:type ontology:drug . ?y rdf:type ontology:nutrient . ?x rdf:type ontology:chemical_substance }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q79529 Q8386 Q181394
USER
Which nutrients can interact with exactly 19 chemical substances or drugs ?
(c(Q181394),P129,c(Q79529)|c(Q8386))
action equal
action union
action find_tuple_counts
relation P129
type Q181394
type Q79529
action find_tuple_counts
relation P129
type Q181394
type Q8386
value 19
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q79529'}, {'concept': 'Q8386'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:Q79529 ) ( ontology:Q8386 ) } } GROUP BY ?t } . FILTER ( ?r = 19 ) }
action equal
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
value 19
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'chemical substance'}, {'concept': 'drug'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:chemical_substance ) ( ontology:drug ) } } GROUP BY ?t } . FILTER ( ?r = 19 ) }
[]
chemical substance drug nutrient
Q12746120 Q7834290
SYSTEM
Muscarinic acetylcholine receptor M5, Transient receptor potential cation channel subfamily A member 1
Q12746120 Q7834290
(c(Q181394),P129,c(Q79529)|c(Q8386))
action equal
action union
action find_tuple_counts
relation P129
type Q181394
type Q79529
action find_tuple_counts
relation P129
type Q181394
type Q8386
value 19
[ANSWERS] can interact with exactly 19 chemical substances or drugs
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q79529'}, {'concept': 'Q8386'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:Q79529 ) ( ontology:Q8386 ) } } GROUP BY ?t } . FILTER ( ?r = 19 ) }
Muscarinic acetylcholine receptor M5 Transient receptor potential cation channel subfamily A member 1
Muscarinic acetylcholine receptor M5 and Transient receptor potential cation channel subfamily A member 1 can interact with exactly 19 chemical substances or drugs
Muscarinic acetylcholine receptor M5 Transient receptor potential cation channel subfamily A member 1
action equal
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
value 19
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'chemical substance'}, {'concept': 'drug'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:chemical_substance ) ( ontology:drug ) } } GROUP BY ?t } . FILTER ( ?r = 19 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q12746120 Q7834290
P129
Q8386
USER
Which drugs interacts with those nutrients ?
(c(Q8386),P129,Q12746120) (c(Q8386),P129,Q7834290)
action filter_type
action find_reverse
entity prev_answer
relation P129
type Q8386
[{'concept': 'Q8386'}, 'P129', 'Q12746120'] [{'concept': 'Q8386'}, 'P129', 'Q7834290']
SELECT DISTINCT ?d WHERE { ?d property:P129 ?x . ?d rdf:type ontology:Q8386 . VALUES ( ?x ) { ( resource:Q12746120 ) ( resource:Q7834290 ) } }
Muscarinic acetylcholine receptor M5 Transient receptor potential cation channel subfamily A member 1
action filter_type
action find_reverse
entity prev_answer
relation physically interacts with
type drug
[{'concept': 'drug'}, 'physically interacts with', 'Muscarinic acetylcholine receptor M5'] [{'concept': 'drug'}, 'physically interacts with', 'Transient receptor potential cation channel subfamily A member 1']
SELECT DISTINCT ?d WHERE { ?d property:physically_interacts_with ?x . ?d rdf:type ontology:drug . VALUES ( ?x ) { ( resource:Muscarinic_acetylcholine_receptor_M5 ) ( resource:Transient_receptor_potential_cation_channel_subfamily_A_member_1 ) } }
[]
drug
Q58397 Q190067 Q269111
SYSTEM
amitriptyline, Δ9-tetrahydrocannabinol, apomorphine
Q58397 Q424312 Q419550 Q414914 Q411917 Q411461 Q21011235 Q421230 Q407418 Q190067 Q269111
(c(Q8386),P129,Q12746120) (c(Q8386),P129,Q7834290)
action filter_type
action find_reverse
entity prev_answer
relation P129
type Q8386
[ANSWERS] interact with those nutrients
[{'concept': 'Q8386'}, 'P129', 'Q12746120'] [{'concept': 'Q8386'}, 'P129', 'Q7834290']
SELECT DISTINCT ?d WHERE { ?d property:P129 ?x . ?d rdf:type ontology:Q8386 . VALUES ( ?x ) { ( resource:Q12746120 ) ( resource:Q7834290 ) } }
amitriptyline tolterodine pirenzepine biperiden glycopyrrolate pilocarpine umeclidinium auranofin (-)-menthol Δ9-tetrahydrocannabinol apomorphine
Amitriptyline, Δ9-tetrahydrocannabinol and apomorphine interact with those nutrients
amitriptyline Δ9-tetrahydrocannabinol apomorphine
action filter_type
action find_reverse
entity prev_answer
relation physically interacts with
type drug
[{'concept': 'drug'}, 'physically interacts with', 'Muscarinic acetylcholine receptor M5'] [{'concept': 'drug'}, 'physically interacts with', 'Transient receptor potential cation channel subfamily A member 1']
SELECT DISTINCT ?d WHERE { ?d property:physically_interacts_with ?x . ?d rdf:type ontology:drug . VALUES ( ?x ) { ( resource:Muscarinic_acetylcholine_receptor_M5 ) ( resource:Transient_receptor_potential_cation_channel_subfamily_A_member_1 ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q58397 Q190067 Q269111
P129
Q181394
USER
Which nutrients do amitriptyline, Δ9-tetrahydrocannabinol and apomorphine interact with ?
(Q58397,P129,c(Q181394)) (Q190067,P129,c(Q181394)) (Q269111,P129,c(Q181394))
action union
action filter_type
action find
entity Q58397
relation P129
type Q181394
action filter_type
action find
entity Q190067
relation P129
type Q181394
action filter_type
action find
entity Q269111
relation P129
type Q181394
['Q58397', 'P129', {'concept': 'Q181394'}] ['Q190067', 'P129', {'concept': 'Q181394'}] ['Q269111', 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?b WHERE { { resource:Q190067 property:P129 ?b . ?b rdf:type ontology:Q181394 } UNION { resource:Q58397 property:P129 ?b . ?b rdf:type ontology:Q181394 } }
amitriptyline Δ9-tetrahydrocannabinol apomorphine
action union
action filter_type
action find
entity amitriptyline
relation physically interacts with
type nutrient
action filter_type
action find
entity Δ9-tetrahydrocannabinol
relation physically interacts with
type nutrient
action filter_type
action find
entity apomorphine
relation physically interacts with
type nutrient
['amitriptyline', 'physically interacts with', {'concept': 'nutrient'}] ['Δ9-tetrahydrocannabinol', 'physically interacts with', {'concept': 'nutrient'}] ['apomorphine', 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?b WHERE { { resource:Δ9-tetrahydrocannabinol property:physically_interacts_with ?b . ?b rdf:type ontology:nutrient } UNION { resource:amitriptyline property:physically_interacts_with ?b . ?b rdf:type ontology:nutrient } }
[]
nutrient
Q2034004 Q1949517 Q4639596
SYSTEM
D(2) dopamine receptor, 5-hydroxytryptamine receptor 2A, 5-hydroxytryptamine receptor 2B
Q4847910 Q21497939 Q4847900 Q4847907 Q309513 Q21497881 Q7050954 Q21109363 Q410142 Q2844056 Q12746120 Q21497878 Q21110942 Q21110922 Q21103146 Q21103155 Q21115954 Q7834290 Q21201294 Q7671495 Q21150595 Q21110872 Q4639596 Q1949517 Q21110867 Q4734894 Q4734892 Q308856 Q4734891 Q2034004 Q21115043 Q21108118 Q7834290 Q21131500
(Q58397,P129,c(Q181394)) (Q190067,P129,c(Q181394)) (Q269111,P129,c(Q181394))
action union
action filter_type
action find
entity Q58397
relation P129
type Q181394
action filter_type
action find
entity Q190067
relation P129
type Q181394
action filter_type
action find
entity Q269111
relation P129
type Q181394
[ANSWERS] amitriptyline, Δ9-tetrahydrocannabinol and apomorphine interact with
['Q58397', 'P129', {'concept': 'Q181394'}] ['Q190067', 'P129', {'concept': 'Q181394'}] ['Q269111', 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?b WHERE { { resource:Q190067 property:P129 ?b . ?b rdf:type ontology:Q181394 } UNION { resource:Q58397 property:P129 ?b . ?b rdf:type ontology:Q181394 } }
Muscarinic acetylcholine receptor M2 5-hydroxytryptamine receptor 7 Muscarinic acetylcholine receptor M1 Muscarinic acetylcholine receptor M4 Histamine H1 receptor G protein-activated inward rectifier potassium channel 4 Sodium-dependent noradrenaline transporter 5-hydroxytryptamine receptor 6 Sodium-dependent serotonin transporter Muscarinic acetylcholine receptor M3 Muscarinic acetylcholine receptor M5 G protein-activated inward rectifier potassium channel 2 G-protein coupled receptor 55 N-arachidonyl glycine receptor Glycine receptor subunit alpha-3 Glycine receptor subunit alpha-1 Glycine receptor subunit alpha-2 Transient receptor potential cation channel subfamily A member 1 Cannabinoid receptor 1 Transient receptor potential cation channel subfamily M member 8 Cannabinoid receptor 2 D(3) dopamine receptor 5-hydroxytryptamine receptor 2B 5-hydroxytryptamine receptor 2A D(1A) dopamine receptor Alpha-2B adrenergic receptor Alpha-2A adrenergic receptor D(4) dopamine receptor Alpha-2C adrenergic receptor D(2) dopamine receptor 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2C Transient receptor potential cation channel subfamily A member 1 D(1B) dopamine receptor
D(2) dopamine receptor, 5-hydroxytryptamine receptor 2A and 5-hydroxytryptamine receptor 2B amitriptyline, Δ9-tetrahydrocannabinol and apomorphine interact with
D(2) dopamine receptor 5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 2B
action union
action filter_type
action find
entity amitriptyline
relation physically interacts with
type nutrient
action filter_type
action find
entity Δ9-tetrahydrocannabinol
relation physically interacts with
type nutrient
action filter_type
action find
entity apomorphine
relation physically interacts with
type nutrient
['amitriptyline', 'physically interacts with', {'concept': 'nutrient'}] ['Δ9-tetrahydrocannabinol', 'physically interacts with', {'concept': 'nutrient'}] ['apomorphine', 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?b WHERE { { resource:Δ9-tetrahydrocannabinol property:physically_interacts_with ?b . ?b rdf:type ontology:nutrient } UNION { resource:amitriptyline property:physically_interacts_with ?b . ?b rdf:type ontology:nutrient } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q58397
P2175
Q2057971
USER
Which health problem requires that drug to be prescribed ?
(Q58397,P2175,c(Q2057971))
action filter_type
action find
entity Q58397
relation P2175
type Q2057971
['Q58397', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { resource:Q58397 property:P2175 ?r . ?r rdf:type ontology:Q2057971 }
amitriptyline
action filter_type
action find
entity amitriptyline
relation medical condition treated
type health problem
['amitriptyline', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { resource:amitriptyline property:medical_condition_treated ?r . ?r rdf:type ontology:health_problem }
[]
health problem
Clarification for simple ques.
Q58397
SYSTEM
Did you mean amitriptyline ?
Q2034004 Q1949517 Q4639596
(Q2034004,P2175,c(Q2057971)) (Q1949517,P2175,c(Q2057971)) (Q4639596,P2175,c(Q2057971))
[ANSWER]
['Q2034004', 'P2175', {'concept': 'Q2057971'}] ['Q1949517', 'P2175', {'concept': 'Q2057971'}] ['Q4639596', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { resource:Q58397 property:P2175 ?r . ?r rdf:type ontology:Q2057971 }
D(2) dopamine receptor 5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 2B
Did you mean amitriptyline ?
amitriptyline
['D(2) dopamine receptor', 'medical condition treated', {'concept': 'health problem'}] ['5-hydroxytryptamine receptor 2A', 'medical condition treated', {'concept': 'health problem'}] ['5-hydroxytryptamine receptor 2B', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { resource:amitriptyline property:medical_condition_treated ?r . ?r rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
USER
Yes
(Q58397,P2175,c(Q2057971))
['Q58397', 'P2175', {'concept': 'Q2057971'}]
['amitriptyline', 'medical condition treated', {'concept': 'health problem'}]
[]
Q19000444
SYSTEM
neurotic disorder
Q19000444
(Q58397,P2175,c(Q2057971))
action filter_type
action find
entity Q58397
relation P2175
type Q2057971
Drug [ANSWER] requires that drug to be prescribed
['Q58397', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { resource:Q58397 property:P2175 ?r . ?r rdf:type ontology:Q2057971 }
neurotic disorder
Drug neurotic disorder requires that drug to be prescribed
neurotic disorder
action filter_type
action find
entity amitriptyline
relation medical condition treated
type health problem
['amitriptyline', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { resource:amitriptyline property:medical_condition_treated ?r . ?r rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19000444
P2176
Q8386
USER
Which drugs are used as an antidote for that health problem ?
(Q19000444,P2176,c(Q8386))
action filter_type
action find
entity Q19000444
relation P2176
type Q8386
['Q19000444', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?u WHERE { resource:Q19000444 property:P2176 ?u . ?u rdf:type ontology:Q8386 }
neurotic disorder
action filter_type
action find
entity neurotic disorder
relation drug used for treatment
type drug
['neurotic disorder', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?u WHERE { resource:neurotic_disorder property:drug_used_for_treatment ?u . ?u rdf:type ontology:drug }
[]
drug
Q183011 Q409672 Q423757
SYSTEM
vasopressin, citalopram, escitalopram
Q416791 Q58356 Q422416 Q152763 Q410441 Q201872 Q61387 Q420009 Q409236 Q415744 Q834280 Q319877 Q5104342 Q412194 Q898407 Q2924764 Q183011 Q410346 Q421930 Q1747559 Q411347 Q407308 Q414796 Q423757 Q408265 Q411188 Q58713 Q412443 Q407617 Q421304 Q408432 Q411457 Q408471 Q423498 Q422222 Q244408 Q422112 Q416632 Q420885 Q418361 Q413918 Q58396 Q58397 Q7687250 Q422244 Q2419445 Q410237 Q409672 Q423288 Q471763 Q410358 Q409595
(Q19000444,P2176,c(Q8386))
action filter_type
action find
entity Q19000444
relation P2176
type Q8386
[ANSWERS] are used as an antidote for that health problem
['Q19000444', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?u WHERE { resource:Q19000444 property:P2176 ?u . ?u rdf:type ontology:Q8386 }
Doxepin amoxapine 17β-estradiol Lithium modafinil Olanzapine nortriptyline diazoxide Fluvoxamine riluzole bupropion alprazolam Oxtriphylline buspirone venlafaxine brexpiprazole vasopressin lamotrigine mirtazapine phenelzine amlodipine theophylline temazepam escitalopram Lorazepam aripiprazole clomipramine risperidone sertraline pramipexole protriptyline trazodone Paroxetine trimipramine Digoxin diclofenac methylphenidate nefazodone tranylcypromine maprotiline Isoflurane Imipramine amitriptyline tasimelteon fluoxetine desvenlafaxine clopidogrel citalopram desipramine Aminophylline salbutamol Isocarboxazid
Vasopressin, citalopram and escitalopram are used as an antidote for that health problem
vasopressin citalopram escitalopram
action filter_type
action find
entity neurotic disorder
relation drug used for treatment
type drug
['neurotic disorder', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?u WHERE { resource:neurotic_disorder property:drug_used_for_treatment ?u . ?u rdf:type ontology:drug }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183011 Q409672 Q423757
P129
Q181394
USER
Which nutrients contact those drugs ?
(c(Q181394),P129,Q183011) (c(Q181394),P129,Q409672) (c(Q181394),P129,Q423757)
action filter_type
action find_reverse
entity prev_answer
relation P129
type Q181394
[{'concept': 'Q181394'}, 'P129', 'Q183011'] [{'concept': 'Q181394'}, 'P129', 'Q409672'] [{'concept': 'Q181394'}, 'P129', 'Q423757']
SELECT DISTINCT ?r WHERE { ?r property:P129 ?p . ?r rdf:type ontology:Q181394 . VALUES ( ?p ) { ( resource:Q416791 ) ( resource:Q58356 ) ( resource:Q422416 ) } }
vasopressin citalopram escitalopram
action filter_type
action find_reverse
entity prev_answer
relation physically interacts with
type nutrient
[{'concept': 'nutrient'}, 'physically interacts with', 'vasopressin'] [{'concept': 'nutrient'}, 'physically interacts with', 'citalopram'] [{'concept': 'nutrient'}, 'physically interacts with', 'escitalopram']
SELECT DISTINCT ?r WHERE { ?r property:physically_interacts_with ?p . ?r rdf:type ontology:nutrient . VALUES ( ?p ) { ( resource:Doxepin ) ( resource:amoxapine ) ( resource:17β-estradiol ) } }
[]
nutrient
Q410142 Q410142 Q6590443
SYSTEM
Oxytocin receptor for 3rd, Sodium-dependent serotonin transporter for 1st, 2nd
Q4789588 Q4789584 Q4789587 Q6590443 Q7050954 Q410142 Q410142
(c(Q181394),P129,Q183011) (c(Q181394),P129,Q409672) (c(Q181394),P129,Q423757)
action filter_type
action find_reverse
entity prev_answer
relation P129
type Q181394
[ANSWERS]
[{'concept': 'Q181394'}, 'P129', 'Q183011'] [{'concept': 'Q181394'}, 'P129', 'Q409672'] [{'concept': 'Q181394'}, 'P129', 'Q423757']
SELECT DISTINCT ?r WHERE { ?r property:P129 ?p . ?r rdf:type ontology:Q181394 . VALUES ( ?p ) { ( resource:Q416791 ) ( resource:Q58356 ) ( resource:Q422416 ) } }
Vasopressin V2 receptor Vasopressin V1a receptor Vasopressin V1b receptor Oxytocin receptor Sodium-dependent noradrenaline transporter Sodium-dependent serotonin transporter Sodium-dependent serotonin transporter
Sodium-dependent serotonin transporter, Sodium-dependent serotonin transporter and Oxytocin receptor contact those drugs
Sodium-dependent serotonin transporter Sodium-dependent serotonin transporter Oxytocin receptor
action filter_type
action find_reverse
entity prev_answer
relation physically interacts with
type nutrient
[{'concept': 'nutrient'}, 'physically interacts with', 'vasopressin'] [{'concept': 'nutrient'}, 'physically interacts with', 'citalopram'] [{'concept': 'nutrient'}, 'physically interacts with', 'escitalopram']
SELECT DISTINCT ?r WHERE { ?r property:physically_interacts_with ?p . ?r rdf:type ontology:nutrient . VALUES ( ?p ) { ( resource:Doxepin ) ( resource:amoxapine ) ( resource:17β-estradiol ) } }
[]