Simple Question (Direct)
Simple Question
Q24106101
P681
Q15989253
USER
Which is the part that is a component of diaminopimelate epimerase    NGR_c32280 ?
(Q24106101,P681,c(Q15989253))
action filter_type
action find
entity Q24106101
relation P681
type Q15989253
['Q24106101', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15989253 . resource:Q24106101 property:P681 ?m }
diaminopimelate epimerase    NGR_c32280
action filter_type
action find
entity diaminopimelate epimerase    NGR_c32280
relation cell component
type part
['diaminopimelate epimerase    NGR_c32280', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:part . resource:diaminopimelate_epimerase____NGR_c32280 property:cell_component ?m }
[]
part
Q79899
SYSTEM
cytoplasm
Q79899
(Q24106101,P681,c(Q15989253))
action filter_type
action find
entity Q24106101
relation P681
type Q15989253
[ANSWER] is the part that is a component of diaminopimelate epimerase NGR_c32280
['Q24106101', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15989253 . resource:Q24106101 property:P681 ?m }
cytoplasm
Cytoplasm is the part that is a component of diaminopimelate epimerase NGR_c32280
cytoplasm
action filter_type
action find
entity diaminopimelate epimerase    NGR_c32280
relation cell component
type part
['diaminopimelate epimerase    NGR_c32280', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:part . resource:diaminopimelate_epimerase____NGR_c32280 property:cell_component ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24106101
P702
Q863908
USER
What is the gene that encodes that nutrient ?
(Q79899,P702,c(Q863908))
action filter_type
action find
entity Q24106101
relation P702
type Q863908
['Q79899', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?q WHERE { resource:Q24106101 property:P702 ?q . ?q rdf:type ontology:Q863908 }
diaminopimelate epimerase    NGR_c32280
action filter_type
action find
entity diaminopimelate epimerase    NGR_c32280
relation encoded by
type nucleic acid sequence
['cytoplasm', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?q WHERE { resource:diaminopimelate_epimerase____NGR_c32280 property:encoded_by ?q . ?q rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23321925
SYSTEM
diaminopimelate epimerase    NGR_c32280
Q23321925
(Q79899,P702,c(Q863908))
action filter_type
action find
entity Q24106101
relation P702
type Q863908
The gene that encodes that nutrient is the diaminopimelate epimerase NGR c32280
['Q79899', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?q WHERE { resource:Q24106101 property:P702 ?q . ?q rdf:type ontology:Q863908 }
diaminopimelate epimerase    NGR_c32280
The gene that encodes that nutrient is the diaminopimelate epimerase NGR c32280
diaminopimelate epimerase    NGR_c32280
action filter_type
action find
entity diaminopimelate epimerase    NGR_c32280
relation encoded by
type nucleic acid sequence
['cytoplasm', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?q WHERE { resource:diaminopimelate_epimerase____NGR_c32280 property:encoded_by ?q . ?q rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q14904869 Q79899
P681
Q181394
USER
Which nutrients have cytoplasm and late endosome membrane as their cell component ?
AND((c(Q181394),P681,Q79899), (c(Q181394),P681,Q14904869))
action filter_type
action intersection
action find_reverse
entity Q79899
relation P681
action find_reverse
entity Q14904869
relation P681
type Q181394
{'AND': [[{'concept': 'Q181394'}, 'P681', 'Q79899'], [{'concept': 'Q181394'}, 'P681', 'Q14904869']]}
SELECT DISTINCT ?z WHERE { ?z property:P681 resource:Q79899 . ?z property:P681 resource:Q14904869 . ?z rdf:type ontology:Q181394 }
late endosome membrane cytoplasm
action filter_type
action intersection
action find_reverse
entity cytoplasm
relation cell component
action find_reverse
entity late endosome membrane
relation cell component
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'cell component', 'cytoplasm'], [{'concept': 'nutrient'}, 'cell component', 'late endosome membrane']]}
SELECT DISTINCT ?z WHERE { ?z property:cell_component resource:cytoplasm . ?z property:cell_component resource:late_endosome_membrane . ?z rdf:type ontology:nutrient }
[]
nutrient
Q21990939 Q21433440 Q21125233 Q21986864 Q21985496 Q14914273 Q21120732 Q21172723 Q21992225 Q21495939
SYSTEM
Some of them are Vacuolar protein sorting-associated protein 33B, Charged multivesicular body protein 1b-1, Sorting nexin-16, Sorting nexin-16, Interferon-induced transmembrane protein 3, Mucolipin-1, Vesicle transport through interaction with t-SNAREs homolog 1B, Charged multivesicular body protein 2b, Tumor susceptibility gene 101 protein, Protein LTV1 homolog
Q21497336 Q21991662 Q21111503 Q21111505 Q21495939 Q21127354 Q21494881 Q21125233 Q27553166 Q7187516 Q21986864 Q21126656 Q7923213 Q4051790 Q14914273 Q21991492 Q21990838 Q21990839 Q21125670 Q21126890 Q21433441 Q21433440 Q27552557 Q21990939 Q21097465 Q21120732 Q21981473 Q21981471 Q21980004 Q27549797 Q27549567 Q21114649 Q27547485 Q27551337 Q21135669 Q21130574 Q21123577 Q21124815 Q21125652 Q21988425 Q21992225 Q27547495 Q21991984 Q21494840 Q21991745 Q21133283 Q21172711 Q21172715 Q21992726 Q21992724 Q21992722 Q21992723 Q21116285 Q21992729 Q21114033 Q14914138 Q21111414 Q21987990 Q6714959 Q21986291 Q21154929 Q14901156 Q21172707 Q21992714 Q14908237 Q21980052 Q27549647 Q21990177 Q21136431 Q21985496 Q21499037 Q21117653 Q21136801 Q21154289 Q2851537 Q27547590 Q21132779 Q27549392 Q27552051 Q21097452 Q21121782 Q21497342 Q21497344 Q21497345 Q27551412 Q21111450 Q21499040 Q5205645 Q21172723 Q21992570 Q21172728 Q22677262 Q21986364
AND((c(Q181394),P681,Q79899), (c(Q181394),P681,Q14904869))
action filter_type
action intersection
action find_reverse
entity Q79899
relation P681
action find_reverse
entity Q14904869
relation P681
type Q181394
[ANSWERS]
{'AND': [[{'concept': 'Q181394'}, 'P681', 'Q79899'], [{'concept': 'Q181394'}, 'P681', 'Q14904869']]}
SELECT DISTINCT ?z WHERE { ?z property:P681 resource:Q79899 . ?z property:P681 resource:Q14904869 . ?z rdf:type ontology:Q181394 }
Charged multivesicular body protein 2b Vacuolar-sorting protein SNF8 AP-5 complex subunit mu-1 AP-5 complex subunit sigma-1 Protein LTV1 homolog TIR domain-containing adapter molecule 2 Autophagy-related protein 9A Sorting nexin-16 ESCRT-I subunit protein SRN2 YLR119W Phospholipase D1 Sorting nexin-16 Vacuolar protein sorting-associated protein 37A Vesicle-associated membrane protein 8 High affinity nerve growth factor receptor Mucolipin-1 StAR-related lipid transfer protein 3 Zinc transporter 4 Zinc transporter 3 Vacuolar protein sorting-associated protein 16 homolog Ras-related protein Rab-7a Charged multivesicular body protein 1b-2 Charged multivesicular body protein 1b-1 ubiquitin-binding ESCRT-I subunit protein MVB12 YGR206W Vacuolar protein sorting-associated protein 33B ADP-ribosylation factor-like protein 8B Vesicle transport through interaction with t-SNAREs homolog 1B AP-5 complex subunit sigma-1 AP-5 complex subunit mu-1 Multivesicular body subunit 12A Rag GTPase GTR1 YML121W Snx3p YOR357C StAR-related lipid transfer protein 3 Gtr2p YGR163W Slm4p YBR077C Vacuolar protein sorting-associated protein 33B Charged multivesicular body protein 1b Vacuolar protein sorting-associated protein 4A Zinc transporter 3 Vacuolar protein-sorting-associated protein 36 Vesicle-associated membrane protein 8 Tumor susceptibility gene 101 protein ubiquitin-specific protease DOA4 YDR069C Vacuolar protein sorting-associated protein 37A Annexin A6 Vesicle-associated membrane protein 7 Multivesicular body subunit 12A Charged multivesicular body protein 4a Charged multivesicular body protein 4b Vacuolar protein sorting-associated protein 28 homolog Vacuolar protein-sorting-associated protein 36 Vam6/Vps39-like protein Vacuolar protein sorting-associated protein 4A Vacuolar protein sorting-associated protein 37B Vesicle transport through interaction with t-SNAREs homolog 1B Tumor susceptibility gene 101 protein Natural resistance-associated macrophage protein 2 Vacuolar-sorting protein SNF8 E3 ubiquitin-protein ligase RNF13 Mucolipin-1 Phospholipase D1 Annexin A6 High affinity nerve growth factor receptor Charged multivesicular body protein 4c Vacuolar protein sorting-associated protein 4B Annexin A2 Oxysterol-binding protein-related protein 9 ESCRT-II subunit protein VPS36 YLR417W Vacuolar protein sorting-associated protein 16 homolog Vam6/Vps39-like protein Interferon-induced transmembrane protein 3 ADP-ribosylation factor-like protein 8A Vacuolar protein sorting-associated protein 28 homolog Zinc transporter 4 Vesicle-associated membrane protein 7 Annexin A2 ESCRT-I subunit protein VPS28 YPL065W Protein LTV1 homolog Ltv1p YKL143W Hsv2p YGR223C ADP-ribosylation factor-like protein 8A Oxysterol-binding protein-related protein 9 Charged multivesicular body protein 4c Charged multivesicular body protein 4b Charged multivesicular body protein 2a ubiquitin-binding ESCRT-I subunit protein STP22 YCL008C Vacuolar protein sorting-associated protein 4B ADP-ribosylation factor-like protein 8B Natural resistance-associated macrophage protein 2 Charged multivesicular body protein 2b Vacuolar protein sorting-associated protein 37B Charged multivesicular body protein 3 Charged multivesicular body protein 3 Ras-related protein Rab-7a
Charged multivesicular body protein 2b, Tumor susceptibility gene 101 protein and Protein LTV1 homolog have cytoplasm and late endosome membrane as their cell component
Vacuolar protein sorting-associated protein 33B Charged multivesicular body protein 1b-1 Sorting nexin-16 Sorting nexin-16 Interferon-induced transmembrane protein 3 Mucolipin-1 Vesicle transport through interaction with t-SNAREs homolog 1B Charged multivesicular body protein 2b Tumor susceptibility gene 101 protein Protein LTV1 homolog
action filter_type
action intersection
action find_reverse
entity cytoplasm
relation cell component
action find_reverse
entity late endosome membrane
relation cell component
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'cell component', 'cytoplasm'], [{'concept': 'nutrient'}, 'cell component', 'late endosome membrane']]}
SELECT DISTINCT ?z WHERE { ?z property:cell_component resource:cytoplasm . ?z property:cell_component resource:late_endosome_membrane . ?z rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q21990939
P688
Q863908
USER
How many nucleic acid sequences encode Vacuolar protein sorting-associated protein 33B ?
(c(Q863908),P688,Q21990939)
action count
action filter_type
action find_reverse
entity Q21990939
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21990939']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:P688 resource:Q21990939 . ?q rdf:type ontology:Q863908 }
Vacuolar protein sorting-associated protein 33B
action count
action filter_type
action find_reverse
entity Vacuolar protein sorting-associated protein 33B
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Vacuolar protein sorting-associated protein 33B']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:encodes resource:Vacuolar_protein_sorting-associated_protein_33B . ?q rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
Q18298218
(c(Q863908),P688,Q21990939)
action count
action filter_type
action find_reverse
entity Q21990939
relation P688
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q21990939']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:P688 resource:Q21990939 . ?q rdf:type ontology:Q863908 }
Vps33b
1
action count
action filter_type
action find_reverse
entity Vacuolar protein sorting-associated protein 33B
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Vacuolar protein sorting-associated protein 33B']
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:encodes resource:Vacuolar_protein_sorting-associated_protein_33B . ?q rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P682
Q1190554 Q181394
USER
Which events are max number of nutrients involved in ?
(c(Q181394),P682,Q2996394)
action argmax
action find_reverse_tuple_counts
relation P682
type Q1190554
type Q181394
[{'concept': 'Q181394'}, 'P682', 'Q2996394']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?u ) { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P682 ?s . ?s rdf:type ontology:Q1190554 . ?c rdf:type ontology:Q181394 } GROUP BY ?s } } . { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?x ) WHERE { ?o rdf:type ontology:Q1190554 . ?e rdf:type ontology:Q181394 . ?e property:P682 ?o } GROUP BY ?o } . FILTER ( ?x = ?u ) }
action argmax
action find_reverse_tuple_counts
relation biological process
type event
type nutrient
[{'concept': 'nutrient'}, 'biological process', 'biological process']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?u ) { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:biological_process ?s . ?s rdf:type ontology:event . ?c rdf:type ontology:nutrient } GROUP BY ?s } } . { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?x ) WHERE { ?o rdf:type ontology:event . ?e rdf:type ontology:nutrient . ?e property:biological_process ?o } GROUP BY ?o } . FILTER ( ?x = ?u ) }
[]
event nutrient
Q2996394
SYSTEM
biological process
Q2996394
(c(Q181394),P682,Q2996394)
action argmax
action find_reverse_tuple_counts
relation P682
type Q1190554
type Q181394
Max number of nutrients are a [ANSWER]
[{'concept': 'Q181394'}, 'P682', 'Q2996394']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?u ) { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P682 ?s . ?s rdf:type ontology:Q1190554 . ?c rdf:type ontology:Q181394 } GROUP BY ?s } } . { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?x ) WHERE { ?o rdf:type ontology:Q1190554 . ?e rdf:type ontology:Q181394 . ?e property:P682 ?o } GROUP BY ?o } . FILTER ( ?x = ?u ) }
biological process
Max number of nutrients are a biological process
biological process
action argmax
action find_reverse_tuple_counts
relation biological process
type event
type nutrient
[{'concept': 'nutrient'}, 'biological process', 'biological process']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?u ) { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:biological_process ?s . ?s rdf:type ontology:event . ?c rdf:type ontology:nutrient } GROUP BY ?s } } . { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?x ) WHERE { ?o rdf:type ontology:event . ?e rdf:type ontology:nutrient . ?e property:biological_process ?o } GROUP BY ?o } . FILTER ( ?x = ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21990939
P703
Q16521
USER
Where is Vacuolar protein sorting-associated protein 33B found ?
(Q21990939,P703,c(Q16521))
action filter_type
action find
entity Q21990939
relation P703
type Q16521
['Q21990939', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?l WHERE { resource:Q21990939 property:P703 ?l . ?l rdf:type ontology:Q16521 }
Vacuolar protein sorting-associated protein 33B
action filter_type
action find
entity Vacuolar protein sorting-associated protein 33B
relation found in taxon
type taxon
['Vacuolar protein sorting-associated protein 33B', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?l WHERE { resource:Vacuolar_protein_sorting-associated_protein_33B property:found_in_taxon ?l . ?l rdf:type ontology:taxon }
[]
taxon
Q83310
SYSTEM
Mus musculus
Q83310
(Q21990939,P703,c(Q16521))
action filter_type
action find
entity Q21990939
relation P703
type Q16521
Vacuolar protein sorting-associated protein 33B is found in [ANSWER]
['Q21990939', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?l WHERE { resource:Q21990939 property:P703 ?l . ?l rdf:type ontology:Q16521 }
Mus musculus
Vacuolar protein sorting-associated protein 33B is found in Mus musculus
Mus musculus
action filter_type
action find
entity Vacuolar protein sorting-associated protein 33B
relation found in taxon
type taxon
['Vacuolar protein sorting-associated protein 33B', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?l WHERE { resource:Vacuolar_protein_sorting-associated_protein_33B property:found_in_taxon ?l . ?l rdf:type ontology:taxon }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18049150
Q16521
USER
And what about GPR146?
(Q18049150,P703,c(Q16521))
action filter_type
action find
entity Q18049150
relation P703
type Q16521
['Q18049150', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?u WHERE { resource:Q18049150 property:P703 ?u . ?u rdf:type ontology:Q16521 }
GPR146
action filter_type
action find
entity GPR146
relation found in taxon
type taxon
['GPR146', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?u WHERE { resource:GPR146 property:found_in_taxon ?u . ?u rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q18049150,P703,c(Q16521))
action filter_type
action find
entity Q18049150
relation P703
type Q16521
[ANSWER]
['Q18049150', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?u WHERE { resource:Q18049150 property:P703 ?u . ?u rdf:type ontology:Q16521 }
Homo sapiens
Homo sapiens
action filter_type
action find
entity GPR146
relation found in taxon
type taxon
['GPR146', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?u WHERE { resource:GPR146 property:found_in_taxon ?u . ?u rdf:type ontology:taxon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18049150
P688
Q181394
USER
How many nutrients do GPR146 encode ?
(Q18049150,P688,c(Q181394))
action count
action filter_type
action find
entity Q18049150
relation P688
type Q181394
['Q18049150', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q18049150 property:P688 ?a . ?a rdf:type ontology:Q181394 }
GPR146
action count
action filter_type
action find
entity GPR146
relation encodes
type nutrient
['GPR146', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:GPR146 property:encodes ?a . ?a rdf:type ontology:nutrient }
[]
nutrient
SYSTEM
2
Q21118993 Q21137401
(Q18049150,P688,c(Q181394))
action count
action filter_type
action find
entity Q18049150
relation P688
type Q181394
[ANSWER]
['Q18049150', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q18049150 property:P688 ?a . ?a rdf:type ontology:Q181394 }
Probable G-protein coupled receptor 146 Probable G-protein-coupled receptor 146
2
action count
action filter_type
action find
entity GPR146
relation encodes
type nutrient
['GPR146', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:GPR146 property:encodes ?a . ?a rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q23135368
P688
Q181394
USER
And how about gp27    KPHS_40000?
(Q23135368,P688,c(Q181394))
action count
action filter_type
action find
entity Q23135368
relation P688
type Q181394
['Q23135368', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q23135368 property:P688 ?u . ?u rdf:type ontology:Q181394 }
gp27    KPHS_40000
action count
action filter_type
action find
entity gp27    KPHS_40000
relation encodes
type nutrient
['gp27    KPHS_40000', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:gp27____KPHS_40000 property:encodes ?u . ?u rdf:type ontology:nutrient }
[]
nutrient
SYSTEM
1
Q24272817
(Q23135368,P688,c(Q181394))
action count
action filter_type
action find
entity Q23135368
relation P688
type Q181394
[ANSWER]
['Q23135368', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q23135368 property:P688 ?u . ?u rdf:type ontology:Q181394 }
gp27    KPHS_40000
1
action count
action filter_type
action find
entity gp27    KPHS_40000
relation encodes
type nutrient
['gp27    KPHS_40000', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:gp27____KPHS_40000 property:encodes ?u . ?u rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q23110958
Q181394
USER
And also tell me about N-acetylglucosamine-6-phosphate deacetylase    BF3115?
(Q23110958,P688,c(Q181394))
action count
action filter_type
action find
entity Q23110958
relation P688
type Q181394
['Q23110958', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ontology:Q181394 . resource:Q23110958 property:P688 ?w }
N-acetylglucosamine-6-phosphate deacetylase    BF3115
action count
action filter_type
action find
entity N-acetylglucosamine-6-phosphate deacetylase    BF3115
relation encodes
type nutrient
['N-acetylglucosamine-6-phosphate deacetylase    BF3115', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ontology:nutrient . resource:N-acetylglucosamine-6-phosphate_deacetylase____BF3115 property:encodes ?w }
[]
nutrient
SYSTEM
1
(Q23110958,P688,c(Q181394))
action count
action filter_type
action find
entity Q23110958
relation P688
type Q181394
[ANSWER]
['Q23110958', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ontology:Q181394 . resource:Q23110958 property:P688 ?w }
1
action count
action filter_type
action find
entity N-acetylglucosamine-6-phosphate deacetylase    BF3115
relation encodes
type nutrient
['N-acetylglucosamine-6-phosphate deacetylase    BF3115', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ontology:nutrient . resource:N-acetylglucosamine-6-phosphate_deacetylase____BF3115 property:encodes ?w }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P129
Q181394 Q79529 Q8386
USER
Which nutrients do max number of chemical substances or drugs communicate with ?
(c(Q79529)|c(Q8386),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
[[{'concept': 'Q79529'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?i WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:Q79529 ) ( ontology:Q8386 ) } } GROUP BY ?i } . FILTER ( ?h = ?r ) . { SELECT DISTINCT ( MAX ( ?a ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) ?k WHERE { { ?n property:P129 ?k . ?k rdf:type ontology:Q181394 . ?n rdf:type ontology:Q79529 } UNION { ?n property:P129 ?k . ?k rdf:type ontology:Q181394 . ?n rdf:type ontology:Q8386 } } GROUP BY ?k } } }
action argmax
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 drug
[[{'concept': 'chemical substance'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?i WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:chemical_substance ) ( ontology:drug ) } } GROUP BY ?i } . FILTER ( ?h = ?r ) . { SELECT DISTINCT ( MAX ( ?a ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) ?k WHERE { { ?n property:physically_interacts_with ?k . ?k rdf:type ontology:nutrient . ?n rdf:type ontology:chemical_substance } UNION { ?n property:physically_interacts_with ?k . ?k rdf:type ontology:nutrient . ?n rdf:type ontology:drug } } GROUP BY ?k } } }
[]
nutrient chemical substance drug
Q1949517
SYSTEM
5-hydroxytryptamine receptor 2A
Q1949517
(c(Q79529)|c(Q8386),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
[ANSWER] max number of chemical substances or drugs communicate with
[[{'concept': 'Q79529'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?i WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:Q79529 ) ( ontology:Q8386 ) } } GROUP BY ?i } . FILTER ( ?h = ?r ) . { SELECT DISTINCT ( MAX ( ?a ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) ?k WHERE { { ?n property:P129 ?k . ?k rdf:type ontology:Q181394 . ?n rdf:type ontology:Q79529 } UNION { ?n property:P129 ?k . ?k rdf:type ontology:Q181394 . ?n rdf:type ontology:Q8386 } } GROUP BY ?k } } }
5-hydroxytryptamine receptor 2A
5-hydroxytryptamine receptor 2A max number of chemical substances or drugs communicate with
5-hydroxytryptamine receptor 2A
action argmax
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 drug
[[{'concept': 'chemical substance'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?i WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:chemical_substance ) ( ontology:drug ) } } GROUP BY ?i } . FILTER ( ?h = ?r ) . { SELECT DISTINCT ( MAX ( ?a ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) ?k WHERE { { ?n property:physically_interacts_with ?k . ?k rdf:type ontology:nutrient . ?n rdf:type ontology:chemical_substance } UNION { ?n property:physically_interacts_with ?k . ?k rdf:type ontology:nutrient . ?n rdf:type ontology:drug } } GROUP BY ?k } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22336410 Q1949517
P702
Q863908
USER
Which nucleic acid sequences encode 5-hydroxytryptamine receptor 2A or HipA protein    lpg2369 ?
OR((Q1949517,P702,c(Q863908)), (Q22336410,P702,c(Q863908)))
action filter_type
action union
action find
entity Q1949517
relation P702
action find
entity Q22336410
relation P702
type Q863908
{'OR': [['Q1949517', 'P702', {'concept': 'Q863908'}], ['Q22336410', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q1949517 property:P702 ?m } UNION { resource:Q22336410 property:P702 ?m } } . ?m rdf:type ontology:Q863908 }
HipA protein    lpg2369 5-hydroxytryptamine receptor 2A
action filter_type
action union
action find
entity 5-hydroxytryptamine receptor 2A
relation encoded by
action find
entity HipA protein    lpg2369
relation encoded by
type nucleic acid sequence
{'OR': [['5-hydroxytryptamine receptor 2A', 'encoded by', {'concept': 'nucleic acid sequence'}], ['HipA protein    lpg2369', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?m WHERE { { { resource:5-hydroxytryptamine_receptor_2A property:encoded_by ?m } UNION { resource:HipA_protein____lpg2369 property:encoded_by ?m } } . ?m rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q14891424 Q22333413
SYSTEM
HTR2A, HipA protein    lpg2369
Q14891424 Q22333413
OR((Q1949517,P702,c(Q863908)), (Q22336410,P702,c(Q863908)))
action filter_type
action union
action find
entity Q1949517
relation P702
action find
entity Q22336410
relation P702
type Q863908
[ANSWERS]
{'OR': [['Q1949517', 'P702', {'concept': 'Q863908'}], ['Q22336410', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q1949517 property:P702 ?m } UNION { resource:Q22336410 property:P702 ?m } } . ?m rdf:type ontology:Q863908 }
HTR2A HipA protein    lpg2369
HTR2A and HipA protein lpg2369 encode 5-hydroxytryptamine receptor 2A or HipA protein lpg2369
HTR2A HipA protein    lpg2369
action filter_type
action union
action find
entity 5-hydroxytryptamine receptor 2A
relation encoded by
action find
entity HipA protein    lpg2369
relation encoded by
type nucleic acid sequence
{'OR': [['5-hydroxytryptamine receptor 2A', 'encoded by', {'concept': 'nucleic acid sequence'}], ['HipA protein    lpg2369', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?m WHERE { { { resource:5-hydroxytryptamine_receptor_2A property:encoded_by ?m } UNION { resource:HipA_protein____lpg2369 property:encoded_by ?m } } . ?m rdf:type ontology:nucleic_acid_sequence }
[]