Simple Question (Direct)
Simple Question
Q23445741
P681
Q15989253
USER
Which is the part that is a component of hypothetical protein    HI0594 ?
(Q23445741,P681,c(Q15989253))
action filter_type
action find
entity Q23445741
relation P681
type Q15989253
['Q23445741', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?m WHERE { resource:Q23445741 property:P681 ?m . ?m rdf:type ontology:Q15989253 }
hypothetical protein    HI0594
action filter_type
action find
entity hypothetical protein    HI0594
relation cell component
type part
['hypothetical protein    HI0594', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?m WHERE { resource:hypothetical_protein____HI0594 property:cell_component ?m . ?m rdf:type ontology:part }
[]
part
Q14349455
SYSTEM
membrane
Q14349455
(Q23445741,P681,c(Q15989253))
action filter_type
action find
entity Q23445741
relation P681
type Q15989253
The [ANSWER] is the part that is a component of hypothetical protein HI0594
['Q23445741', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?m WHERE { resource:Q23445741 property:P681 ?m . ?m rdf:type ontology:Q15989253 }
membrane
The membrane is the part that is a component of hypothetical protein HI0594
membrane
action filter_type
action find
entity hypothetical protein    HI0594
relation cell component
type part
['hypothetical protein    HI0594', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?m WHERE { resource:hypothetical_protein____HI0594 property:cell_component ?m . ?m rdf:type ontology:part }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23445741
P688
Q863908
USER
Which nucleic acid sequence encodes hypothetical protein    HI0594 ?
(c(Q863908),P688,Q23445741)
action filter_type
action find_reverse
entity Q23445741
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q23445741']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q863908 . ?s property:P688 resource:Q23445741 }
hypothetical protein    HI0594
action filter_type
action find_reverse
entity hypothetical protein    HI0594
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'hypothetical protein    HI0594']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:nucleic_acid_sequence . ?s property:encodes resource:hypothetical_protein____HI0594 }
[]
nucleic acid sequence
Q23327503
SYSTEM
hypothetical protein    HI0594
Q23327503
(c(Q863908),P688,Q23445741)
action filter_type
action find_reverse
entity Q23445741
relation P688
type Q863908
Hypothetical protein HI0594 encodes hypothetical protein HI0594
[{'concept': 'Q863908'}, 'P688', 'Q23445741']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q863908 . ?s property:P688 resource:Q23445741 }
hypothetical protein    HI0594
Hypothetical protein HI0594 encodes hypothetical protein HI0594
hypothetical protein    HI0594
action filter_type
action find_reverse
entity hypothetical protein    HI0594
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'hypothetical protein    HI0594']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:nucleic_acid_sequence . ?s property:encodes resource:hypothetical_protein____HI0594 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23445741
P703
Q631147
USER
Which infraspecific name is hypothetical protein    HI0594 found in ?
(Q23445741,P703,c(Q631147))
action filter_type
action find
entity Q23445741
relation P703
type Q631147
['Q23445741', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?c WHERE { resource:Q23445741 property:P703 ?c . ?c rdf:type ontology:Q631147 }
hypothetical protein    HI0594
action filter_type
action find
entity hypothetical protein    HI0594
relation found in taxon
type infraspecific name
['hypothetical protein    HI0594', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?c WHERE { resource:hypothetical_protein____HI0594 property:found_in_taxon ?c . ?c rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102948
SYSTEM
Haemophilus influenzae Rd KW20
Q21102948
(Q23445741,P703,c(Q631147))
action filter_type
action find
entity Q23445741
relation P703
type Q631147
[ANSWER] is hypothetical protein HI0594 found in
['Q23445741', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?c WHERE { resource:Q23445741 property:P703 ?c . ?c rdf:type ontology:Q631147 }
Haemophilus influenzae Rd KW20
Haemophilus influenzae Rd KW20 is hypothetical protein HI0594 found in
Haemophilus influenzae Rd KW20
action filter_type
action find
entity hypothetical protein    HI0594
relation found in taxon
type infraspecific name
['hypothetical protein    HI0594', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?c WHERE { resource:hypothetical_protein____HI0594 property:found_in_taxon ?c . ?c rdf:type ontology:infraspecific_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23445741
P702
Q863908
USER
Which nucleic acid sequence encodes hypothetical protein    HI0594 ?
(Q23445741,P702,c(Q863908))
action filter_type
action find
entity Q23445741
relation P702
type Q863908
['Q23445741', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?m WHERE { resource:Q23445741 property:P702 ?m . ?m rdf:type ontology:Q863908 }
hypothetical protein    HI0594
action filter_type
action find
entity hypothetical protein    HI0594
relation encoded by
type nucleic acid sequence
['hypothetical protein    HI0594', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?m WHERE { resource:hypothetical_protein____HI0594 property:encoded_by ?m . ?m rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23327503
SYSTEM
hypothetical protein    HI0594
Q23327503
(Q23445741,P702,c(Q863908))
action filter_type
action find
entity Q23445741
relation P702
type Q863908
Hypothetical protein HI0594 encodes hypothetical protein HI0594
['Q23445741', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?m WHERE { resource:Q23445741 property:P702 ?m . ?m rdf:type ontology:Q863908 }
hypothetical protein    HI0594
Hypothetical protein HI0594 encodes hypothetical protein HI0594
hypothetical protein    HI0594
action filter_type
action find
entity hypothetical protein    HI0594
relation encoded by
type nucleic acid sequence
['hypothetical protein    HI0594', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?m WHERE { resource:hypothetical_protein____HI0594 property:encoded_by ?m . ?m rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27592250
Q863908
USER
And also tell me about hsa-mir-585?
(Q27592250,P702,c(Q863908))
action filter_type
action find
entity Q27592250
relation P702
type Q863908
['Q27592250', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?u WHERE { resource:Q27592250 property:P702 ?u . ?u rdf:type ontology:Q863908 }
hsa-mir-585
action filter_type
action find
entity hsa-mir-585
relation encoded by
type nucleic acid sequence
['hsa-mir-585', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?u WHERE { resource:hsa-mir-585 property:encoded_by ?u . ?u rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18061045
SYSTEM
MIR585
Q18061045
(Q27592250,P702,c(Q863908))
action filter_type
action find
entity Q27592250
relation P702
type Q863908
[ANSWER]
['Q27592250', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?u WHERE { resource:Q27592250 property:P702 ?u . ?u rdf:type ontology:Q863908 }
MIR585
MIR585
action filter_type
action find
entity hsa-mir-585
relation encoded by
type nucleic acid sequence
['hsa-mir-585', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?u WHERE { resource:hsa-mir-585 property:encoded_by ?u . ?u rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23319763 Q23327503
P688
Q181394
USER
Which nutrients do hypothetical protein    HI0594 or hypothetical protein    NGR_c21380 encode ?
OR((Q23327503,P688,c(Q181394)), (Q23319763,P688,c(Q181394)))
action filter_type
action union
action find
entity Q23327503
relation P688
action find
entity Q23319763
relation P688
type Q181394
{'OR': [['Q23327503', 'P688', {'concept': 'Q181394'}], ['Q23319763', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?r ) { ( resource:Q23319763 ) ( resource:Q23327503 ) } . ?r property:P688 ?i } . ?i rdf:type ontology:Q181394 }
hypothetical protein    NGR_c21380 hypothetical protein    HI0594
action filter_type
action union
action find
entity hypothetical protein    HI0594
relation encodes
action find
entity hypothetical protein    NGR_c21380
relation encodes
type nutrient
{'OR': [['hypothetical protein    HI0594', 'encodes', {'concept': 'nutrient'}], ['hypothetical protein    NGR_c21380', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?r ) { ( resource:hypothetical_protein____NGR_c21380 ) ( resource:hypothetical_protein____HI0594 ) } . ?r property:encodes ?i } . ?i rdf:type ontology:nutrient }
[]
nutrient
Q24103996 Q23445741
SYSTEM
hypothetical protein    NGR_c21380, hypothetical protein    HI0594
Q24103996 Q23445741
OR((Q23327503,P688,c(Q181394)), (Q23319763,P688,c(Q181394)))
action filter_type
action union
action find
entity Q23327503
relation P688
action find
entity Q23319763
relation P688
type Q181394
[ANSWERS]
{'OR': [['Q23327503', 'P688', {'concept': 'Q181394'}], ['Q23319763', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?r ) { ( resource:Q23319763 ) ( resource:Q23327503 ) } . ?r property:P688 ?i } . ?i rdf:type ontology:Q181394 }
hypothetical protein    NGR_c21380 hypothetical protein    HI0594
Hypothetical protein HI0594 or hypothetical protein NGR_c21380 encode hypothetical protein NGR c21380 and hypothetical protein HI0594
hypothetical protein    NGR_c21380 hypothetical protein    HI0594
action filter_type
action union
action find
entity hypothetical protein    HI0594
relation encodes
action find
entity hypothetical protein    NGR_c21380
relation encodes
type nutrient
{'OR': [['hypothetical protein    HI0594', 'encodes', {'concept': 'nutrient'}], ['hypothetical protein    NGR_c21380', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?r ) { ( resource:hypothetical_protein____NGR_c21380 ) ( resource:hypothetical_protein____HI0594 ) } . ?r property:encodes ?i } . ?i rdf:type ontology:nutrient }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q14327652 Q23327503
P702 P681
Q181394
USER
Which nutrients are the gene that are encoded by hypothetical protein    HI0594 and are integral component of membrane a cell component of ?
AND((c(Q181394),P702,Q23327503), (c(Q181394),P681,Q14327652))
action filter_type
action intersection
action find_reverse
entity Q23327503
relation P702
action find_reverse
entity Q14327652
relation P681
type Q181394
{'AND': [[{'concept': 'Q181394'}, 'P702', 'Q23327503'], [{'concept': 'Q181394'}, 'P681', 'Q14327652']]}
SELECT DISTINCT ?z WHERE { ?z property:P702 resource:Q23327503 . ?z property:P681 resource:Q14327652 . ?z rdf:type ontology:Q181394 }
integral component of membrane hypothetical protein    HI0594
action filter_type
action intersection
action find_reverse
entity hypothetical protein    HI0594
relation encoded by
action find_reverse
entity integral component of membrane
relation cell component
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'encoded by', 'hypothetical protein    HI0594'], [{'concept': 'nutrient'}, 'cell component', 'integral component of membrane']]}
SELECT DISTINCT ?z WHERE { ?z property:encoded_by resource:hypothetical_protein____HI0594 . ?z property:cell_component resource:integral_component_of_membrane . ?z rdf:type ontology:nutrient }
[]
nutrient
Q23445741
SYSTEM
hypothetical protein    HI0594
Q23445741
AND((c(Q181394),P702,Q23327503), (c(Q181394),P681,Q14327652))
action filter_type
action intersection
action find_reverse
entity Q23327503
relation P702
action find_reverse
entity Q14327652
relation P681
type Q181394
Hypothetical protein HI0594 is the gene that is encoded by hypothetical protein HI0594 and is integral component of membrane a cell component of
{'AND': [[{'concept': 'Q181394'}, 'P702', 'Q23327503'], [{'concept': 'Q181394'}, 'P681', 'Q14327652']]}
SELECT DISTINCT ?z WHERE { ?z property:P702 resource:Q23327503 . ?z property:P681 resource:Q14327652 . ?z rdf:type ontology:Q181394 }
hypothetical protein    HI0594
Hypothetical protein HI0594 is the gene that is encoded by hypothetical protein HI0594 and is integral component of membrane a cell component of
hypothetical protein    HI0594
action filter_type
action intersection
action find_reverse
entity hypothetical protein    HI0594
relation encoded by
action find_reverse
entity integral component of membrane
relation cell component
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'encoded by', 'hypothetical protein    HI0594'], [{'concept': 'nutrient'}, 'cell component', 'integral component of membrane']]}
SELECT DISTINCT ?z WHERE { ?z property:encoded_by resource:hypothetical_protein____HI0594 . ?z property:cell_component resource:integral_component_of_membrane . ?z rdf:type ontology:nutrient }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q23445741 Q22327474 Q29548
P681
Q5058355
USER
Does that nutrient have intrinsic component of synaptic vesicle membrane and plasma membrane as cell component ?
(Q23445741,P681,Q22327474) (Q23445741,P681,Q29548)
action is_in
entity Q23445741
action intersection
action find_reverse
entity Q22327474
relation P681
action find_reverse
entity Q29548
relation P681
['Q23445741', 'P681', 'Q22327474'] ['Q23445741', 'P681', 'Q29548']
ASK WHERE { resource:Q23445741 property:P681 resource:Q22327474 . resource:Q23445741 property:P681 resource:Q29548 }
hypothetical protein    HI0594 intrinsic component of synaptic vesicle membrane plasma membrane
action is_in
entity hypothetical protein    HI0594
action intersection
action find_reverse
entity intrinsic component of synaptic vesicle membrane
relation cell component
action find_reverse
entity plasma membrane
relation cell component
['hypothetical protein    HI0594', 'cell component', 'intrinsic component of synaptic vesicle membrane'] ['hypothetical protein    HI0594', 'cell component', 'plasma membrane']
ASK WHERE { resource:hypothetical_protein____HI0594 property:cell_component resource:intrinsic_component_of_synaptic_vesicle_membrane . resource:hypothetical_protein____HI0594 property:cell_component resource:plasma_membrane }
[]
cellular component
SYSTEM
NO and YES respectively
(Q23445741,P681,Q22327474) (Q23445741,P681,Q29548)
action is_in
entity Q23445741
action intersection
action find_reverse
entity Q22327474
relation P681
action find_reverse
entity Q29548
relation P681
[ANSWER]
['Q23445741', 'P681', 'Q22327474'] ['Q23445741', 'P681', 'Q29548']
ASK WHERE { resource:Q23445741 property:P681 resource:Q22327474 . resource:Q23445741 property:P681 resource:Q29548 }
NO and YES respectively
action is_in
entity hypothetical protein    HI0594
action intersection
action find_reverse
entity intrinsic component of synaptic vesicle membrane
relation cell component
action find_reverse
entity plasma membrane
relation cell component
['hypothetical protein    HI0594', 'cell component', 'intrinsic component of synaptic vesicle membrane'] ['hypothetical protein    HI0594', 'cell component', 'plasma membrane']
ASK WHERE { resource:hypothetical_protein____HI0594 property:cell_component resource:intrinsic_component_of_synaptic_vesicle_membrane . resource:hypothetical_protein____HI0594 property:cell_component resource:plasma_membrane }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q23327503 Q23426517 Q23611793
P688
Q181394
USER
Does hypothetical protein    HI0594 encode membrane permease    YE1944 and hypothetical protein    tsr0123 ?
(Q23327503,P688,Q23426517) (Q23327503,P688,Q23611793)
action is_in
entity Q23327503
action intersection
action find_reverse
entity Q23426517
relation P688
action find_reverse
entity Q23611793
relation P688
['Q23327503', 'P688', 'Q23426517'] ['Q23327503', 'P688', 'Q23611793']
ASK WHERE { resource:Q23327503 property:P688 resource:Q23426517 . resource:Q23327503 property:P688 resource:Q23611793 }
hypothetical protein    HI0594 membrane permease    YE1944 hypothetical protein    tsr0123
action is_in
entity hypothetical protein    HI0594
action intersection
action find_reverse
entity membrane permease    YE1944
relation encodes
action find_reverse
entity hypothetical protein    tsr0123
relation encodes
['hypothetical protein    HI0594', 'encodes', 'membrane permease    YE1944'] ['hypothetical protein    HI0594', 'encodes', 'hypothetical protein    tsr0123']
ASK WHERE { resource:hypothetical_protein____HI0594 property:encodes resource:membrane_permease____YE1944 . resource:hypothetical_protein____HI0594 property:encodes resource:hypothetical_protein____tsr0123 }
[]
nutrient
SYSTEM
NO
(Q23327503,P688,Q23426517) (Q23327503,P688,Q23611793)
action is_in
entity Q23327503
action intersection
action find_reverse
entity Q23426517
relation P688
action find_reverse
entity Q23611793
relation P688
[ANSWER]
['Q23327503', 'P688', 'Q23426517'] ['Q23327503', 'P688', 'Q23611793']
ASK WHERE { resource:Q23327503 property:P688 resource:Q23426517 . resource:Q23327503 property:P688 resource:Q23611793 }
No
action is_in
entity hypothetical protein    HI0594
action intersection
action find_reverse
entity membrane permease    YE1944
relation encodes
action find_reverse
entity hypothetical protein    tsr0123
relation encodes
['hypothetical protein    HI0594', 'encodes', 'membrane permease    YE1944'] ['hypothetical protein    HI0594', 'encodes', 'hypothetical protein    tsr0123']
ASK WHERE { resource:hypothetical_protein____HI0594 property:encodes resource:membrane_permease____YE1944 . resource:hypothetical_protein____HI0594 property:encodes resource:hypothetical_protein____tsr0123 }
[]