Simple Question (Direct)
Simple Question
Q23507244
P703
Q631147
USER
Which taxon does glutamine ABC transporter permease and substrate binding protein    L165 belong to ?
(Q23507244,P703,c(Q631147))
action filter_type
action find
entity Q23507244
relation P703
type Q631147
['Q23507244', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?u WHERE { resource:Q23507244 property:P703 ?u . ?u rdf:type ontology:Q631147 }
glutamine ABC transporter permease and substrate binding protein    L165
action filter_type
action find
entity glutamine ABC transporter permease and substrate binding protein    L165
relation found in taxon
type infraspecific name
['glutamine ABC transporter permease and substrate binding protein    L165', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?u WHERE { resource:glutamine_ABC_transporter_permease_and_substrate_binding_protein____L165 property:found_in_taxon ?u . ?u rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102967
SYSTEM
Lactococcus lactis subsp. lactis Il1403
Q21102967
(Q23507244,P703,c(Q631147))
action filter_type
action find
entity Q23507244
relation P703
type Q631147
[ANSWER] glutamine ABC transporter permease and substrate binding protein L165 belongs to
['Q23507244', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?u WHERE { resource:Q23507244 property:P703 ?u . ?u rdf:type ontology:Q631147 }
Lactococcus lactis subsp. lactis Il1403
Lactococcus lactis subsp. lactis Il1403 glutamine ABC transporter permease and substrate binding protein L165 belongs to
Lactococcus lactis subsp. lactis Il1403
action filter_type
action find
entity glutamine ABC transporter permease and substrate binding protein    L165
relation found in taxon
type infraspecific name
['glutamine ABC transporter permease and substrate binding protein    L165', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?u WHERE { resource:glutamine_ABC_transporter_permease_and_substrate_binding_protein____L165 property:found_in_taxon ?u . ?u rdf:type ontology:infraspecific_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23496456
Q631147
USER
And also tell me about hypothetical protein    SPy_1734?
(Q23496456,P703,c(Q631147))
action filter_type
action find
entity Q23496456
relation P703
type Q631147
['Q23496456', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?d WHERE { resource:Q23496456 property:P703 ?d . ?d rdf:type ontology:Q631147 }
hypothetical protein    SPy_1734
action filter_type
action find
entity hypothetical protein    SPy_1734
relation found in taxon
type infraspecific name
['hypothetical protein    SPy_1734', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?d WHERE { resource:hypothetical_protein____SPy_1734 property:found_in_taxon ?d . ?d rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102964
SYSTEM
Streptococcus pyogenes M1 GAS
Q21102964
(Q23496456,P703,c(Q631147))
action filter_type
action find
entity Q23496456
relation P703
type Q631147
[ANSWER]
['Q23496456', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?d WHERE { resource:Q23496456 property:P703 ?d . ?d rdf:type ontology:Q631147 }
Streptococcus pyogenes M1 GAS
Streptococcus pyogenes M1 GAS
action filter_type
action find
entity hypothetical protein    SPy_1734
relation found in taxon
type infraspecific name
['hypothetical protein    SPy_1734', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?d WHERE { resource:hypothetical_protein____SPy_1734 property:found_in_taxon ?d . ?d rdf:type ontology:infraspecific_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q8386 Q181394 Q181394
USER
How many nutrients communicates with exactly 40 drugs or nutrients ?
(c(Q181394),P129,c(Q8386)|c(Q181394))
action count
action equal
action union
action find_tuple_counts
relation P129
type Q181394
type Q8386
action find_tuple_counts
relation P129
type Q181394
type Q181394
value 40
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q8386'}, {'concept': 'Q181394'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { FILTER ( ?w = 40 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?a WHERE { VALUES ( ?d ) { ( ontology:Q8386 ) ( ontology:Q181394 ) } . ?q rdf:type ?d } GROUP BY ?a } }
action count
action equal
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
value 40
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'drug'}, {'concept': 'nutrient'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { FILTER ( ?w = 40 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?a WHERE { VALUES ( ?d ) { ( ontology:drug ) ( ontology:nutrient ) } . ?q rdf:type ?d } GROUP BY ?a } }
[]
drug nutrient nutrient
SYSTEM
1
Q21115043
(c(Q181394),P129,c(Q8386)|c(Q181394))
action count
action equal
action union
action find_tuple_counts
relation P129
type Q181394
type Q8386
action find_tuple_counts
relation P129
type Q181394
type Q181394
value 40
[ANSWER]
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q8386'}, {'concept': 'Q181394'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { FILTER ( ?w = 40 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?a WHERE { VALUES ( ?d ) { ( ontology:Q8386 ) ( ontology:Q181394 ) } . ?q rdf:type ?d } GROUP BY ?a } }
5-hydroxytryptamine receptor 1A
1
action count
action equal
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
value 40
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'drug'}, {'concept': 'nutrient'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { FILTER ( ?w = 40 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?a WHERE { VALUES ( ?d ) { ( ontology:drug ) ( ontology:nutrient ) } . ?q rdf:type ?d } GROUP BY ?a } }
[]
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 3202 nutrients involved in ?
(c(Q181394),P682,c(Q1057))
action count
action approx
action find_reverse_tuple_counts
relation P682
type Q1057
type Q181394
value 3202
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { FILTER ( ?c = 3202 ) . { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?c ) WHERE { ?s rdf:type ontology:Q1057 . ?g rdf:type ontology:Q181394 . ?g property:P682 ?s } GROUP BY ?s } }
action count
action approx
action find_reverse_tuple_counts
relation biological process
type metabolic process
type nutrient
value 3202
[{'concept': 'nutrient'}, 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { FILTER ( ?c = 3202 ) . { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?c ) WHERE { ?s rdf:type ontology:metabolic_process . ?g rdf:type ontology:nutrient . ?g property:biological_process ?s } GROUP BY ?s } }
[]
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 3202
[ANSWER]
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { FILTER ( ?c = 3202 ) . { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?c ) WHERE { ?s rdf:type ontology:Q1057 . ?g rdf:type ontology:Q181394 . ?g property:P682 ?s } GROUP BY ?s } }
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 3202
[{'concept': 'nutrient'}, 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { FILTER ( ?c = 3202 ) . { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?c ) WHERE { ?s rdf:type ontology:metabolic_process . ?g rdf:type ontology:nutrient . ?g property:biological_process ?s } GROUP BY ?s } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24111665 Q23507244
P688
Q863908
USER
Which nucleic acid sequences encode glutamine ABC transporter permease and substrate binding protein    L165 or isoleucyl-tRNA synthetase    SMc00908 ?
OR((c(Q863908),P688,Q23507244), (c(Q863908),P688,Q24111665))
action filter_type
action union
action find_reverse
entity Q23507244
relation P688
action find_reverse
entity Q24111665
relation P688
type Q863908
{'OR': [[{'concept': 'Q863908'}, 'P688', 'Q23507244'], [{'concept': 'Q863908'}, 'P688', 'Q24111665']]}
SELECT DISTINCT ?m WHERE { { ?m property:P688 ?u . VALUES ( ?u ) { ( resource:Q23507244 ) ( resource:Q24111665 ) } } . ?m rdf:type ontology:Q863908 }
isoleucyl-tRNA synthetase    SMc00908 glutamine ABC transporter permease and substrate binding protein    L165
action filter_type
action union
action find_reverse
entity glutamine ABC transporter permease and substrate binding protein    L165
relation encodes
action find_reverse
entity isoleucyl-tRNA synthetase    SMc00908
relation encodes
type nucleic acid sequence
{'OR': [[{'concept': 'nucleic acid sequence'}, 'encodes', 'glutamine ABC transporter permease and substrate binding protein    L165'], [{'concept': 'nucleic acid sequence'}, 'encodes', 'isoleucyl-tRNA synthetase    SMc00908']]}
SELECT DISTINCT ?m WHERE { { ?m property:encodes ?u . VALUES ( ?u ) { ( resource:glutamine_ABC_transporter_permease_and_substrate_binding_protein____L165 ) ( resource:isoleucyl-tRNA_synthetase____SMc00908 ) } } . ?m rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23186569 Q23170000
SYSTEM
glutamine ABC transporter permease and substrate binding protein    L165, isoleucyl-tRNA synthetase    SMc00908
Q23186569 Q23170000
OR((c(Q863908),P688,Q23507244), (c(Q863908),P688,Q24111665))
action filter_type
action union
action find_reverse
entity Q23507244
relation P688
action find_reverse
entity Q24111665
relation P688
type Q863908
[ANSWERS]
{'OR': [[{'concept': 'Q863908'}, 'P688', 'Q23507244'], [{'concept': 'Q863908'}, 'P688', 'Q24111665']]}
SELECT DISTINCT ?m WHERE { { ?m property:P688 ?u . VALUES ( ?u ) { ( resource:Q23507244 ) ( resource:Q24111665 ) } } . ?m rdf:type ontology:Q863908 }
glutamine ABC transporter permease and substrate binding protein    L165 isoleucyl-tRNA synthetase    SMc00908
Glutamine ABC transporter permease and substrate binding protein L165 and isoleucyl-tRNA synthetase SMc00908 encode glutamine ABC transporter permease and substrate binding protein L165 or isoleucyl-tRNA synthetase SMc00908
glutamine ABC transporter permease and substrate binding protein    L165 isoleucyl-tRNA synthetase    SMc00908
action filter_type
action union
action find_reverse
entity glutamine ABC transporter permease and substrate binding protein    L165
relation encodes
action find_reverse
entity isoleucyl-tRNA synthetase    SMc00908
relation encodes
type nucleic acid sequence
{'OR': [[{'concept': 'nucleic acid sequence'}, 'encodes', 'glutamine ABC transporter permease and substrate binding protein    L165'], [{'concept': 'nucleic acid sequence'}, 'encodes', 'isoleucyl-tRNA synthetase    SMc00908']]}
SELECT DISTINCT ?m WHERE { { ?m property:encodes ?u . VALUES ( ?u ) { ( resource:glutamine_ABC_transporter_permease_and_substrate_binding_protein____L165 ) ( resource:isoleucyl-tRNA_synthetase____SMc00908 ) } } . ?m rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q23568910
P688
Q863908
USER
How many nucleic acid sequences encodes potassium efflux transporter    gll0383 ?
(c(Q863908),P688,Q23568910)
action count
action filter_type
action find_reverse
entity Q23568910
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q23568910']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ontology:Q863908 . ?g property:P688 resource:Q23568910 }
potassium efflux transporter    gll0383
action count
action filter_type
action find_reverse
entity potassium efflux transporter    gll0383
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'potassium efflux transporter    gll0383']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ontology:nucleic_acid_sequence . ?g property:encodes resource:potassium_efflux_transporter____gll0383 }
[]
nucleic acid sequence
SYSTEM
1
Q23264549
(c(Q863908),P688,Q23568910)
action count
action filter_type
action find_reverse
entity Q23568910
relation P688
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q23568910']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ontology:Q863908 . ?g property:P688 resource:Q23568910 }
potassium efflux transporter    gll0383
1
action count
action filter_type
action find_reverse
entity potassium efflux transporter    gll0383
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'potassium efflux transporter    gll0383']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ontology:nucleic_acid_sequence . ?g property:encodes resource:potassium_efflux_transporter____gll0383 }
[]