Simple Question (Direct)
Simple Question
Q21140792
P681
Q15989253
USER
Which is the part that is a component of Potassium voltage-gated channel subfamily KQT member 2 ?
(Q21140792,P681,c(Q15989253))
action filter_type
action find
entity Q21140792
relation P681
type Q15989253
['Q21140792', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?p WHERE { resource:Q21140792 property:P681 ?p . ?p rdf:type ontology:Q15989253 }
Potassium voltage-gated channel subfamily KQT member 2
action filter_type
action find
entity Potassium voltage-gated channel subfamily KQT member 2
relation cell component
type part
['Potassium voltage-gated channel subfamily KQT member 2', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?p WHERE { resource:Potassium_voltage-gated_channel_subfamily_KQT_member_2 property:cell_component ?p . ?p rdf:type ontology:part }
[]
part
Q14349455
SYSTEM
membrane
Q14349455
(Q21140792,P681,c(Q15989253))
action filter_type
action find
entity Q21140792
relation P681
type Q15989253
The [ANSWER] is the part that is a component of Potassium voltage-gated channel subfamily KQT member 2
['Q21140792', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?p WHERE { resource:Q21140792 property:P681 ?p . ?p rdf:type ontology:Q15989253 }
membrane
The membrane is the part that is a component of Potassium voltage-gated channel subfamily KQT member 2
membrane
action filter_type
action find
entity Potassium voltage-gated channel subfamily KQT member 2
relation cell component
type part
['Potassium voltage-gated channel subfamily KQT member 2', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?p WHERE { resource:Potassium_voltage-gated_channel_subfamily_KQT_member_2 property:cell_component ?p . ?p rdf:type ontology:part }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21140792
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q14349455)
action filter_type
action find_reverse
entity Q21140792
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q14349455']
SELECT DISTINCT ?i WHERE { ?i property:P688 resource:Q21140792 . ?i rdf:type ontology:Q863908 }
Potassium voltage-gated channel subfamily KQT member 2
action filter_type
action find_reverse
entity Potassium voltage-gated channel subfamily KQT member 2
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'membrane']
SELECT DISTINCT ?i WHERE { ?i property:encodes resource:Potassium_voltage-gated_channel_subfamily_KQT_member_2 . ?i rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q14914307
SYSTEM
KCNQ2
Q14914307
(c(Q863908),P688,Q14349455)
action filter_type
action find_reverse
entity Q21140792
relation P688
type Q863908
[ANSWER] encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q14349455']
SELECT DISTINCT ?i WHERE { ?i property:P688 resource:Q21140792 . ?i rdf:type ontology:Q863908 }
KCNQ2
KCNQ2 encodes that nutrient
KCNQ2
action filter_type
action find_reverse
entity Potassium voltage-gated channel subfamily KQT member 2
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'membrane']
SELECT DISTINCT ?i WHERE { ?i property:encodes resource:Potassium_voltage-gated_channel_subfamily_KQT_member_2 . ?i rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q15978631 Q21140792
P703 P688
Q863908
USER
Which nucleic acid sequences encodes Potassium voltage-gated channel subfamily KQT member 2 and are a part of the taxon Homo sapiens ?
AND((c(Q863908),P688,Q21140792), (c(Q863908),P703,Q15978631))
action filter_type
action intersection
action find_reverse
entity Q21140792
relation P688
action find_reverse
entity Q15978631
relation P703
type Q863908
{'AND': [[{'concept': 'Q863908'}, 'P688', 'Q21140792'], [{'concept': 'Q863908'}, 'P703', 'Q15978631']]}
SELECT DISTINCT ?w WHERE { ?w property:P688 resource:Q21140792 . ?w property:P703 resource:Q15978631 . ?w rdf:type ontology:Q863908 }
Homo sapiens Potassium voltage-gated channel subfamily KQT member 2
action filter_type
action intersection
action find_reverse
entity Potassium voltage-gated channel subfamily KQT member 2
relation encodes
action find_reverse
entity Homo sapiens
relation found in taxon
type nucleic acid sequence
{'AND': [[{'concept': 'nucleic acid sequence'}, 'encodes', 'Potassium voltage-gated channel subfamily KQT member 2'], [{'concept': 'nucleic acid sequence'}, 'found in taxon', 'Homo sapiens']]}
SELECT DISTINCT ?w WHERE { ?w property:encodes resource:Potassium_voltage-gated_channel_subfamily_KQT_member_2 . ?w property:found_in_taxon resource:Homo_sapiens . ?w rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q14914307
SYSTEM
KCNQ2
Q14914307
AND((c(Q863908),P688,Q21140792), (c(Q863908),P703,Q15978631))
action filter_type
action intersection
action find_reverse
entity Q21140792
relation P688
action find_reverse
entity Q15978631
relation P703
type Q863908
[ANSWER] encodes Potassium voltage-gated channel subfamily KQT member 2 and are a part of the taxon Homo sapiens
{'AND': [[{'concept': 'Q863908'}, 'P688', 'Q21140792'], [{'concept': 'Q863908'}, 'P703', 'Q15978631']]}
SELECT DISTINCT ?w WHERE { ?w property:P688 resource:Q21140792 . ?w property:P703 resource:Q15978631 . ?w rdf:type ontology:Q863908 }
KCNQ2
KCNQ2 encodes Potassium voltage-gated channel subfamily KQT member 2 and are a part of the taxon Homo sapiens
KCNQ2
action filter_type
action intersection
action find_reverse
entity Potassium voltage-gated channel subfamily KQT member 2
relation encodes
action find_reverse
entity Homo sapiens
relation found in taxon
type nucleic acid sequence
{'AND': [[{'concept': 'nucleic acid sequence'}, 'encodes', 'Potassium voltage-gated channel subfamily KQT member 2'], [{'concept': 'nucleic acid sequence'}, 'found in taxon', 'Homo sapiens']]}
SELECT DISTINCT ?w WHERE { ?w property:encodes resource:Potassium_voltage-gated_channel_subfamily_KQT_member_2 . ?w property:found_in_taxon resource:Homo_sapiens . ?w rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P688
Q181394
USER
How many nutrients are that nucleic acid sequence an encoding of ?
(Q14914307,P688,c(Q181394))
action count
action filter_type
action find
entity Q14914307
relation P688
type Q181394
['Q14914307', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j rdf:type ontology:Q181394 . resource:Q14914307 property:P688 ?j }
action count
action filter_type
action find
entity KCNQ2
relation encodes
type nutrient
['KCNQ2', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j rdf:type ontology:nutrient . resource:KCNQ2 property:encodes ?j }
[]
nutrient
SYSTEM
2
Q6449561 Q21140792
(Q14914307,P688,c(Q181394))
action count
action filter_type
action find
entity Q14914307
relation P688
type Q181394
[ANSWER]
['Q14914307', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j rdf:type ontology:Q181394 . resource:Q14914307 property:P688 ?j }
Potassium voltage-gated channel subfamily KQT member 2 Potassium voltage-gated channel subfamily KQT member 2
2
action count
action filter_type
action find
entity KCNQ2
relation encodes
type nutrient
['KCNQ2', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j rdf:type ontology:nutrient . resource:KCNQ2 property:encodes ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14914307
P684
Q863908
USER
Which nucleic acid sequence is an orthologous gene for KCNQ2 ?
(Q14914307,P684,c(Q863908))
action filter_type
action find
entity Q14914307
relation P684
type Q863908
['Q14914307', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?z WHERE { resource:Q14914307 property:P684 ?z . ?z rdf:type ontology:Q863908 }
KCNQ2
action filter_type
action find
entity KCNQ2
relation ortholog
type nucleic acid sequence
['KCNQ2', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?z WHERE { resource:KCNQ2 property:ortholog ?z . ?z rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q14914308
SYSTEM
Kcnq2
Q14914308
(Q14914307,P684,c(Q863908))
action filter_type
action find
entity Q14914307
relation P684
type Q863908
[ANSWER] is an orthologous gene for KCNQ2
['Q14914307', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?z WHERE { resource:Q14914307 property:P684 ?z . ?z rdf:type ontology:Q863908 }
Kcnq2
Kcnq2 is an orthologous gene for KCNQ2
Kcnq2
action filter_type
action find
entity KCNQ2
relation ortholog
type nucleic acid sequence
['KCNQ2', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?z WHERE { resource:KCNQ2 property:ortholog ?z . ?z rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q14914308 Q14914307 Q24404584
P684
Q863908
USER
Is that nucleic acid sequence the species that has KCNQ2 and Rps15al4 as its orthologous gene ?
(Q14914308,P684,Q14914307) (Q14914308,P684,Q24404584)
action is_in
entity Q14914308
action intersection
action find_reverse
entity Q14914307
relation P684
action find_reverse
entity Q24404584
relation P684
['Q14914308', 'P684', 'Q14914307'] ['Q14914308', 'P684', 'Q24404584']
ASK WHERE { resource:Q14914308 property:P684 resource:Q24404584 . resource:Q14914308 property:P684 resource:Q14914307 }
Kcnq2 KCNQ2 Rps15al4
action is_in
entity Kcnq2
action intersection
action find_reverse
entity KCNQ2
relation ortholog
action find_reverse
entity Rps15al4
relation ortholog
['Kcnq2', 'ortholog', 'KCNQ2'] ['Kcnq2', 'ortholog', 'Rps15al4']
ASK WHERE { resource:Kcnq2 property:ortholog resource:Rps15al4 . resource:Kcnq2 property:ortholog resource:KCNQ2 }
[]
nucleic acid sequence
SYSTEM
YES and NO respectively
(Q14914308,P684,Q14914307) (Q14914308,P684,Q24404584)
action is_in
entity Q14914308
action intersection
action find_reverse
entity Q14914307
relation P684
action find_reverse
entity Q24404584
relation P684
[ANSWER]
['Q14914308', 'P684', 'Q14914307'] ['Q14914308', 'P684', 'Q24404584']
ASK WHERE { resource:Q14914308 property:P684 resource:Q24404584 . resource:Q14914308 property:P684 resource:Q14914307 }
YES and NO respectively
action is_in
entity Kcnq2
action intersection
action find_reverse
entity KCNQ2
relation ortholog
action find_reverse
entity Rps15al4
relation ortholog
['Kcnq2', 'ortholog', 'KCNQ2'] ['Kcnq2', 'ortholog', 'Rps15al4']
ASK WHERE { resource:Kcnq2 property:ortholog resource:Rps15al4 . resource:Kcnq2 property:ortholog resource:KCNQ2 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14914308
P702
Q181394
USER
What does Kcnq2 encode ?
action filter_type
action find_reverse
entity Q14914308
relation P702
type Q181394
SELECT DISTINCT ?u WHERE { ?u property:P702 resource:Q14914308 . ?u rdf:type ontology:Q181394 }
Kcnq2
action filter_type
action find_reverse
entity Kcnq2
relation encoded by
type nutrient
SELECT DISTINCT ?u WHERE { ?u property:encoded_by resource:Kcnq2 . ?u rdf:type ontology:nutrient }
[]
nutrient
Q14914310
SYSTEM
Potassium voltage-gated channel subfamily KQT member 2
Q14914310
action filter_type
action find_reverse
entity Q14914308
relation P702
type Q181394
Kcnq2 encodes the [ANSWER]
SELECT DISTINCT ?u WHERE { ?u property:P702 resource:Q14914308 . ?u rdf:type ontology:Q181394 }
Potassium voltage-gated channel subfamily KQT member 2
Kcnq2 encodes the Potassium voltage-gated channel subfamily KQT member 2
Potassium voltage-gated channel subfamily KQT member 2
action filter_type
action find_reverse
entity Kcnq2
relation encoded by
type nutrient
SELECT DISTINCT ?u WHERE { ?u property:encoded_by resource:Kcnq2 . ?u rdf:type ontology:nutrient }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21114915
Q181394
USER
And also tell me about Lysozyme C?
(Q21114915,P702,c(Q181394))
action filter_type
action find
entity Q21114915
relation P702
type Q181394
['Q21114915', 'P702', {'concept': 'Q181394'}]
SELECT DISTINCT ?c WHERE { resource:Q21114915 property:P702 ?c . ?c rdf:type ontology:Q181394 }
Lysozyme C
action filter_type
action find
entity Lysozyme C
relation encoded by
type nutrient
['Lysozyme C', 'encoded by', {'concept': 'nutrient'}]
SELECT DISTINCT ?c WHERE { resource:Lysozyme_C property:encoded_by ?c . ?c rdf:type ontology:nutrient }
[]
nutrient
Q14862873
SYSTEM
LYZ
Q14862873
(Q21114915,P702,c(Q181394))
action filter_type
action find
entity Q21114915
relation P702
type Q181394
[ANSWER]
['Q21114915', 'P702', {'concept': 'Q181394'}]
SELECT DISTINCT ?c WHERE { resource:Q21114915 property:P702 ?c . ?c rdf:type ontology:Q181394 }
LYZ
LYZ
action filter_type
action find
entity Lysozyme C
relation encoded by
type nutrient
['Lysozyme C', 'encoded by', {'concept': 'nutrient'}]
SELECT DISTINCT ?c WHERE { resource:Lysozyme_C property:encoded_by ?c . ?c rdf:type ontology:nutrient }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q27747195 Q14862873
P702 P684
Q863908
USER
Which nucleic acid sequences are an orthologous gene for LYZ or genes encode hypothetical protein    MSMEG_1282 ?
OR((Q14862873,P684,c(Q863908)), (Q27747195,P702,c(Q863908)))
action filter_type
action union
action find
entity Q14862873
relation P684
action find
entity Q27747195
relation P702
type Q863908
{'OR': [['Q14862873', 'P684', {'concept': 'Q863908'}], ['Q27747195', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q863908 . { { resource:Q14862873 property:P684 ?e } UNION { resource:Q27747195 property:P702 ?e } } }
hypothetical protein    MSMEG_1282 LYZ
action filter_type
action union
action find
entity LYZ
relation ortholog
action find
entity hypothetical protein    MSMEG_1282
relation encoded by
type nucleic acid sequence
{'OR': [['LYZ', 'ortholog', {'concept': 'nucleic acid sequence'}], ['hypothetical protein    MSMEG_1282', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:nucleic_acid_sequence . { { resource:LYZ property:ortholog ?e } UNION { resource:hypothetical_protein____MSMEG_1282 property:encoded_by ?e } } }
[]
nucleic acid sequence
Q23276649 Q18252153
SYSTEM
hypothetical protein    MSMEG_1282, Lyz1
Q23276649 Q18252153
OR((Q14862873,P684,c(Q863908)), (Q27747195,P702,c(Q863908)))
action filter_type
action union
action find
entity Q14862873
relation P684
action find
entity Q27747195
relation P702
type Q863908
[ANSWERS]
{'OR': [['Q14862873', 'P684', {'concept': 'Q863908'}], ['Q27747195', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q863908 . { { resource:Q14862873 property:P684 ?e } UNION { resource:Q27747195 property:P702 ?e } } }
hypothetical protein    MSMEG_1282 Lyz1
Hypothetical protein MSMEG 1282 and Lyz1 are an orthologous gene for LYZ or genes encode hypothetical protein MSMEG_1282
hypothetical protein    MSMEG_1282 Lyz1
action filter_type
action union
action find
entity LYZ
relation ortholog
action find
entity hypothetical protein    MSMEG_1282
relation encoded by
type nucleic acid sequence
{'OR': [['LYZ', 'ortholog', {'concept': 'nucleic acid sequence'}], ['hypothetical protein    MSMEG_1282', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:nucleic_acid_sequence . { { resource:LYZ property:ortholog ?e } UNION { resource:hypothetical_protein____MSMEG_1282 property:encoded_by ?e } } }
[]