Simple Question (Direct)
Simple Question
Q27476529
P702
Q863908
USER
Which nucleic acid sequence encodes L-ribulose-5-phosphate 4-epimerase    SDY_4367 ?
(Q27476529,P702,c(Q863908))
action filter_type
action find
entity Q27476529
relation P702
type Q863908
['Q27476529', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?t WHERE { resource:Q27476529 property:P702 ?t . ?t rdf:type ontology:Q863908 }
L-ribulose-5-phosphate 4-epimerase    SDY_4367
action filter_type
action find
entity L-ribulose-5-phosphate 4-epimerase    SDY_4367
relation encoded by
type nucleic acid sequence
['L-ribulose-5-phosphate 4-epimerase    SDY_4367', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?t WHERE { resource:L-ribulose-5-phosphate_4-epimerase____SDY_4367 property:encoded_by ?t . ?t rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23142448
SYSTEM
L-ribulose-5-phosphate 4-epimerase    SDY_4367
Q23142448
(Q27476529,P702,c(Q863908))
action filter_type
action find
entity Q27476529
relation P702
type Q863908
L-ribulose-5-phosphate 4-epimerase SDY 4367 encodes L-ribulose-5-phosphate 4-epimerase SDY_4367
['Q27476529', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?t WHERE { resource:Q27476529 property:P702 ?t . ?t rdf:type ontology:Q863908 }
L-ribulose-5-phosphate 4-epimerase    SDY_4367
L-ribulose-5-phosphate 4-epimerase SDY 4367 encodes L-ribulose-5-phosphate 4-epimerase SDY_4367
L-ribulose-5-phosphate 4-epimerase    SDY_4367
action filter_type
action find
entity L-ribulose-5-phosphate 4-epimerase    SDY_4367
relation encoded by
type nucleic acid sequence
['L-ribulose-5-phosphate 4-epimerase    SDY_4367', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?t WHERE { resource:L-ribulose-5-phosphate_4-epimerase____SDY_4367 property:encoded_by ?t . ?t rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27476529
P703
Q631147
USER
Where is L-ribulose-5-phosphate 4-epimerase    SDY_4367 found ?
(Q27476529,P703,c(Q631147))
action filter_type
action find
entity Q27476529
relation P703
type Q631147
['Q27476529', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?x WHERE { resource:Q27476529 property:P703 ?x . ?x rdf:type ontology:Q631147 }
L-ribulose-5-phosphate 4-epimerase    SDY_4367
action filter_type
action find
entity L-ribulose-5-phosphate 4-epimerase    SDY_4367
relation found in taxon
type infraspecific name
['L-ribulose-5-phosphate 4-epimerase    SDY_4367', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?x WHERE { resource:L-ribulose-5-phosphate_4-epimerase____SDY_4367 property:found_in_taxon ?x . ?x rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102940
SYSTEM
Shigella dysenteriae Sd197
Q21102940
(Q27476529,P703,c(Q631147))
action filter_type
action find
entity Q27476529
relation P703
type Q631147
L-ribulose-5-phosphate 4-epimerase SDY_4367 is found in [ANSWER]
['Q27476529', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?x WHERE { resource:Q27476529 property:P703 ?x . ?x rdf:type ontology:Q631147 }
Shigella dysenteriae Sd197
L-ribulose-5-phosphate 4-epimerase SDY_4367 is found in Shigella dysenteriae Sd197
Shigella dysenteriae Sd197
action filter_type
action find
entity L-ribulose-5-phosphate 4-epimerase    SDY_4367
relation found in taxon
type infraspecific name
['L-ribulose-5-phosphate 4-epimerase    SDY_4367', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?x WHERE { resource:L-ribulose-5-phosphate_4-epimerase____SDY_4367 property:found_in_taxon ?x . ?x rdf:type ontology:infraspecific_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27476529
P688
Q863908
USER
What is the nucleic acid sequence that is encoded by L-ribulose-5-phosphate 4-epimerase    SDY_4367 ?
(c(Q863908),P688,Q27476529)
action filter_type
action find_reverse
entity Q27476529
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q27476529']
SELECT DISTINCT ?i WHERE { ?i property:P688 resource:Q27476529 . ?i rdf:type ontology:Q863908 }
L-ribulose-5-phosphate 4-epimerase    SDY_4367
action filter_type
action find_reverse
entity L-ribulose-5-phosphate 4-epimerase    SDY_4367
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'L-ribulose-5-phosphate 4-epimerase    SDY_4367']
SELECT DISTINCT ?i WHERE { ?i property:encodes resource:L-ribulose-5-phosphate_4-epimerase____SDY_4367 . ?i rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23142448
SYSTEM
L-ribulose-5-phosphate 4-epimerase    SDY_4367
Q23142448
(c(Q863908),P688,Q27476529)
action filter_type
action find_reverse
entity Q27476529
relation P688
type Q863908
The nucleic acid sequence that is encoded by L-ribulose-5-phosphate 4-epimerase SDY_4367 is L-ribulose-5-phosphate 4-epimerase SDY 4367
[{'concept': 'Q863908'}, 'P688', 'Q27476529']
SELECT DISTINCT ?i WHERE { ?i property:P688 resource:Q27476529 . ?i rdf:type ontology:Q863908 }
L-ribulose-5-phosphate 4-epimerase    SDY_4367
The nucleic acid sequence that is encoded by L-ribulose-5-phosphate 4-epimerase SDY_4367 is L-ribulose-5-phosphate 4-epimerase SDY 4367
L-ribulose-5-phosphate 4-epimerase    SDY_4367
action filter_type
action find_reverse
entity L-ribulose-5-phosphate 4-epimerase    SDY_4367
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'L-ribulose-5-phosphate 4-epimerase    SDY_4367']
SELECT DISTINCT ?i WHERE { ?i property:encodes resource:L-ribulose-5-phosphate_4-epimerase____SDY_4367 . ?i rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q27476529
P680
Q44424
USER
How many chemical bonds represents the molecular function of L-ribulose-5-phosphate 4-epimerase    SDY_4367 ?
(Q27476529,P680,c(Q44424))
action count
action filter_type
action find
entity Q27476529
relation P680
type Q44424
['Q27476529', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q27476529 property:P680 ?m . ?m rdf:type ontology:Q44424 }
L-ribulose-5-phosphate 4-epimerase    SDY_4367
action count
action filter_type
action find
entity L-ribulose-5-phosphate 4-epimerase    SDY_4367
relation molecular function
type chemical bond
['L-ribulose-5-phosphate 4-epimerase    SDY_4367', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:L-ribulose-5-phosphate_4-epimerase____SDY_4367 property:molecular_function ?m . ?m rdf:type ontology:chemical_bond }
[]
chemical bond
SYSTEM
2
Q14633865 Q13667380
(Q27476529,P680,c(Q44424))
action count
action filter_type
action find
entity Q27476529
relation P680
type Q44424
[ANSWER]
['Q27476529', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q27476529 property:P680 ?m . ?m rdf:type ontology:Q44424 }
zinc ion binding metal ion binding
2
action count
action filter_type
action find
entity L-ribulose-5-phosphate 4-epimerase    SDY_4367
relation molecular function
type chemical bond
['L-ribulose-5-phosphate 4-epimerase    SDY_4367', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:L-ribulose-5-phosphate_4-epimerase____SDY_4367 property:molecular_function ?m . ?m rdf:type ontology:chemical_bond }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q21992058
P680
Q44424
USER
And what about DBIRD complex subunit ZNF326?
(Q21992058,P680,c(Q44424))
action count
action filter_type
action find
entity Q21992058
relation P680
type Q44424
['Q21992058', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q21992058 property:P680 ?r . ?r rdf:type ontology:Q44424 }
DBIRD complex subunit ZNF326
action count
action filter_type
action find
entity DBIRD complex subunit ZNF326
relation molecular function
type chemical bond
['DBIRD complex subunit ZNF326', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:DBIRD_complex_subunit_ZNF326 property:molecular_function ?r . ?r rdf:type ontology:chemical_bond }
[]
chemical bond
SYSTEM
2
Q14633865 Q13667380
(Q21992058,P680,c(Q44424))
action count
action filter_type
action find
entity Q21992058
relation P680
type Q44424
[ANSWER]
['Q21992058', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q21992058 property:P680 ?r . ?r rdf:type ontology:Q44424 }
zinc ion binding metal ion binding
2
action count
action filter_type
action find
entity DBIRD complex subunit ZNF326
relation molecular function
type chemical bond
['DBIRD complex subunit ZNF326', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:DBIRD_complex_subunit_ZNF326 property:molecular_function ?r . ?r rdf:type ontology:chemical_bond }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q21122211
Q44424
USER
And what about Tripartite motif-containing protein 49D?
(Q21122211,P680,c(Q44424))
action count
action filter_type
action find
entity Q21122211
relation P680
type Q44424
['Q21122211', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:Q44424 . resource:Q21122211 property:P680 ?s }
Tripartite motif-containing protein 49D
action count
action filter_type
action find
entity Tripartite motif-containing protein 49D
relation molecular function
type chemical bond
['Tripartite motif-containing protein 49D', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:chemical_bond . resource:Tripartite_motif-containing_protein_49D property:molecular_function ?s }
[]
chemical bond
SYSTEM
2
(Q21122211,P680,c(Q44424))
action count
action filter_type
action find
entity Q21122211
relation P680
type Q44424
[ANSWER]
['Q21122211', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:Q44424 . resource:Q21122211 property:P680 ?s }
2
action count
action filter_type
action find
entity Tripartite motif-containing protein 49D
relation molecular function
type chemical bond
['Tripartite motif-containing protein 49D', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:chemical_bond . resource:Tripartite_motif-containing_protein_49D property:molecular_function ?s }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q8386 Q79529
USER
Which nutrients do exactly 18 drugs or chemical substances contact 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 18
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?b = 18 ) . { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?b ) WHERE { ?e rdf:type ?u . VALUES ( ?u ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } } GROUP BY ?m } }
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 18
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?b = 18 ) . { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?b ) WHERE { ?e rdf:type ?u . VALUES ( ?u ) { ( ontology:drug ) ( ontology:chemical_substance ) } } GROUP BY ?m } }
[]
nutrient drug chemical substance
Q7834290 Q21126810 Q288382
SYSTEM
Transient receptor potential cation channel subfamily A member 1, Prostaglandin G/H synthase 1, Histamine H4 receptor
Q21116154 Q21126810 Q288382 Q7834290
(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 18
[ANSWERS]
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?b = 18 ) . { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?b ) WHERE { ?e rdf:type ?u . VALUES ( ?u ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } } GROUP BY ?m } }
Adenosine receptor A3 Prostaglandin G/H synthase 1 Histamine H4 receptor Transient receptor potential cation channel subfamily A member 1
Which nutrients exactly 18 drugs or chemical substances contact with
Transient receptor potential cation channel subfamily A member 1 Prostaglandin G/H synthase 1 Histamine H4 receptor
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 18
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?b = 18 ) . { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?b ) WHERE { ?e rdf:type ?u . VALUES ( ?u ) { ( ontology:drug ) ( ontology:chemical_substance ) } } GROUP BY ?m } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P129
Q181394 Q8386 Q79529
USER
How many nutrients do around the same number of drugs and chemical substances contact 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
Q21126810
SYSTEM
Did you mean Prostaglandin G/H synthase 1 ?
(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 Prostaglandin G/H synthase 1 ?
Prostaglandin G/H synthase 1
[[{'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
No, I meant Histamine H4 receptor. Could you tell me the answer for that?
(c(Q8386)|c(Q79529),P129,c(Q181394))
Q288382
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
[]
SYSTEM
60
Q21110942 Q21116154 Q4847910 Q2271947 Q413209 Q2663095 Q21173164 Q21154358 Q21172390 Q1486720 Q287958 Q1084878 Q21126810 Q21109365 Q15323278 Q21110867 Q4847907 Q21116946 Q416601 Q5401857 Q4734887 Q4734886 Q21116162 Q21116164 Q2844056 Q5773155 Q21115334 Q21173406 Q288382 Q5513985 Q415364 Q21114578 Q21114576 Q21131500 Q4897175 Q7673856 Q21115961 Q21115962 Q21115965 Q21497878 Q3062781 Q12746120 Q5629167 Q21115815 Q21115816 Q21115819 Q288395 Q21108125 Q7834290 Q21114585 Q21114582 Q21497939 Q3454531 Q21497937 Q424401 Q21130911 Q21150595 Q15324694 Q21109359 Q5520260
(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 }
G-protein coupled receptor 55 Adenosine receptor A3 Muscarinic acetylcholine receptor M2 Sodium-dependent dopamine transporter Transient receptor potential cation channel subfamily V member 1 Glucocorticoid receptor Carbonic anhydrase 1 Histone deacetylase 3 Vascular endothelial growth factor receptor 2 Glutamate receptor 3 Beta-1 adrenergic receptor Peroxisome proliferator-activated receptor gamma Prostaglandin G/H synthase 1 5-hydroxytryptamine receptor 4 Transient receptor potential cation channel subfamily A member 1 D(1A) dopamine receptor Muscarinic acetylcholine receptor M4 Carbonic anhydrase 12 Androgen receptor Estrogen receptor beta Alpha-1D adrenergic receptor Alpha-1B adrenergic receptor Adenosine receptor A2a Adenosine receptor A2b Muscarinic acetylcholine receptor M3 Histone deacetylase 2 Delta-type opioid receptor Histone deacetylase 8 Histamine H4 receptor Gonadotropin-releasing hormone receptor Prostaglandin G/H synthase 2 Gamma-aminobutyric acid receptor subunit alpha-3 Gamma-aminobutyric acid receptor subunit alpha-5 D(1B) dopamine receptor Beta-3 adrenergic receptor Substance-P receptor Glutamate receptor 1 Glutamate receptor 2 Glutamate receptor 4 G protein-activated inward rectifier potassium channel 2 Adenosine receptor A1 Muscarinic acetylcholine receptor M5 Histone deacetylase 1 Glutamate receptor ionotropic, NMDA 2A Glutamate receptor ionotropic, NMDA 2B Glutamate receptor ionotropic, NMDA 2C Histamine H3 receptor 5-hydroxytryptamine receptor 3A Transient receptor potential cation channel subfamily A member 1 Gamma-aminobutyric acid receptor subunit alpha-6 Gamma-aminobutyric acid receptor subunit alpha-2 5-hydroxytryptamine receptor 7 Mineralocorticoid receptor 5-hydroxytryptamine receptor 5A Epidermal growth factor receptor Glutamate receptor ionotropic, NMDA 2D Cannabinoid receptor 2 Transient receptor potential cation channel subfamily V member 3 5-hydroxytryptamine receptor 5A Gamma-aminobutyric acid receptor subunit alpha-1
60
[[{'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|Min/Max|Mult. entity type
P129
Q181394 Q181394 Q8386
USER
Which nutrients do max number of nutrients or drugs collaborate with ?
(c(Q181394)|c(Q8386),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?r ) { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?k ) { ( ontology:Q181394 ) ( ontology:Q8386 ) } . ?t rdf:type ?k } GROUP BY ?b } } . { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?u ) WHERE { { ?h property:P129 ?x . ?h rdf:type ontology:Q181394 . ?x rdf:type ontology:Q181394 } UNION { ?h property:P129 ?x . ?x rdf:type ontology:Q181394 . ?h rdf:type ontology:Q8386 } } GROUP BY ?x } . FILTER ( ?u = ?r ) }
action argmax
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?r ) { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?k ) { ( ontology:nutrient ) ( ontology:drug ) } . ?t rdf:type ?k } GROUP BY ?b } } . { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?u ) WHERE { { ?h property:physically_interacts_with ?x . ?h rdf:type ontology:nutrient . ?x rdf:type ontology:nutrient } UNION { ?h property:physically_interacts_with ?x . ?x rdf:type ontology:nutrient . ?h rdf:type ontology:drug } } GROUP BY ?x } . FILTER ( ?u = ?r ) }
[]
nutrient nutrient drug
Q1949517
SYSTEM
5-hydroxytryptamine receptor 2A
Q1949517
(c(Q181394)|c(Q8386),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
Max number of nutrients or drugs collaborate with [ANSWER]
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?r ) { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?k ) { ( ontology:Q181394 ) ( ontology:Q8386 ) } . ?t rdf:type ?k } GROUP BY ?b } } . { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?u ) WHERE { { ?h property:P129 ?x . ?h rdf:type ontology:Q181394 . ?x rdf:type ontology:Q181394 } UNION { ?h property:P129 ?x . ?x rdf:type ontology:Q181394 . ?h rdf:type ontology:Q8386 } } GROUP BY ?x } . FILTER ( ?u = ?r ) }
5-hydroxytryptamine receptor 2A
Max number of nutrients or drugs collaborate with 5-hydroxytryptamine receptor 2A
5-hydroxytryptamine receptor 2A
action argmax
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?r ) { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?k ) { ( ontology:nutrient ) ( ontology:drug ) } . ?t rdf:type ?k } GROUP BY ?b } } . { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?u ) WHERE { { ?h property:physically_interacts_with ?x . ?h rdf:type ontology:nutrient . ?x rdf:type ontology:nutrient } UNION { ?h property:physically_interacts_with ?x . ?x rdf:type ontology:nutrient . ?h rdf:type ontology:drug } } GROUP BY ?x } . FILTER ( ?u = ?r ) }
[]