Simple Question (Direct)
Simple Question
Q24268006
P703
Q631147
USER
Where is hypothetical protein    KPHS_04100 found ?
(Q24268006,P703,c(Q631147))
action filter_type
action find
entity Q24268006
relation P703
type Q631147
['Q24268006', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?v WHERE { resource:Q24268006 property:P703 ?v . ?v rdf:type ontology:Q631147 }
hypothetical protein    KPHS_04100
action filter_type
action find
entity hypothetical protein    KPHS_04100
relation found in taxon
type infraspecific name
['hypothetical protein    KPHS_04100', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?v WHERE { resource:hypothetical_protein____KPHS_04100 property:found_in_taxon ?v . ?v rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102939
SYSTEM
Klebsiella pneumoniae subsp. pneumoniae HS11286
Q21102939
(Q24268006,P703,c(Q631147))
action filter_type
action find
entity Q24268006
relation P703
type Q631147
Hypothetical protein KPHS_04100 is found in [ANSWER]
['Q24268006', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?v WHERE { resource:Q24268006 property:P703 ?v . ?v rdf:type ontology:Q631147 }
Klebsiella pneumoniae subsp. pneumoniae HS11286
Hypothetical protein KPHS_04100 is found in Klebsiella pneumoniae subsp. pneumoniae HS11286
Klebsiella pneumoniae subsp. pneumoniae HS11286
action filter_type
action find
entity hypothetical protein    KPHS_04100
relation found in taxon
type infraspecific name
['hypothetical protein    KPHS_04100', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?v WHERE { resource:hypothetical_protein____KPHS_04100 property:found_in_taxon ?v . ?v rdf:type ontology:infraspecific_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24268006
P680
Q44424
USER
What represents the molecular function of that nutrient ?
(Q21102939,P680,c(Q44424))
action filter_type
action find
entity Q24268006
relation P680
type Q44424
['Q21102939', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?z WHERE { resource:Q24268006 property:P680 ?z . ?z rdf:type ontology:Q44424 }
hypothetical protein    KPHS_04100
action filter_type
action find
entity hypothetical protein    KPHS_04100
relation molecular function
type chemical bond
['Klebsiella pneumoniae subsp. pneumoniae HS11286', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?z WHERE { resource:hypothetical_protein____KPHS_04100 property:molecular_function ?z . ?z rdf:type ontology:chemical_bond }
[]
chemical bond
Q13667380
SYSTEM
metal ion binding
Q13667380
(Q21102939,P680,c(Q44424))
action filter_type
action find
entity Q24268006
relation P680
type Q44424
The [ANSWER] represents the molecular function of that nutrient
['Q21102939', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?z WHERE { resource:Q24268006 property:P680 ?z . ?z rdf:type ontology:Q44424 }
metal ion binding
The metal ion binding represents the molecular function of that nutrient
metal ion binding
action filter_type
action find
entity hypothetical protein    KPHS_04100
relation molecular function
type chemical bond
['Klebsiella pneumoniae subsp. pneumoniae HS11286', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?z WHERE { resource:hypothetical_protein____KPHS_04100 property:molecular_function ?z . ?z rdf:type ontology:chemical_bond }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q13667380 Q21136640
P680
Q181394
USER
Does Zinc finger protein 534 have the molecular function that chemical bond ?
(Q21136640,P680,Q13667380)
action is_in
entity Q13667380
action find
entity Q21136640
relation P680
['Q21136640', 'P680', 'Q13667380']
ASK WHERE { resource:Q21136640 property:P680 resource:Q13667380 }
metal ion binding Zinc finger protein 534
action is_in
entity metal ion binding
action find
entity Zinc finger protein 534
relation molecular function
['Zinc finger protein 534', 'molecular function', 'metal ion binding']
ASK WHERE { resource:Zinc_finger_protein_534 property:molecular_function resource:metal_ion_binding }
[]
nutrient
SYSTEM
YES
(Q21136640,P680,Q13667380)
action is_in
entity Q13667380
action find
entity Q21136640
relation P680
[ANSWER]
['Q21136640', 'P680', 'Q13667380']
ASK WHERE { resource:Q21136640 property:P680 resource:Q13667380 }
Yes
action is_in
entity metal ion binding
action find
entity Zinc finger protein 534
relation molecular function
['Zinc finger protein 534', 'molecular function', 'metal ion binding']
ASK WHERE { resource:Zinc_finger_protein_534 property:molecular_function resource:metal_ion_binding }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24268006
P688
Q863908
USER
Which nucleic acid sequence encodes hypothetical protein    KPHS_04100 ?
(c(Q863908),P688,Q24268006)
action filter_type
action find_reverse
entity Q24268006
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q24268006']
SELECT DISTINCT ?p WHERE { ?p property:P688 resource:Q24268006 . ?p rdf:type ontology:Q863908 }
hypothetical protein    KPHS_04100
action filter_type
action find_reverse
entity hypothetical protein    KPHS_04100
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'hypothetical protein    KPHS_04100']
SELECT DISTINCT ?p WHERE { ?p property:encodes resource:hypothetical_protein____KPHS_04100 . ?p rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23122037
SYSTEM
hypothetical protein    KPHS_04100
Q23122037
(c(Q863908),P688,Q24268006)
action filter_type
action find_reverse
entity Q24268006
relation P688
type Q863908
Hypothetical protein KPHS 04100 encodes hypothetical protein KPHS_04100
[{'concept': 'Q863908'}, 'P688', 'Q24268006']
SELECT DISTINCT ?p WHERE { ?p property:P688 resource:Q24268006 . ?p rdf:type ontology:Q863908 }
hypothetical protein    KPHS_04100
Hypothetical protein KPHS 04100 encodes hypothetical protein KPHS_04100
hypothetical protein    KPHS_04100
action filter_type
action find_reverse
entity hypothetical protein    KPHS_04100
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'hypothetical protein    KPHS_04100']
SELECT DISTINCT ?p WHERE { ?p property:encodes resource:hypothetical_protein____KPHS_04100 . ?p rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24268006
P702
Q863908
USER
What is the gene that encodes hypothetical protein    KPHS_04100 ?
(Q24268006,P702,c(Q863908))
action filter_type
action find
entity Q24268006
relation P702
type Q863908
['Q24268006', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?c WHERE { resource:Q24268006 property:P702 ?c . ?c rdf:type ontology:Q863908 }
hypothetical protein    KPHS_04100
action filter_type
action find
entity hypothetical protein    KPHS_04100
relation encoded by
type nucleic acid sequence
['hypothetical protein    KPHS_04100', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?c WHERE { resource:hypothetical_protein____KPHS_04100 property:encoded_by ?c . ?c rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23122037
SYSTEM
hypothetical protein    KPHS_04100
Q23122037
(Q24268006,P702,c(Q863908))
action filter_type
action find
entity Q24268006
relation P702
type Q863908
The gene that encodes hypothetical protein KPHS_04100 is codes hypothetical protein KPHS 04100
['Q24268006', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?c WHERE { resource:Q24268006 property:P702 ?c . ?c rdf:type ontology:Q863908 }
hypothetical protein    KPHS_04100
The gene that encodes hypothetical protein KPHS_04100 is codes hypothetical protein KPHS 04100
hypothetical protein    KPHS_04100
action filter_type
action find
entity hypothetical protein    KPHS_04100
relation encoded by
type nucleic acid sequence
['hypothetical protein    KPHS_04100', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?c WHERE { resource:hypothetical_protein____KPHS_04100 property:encoded_by ?c . ?c rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21113169
Q863908
USER
And how about Gap junction beta-7 protein?
(Q21113169,P702,c(Q863908))
action filter_type
action find
entity Q21113169
relation P702
type Q863908
['Q21113169', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?o WHERE { resource:Q21113169 property:P702 ?o . ?o rdf:type ontology:Q863908 }
Gap junction beta-7 protein
action filter_type
action find
entity Gap junction beta-7 protein
relation encoded by
type nucleic acid sequence
['Gap junction beta-7 protein', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?o WHERE { resource:Gap_junction_beta-7_protein property:encoded_by ?o . ?o rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18056158
SYSTEM
GJB7
Q18056158
(Q21113169,P702,c(Q863908))
action filter_type
action find
entity Q21113169
relation P702
type Q863908
[ANSWER]
['Q21113169', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?o WHERE { resource:Q21113169 property:P702 ?o . ?o rdf:type ontology:Q863908 }
GJB7
GJB7
action filter_type
action find
entity Gap junction beta-7 protein
relation encoded by
type nucleic acid sequence
['Gap junction beta-7 protein', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?o WHERE { resource:Gap_junction_beta-7_protein property:encoded_by ?o . ?o rdf:type ontology:nucleic_acid_sequence }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q21118353
P129
Q181394 Q79529 Q181394
USER
How many nutrients do more number of chemical substances and nutrients interact with than Vascular endothelial growth factor receptor 3 ?
(c(Q79529)|c(Q181394),P129,c(Q181394))
action count
action greater
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action count
action filter_multi_types
action find_reverse
entity Q21118353
relation P129
type Q79529
type Q181394
[[{'concept': 'Q79529'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?e ) WHERE { { ?y property:P129 ?m . ?m rdf:type ontology:Q181394 . ?y rdf:type ontology:Q181394 } UNION { ?y property:P129 ?m . ?m rdf:type ontology:Q181394 . ?y rdf:type ontology:Q79529 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:P129 resource:Q21118353 . { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:Q79529 ) ( ontology:Q181394 ) } } } } . FILTER ( ?e > ?c ) }
Vascular endothelial growth factor receptor 3
action count
action greater
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action count
action filter_multi_types
action find_reverse
entity Vascular endothelial growth factor receptor 3
relation physically interacts with
type chemical substance
type nutrient
[[{'concept': 'chemical substance'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?e ) WHERE { { ?y property:physically_interacts_with ?m . ?m rdf:type ontology:nutrient . ?y rdf:type ontology:nutrient } UNION { ?y property:physically_interacts_with ?m . ?m rdf:type ontology:nutrient . ?y rdf:type ontology:chemical_substance } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:physically_interacts_with resource:Vascular_endothelial_growth_factor_receptor_3 . { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:chemical_substance ) ( ontology:nutrient ) } } } } . FILTER ( ?e > ?c ) }
[]
nutrient chemical substance nutrient
SYSTEM
80
Q21115605 Q21110942 Q21116154 Q309513 Q308856 Q12746346 Q4847910 Q413209 Q21154358 Q5123372 Q21108624 Q288797 Q21172390 Q1486720 Q1084878 Q14900999 Q21109365 Q15323278 Q21110867 Q4847900 Q4847907 Q4639596 Q416601 Q5512777 Q4734884 Q21116162 Q21116164 Q2844056 Q5773155 Q21115334 Q21173406 Q288382 Q4859538 Q21115051 Q21115052 Q21109355 Q4734894 Q21110872 Q4734892 Q21114578 Q21108118 Q4734891 Q21114576 Q21131500 Q21132652 Q7673856 Q21115961 Q21115962 Q21115965 Q8083989 Q311568 Q3062781 Q12746120 Q11071075 Q5629167 Q21115815 Q21115816 Q21115819 Q288395 Q21115046 Q21115043 Q7834290 Q21114585 Q21114582 Q21497939 Q21497937 Q21122435 Q5009781 Q21130911 Q21150595 Q15324694 Q21201294 Q7671477 Q1949517 Q21109363 Q21109359 Q21983336 Q15324415 Q5520260 Q2034004
(c(Q79529)|c(Q181394),P129,c(Q181394))
action count
action greater
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action count
action filter_multi_types
action find_reverse
entity Q21118353
relation P129
type Q79529
type Q181394
[ANSWER]
[[{'concept': 'Q79529'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?e ) WHERE { { ?y property:P129 ?m . ?m rdf:type ontology:Q181394 . ?y rdf:type ontology:Q181394 } UNION { ?y property:P129 ?m . ?m rdf:type ontology:Q181394 . ?y rdf:type ontology:Q79529 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:P129 resource:Q21118353 . { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:Q79529 ) ( ontology:Q181394 ) } } } } . FILTER ( ?e > ?c ) }
Vascular endothelial growth factor receptor 1 G-protein coupled receptor 55 Adenosine receptor A3 Histamine H1 receptor D(4) dopamine receptor Nociceptin receptor Muscarinic acetylcholine receptor M2 Transient receptor potential cation channel subfamily V member 1 Histone deacetylase 3 Mu-type opioid receptor Platelet-derived growth factor receptor beta 5-hydroxytryptamine receptor 1B Vascular endothelial growth factor receptor 2 Glutamate receptor 3 Peroxisome proliferator-activated receptor gamma Kappa-type opioid receptor 5-hydroxytryptamine receptor 4 Transient receptor potential cation channel subfamily A member 1 D(1A) dopamine receptor Muscarinic acetylcholine receptor M1 Muscarinic acetylcholine receptor M4 5-hydroxytryptamine receptor 2B Androgen receptor Gamma-aminobutyric acid receptor subunit alpha-4 Alpha-1A 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 Metabotropic glutamate receptor 2 5-hydroxytryptamine receptor 1E 5-hydroxytryptamine receptor 1F 5-hydroxytryptamine receptor 7 Alpha-2B adrenergic receptor D(3) dopamine receptor Alpha-2A adrenergic receptor Gamma-aminobutyric acid receptor subunit alpha-3 5-hydroxytryptamine receptor 2C Alpha-2C adrenergic receptor Gamma-aminobutyric acid receptor subunit alpha-5 D(1B) dopamine receptor Glucose-dependent insulinotropic receptor Substance-P receptor Glutamate receptor 1 Glutamate receptor 2 Glutamate receptor 4 Kappa-type opioid receptor Histamine H2 receptor Adenosine receptor A1 Muscarinic acetylcholine receptor M5 Trace amine-associated receptor 1 Histone deacetylase 1 Glutamate receptor ionotropic, NMDA 2A Glutamate receptor ionotropic, NMDA 2B Glutamate receptor ionotropic, NMDA 2C Histamine H3 receptor 5-hydroxytryptamine receptor 1D 5-hydroxytryptamine receptor 1A 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 5-hydroxytryptamine receptor 5A Orexin receptor type 2 Receptor-type tyrosine-protein kinase FLT3 Glutamate receptor ionotropic, NMDA 2D Cannabinoid receptor 2 Transient receptor potential cation channel subfamily V member 3 Cannabinoid receptor 1 Transient receptor potential cation channel subfamily M member 2 5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 6 5-hydroxytryptamine receptor 5A Histamine H3 receptor Transient receptor potential cation channel subfamily M member 8 Gamma-aminobutyric acid receptor subunit alpha-1 D(2) dopamine receptor
80
action count
action greater
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action count
action filter_multi_types
action find_reverse
entity Vascular endothelial growth factor receptor 3
relation physically interacts with
type chemical substance
type nutrient
[[{'concept': 'chemical substance'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?e ) WHERE { { ?y property:physically_interacts_with ?m . ?m rdf:type ontology:nutrient . ?y rdf:type ontology:nutrient } UNION { ?y property:physically_interacts_with ?m . ?m rdf:type ontology:nutrient . ?y rdf:type ontology:chemical_substance } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:physically_interacts_with resource:Vascular_endothelial_growth_factor_receptor_3 . { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:chemical_substance ) ( ontology:nutrient ) } } } } . FILTER ( ?e > ?c ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P129
Q181394 Q8386 Q181394
USER
Which nutrients do max number of drugs or nutrients contact with ?
(c(Q8386)|c(Q181394),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
[[{'concept': 'Q8386'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?s WHERE { VALUES ( ?b ) { ( ontology:Q181394 ) ( ontology:Q8386 ) } . ?g rdf:type ?b } GROUP BY ?s } . FILTER ( ?d = ?j ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?p WHERE { { ?u property:P129 ?p . ?p rdf:type ontology:Q181394 . ?u rdf:type ontology:Q181394 } UNION { ?u property:P129 ?p . ?p rdf:type ontology:Q181394 . ?u rdf:type ontology:Q8386 } } GROUP BY ?p } } }
action argmax
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 nutrient
[[{'concept': 'drug'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?s WHERE { VALUES ( ?b ) { ( ontology:nutrient ) ( ontology:drug ) } . ?g rdf:type ?b } GROUP BY ?s } . FILTER ( ?d = ?j ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?p WHERE { { ?u property:physically_interacts_with ?p . ?p rdf:type ontology:nutrient . ?u rdf:type ontology:nutrient } UNION { ?u property:physically_interacts_with ?p . ?p rdf:type ontology:nutrient . ?u rdf:type ontology:drug } } GROUP BY ?p } } }
[]
nutrient drug nutrient
Q1949517
SYSTEM
5-hydroxytryptamine receptor 2A
Q1949517
(c(Q8386)|c(Q181394),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
Which nutrients max number of drugs or nutrients contact with
[[{'concept': 'Q8386'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?s WHERE { VALUES ( ?b ) { ( ontology:Q181394 ) ( ontology:Q8386 ) } . ?g rdf:type ?b } GROUP BY ?s } . FILTER ( ?d = ?j ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?p WHERE { { ?u property:P129 ?p . ?p rdf:type ontology:Q181394 . ?u rdf:type ontology:Q181394 } UNION { ?u property:P129 ?p . ?p rdf:type ontology:Q181394 . ?u rdf:type ontology:Q8386 } } GROUP BY ?p } } }
5-hydroxytryptamine receptor 2A
Which nutrients max number of drugs or nutrients contact with
5-hydroxytryptamine receptor 2A
action argmax
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 nutrient
[[{'concept': 'drug'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?s WHERE { VALUES ( ?b ) { ( ontology:nutrient ) ( ontology:drug ) } . ?g rdf:type ?b } GROUP BY ?s } . FILTER ( ?d = ?j ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?p WHERE { { ?u property:physically_interacts_with ?p . ?p rdf:type ontology:nutrient . ?u rdf:type ontology:nutrient } UNION { ?u property:physically_interacts_with ?p . ?p rdf:type ontology:nutrient . ?u rdf:type ontology:drug } } GROUP BY ?p } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5773160
P129
Q181394 Q8386 Q79529
USER
How many nutrients do more number of drugs and chemical substances interact with than Histone deacetylase 5 ?
(c(Q8386)|c(Q79529),P129,c(Q181394))
action count
action greater
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action count
action filter_multi_types
action find_reverse
entity Q5773160
relation P129
type Q8386
type Q79529
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?t WHERE { ?j rdf:type ?b . VALUES ( ?b ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } } GROUP BY ?t } . FILTER ( ?x > ?s ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:P129 resource:Q5773160 . { { ?v rdf:type ontology:Q79529 } UNION { ?v rdf:type ontology:Q8386 } } } } }
Histone deacetylase 5
action count
action greater
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
action count
action filter_multi_types
action find_reverse
entity Histone deacetylase 5
relation physically interacts with
type drug
type chemical substance
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?t WHERE { ?j rdf:type ?b . VALUES ( ?b ) { ( ontology:drug ) ( ontology:chemical_substance ) } } GROUP BY ?t } . FILTER ( ?x > ?s ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:physically_interacts_with resource:Histone_deacetylase_5 . { { ?v rdf:type ontology:chemical_substance } UNION { ?v rdf:type ontology:drug } } } } }
[]
nutrient drug chemical substance
SYSTEM
112
Q21115605 Q21110942 Q7050954 Q21116154 Q309513 Q21173427 Q308856 Q4847910 Q2271947 Q413209 Q287961 Q2663095 Q21497881 Q21173164 Q21154358 Q5123372 Q21108624 Q410142 Q288797 Q21172390 Q1486720 Q4789588 Q287958 Q1084878 Q21126810 Q14900999 Q7671479 Q7169506 Q415607 Q21109365 Q15323278 Q21110867 Q21122995 Q4847900 Q4847907 Q7671495 Q4639596 Q21116946 Q416601 Q5512777 Q5401858 Q5401857 Q4734884 Q4734887 Q4734886 Q22676679 Q21173381 Q21116162 Q21116164 Q2844056 Q5773155 Q21115334 Q21118353 Q21173406 Q288382 Q21115051 Q21115052 Q909409 Q5513985 Q415364 Q21109355 Q409867 Q4734894 Q21110872 Q4734892 Q21114578 Q3454525 Q21108118 Q4734891 Q21114576 Q21131500 Q4897175 Q7673856 Q21132915 Q21115961 Q21115962 Q21115965 Q8083989 Q21497878 Q311568 Q21122997 Q3062781 Q12746120 Q5629167 Q21115815 Q21115816 Q21115819 Q288395 Q21110532 Q21108125 Q21115046 Q21115043 Q7834290 Q21114585 Q21114582 Q21497939 Q3454531 Q21497937 Q424401 Q5009781 Q21130911 Q21150595 Q15324694 Q21096394 Q21201294 Q7671477 Q1949517 Q21109363 Q21109359 Q15324415 Q5520260 Q2034004
(c(Q8386)|c(Q79529),P129,c(Q181394))
action count
action greater
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action count
action filter_multi_types
action find_reverse
entity Q5773160
relation P129
type Q8386
type Q79529
[ANSWER]
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?t WHERE { ?j rdf:type ?b . VALUES ( ?b ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } } GROUP BY ?t } . FILTER ( ?x > ?s ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:P129 resource:Q5773160 . { { ?v rdf:type ontology:Q79529 } UNION { ?v rdf:type ontology:Q8386 } } } } }
Vascular endothelial growth factor receptor 1 G-protein coupled receptor 55 Sodium-dependent noradrenaline transporter Adenosine receptor A3 Histamine H1 receptor Histone deacetylase 9 D(4) dopamine receptor Muscarinic acetylcholine receptor M2 Sodium-dependent dopamine transporter Transient receptor potential cation channel subfamily V member 1 Beta-2 adrenergic receptor Glucocorticoid receptor G protein-activated inward rectifier potassium channel 4 Carbonic anhydrase 1 Histone deacetylase 3 Mu-type opioid receptor Platelet-derived growth factor receptor beta Sodium-dependent serotonin transporter 5-hydroxytryptamine receptor 1B Vascular endothelial growth factor receptor 2 Glutamate receptor 3 Vasopressin V2 receptor Beta-1 adrenergic receptor Peroxisome proliferator-activated receptor gamma Prostaglandin G/H synthase 1 Kappa-type opioid receptor Transient receptor potential cation channel subfamily M member 3 Peroxisome proliferator-activated receptor alpha 3-hydroxy-3-methylglutaryl-coenzyme A reductase 5-hydroxytryptamine receptor 4 Transient receptor potential cation channel subfamily A member 1 D(1A) dopamine receptor Melatonin receptor type 1A Muscarinic acetylcholine receptor M1 Muscarinic acetylcholine receptor M4 Transient receptor potential cation channel subfamily M member 8 5-hydroxytryptamine receptor 2B Carbonic anhydrase 12 Androgen receptor Gamma-aminobutyric acid receptor subunit alpha-4 Estrogen receptor Estrogen receptor beta Alpha-1A adrenergic receptor Alpha-1D adrenergic receptor Alpha-1B adrenergic receptor Acetylcholinesterase Histone deacetylase 6 Adenosine receptor A2a Adenosine receptor A2b Muscarinic acetylcholine receptor M3 Histone deacetylase 2 Delta-type opioid receptor Vascular endothelial growth factor receptor 3 Histone deacetylase 8 Histamine H4 receptor 5-hydroxytryptamine receptor 1E 5-hydroxytryptamine receptor 1F Mast/stem cell growth factor receptor Kit Gonadotropin-releasing hormone receptor Prostaglandin G/H synthase 2 5-hydroxytryptamine receptor 7 Nuclear receptor subfamily 1 group I member 2 Alpha-2B adrenergic receptor D(3) dopamine receptor Alpha-2A adrenergic receptor Gamma-aminobutyric acid receptor subunit alpha-3 Progesterone receptor 5-hydroxytryptamine receptor 2C Alpha-2C adrenergic receptor Gamma-aminobutyric acid receptor subunit alpha-5 D(1B) dopamine receptor Beta-3 adrenergic receptor Substance-P receptor Carbonic anhydrase 7 Glutamate receptor 1 Glutamate receptor 2 Glutamate receptor 4 Kappa-type opioid receptor G protein-activated inward rectifier potassium channel 2 Histamine H2 receptor Melatonin receptor type 1B 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 Potassium voltage-gated channel subfamily H member 1 5-hydroxytryptamine receptor 3A 5-hydroxytryptamine receptor 1D 5-hydroxytryptamine receptor 1A 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 Receptor-type tyrosine-protein kinase FLT3 Glutamate receptor ionotropic, NMDA 2D Cannabinoid receptor 2 Transient receptor potential cation channel subfamily V member 3 Potassium voltage-gated channel subfamily A member 5 Cannabinoid receptor 1 Transient receptor potential cation channel subfamily M member 2 5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 6 5-hydroxytryptamine receptor 5A Transient receptor potential cation channel subfamily M member 8 Gamma-aminobutyric acid receptor subunit alpha-1 D(2) dopamine receptor
112
action count
action greater
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
action count
action filter_multi_types
action find_reverse
entity Histone deacetylase 5
relation physically interacts with
type drug
type chemical substance
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?t WHERE { ?j rdf:type ?b . VALUES ( ?b ) { ( ontology:drug ) ( ontology:chemical_substance ) } } GROUP BY ?t } . FILTER ( ?x > ?s ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:physically_interacts_with resource:Histone_deacetylase_5 . { { ?v rdf:type ontology:chemical_substance } UNION { ?v rdf:type ontology:drug } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1949517
P681
Q5058355
USER
Which cellular components are the components of 5-hydroxytryptamine receptor 2A ?
(Q1949517,P681,c(Q5058355))
action filter_type
action find
entity Q1949517
relation P681
type Q5058355
['Q1949517', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ?q WHERE { resource:Q1949517 property:P681 ?q . ?q rdf:type ontology:Q5058355 }
5-hydroxytryptamine receptor 2A
action filter_type
action find
entity 5-hydroxytryptamine receptor 2A
relation cell component
type cellular component
['5-hydroxytryptamine receptor 2A', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ?q WHERE { resource:5-hydroxytryptamine_receptor_2A property:cell_component ?q . ?q rdf:type ontology:cellular_component }
[]
cellular component
Q29548 Q14353100
SYSTEM
plasma membrane, cell projection
Q29548 Q14353100
(Q1949517,P681,c(Q5058355))
action filter_type
action find
entity Q1949517
relation P681
type Q5058355
The components of 5-hydroxytryptamine receptor 2A are the [ANSWERS]
['Q1949517', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ?q WHERE { resource:Q1949517 property:P681 ?q . ?q rdf:type ontology:Q5058355 }
plasma membrane cell projection
The components of 5-hydroxytryptamine receptor 2A are the plasma membrane and cell projection
plasma membrane cell projection
action filter_type
action find
entity 5-hydroxytryptamine receptor 2A
relation cell component
type cellular component
['5-hydroxytryptamine receptor 2A', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ?q WHERE { resource:5-hydroxytryptamine_receptor_2A property:cell_component ?q . ?q rdf:type ontology:cellular_component }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P361
Q5058355 Q5058355
USER
Which cellular components are min number of cellular components a part of ?
(c(Q5058355),P361,Q193825)
action argmin
action find_reverse_tuple_counts
relation P361
type Q5058355
type Q5058355
[{'concept': 'Q5058355'}, 'P361', 'Q193825']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?u ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P361 ?f . ?t rdf:type ontology:Q5058355 . ?f rdf:type ontology:Q5058355 } GROUP BY ?f } } . FILTER ( ?r = ?u ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:P361 ?q . ?q rdf:type ontology:Q5058355 . ?v rdf:type ontology:Q5058355 } GROUP BY ?q } }
action argmin
action find_reverse_tuple_counts
relation part of
type cellular component
type cellular component
[{'concept': 'cellular component'}, 'part of', 'extracellular matrix']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?u ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:part_of ?f . ?t rdf:type ontology:cellular_component . ?f rdf:type ontology:cellular_component } GROUP BY ?f } } . FILTER ( ?r = ?u ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:part_of ?q . ?q rdf:type ontology:cellular_component . ?v rdf:type ontology:cellular_component } GROUP BY ?q } }
[]
cellular component cellular component
Q14912978 Q22329159 Q22329076
SYSTEM
mitochondrial nucleoid, ventral disc microtubule array, plastid nucleoid
Q14912978 Q1604780 Q14860843 Q22327683 Q22330482 Q22326188 Q21095183 Q22329159 Q22329397 Q22327884 Q47263 Q14819352 Q22327889 Q14864266 Q21198990 Q776995 Q22328884 Q22329076 Q5419646 Q21126899 Q22325459 Q22327714 Q22327805 Q21107481 Q21102478 Q22327502 Q138639 Q22329104 Q14864857 Q1065756 Q180951 Q14860540 Q6414172
(c(Q5058355),P361,Q193825)
action argmin
action find_reverse_tuple_counts
relation P361
type Q5058355
type Q5058355
[ANSWERS] are min number of cellular components a part of
[{'concept': 'Q5058355'}, 'P361', 'Q193825']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?u ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P361 ?f . ?t rdf:type ontology:Q5058355 . ?f rdf:type ontology:Q5058355 } GROUP BY ?f } } . FILTER ( ?r = ?u ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:P361 ?q . ?q rdf:type ontology:Q5058355 . ?v rdf:type ontology:Q5058355 } GROUP BY ?q } }
mitochondrial nucleoid hemidesmosome nuclear outer membrane eisosome ventral disc supernumerary microtubule array aster dendritic spine head ventral disc microtubule array cluster of actin-based cell projections cellular bud chloroplast respiratory chain cell trailing edge cell-substrate junction periplasmic space neuromuscular junction organellar ribosome plastid nucleoid excitatory synapse cell tip sperm individualization complex coated membrane photosynthetic membrane site of polarized growth other organism cell presynaptic active zone cytoplasmic component peroxisome germ tube cell leading edge melanosome chromatin clathrin-coated pit kinocilium
Mitochondrial nucleoid, ventral disc microtubule array and plastid nucleoid are min number of cellular components a part of
mitochondrial nucleoid ventral disc microtubule array plastid nucleoid
action argmin
action find_reverse_tuple_counts
relation part of
type cellular component
type cellular component
[{'concept': 'cellular component'}, 'part of', 'extracellular matrix']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?u ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:part_of ?f . ?t rdf:type ontology:cellular_component . ?f rdf:type ontology:cellular_component } GROUP BY ?f } } . FILTER ( ?r = ?u ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:part_of ?q . ?q rdf:type ontology:cellular_component . ?v rdf:type ontology:cellular_component } GROUP BY ?q } }
[]