Simple Question (Direct)
Simple Question
Q23447148
P682
Q2996394
USER
What is the biological process that tRNA (guanine-N(1)-)-methyltransferase    CBU_0443 is involved in ?
(Q23447148,P682,c(Q2996394))
action filter_type
action find
entity Q23447148
relation P682
type Q2996394
['Q23447148', 'P682', {'concept': 'Q2996394'}]
SELECT DISTINCT ?t WHERE { resource:Q23447148 property:P682 ?t . ?t rdf:type ontology:Q2996394 }
tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
action filter_type
action find
entity tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
relation biological process
type biological process
['tRNA (guanine-N(1)-)-methyltransferase    CBU_0443', 'biological process', {'concept': 'biological process'}]
SELECT DISTINCT ?t WHERE { resource:tRNA_(guanine-N(1)-)-methyltransferase____CBU_0443 property:biological_process ?t . ?t rdf:type ontology:biological_process }
[]
biological process
Q518328
SYSTEM
methylation
Q518328
(Q23447148,P682,c(Q2996394))
action filter_type
action find
entity Q23447148
relation P682
type Q2996394
[ANSWER]
['Q23447148', 'P682', {'concept': 'Q2996394'}]
SELECT DISTINCT ?t WHERE { resource:Q23447148 property:P682 ?t . ?t rdf:type ontology:Q2996394 }
methylation
methylation
action filter_type
action find
entity tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
relation biological process
type biological process
['tRNA (guanine-N(1)-)-methyltransferase    CBU_0443', 'biological process', {'concept': 'biological process'}]
SELECT DISTINCT ?t WHERE { resource:tRNA_(guanine-N(1)-)-methyltransferase____CBU_0443 property:biological_process ?t . ?t rdf:type ontology:biological_process }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23447148
P688
Q863908
USER
What is the nucleic acid sequence that is encoded by tRNA (guanine-N(1)-)-methyltransferase    CBU_0443 ?
(c(Q863908),P688,Q23447148)
action filter_type
action find_reverse
entity Q23447148
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q23447148']
SELECT DISTINCT ?s WHERE { ?s property:P688 resource:Q23447148 . ?s rdf:type ontology:Q863908 }
tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
action filter_type
action find_reverse
entity tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'tRNA (guanine-N(1)-)-methyltransferase    CBU_0443']
SELECT DISTINCT ?s WHERE { ?s property:encodes resource:tRNA_(guanine-N(1)-)-methyltransferase____CBU_0443 . ?s rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23360102
SYSTEM
tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
Q23360102
(c(Q863908),P688,Q23447148)
action filter_type
action find_reverse
entity Q23447148
relation P688
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q23447148']
SELECT DISTINCT ?s WHERE { ?s property:P688 resource:Q23447148 . ?s rdf:type ontology:Q863908 }
tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
action filter_type
action find_reverse
entity tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'tRNA (guanine-N(1)-)-methyltransferase    CBU_0443']
SELECT DISTINCT ?s WHERE { ?s property:encodes resource:tRNA_(guanine-N(1)-)-methyltransferase____CBU_0443 . ?s rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23360102
P702
Q181394
USER
Which nutrient does that nucleic acid sequence encode ?
(c(Q181394),P702,Q23360102)
action filter_type
action find_reverse
entity Q23360102
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q23360102']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q181394 . ?a property:P702 resource:Q23360102 }
tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
action filter_type
action find_reverse
entity tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'tRNA (guanine-N(1)-)-methyltransferase    CBU_0443']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:nutrient . ?a property:encoded_by resource:tRNA_(guanine-N(1)-)-methyltransferase____CBU_0443 }
[]
nutrient
Q23447148
SYSTEM
tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
Q23447148
(c(Q181394),P702,Q23360102)
action filter_type
action find_reverse
entity Q23360102
relation P702
type Q181394
[ANSWER]
[{'concept': 'Q181394'}, 'P702', 'Q23360102']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q181394 . ?a property:P702 resource:Q23360102 }
tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
action filter_type
action find_reverse
entity tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'tRNA (guanine-N(1)-)-methyltransferase    CBU_0443']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:nutrient . ?a property:encoded_by resource:tRNA_(guanine-N(1)-)-methyltransferase____CBU_0443 }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q23447148 Q23360102 Q24402201
P702
Q863908
USER
Does tRNA (guanine-N(1)-)-methyltransferase    CBU_0443 and LOC102556100 encode Q23447148 ?
(Q23447148,P702,Q23360102) (Q23447148,P702,Q24402201)
action is_in
entity Q23447148
action intersection
action find_reverse
entity Q23360102
relation P702
action find_reverse
entity Q24402201
relation P702
['Q23447148', 'P702', 'Q23360102'] ['Q23447148', 'P702', 'Q24402201']
ASK WHERE { resource:Q23447148 property:P702 resource:Q23360102 . resource:Q23447148 property:P702 resource:Q24402201 }
tRNA (guanine-N(1)-)-methyltransferase    CBU_0443 tRNA (guanine-N(1)-)-methyltransferase    CBU_0443 LOC102556100
action is_in
entity tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
action intersection
action find_reverse
entity tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
relation encoded by
action find_reverse
entity LOC102556100
relation encoded by
['tRNA (guanine-N(1)-)-methyltransferase    CBU_0443', 'encoded by', 'tRNA (guanine-N(1)-)-methyltransferase    CBU_0443'] ['tRNA (guanine-N(1)-)-methyltransferase    CBU_0443', 'encoded by', 'LOC102556100']
ASK WHERE { resource:tRNA_(guanine-N(1)-)-methyltransferase____CBU_0443 property:encoded_by resource:tRNA_(guanine-N(1)-)-methyltransferase____CBU_0443 . resource:tRNA_(guanine-N(1)-)-methyltransferase____CBU_0443 property:encoded_by resource:LOC102556100 }
[]
nucleic acid sequence
SYSTEM
YES and NO respectively
(Q23447148,P702,Q23360102) (Q23447148,P702,Q24402201)
action is_in
entity Q23447148
action intersection
action find_reverse
entity Q23360102
relation P702
action find_reverse
entity Q24402201
relation P702
[ANSWER]
['Q23447148', 'P702', 'Q23360102'] ['Q23447148', 'P702', 'Q24402201']
ASK WHERE { resource:Q23447148 property:P702 resource:Q23360102 . resource:Q23447148 property:P702 resource:Q24402201 }
YES and NO respectively
action is_in
entity tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
action intersection
action find_reverse
entity tRNA (guanine-N(1)-)-methyltransferase    CBU_0443
relation encoded by
action find_reverse
entity LOC102556100
relation encoded by
['tRNA (guanine-N(1)-)-methyltransferase    CBU_0443', 'encoded by', 'tRNA (guanine-N(1)-)-methyltransferase    CBU_0443'] ['tRNA (guanine-N(1)-)-methyltransferase    CBU_0443', 'encoded by', 'LOC102556100']
ASK WHERE { resource:tRNA_(guanine-N(1)-)-methyltransferase____CBU_0443 property:encoded_by resource:tRNA_(guanine-N(1)-)-methyltransferase____CBU_0443 . resource:tRNA_(guanine-N(1)-)-methyltransferase____CBU_0443 property:encoded_by resource:LOC102556100 }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q8386 Q79529
USER
Which nutrients do atleast 48 drugs and chemical substances communicate with ?
(c(Q8386)|c(Q79529),P129,c(Q181394))
action atleast
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 48
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } } GROUP BY ?s } . FILTER ( ?t >= 48 ) }
action atleast
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 48
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:drug ) ( ontology:chemical_substance ) } } GROUP BY ?s } . FILTER ( ?t >= 48 ) }
[]
nutrient drug chemical substance
Q2034004 Q1949517 Q4639596
SYSTEM
D(2) dopamine receptor, 5-hydroxytryptamine receptor 2A, 5-hydroxytryptamine receptor 2B
Q309513 Q288797 Q4639596 Q21108118 Q21115046 Q21115043 Q1949517 Q21109363 Q2034004
(c(Q8386)|c(Q79529),P129,c(Q181394))
action atleast
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 48
[ANSWERS]
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } } GROUP BY ?s } . FILTER ( ?t >= 48 ) }
Histamine H1 receptor 5-hydroxytryptamine receptor 1B 5-hydroxytryptamine receptor 2B 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1D 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 6 D(2) dopamine receptor
D(2) dopamine receptor 5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 2B
action atleast
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 48
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:drug ) ( ontology:chemical_substance ) } } GROUP BY ?s } . FILTER ( ?t >= 48 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q897051
P129
Q8386
USER
Does Lymecycline communicate with those nutrients ?
(Q897051,P129,Q2034004) (Q897051,P129,Q1949517) (Q897051,P129,Q4639596)
action is_in
entity prev_answer
action find
entity Q897051
relation P129
['Q897051', 'P129', 'Q2034004'] ['Q897051', 'P129', 'Q1949517'] ['Q897051', 'P129', 'Q4639596']
ASK WHERE { VALUES ( ?e ) { ( resource:Q309513 ) ( resource:Q288797 ) ( resource:Q4639596 ) } . resource:Q897051 property:P129 ?e }
Lymecycline
action is_in
entity prev_answer
action find
entity Lymecycline
relation physically interacts with
['Lymecycline', 'physically interacts with', 'D(2) dopamine receptor'] ['Lymecycline', 'physically interacts with', '5-hydroxytryptamine receptor 2A'] ['Lymecycline', 'physically interacts with', '5-hydroxytryptamine receptor 2B']
ASK WHERE { VALUES ( ?e ) { ( resource:Histamine_H1_receptor ) ( resource:5-hydroxytryptamine_receptor_1B ) ( resource:5-hydroxytryptamine_receptor_2B ) } . resource:Lymecycline property:physically_interacts_with ?e }
[]
drug
SYSTEM
NO
(Q897051,P129,Q2034004) (Q897051,P129,Q1949517) (Q897051,P129,Q4639596)
action is_in
entity prev_answer
action find
entity Q897051
relation P129
[ANSWER]
['Q897051', 'P129', 'Q2034004'] ['Q897051', 'P129', 'Q1949517'] ['Q897051', 'P129', 'Q4639596']
ASK WHERE { VALUES ( ?e ) { ( resource:Q309513 ) ( resource:Q288797 ) ( resource:Q4639596 ) } . resource:Q897051 property:P129 ?e }
No
action is_in
entity prev_answer
action find
entity Lymecycline
relation physically interacts with
['Lymecycline', 'physically interacts with', 'D(2) dopamine receptor'] ['Lymecycline', 'physically interacts with', '5-hydroxytryptamine receptor 2A'] ['Lymecycline', 'physically interacts with', '5-hydroxytryptamine receptor 2B']
ASK WHERE { VALUES ( ?e ) { ( resource:Histamine_H1_receptor ) ( resource:5-hydroxytryptamine_receptor_1B ) ( resource:5-hydroxytryptamine_receptor_2B ) } . resource:Lymecycline property:physically_interacts_with ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P682
Q1057 Q181394
USER
How many metabolic processes are around 2859 nutrients involved in ?
(c(Q181394),P682,c(Q1057))
action count
action approx
action find_reverse_tuple_counts
relation P682
type Q1057
type Q181394
value 2859
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { FILTER ( ?d = 2859 ) . { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P682 ?l . ?g rdf:type ontology:Q181394 . ?l rdf:type ontology:Q1057 } GROUP BY ?l } }
action count
action approx
action find_reverse_tuple_counts
relation biological process
type metabolic process
type nutrient
value 2859
[{'concept': 'nutrient'}, 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { FILTER ( ?d = 2859 ) . { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:biological_process ?l . ?g rdf:type ontology:nutrient . ?l rdf:type ontology:metabolic_process } GROUP BY ?l } }
[]
metabolic process nutrient
SYSTEM
3
Q14863351 Q14762260 Q14349667
(c(Q181394),P682,c(Q1057))
action count
action approx
action find_reverse_tuple_counts
relation P682
type Q1057
type Q181394
value 2859
[ANSWER]
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { FILTER ( ?d = 2859 ) . { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P682 ?l . ?g rdf:type ontology:Q181394 . ?l rdf:type ontology:Q1057 } GROUP BY ?l } }
signal transduction by protein phosphorylation carbohydrate metabolic process lipid metabolic process
3
action count
action approx
action find_reverse_tuple_counts
relation biological process
type metabolic process
type nutrient
value 2859
[{'concept': 'nutrient'}, 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { FILTER ( ?d = 2859 ) . { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:biological_process ?l . ?g rdf:type ontology:nutrient . ?l rdf:type ontology:metabolic_process } GROUP BY ?l } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q14859628
P682
Q1057 Q181394
USER
Which metabolic processes are a biological processes that more number of nutrients are involved in than cellular lipid metabolic process ?
(c(Q181394),P682,c(Q1057))
action greater
action find_reverse_tuple_counts
relation P682
type Q1057
type Q181394
action count
action filter_type
action find
entity Q14859628
relation P682
type Q1057
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q14859628 property:P682 ?c . ?c rdf:type ontology:Q1057 } } . FILTER ( ?i > ?o ) . { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:P682 ?f . ?f rdf:type ontology:Q1057 . ?y rdf:type ontology:Q181394 } GROUP BY ?f } }
cellular lipid metabolic process
action greater
action find_reverse_tuple_counts
relation biological process
type metabolic process
type nutrient
action count
action filter_type
action find
entity cellular lipid metabolic process
relation biological process
type metabolic process
[{'concept': 'nutrient'}, 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:cellular_lipid_metabolic_process property:biological_process ?c . ?c rdf:type ontology:metabolic_process } } . FILTER ( ?i > ?o ) . { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:biological_process ?f . ?f rdf:type ontology:metabolic_process . ?y rdf:type ontology:nutrient } GROUP BY ?f } }
[]
metabolic process nutrient
Q14905693 Q133895 Q21102358
SYSTEM
translational initiation, tricarboxylic acid cycle, sulfur compound metabolic process
Q14864889 Q14905693 Q14819379 Q133895 Q14863351 Q21102358 Q14880758 Q21761098 Q14762260 Q14916189 Q14349667 Q14349764 Q22274640 Q14863432 Q14358591 Q14859896 Q14864262 Q14819781 Q21124620 Q14860507
(c(Q181394),P682,c(Q1057))
action greater
action find_reverse_tuple_counts
relation P682
type Q1057
type Q181394
action count
action filter_type
action find
entity Q14859628
relation P682
type Q1057
[ANSWERS]
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q14859628 property:P682 ?c . ?c rdf:type ontology:Q1057 } } . FILTER ( ?i > ?o ) . { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:P682 ?f . ?f rdf:type ontology:Q1057 . ?y rdf:type ontology:Q181394 } GROUP BY ?f } }
cellular aromatic compound metabolic process translational initiation one-carbon metabolic process tricarboxylic acid cycle signal transduction by protein phosphorylation sulfur compound metabolic process nucleobase-containing compound metabolic process photosynthesis carbohydrate metabolic process organic acid metabolic process lipid metabolic process oxidation-reduction process cellular biosynthetic process reactive oxygen species metabolic process xenobiotic metabolic process cellular amino acid metabolic process protein metabolic process generation of precursor metabolites and energy transposition, DNA-mediated receptor internalization
translational initiation tricarboxylic acid cycle sulfur compound metabolic process
action greater
action find_reverse_tuple_counts
relation biological process
type metabolic process
type nutrient
action count
action filter_type
action find
entity cellular lipid metabolic process
relation biological process
type metabolic process
[{'concept': 'nutrient'}, 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:cellular_lipid_metabolic_process property:biological_process ?c . ?c rdf:type ontology:metabolic_process } } . FILTER ( ?i > ?o ) . { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:biological_process ?f . ?f rdf:type ontology:metabolic_process . ?y rdf:type ontology:nutrient } GROUP BY ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q21102358
P682
Q1057 Q181394
USER
And also tell me about sulfur compound metabolic process?
(c(Q181394),P682,c(Q1057))
action greater
action find_reverse_tuple_counts
relation P682
type Q1057
type Q181394
action count
action filter_type
action find
entity Q21102358
relation P682
type Q1057
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q21102358 property:P682 ?l . ?l rdf:type ontology:Q1057 } } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:P682 ?r . ?r rdf:type ontology:Q1057 . ?g rdf:type ontology:Q181394 } GROUP BY ?r } }
sulfur compound metabolic process
action greater
action find_reverse_tuple_counts
relation biological process
type metabolic process
type nutrient
action count
action filter_type
action find
entity sulfur compound metabolic process
relation biological process
type metabolic process
[{'concept': 'nutrient'}, 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:sulfur_compound_metabolic_process property:biological_process ?l . ?l rdf:type ontology:metabolic_process } } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:biological_process ?r . ?r rdf:type ontology:metabolic_process . ?g rdf:type ontology:nutrient } GROUP BY ?r } }
[]
metabolic process nutrient
Q14905693 Q133895 Q14762260
SYSTEM
translational initiation, tricarboxylic acid cycle, carbohydrate metabolic process
Q14864889 Q14905693 Q14819379 Q133895 Q14863351 Q14880758 Q21761098 Q14762260 Q14349667 Q14349764 Q14859896 Q14864262 Q21124620
(c(Q181394),P682,c(Q1057))
action greater
action find_reverse_tuple_counts
relation P682
type Q1057
type Q181394
action count
action filter_type
action find
entity Q21102358
relation P682
type Q1057
[ANSWERS]
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q21102358 property:P682 ?l . ?l rdf:type ontology:Q1057 } } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:P682 ?r . ?r rdf:type ontology:Q1057 . ?g rdf:type ontology:Q181394 } GROUP BY ?r } }
cellular aromatic compound metabolic process translational initiation one-carbon metabolic process tricarboxylic acid cycle signal transduction by protein phosphorylation nucleobase-containing compound metabolic process photosynthesis carbohydrate metabolic process lipid metabolic process oxidation-reduction process cellular amino acid metabolic process protein metabolic process transposition, DNA-mediated
translational initiation tricarboxylic acid cycle carbohydrate metabolic process
action greater
action find_reverse_tuple_counts
relation biological process
type metabolic process
type nutrient
action count
action filter_type
action find
entity sulfur compound metabolic process
relation biological process
type metabolic process
[{'concept': 'nutrient'}, 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:sulfur_compound_metabolic_process property:biological_process ?l . ?l rdf:type ontology:metabolic_process } } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:biological_process ?r . ?r rdf:type ontology:metabolic_process . ?g rdf:type ontology:nutrient } GROUP BY ?r } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q544006 Q2034004
P2176 P129
Q8386
USER
Which drugs do D(2) dopamine receptor interact with or are used for treating anxiety disorder ?
OR((Q2034004,P129,c(Q8386)), (Q544006,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q2034004
relation P129
action find
entity Q544006
relation P2176
type Q8386
{'OR': [['Q2034004', 'P129', {'concept': 'Q8386'}], ['Q544006', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q2034004 property:P129 ?b } UNION { resource:Q544006 property:P2176 ?b } } . ?b rdf:type ontology:Q8386 }
anxiety disorder D(2) dopamine receptor
action filter_type
action union
action find
entity D(2) dopamine receptor
relation physically interacts with
action find
entity anxiety disorder
relation drug used for treatment
type drug
{'OR': [['D(2) dopamine receptor', 'physically interacts with', {'concept': 'drug'}], ['anxiety disorder', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?b WHERE { { { resource:D(2)_dopamine_receptor property:physically_interacts_with ?b } UNION { resource:anxiety_disorder property:drug_used_for_treatment ?b } } . ?b rdf:type ontology:drug }
[]
drug
Q319877 Q4927426 Q7702355 Q423520 Q411985 Q407972 Q420350 Q409236 Q415752 Q269111
SYSTEM
Some of them are alprazolam, blonanserin, terguride, perphenazine, rotigotine, chlorpromazine, flupentixol, Fluvoxamine, pergolide, apomorphine
Q58376 Q419822 Q424446 Q423308 Q408588 Q170304 Q5641126 Q423364 Q201872 Q409236 Q205517 Q2359690 Q61387 Q407972 Q412194 Q144085 Q6821618 Q269111 Q424238 Q6590349 Q423520 Q411985 Q2924764 Q4927426 Q567927 Q420590 Q1752915 Q421937 Q4890814 Q422418 Q417204 Q319877 Q414796 Q418351 Q4926102 Q7702355 Q418050 Q413581 Q58614 Q251347 Q178566 Q5102983 Q210402 Q421304 Q412443 Q2149443 Q898407 Q408535 Q418850 Q411188 Q416791 Q226905 Q407617 Q1452256 Q418361 Q221361 Q415850 Q420350 Q415752 Q413486 Q418785 Q412299 Q423071
OR((Q2034004,P129,c(Q8386)), (Q544006,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q2034004
relation P129
action find
entity Q544006
relation P2176
type Q8386
[ANSWERS]
{'OR': [['Q2034004', 'P129', {'concept': 'Q8386'}], ['Q544006', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q2034004 property:P129 ?b } UNION { resource:Q544006 property:P2176 ?b } } . ?b rdf:type ontology:Q8386 }
fluphenazine promazine lisuride cabergoline vilazodone dopamine halazepam propranolol Olanzapine Fluvoxamine ziprasidone prochlorperazine nortriptyline chlorpromazine buspirone pimozide mesoridazine apomorphine domperidone perospirone perphenazine rotigotine brexpiprazole blonanserin pipotiazine ropinirole trifluoperazine hydroxyzine benzquinamide sulpiride levomepromazine alprazolam temazepam meprobamate bromodiphenhydramine terguride sertindole bromocriptine loxapine haloperidol chlordiazepoxide chlormezanone diazepam pramipexole risperidone prazepam venlafaxine quetiapine clorazepate aripiprazole Doxepin zotepine sertraline (-)-sulpiride maprotiline clozapine Amobarbital flupentixol pergolide diphenhydramine amisulpride oxazepam midazolam
alprazolam blonanserin terguride perphenazine rotigotine chlorpromazine flupentixol Fluvoxamine pergolide apomorphine
action filter_type
action union
action find
entity D(2) dopamine receptor
relation physically interacts with
action find
entity anxiety disorder
relation drug used for treatment
type drug
{'OR': [['D(2) dopamine receptor', 'physically interacts with', {'concept': 'drug'}], ['anxiety disorder', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?b WHERE { { { resource:D(2)_dopamine_receptor property:physically_interacts_with ?b } UNION { resource:anxiety_disorder property:drug_used_for_treatment ?b } } . ?b rdf:type ontology:drug }
[]