Simple Question (Direct)
Simple Question
Q21991748
P702
Q863908
USER
Which gene encodes Syntaxin-3 ?
(Q21991748,P702,c(Q863908))
action filter_type
action find
entity Q21991748
relation P702
type Q863908
['Q21991748', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?v WHERE { resource:Q21991748 property:P702 ?v . ?v rdf:type ontology:Q863908 }
Syntaxin-3
action filter_type
action find
entity Syntaxin-3
relation encoded by
type nucleic acid sequence
['Syntaxin-3', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?v WHERE { resource:Syntaxin-3 property:encoded_by ?v . ?v rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18254398
SYSTEM
Stx3
Q18254398
(Q21991748,P702,c(Q863908))
action filter_type
action find
entity Q21991748
relation P702
type Q863908
[ANSWER] encodes Syntaxin-3
['Q21991748', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?v WHERE { resource:Q21991748 property:P702 ?v . ?v rdf:type ontology:Q863908 }
Stx3
Stx3 encodes Syntaxin-3
Stx3
action filter_type
action find
entity Syntaxin-3
relation encoded by
type nucleic acid sequence
['Syntaxin-3', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?v WHERE { resource:Syntaxin-3 property:encoded_by ?v . ?v rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21991748
P681
Q15989253
USER
Which is the part that is a component of Syntaxin-3 ?
(Q21991748,P681,c(Q15989253))
action filter_type
action find
entity Q21991748
relation P681
type Q15989253
['Q21991748', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?k WHERE { resource:Q21991748 property:P681 ?k . ?k rdf:type ontology:Q15989253 }
Syntaxin-3
action filter_type
action find
entity Syntaxin-3
relation cell component
type part
['Syntaxin-3', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?k WHERE { resource:Syntaxin-3 property:cell_component ?k . ?k rdf:type ontology:part }
[]
part
Q14349455
SYSTEM
membrane
Q14349455
(Q21991748,P681,c(Q15989253))
action filter_type
action find
entity Q21991748
relation P681
type Q15989253
The [ANSWER] is the part that is a component of Syntaxin-3
['Q21991748', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?k WHERE { resource:Q21991748 property:P681 ?k . ?k rdf:type ontology:Q15989253 }
membrane
The membrane is the part that is a component of Syntaxin-3
membrane
action filter_type
action find
entity Syntaxin-3
relation cell component
type part
['Syntaxin-3', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?k WHERE { resource:Syntaxin-3 property:cell_component ?k . ?k rdf:type ontology:part }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24094266
Q15989253
USER
And how about lysine exporter protein LysE/YggA    Psyr_4058?
(Q24094266,P681,c(Q15989253))
action filter_type
action find
entity Q24094266
relation P681
type Q15989253
['Q24094266', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?w WHERE { resource:Q24094266 property:P681 ?w . ?w rdf:type ontology:Q15989253 }
lysine exporter protein LysE/YggA    Psyr_4058
action filter_type
action find
entity lysine exporter protein LysE/YggA    Psyr_4058
relation cell component
type part
['lysine exporter protein LysE/YggA    Psyr_4058', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?w WHERE { resource:lysine_exporter_protein_LysE/YggA____Psyr_4058 property:cell_component ?w . ?w rdf:type ontology:part }
[]
part
Q14349455
SYSTEM
membrane
Q14349455
(Q24094266,P681,c(Q15989253))
action filter_type
action find
entity Q24094266
relation P681
type Q15989253
[ANSWER]
['Q24094266', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?w WHERE { resource:Q24094266 property:P681 ?w . ?w rdf:type ontology:Q15989253 }
membrane
membrane
action filter_type
action find
entity lysine exporter protein LysE/YggA    Psyr_4058
relation cell component
type part
['lysine exporter protein LysE/YggA    Psyr_4058', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?w WHERE { resource:lysine_exporter_protein_LysE/YggA____Psyr_4058 property:cell_component ?w . ?w rdf:type ontology:part }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18254398
P684
Q863908
USER
What is an otrhologus gene for Stx3 ?
(Q18254398,P684,c(Q863908))
action filter_type
action find
entity Q18254398
relation P684
type Q863908
['Q18254398', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?q WHERE { resource:Q18254398 property:P684 ?q . ?q rdf:type ontology:Q863908 }
Stx3
action filter_type
action find
entity Stx3
relation ortholog
type nucleic acid sequence
['Stx3', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?q WHERE { resource:Stx3 property:ortholog ?q . ?q rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18031772
SYSTEM
STX3
Q18031772
(Q18254398,P684,c(Q863908))
action filter_type
action find
entity Q18254398
relation P684
type Q863908
An otrhologus gene for Stx3 is the [ANSWER]
['Q18254398', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?q WHERE { resource:Q18254398 property:P684 ?q . ?q rdf:type ontology:Q863908 }
STX3
An otrhologus gene for Stx3 is the STX3
STX3
action filter_type
action find
entity Stx3
relation ortholog
type nucleic acid sequence
['Stx3', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?q WHERE { resource:Stx3 property:ortholog ?q . ?q rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18031772
P688
Q181394
USER
What is encoded by that nucleic acid sequence ?
(Q18031772,P688,c(Q181394))
action filter_type
action find
entity Q18031772
relation P688
type Q181394
['Q18031772', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?u WHERE { resource:Q18031772 property:P688 ?u . ?u rdf:type ontology:Q181394 }
STX3
action filter_type
action find
entity STX3
relation encodes
type nutrient
['STX3', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?u WHERE { resource:STX3 property:encodes ?u . ?u rdf:type ontology:nutrient }
[]
nutrient
Q21174167
SYSTEM
Syntaxin-3
Q21174167
(Q18031772,P688,c(Q181394))
action filter_type
action find
entity Q18031772
relation P688
type Q181394
The [ANSWER] is encoded by that nucleic acid sequence
['Q18031772', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?u WHERE { resource:Q18031772 property:P688 ?u . ?u rdf:type ontology:Q181394 }
Syntaxin-3
The Syntaxin-3 is encoded by that nucleic acid sequence
Syntaxin-3
action filter_type
action find
entity STX3
relation encodes
type nutrient
['STX3', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?u WHERE { resource:STX3 property:encodes ?u . ?u rdf:type ontology:nutrient }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q21174167 Q1065756 Q22328121
P681
Q5058355
USER
Does that nutrient have melanosome and intracellular immature spore as its cell component ?
(Q21174167,P681,Q1065756) (Q21174167,P681,Q22328121)
action is_in
entity Q21174167
action intersection
action find_reverse
entity Q1065756
relation P681
action find_reverse
entity Q22328121
relation P681
['Q21174167', 'P681', 'Q1065756'] ['Q21174167', 'P681', 'Q22328121']
ASK WHERE { resource:Q21174167 property:P681 resource:Q22328121 . resource:Q21174167 property:P681 resource:Q1065756 }
Syntaxin-3 melanosome intracellular immature spore
action is_in
entity Syntaxin-3
action intersection
action find_reverse
entity melanosome
relation cell component
action find_reverse
entity intracellular immature spore
relation cell component
['Syntaxin-3', 'cell component', 'melanosome'] ['Syntaxin-3', 'cell component', 'intracellular immature spore']
ASK WHERE { resource:Syntaxin-3 property:cell_component resource:intracellular_immature_spore . resource:Syntaxin-3 property:cell_component resource:melanosome }
[]
cellular component
SYSTEM
YES and NO respectively
(Q21174167,P681,Q1065756) (Q21174167,P681,Q22328121)
action is_in
entity Q21174167
action intersection
action find_reverse
entity Q1065756
relation P681
action find_reverse
entity Q22328121
relation P681
[ANSWER]
['Q21174167', 'P681', 'Q1065756'] ['Q21174167', 'P681', 'Q22328121']
ASK WHERE { resource:Q21174167 property:P681 resource:Q22328121 . resource:Q21174167 property:P681 resource:Q1065756 }
YES and NO respectively
action is_in
entity Syntaxin-3
action intersection
action find_reverse
entity melanosome
relation cell component
action find_reverse
entity intracellular immature spore
relation cell component
['Syntaxin-3', 'cell component', 'melanosome'] ['Syntaxin-3', 'cell component', 'intracellular immature spore']
ASK WHERE { resource:Syntaxin-3 property:cell_component resource:intracellular_immature_spore . resource:Syntaxin-3 property:cell_component resource:melanosome }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23189033 Q18031772
P702
Q181394
USER
Which nutrients do STX3 or alcohol dehydrogenase    L55758 encode ?
OR((c(Q181394),P702,Q18031772), (c(Q181394),P702,Q23189033))
action filter_type
action union
action find_reverse
entity Q18031772
relation P702
action find_reverse
entity Q23189033
relation P702
type Q181394
{'OR': [[{'concept': 'Q181394'}, 'P702', 'Q18031772'], [{'concept': 'Q181394'}, 'P702', 'Q23189033']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q181394 . { ?t property:P702 ?o . VALUES ( ?o ) { ( resource:Q18031772 ) ( resource:Q23189033 ) } } }
alcohol dehydrogenase    L55758 STX3
action filter_type
action union
action find_reverse
entity STX3
relation encoded by
action find_reverse
entity alcohol dehydrogenase    L55758
relation encoded by
type nutrient
{'OR': [[{'concept': 'nutrient'}, 'encoded by', 'STX3'], [{'concept': 'nutrient'}, 'encoded by', 'alcohol dehydrogenase    L55758']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:nutrient . { ?t property:encoded_by ?o . VALUES ( ?o ) { ( resource:STX3 ) ( resource:alcohol_dehydrogenase____L55758 ) } } }
[]
nutrient
Q23508376 Q21174167
SYSTEM
alcohol dehydrogenase    L55758, Syntaxin-3
Q23508376 Q21174167
OR((c(Q181394),P702,Q18031772), (c(Q181394),P702,Q23189033))
action filter_type
action union
action find_reverse
entity Q18031772
relation P702
action find_reverse
entity Q23189033
relation P702
type Q181394
[ANSWERS]
{'OR': [[{'concept': 'Q181394'}, 'P702', 'Q18031772'], [{'concept': 'Q181394'}, 'P702', 'Q23189033']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q181394 . { ?t property:P702 ?o . VALUES ( ?o ) { ( resource:Q18031772 ) ( resource:Q23189033 ) } } }
alcohol dehydrogenase    L55758 Syntaxin-3
STX3 or alcohol dehydrogenase L55758 encode d alcohol dehydrogenase L55758 and Syntaxin-3
alcohol dehydrogenase    L55758 Syntaxin-3
action filter_type
action union
action find_reverse
entity STX3
relation encoded by
action find_reverse
entity alcohol dehydrogenase    L55758
relation encoded by
type nutrient
{'OR': [[{'concept': 'nutrient'}, 'encoded by', 'STX3'], [{'concept': 'nutrient'}, 'encoded by', 'alcohol dehydrogenase    L55758']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:nutrient . { ?t property:encoded_by ?o . VALUES ( ?o ) { ( resource:STX3 ) ( resource:alcohol_dehydrogenase____L55758 ) } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24148103 Q21174167
P681
Q5058355
USER
Which cellular components are the components of Syntaxin-3 or proline:sodium symporter    ECUMN_1198 ?
OR((Q21174167,P681,c(Q5058355)), (Q24148103,P681,c(Q5058355)))
action filter_type
action union
action find
entity Q21174167
relation P681
action find
entity Q24148103
relation P681
type Q5058355
{'OR': [['Q21174167', 'P681', {'concept': 'Q5058355'}], ['Q24148103', 'P681', {'concept': 'Q5058355'}]]}
SELECT DISTINCT ?f WHERE { { ?v property:P681 ?f . VALUES ( ?v ) { ( resource:Q21174167 ) ( resource:Q24148103 ) } } . ?f rdf:type ontology:Q5058355 }
proline:sodium symporter    ECUMN_1198 Syntaxin-3
action filter_type
action union
action find
entity Syntaxin-3
relation cell component
action find
entity proline:sodium symporter    ECUMN_1198
relation cell component
type cellular component
{'OR': [['Syntaxin-3', 'cell component', {'concept': 'cellular component'}], ['proline:sodium symporter    ECUMN_1198', 'cell component', {'concept': 'cellular component'}]]}
SELECT DISTINCT ?f WHERE { { ?v property:cell_component ?f . VALUES ( ?v ) { ( resource:Syntaxin-3 ) ( resource:proline:sodium_symporter____ECUMN_1198 ) } } . ?f rdf:type ontology:cellular_component }
[]
cellular component
Q7322268 Q14873267 Q1065756 Q671136 Q29548
SYSTEM
ribbon synapse, cell-cell junction, melanosome, synaptic vesicle, plasma membrane
Q7322268 Q14873267 Q1065756 Q671136 Q29548
OR((Q21174167,P681,c(Q5058355)), (Q24148103,P681,c(Q5058355)))
action filter_type
action union
action find
entity Q21174167
relation P681
action find
entity Q24148103
relation P681
type Q5058355
[ANSWERS] are the components of Syntaxin-3 or proline:sodium symporter ECUMN_1198
{'OR': [['Q21174167', 'P681', {'concept': 'Q5058355'}], ['Q24148103', 'P681', {'concept': 'Q5058355'}]]}
SELECT DISTINCT ?f WHERE { { ?v property:P681 ?f . VALUES ( ?v ) { ( resource:Q21174167 ) ( resource:Q24148103 ) } } . ?f rdf:type ontology:Q5058355 }
ribbon synapse cell-cell junction melanosome synaptic vesicle plasma membrane
Ribbon synapse, cell-cell junction, melanosome, synaptic vesicle and plasma membrane are the components of Syntaxin-3 or proline:sodium symporter ECUMN_1198
ribbon synapse cell-cell junction melanosome synaptic vesicle plasma membrane
action filter_type
action union
action find
entity Syntaxin-3
relation cell component
action find
entity proline:sodium symporter    ECUMN_1198
relation cell component
type cellular component
{'OR': [['Syntaxin-3', 'cell component', {'concept': 'cellular component'}], ['proline:sodium symporter    ECUMN_1198', 'cell component', {'concept': 'cellular component'}]]}
SELECT DISTINCT ?f WHERE { { ?v property:cell_component ?f . VALUES ( ?v ) { ( resource:Syntaxin-3 ) ( resource:proline:sodium_symporter____ECUMN_1198 ) } } . ?f rdf:type ontology:cellular_component }
[]
Clarification
Simple Question|Single Entity|Indirect
Q671136
P361
Q5058355
USER
What is that one a portion of ?
(Q671136,P361,c(Q5058355))
action filter_type
action find
entity Q671136
relation P361
type Q5058355
['Q671136', 'P361', {'concept': 'Q5058355'}]
SELECT DISTINCT ?j WHERE { resource:Q671136 property:P361 ?j . ?j rdf:type ontology:Q5058355 }
synaptic vesicle
action filter_type
action find
entity synaptic vesicle
relation part of
type cellular component
['synaptic vesicle', 'part of', {'concept': 'cellular component'}]
SELECT DISTINCT ?j WHERE { resource:synaptic_vesicle property:part_of ?j . ?j rdf:type ontology:cellular_component }
[]
cellular component
Clarification for simple ques.
Q7322268
SYSTEM
Did you mean ribbon synapse ?
Q7322268 Q14873267 Q1065756 Q671136 Q29548
(Q7322268,P361,c(Q5058355)) (Q14873267,P361,c(Q5058355)) (Q1065756,P361,c(Q5058355)) (Q671136,P361,c(Q5058355)) (Q29548,P361,c(Q5058355))
[ANSWER]
['Q7322268', 'P361', {'concept': 'Q5058355'}] ['Q14873267', 'P361', {'concept': 'Q5058355'}] ['Q1065756', 'P361', {'concept': 'Q5058355'}] ['Q671136', 'P361', {'concept': 'Q5058355'}] ['Q29548', 'P361', {'concept': 'Q5058355'}]
SELECT DISTINCT ?j WHERE { resource:Q671136 property:P361 ?j . ?j rdf:type ontology:Q5058355 }
ribbon synapse cell-cell junction melanosome synaptic vesicle plasma membrane
Did you mean ribbon synapse ?
ribbon synapse
['ribbon synapse', 'part of', {'concept': 'cellular component'}] ['cell-cell junction', 'part of', {'concept': 'cellular component'}] ['melanosome', 'part of', {'concept': 'cellular component'}] ['synaptic vesicle', 'part of', {'concept': 'cellular component'}] ['plasma membrane', 'part of', {'concept': 'cellular component'}]
SELECT DISTINCT ?j WHERE { resource:synaptic_vesicle property:part_of ?j . ?j rdf:type ontology:cellular_component }
[]
Simple Question (Coreferenced)
USER
No, I meant synaptic vesicle. Could you tell me the answer for that?
(Q671136,P361,c(Q5058355))
Q671136
['Q671136', 'P361', {'concept': 'Q5058355'}]
['synaptic vesicle', 'part of', {'concept': 'cellular component'}]
[]
Q22327479
SYSTEM
presynapse
Q22327479
(Q671136,P361,c(Q5058355))
action filter_type
action find
entity Q671136
relation P361
type Q5058355
That one a portion of is a [ANSWER]
['Q671136', 'P361', {'concept': 'Q5058355'}]
SELECT DISTINCT ?j WHERE { resource:Q671136 property:P361 ?j . ?j rdf:type ontology:Q5058355 }
presynapse
That one a portion of is a presynapse
presynapse
action filter_type
action find
entity synaptic vesicle
relation part of
type cellular component
['synaptic vesicle', 'part of', {'concept': 'cellular component'}]
SELECT DISTINCT ?j WHERE { resource:synaptic_vesicle property:part_of ?j . ?j rdf:type ontology:cellular_component }
[]