Simple Question (Direct)
Simple Question
Q24267958
P702
Q863908
USER
Which gene encodes putative ABC transporter ATP-binding protein    KPHS_29020 ?
(Q24267958,P702,c(Q863908))
action filter_type
action find
entity Q24267958
relation P702
type Q863908
['Q24267958', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?h WHERE { resource:Q24267958 property:P702 ?h . ?h rdf:type ontology:Q863908 }
putative ABC transporter ATP-binding protein    KPHS_29020
action filter_type
action find
entity putative ABC transporter ATP-binding protein    KPHS_29020
relation encoded by
type nucleic acid sequence
['putative ABC transporter ATP-binding protein    KPHS_29020', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?h WHERE { resource:putative_ABC_transporter_ATP-binding_protein____KPHS_29020 property:encoded_by ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23121940
SYSTEM
putative ABC transporter ATP-binding protein    KPHS_29020
Q23121940
(Q24267958,P702,c(Q863908))
action filter_type
action find
entity Q24267958
relation P702
type Q863908
Putative ABC transporter ATP-binding protein KPHS 29020 encodes putative ABC transporter ATP-binding protein KPHS_29020
['Q24267958', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?h WHERE { resource:Q24267958 property:P702 ?h . ?h rdf:type ontology:Q863908 }
putative ABC transporter ATP-binding protein    KPHS_29020
Putative ABC transporter ATP-binding protein KPHS 29020 encodes putative ABC transporter ATP-binding protein KPHS_29020
putative ABC transporter ATP-binding protein    KPHS_29020
action filter_type
action find
entity putative ABC transporter ATP-binding protein    KPHS_29020
relation encoded by
type nucleic acid sequence
['putative ABC transporter ATP-binding protein    KPHS_29020', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?h WHERE { resource:putative_ABC_transporter_ATP-binding_protein____KPHS_29020 property:encoded_by ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24267958
P703
Q631147
USER
Which taxon does that nutrient belong to ?
(Q23121940,P703,c(Q631147))
action filter_type
action find
entity Q24267958
relation P703
type Q631147
['Q23121940', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q631147 . resource:Q24267958 property:P703 ?k }
putative ABC transporter ATP-binding protein    KPHS_29020
action filter_type
action find
entity putative ABC transporter ATP-binding protein    KPHS_29020
relation found in taxon
type infraspecific name
['putative ABC transporter ATP-binding protein    KPHS_29020', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:infraspecific_name . resource:putative_ABC_transporter_ATP-binding_protein____KPHS_29020 property:found_in_taxon ?k }
[]
infraspecific name
Q21102939
SYSTEM
Klebsiella pneumoniae subsp. pneumoniae HS11286
Q21102939
(Q23121940,P703,c(Q631147))
action filter_type
action find
entity Q24267958
relation P703
type Q631147
That nutrient belongs [ANSWER]
['Q23121940', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q631147 . resource:Q24267958 property:P703 ?k }
Klebsiella pneumoniae subsp. pneumoniae HS11286
That nutrient belongs Klebsiella pneumoniae subsp. pneumoniae HS11286
Klebsiella pneumoniae subsp. pneumoniae HS11286
action filter_type
action find
entity putative ABC transporter ATP-binding protein    KPHS_29020
relation found in taxon
type infraspecific name
['putative ABC transporter ATP-binding protein    KPHS_29020', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:infraspecific_name . resource:putative_ABC_transporter_ATP-binding_protein____KPHS_29020 property:found_in_taxon ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22291613 Q24267958
P688
Q863908
USER
Which nucleic acid sequences encode putative ABC transporter ATP-binding protein    KPHS_29020 or acetyltransferase    TDE2161 ?
OR((c(Q863908),P688,Q24267958), (c(Q863908),P688,Q22291613))
action filter_type
action union
action find_reverse
entity Q24267958
relation P688
action find_reverse
entity Q22291613
relation P688
type Q863908
{'OR': [[{'concept': 'Q863908'}, 'P688', 'Q24267958'], [{'concept': 'Q863908'}, 'P688', 'Q22291613']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q863908 . { ?q property:P688 ?d . VALUES ( ?d ) { ( resource:Q24267958 ) ( resource:Q22291613 ) } } }
acetyltransferase    TDE2161 putative ABC transporter ATP-binding protein    KPHS_29020
action filter_type
action union
action find_reverse
entity putative ABC transporter ATP-binding protein    KPHS_29020
relation encodes
action find_reverse
entity acetyltransferase    TDE2161
relation encodes
type nucleic acid sequence
{'OR': [[{'concept': 'nucleic acid sequence'}, 'encodes', 'putative ABC transporter ATP-binding protein    KPHS_29020'], [{'concept': 'nucleic acid sequence'}, 'encodes', 'acetyltransferase    TDE2161']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:nucleic_acid_sequence . { ?q property:encodes ?d . VALUES ( ?d ) { ( resource:putative_ABC_transporter_ATP-binding_protein____KPHS_29020 ) ( resource:acetyltransferase____TDE2161 ) } } }
[]
nucleic acid sequence
Q23121940 Q22287707
SYSTEM
putative ABC transporter ATP-binding protein    KPHS_29020, acetyltransferase    TDE2161
Q23121940 Q22287707
OR((c(Q863908),P688,Q24267958), (c(Q863908),P688,Q22291613))
action filter_type
action union
action find_reverse
entity Q24267958
relation P688
action find_reverse
entity Q22291613
relation P688
type Q863908
[ANSWERS]
{'OR': [[{'concept': 'Q863908'}, 'P688', 'Q24267958'], [{'concept': 'Q863908'}, 'P688', 'Q22291613']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q863908 . { ?q property:P688 ?d . VALUES ( ?d ) { ( resource:Q24267958 ) ( resource:Q22291613 ) } } }
putative ABC transporter ATP-binding protein    KPHS_29020 acetyltransferase    TDE2161
Putative ABC transporter ATP-binding protein KPHS 29020 and acetyltransferase TDE2161 encode putative ABC transporter ATP-binding protein KPHS_29020 or acetyltransferase TDE2161
putative ABC transporter ATP-binding protein    KPHS_29020 acetyltransferase    TDE2161
action filter_type
action union
action find_reverse
entity putative ABC transporter ATP-binding protein    KPHS_29020
relation encodes
action find_reverse
entity acetyltransferase    TDE2161
relation encodes
type nucleic acid sequence
{'OR': [[{'concept': 'nucleic acid sequence'}, 'encodes', 'putative ABC transporter ATP-binding protein    KPHS_29020'], [{'concept': 'nucleic acid sequence'}, 'encodes', 'acetyltransferase    TDE2161']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:nucleic_acid_sequence . { ?q property:encodes ?d . VALUES ( ?d ) { ( resource:putative_ABC_transporter_ATP-binding_protein____KPHS_29020 ) ( resource:acetyltransferase____TDE2161 ) } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q23121940 Q22287707
P702
Q181394
USER
What gene do putative ABC transporter ATP-binding protein    KPHS_29020 and acetyltransferase    TDE2161 encode ?
(c(Q181394),P702,Q23121940) (c(Q181394),P702,Q22287707)
action union
action filter_type
action find_reverse
entity Q23121940
relation P702
type Q181394
action filter_type
action find_reverse
entity Q22287707
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q23121940'] [{'concept': 'Q181394'}, 'P702', 'Q22287707']
SELECT DISTINCT ?i WHERE { ?i property:P702 ?q . VALUES ( ?q ) { ( resource:Q23121940 ) ( resource:Q22287707 ) } }
putative ABC transporter ATP-binding protein    KPHS_29020 acetyltransferase    TDE2161
action union
action filter_type
action find_reverse
entity putative ABC transporter ATP-binding protein    KPHS_29020
relation encoded by
type nutrient
action filter_type
action find_reverse
entity acetyltransferase    TDE2161
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'putative ABC transporter ATP-binding protein    KPHS_29020'] [{'concept': 'nutrient'}, 'encoded by', 'acetyltransferase    TDE2161']
SELECT DISTINCT ?i WHERE { ?i property:encoded_by ?q . VALUES ( ?q ) { ( resource:putative_ABC_transporter_ATP-binding_protein____KPHS_29020 ) ( resource:acetyltransferase____TDE2161 ) } }
[]
nutrient
Q24267958 Q22291613
SYSTEM
putative ABC transporter ATP-binding protein    KPHS_29020, acetyltransferase    TDE2161
Q24267958 Q22291613
(c(Q181394),P702,Q23121940) (c(Q181394),P702,Q22287707)
action union
action filter_type
action find_reverse
entity Q23121940
relation P702
type Q181394
action filter_type
action find_reverse
entity Q22287707
relation P702
type Q181394
[ANSWERS]
[{'concept': 'Q181394'}, 'P702', 'Q23121940'] [{'concept': 'Q181394'}, 'P702', 'Q22287707']
SELECT DISTINCT ?i WHERE { ?i property:P702 ?q . VALUES ( ?q ) { ( resource:Q23121940 ) ( resource:Q22287707 ) } }
putative ABC transporter ATP-binding protein    KPHS_29020 acetyltransferase    TDE2161
Putative ABC transporter ATP-binding protein KPHS_29020 and acetyltransferase TDE2161 encode the putative ABC transporter ATP-binding protein KPHS 29020 and acetyltransferase TDE2161
putative ABC transporter ATP-binding protein    KPHS_29020 acetyltransferase    TDE2161
action union
action filter_type
action find_reverse
entity putative ABC transporter ATP-binding protein    KPHS_29020
relation encoded by
type nutrient
action filter_type
action find_reverse
entity acetyltransferase    TDE2161
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'putative ABC transporter ATP-binding protein    KPHS_29020'] [{'concept': 'nutrient'}, 'encoded by', 'acetyltransferase    TDE2161']
SELECT DISTINCT ?i WHERE { ?i property:encoded_by ?q . VALUES ( ?q ) { ( resource:putative_ABC_transporter_ATP-binding_protein____KPHS_29020 ) ( resource:acetyltransferase____TDE2161 ) } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P688
Q863908
USER
How many nucleic acid sequences encode that nutrient ?
(c(Q863908),P688,Q24267958)
[{'concept': 'Q863908'}, 'P688', 'Q24267958']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P688 resource:Q24267958 . ?z rdf:type ontology:Q863908 }
[{'concept': 'nucleic acid sequence'}, 'encodes', 'putative ABC transporter ATP-binding protein    KPHS_29020']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:encodes resource:putative_ABC_transporter_ATP-binding_protein____KPHS_29020 . ?z rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Quantitative|Count|Single entity type|Clarification
Q24267958
SYSTEM
Did you mean putative ABC transporter ATP-binding protein    KPHS_29020 ?
(c(Q863908),P688,Q24267958) (c(Q863908),P688,Q22291613)
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q24267958'] [{'concept': 'Q863908'}, 'P688', 'Q22291613']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P688 resource:Q24267958 . ?z rdf:type ontology:Q863908 }
Did you mean putative ABC transporter ATP-binding protein    KPHS_29020 ?
putative ABC transporter ATP-binding protein    KPHS_29020
[{'concept': 'nucleic acid sequence'}, 'encodes', 'putative ABC transporter ATP-binding protein    KPHS_29020'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'acetyltransferase    TDE2161']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:encodes resource:putative_ABC_transporter_ATP-binding_protein____KPHS_29020 . ?z rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q863908),P688,Q24267958)
[{'concept': 'Q863908'}, 'P688', 'Q24267958']
[{'concept': 'nucleic acid sequence'}, 'encodes', 'putative ABC transporter ATP-binding protein    KPHS_29020']
[]
SYSTEM
1
Q23121940
(c(Q863908),P688,Q24267958)
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q24267958']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P688 resource:Q24267958 . ?z rdf:type ontology:Q863908 }
putative ABC transporter ATP-binding protein    KPHS_29020
1
[{'concept': 'nucleic acid sequence'}, 'encodes', 'putative ABC transporter ATP-binding protein    KPHS_29020']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:encodes resource:putative_ABC_transporter_ATP-binding_protein____KPHS_29020 . ?z rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22291613
P682
Q3249551
USER
What is the process that acetyltransferase    TDE2161 is involved in ?
(Q22291613,P682,c(Q3249551))
action filter_type
action find
entity Q22291613
relation P682
type Q3249551
['Q22291613', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q3249551 . resource:Q22291613 property:P682 ?z }
acetyltransferase    TDE2161
action filter_type
action find
entity acetyltransferase    TDE2161
relation biological process
type process
['acetyltransferase    TDE2161', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:process . resource:acetyltransferase____TDE2161 property:biological_process ?z }
[]
process
Q1057
SYSTEM
metabolic process
Q1057
(Q22291613,P682,c(Q3249551))
action filter_type
action find
entity Q22291613
relation P682
type Q3249551
The process that acetyltransferase TDE2161 is involved in is a [ANSWER]
['Q22291613', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q3249551 . resource:Q22291613 property:P682 ?z }
metabolic process
The process that acetyltransferase TDE2161 is involved in is a metabolic process
metabolic process
action filter_type
action find
entity acetyltransferase    TDE2161
relation biological process
type process
['acetyltransferase    TDE2161', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:process . resource:acetyltransferase____TDE2161 property:biological_process ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23495782
Q3249551
USER
And what about hypothetical protein    spr1057?
(Q23495782,P682,c(Q3249551))
action filter_type
action find
entity Q23495782
relation P682
type Q3249551
['Q23495782', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q3249551 . resource:Q23495782 property:P682 ?u }
hypothetical protein    spr1057
action filter_type
action find
entity hypothetical protein    spr1057
relation biological process
type process
['hypothetical protein    spr1057', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:process . resource:hypothetical_protein____spr1057 property:biological_process ?u }
[]
process
Q1057
SYSTEM
metabolic process
Q1057
(Q23495782,P682,c(Q3249551))
action filter_type
action find
entity Q23495782
relation P682
type Q3249551
[ANSWER]
['Q23495782', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q3249551 . resource:Q23495782 property:P682 ?u }
metabolic process
metabolic process
action filter_type
action find
entity hypothetical protein    spr1057
relation biological process
type process
['hypothetical protein    spr1057', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:process . resource:hypothetical_protein____spr1057 property:biological_process ?u }
[]