Simple Question (Direct)
Simple Question
Q22257932
P703
Q631147
USER
Which taxon is elongation factor G    LBA0289 a part of ?
(Q22257932,P703,c(Q631147))
action filter_type
action find
entity Q22257932
relation P703
type Q631147
['Q22257932', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?j WHERE { resource:Q22257932 property:P703 ?j . ?j rdf:type ontology:Q631147 }
elongation factor G    LBA0289
action filter_type
action find
entity elongation factor G    LBA0289
relation found in taxon
type infraspecific name
['elongation factor G    LBA0289', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?j WHERE { resource:elongation_factor_G____LBA0289 property:found_in_taxon ?j . ?j rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102977
SYSTEM
Lactobacillus acidophilus NCFM
Q21102977
(Q22257932,P703,c(Q631147))
action filter_type
action find
entity Q22257932
relation P703
type Q631147
In [ANSWER] is elongation factor G LBA0289 a part of
['Q22257932', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?j WHERE { resource:Q22257932 property:P703 ?j . ?j rdf:type ontology:Q631147 }
Lactobacillus acidophilus NCFM
In Lactobacillus acidophilus NCFM is elongation factor G LBA0289 a part of
Lactobacillus acidophilus NCFM
action filter_type
action find
entity elongation factor G    LBA0289
relation found in taxon
type infraspecific name
['elongation factor G    LBA0289', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?j WHERE { resource:elongation_factor_G____LBA0289 property:found_in_taxon ?j . ?j rdf:type ontology:infraspecific_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23481774 Q22257932
P702
Q863908
USER
Which nucleic acid sequences are the gene that encodes elongation factor G    LBA0289 or lipoprotein    SE0405 ?
OR((Q22257932,P702,c(Q863908)), (Q23481774,P702,c(Q863908)))
action filter_type
action union
action find
entity Q22257932
relation P702
action find
entity Q23481774
relation P702
type Q863908
{'OR': [['Q22257932', 'P702', {'concept': 'Q863908'}], ['Q23481774', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?a ) { ( resource:Q22257932 ) ( resource:Q23481774 ) } . ?a property:P702 ?w } . ?w rdf:type ontology:Q863908 }
lipoprotein    SE0405 elongation factor G    LBA0289
action filter_type
action union
action find
entity elongation factor G    LBA0289
relation encoded by
action find
entity lipoprotein    SE0405
relation encoded by
type nucleic acid sequence
{'OR': [['elongation factor G    LBA0289', 'encoded by', {'concept': 'nucleic acid sequence'}], ['lipoprotein    SE0405', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?a ) { ( resource:elongation_factor_G____LBA0289 ) ( resource:lipoprotein____SE0405 ) } . ?a property:encoded_by ?w } . ?w rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q22238812 Q23180243
SYSTEM
elongation factor G    LBA0289, lipoprotein    SE0405
Q22238812 Q23180243
OR((Q22257932,P702,c(Q863908)), (Q23481774,P702,c(Q863908)))
action filter_type
action union
action find
entity Q22257932
relation P702
action find
entity Q23481774
relation P702
type Q863908
[ANSWERS]
{'OR': [['Q22257932', 'P702', {'concept': 'Q863908'}], ['Q23481774', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?a ) { ( resource:Q22257932 ) ( resource:Q23481774 ) } . ?a property:P702 ?w } . ?w rdf:type ontology:Q863908 }
elongation factor G    LBA0289 lipoprotein    SE0405
Elongation factor G LBA0289 and lipoprotein SE0405 are the gene that encodes elongation factor G LBA0289 or lipoprotein SE0405
elongation factor G    LBA0289 lipoprotein    SE0405
action filter_type
action union
action find
entity elongation factor G    LBA0289
relation encoded by
action find
entity lipoprotein    SE0405
relation encoded by
type nucleic acid sequence
{'OR': [['elongation factor G    LBA0289', 'encoded by', {'concept': 'nucleic acid sequence'}], ['lipoprotein    SE0405', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?a ) { ( resource:elongation_factor_G____LBA0289 ) ( resource:lipoprotein____SE0405 ) } . ?a property:encoded_by ?w } . ?w rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23460080 Q22257932
P688
Q863908
USER
Which nucleic acid sequences encode elongation factor G    LBA0289 or phosphonates-binding protein    FN1135 ?
OR((c(Q863908),P688,Q22257932), (c(Q863908),P688,Q23460080))
action filter_type
action union
action find_reverse
entity Q22257932
relation P688
action find_reverse
entity Q23460080
relation P688
type Q863908
{'OR': [[{'concept': 'Q863908'}, 'P688', 'Q22257932'], [{'concept': 'Q863908'}, 'P688', 'Q23460080']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q863908 . { { ?h property:P688 resource:Q23460080 } UNION { ?h property:P688 resource:Q22257932 } } }
phosphonates-binding protein    FN1135 elongation factor G    LBA0289
action filter_type
action union
action find_reverse
entity elongation factor G    LBA0289
relation encodes
action find_reverse
entity phosphonates-binding protein    FN1135
relation encodes
type nucleic acid sequence
{'OR': [[{'concept': 'nucleic acid sequence'}, 'encodes', 'elongation factor G    LBA0289'], [{'concept': 'nucleic acid sequence'}, 'encodes', 'phosphonates-binding protein    FN1135']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:nucleic_acid_sequence . { { ?h property:encodes resource:phosphonates-binding_protein____FN1135 } UNION { ?h property:encodes resource:elongation_factor_G____LBA0289 } } }
[]
nucleic acid sequence
Q22238812 Q23115717
SYSTEM
elongation factor G    LBA0289, phosphonates-binding protein    FN1135
Q22238812 Q23115717
OR((c(Q863908),P688,Q22257932), (c(Q863908),P688,Q23460080))
action filter_type
action union
action find_reverse
entity Q22257932
relation P688
action find_reverse
entity Q23460080
relation P688
type Q863908
[ANSWERS]
{'OR': [[{'concept': 'Q863908'}, 'P688', 'Q22257932'], [{'concept': 'Q863908'}, 'P688', 'Q23460080']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q863908 . { { ?h property:P688 resource:Q23460080 } UNION { ?h property:P688 resource:Q22257932 } } }
elongation factor G    LBA0289 phosphonates-binding protein    FN1135
Elongation factor G LBA0289 and phosphonates-binding protein FN1135 encode elongation factor G LBA0289 or phosphonates-binding protein FN1135
elongation factor G    LBA0289 phosphonates-binding protein    FN1135
action filter_type
action union
action find_reverse
entity elongation factor G    LBA0289
relation encodes
action find_reverse
entity phosphonates-binding protein    FN1135
relation encodes
type nucleic acid sequence
{'OR': [[{'concept': 'nucleic acid sequence'}, 'encodes', 'elongation factor G    LBA0289'], [{'concept': 'nucleic acid sequence'}, 'encodes', 'phosphonates-binding protein    FN1135']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:nucleic_acid_sequence . { { ?h property:encodes resource:phosphonates-binding_protein____FN1135 } UNION { ?h property:encodes resource:elongation_factor_G____LBA0289 } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P702
Q181394
USER
How many nutrients are encoded by that nucleic acid sequence ?
(c(Q181394),P702,Q23115717)
[{'concept': 'Q181394'}, 'P702', 'Q23115717']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P702 resource:Q23115717 . ?z rdf:type ontology:Q181394 }
[{'concept': 'nutrient'}, 'encoded by', 'phosphonates-binding protein    FN1135']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:encoded_by resource:phosphonates-binding_protein____FN1135 . ?z rdf:type ontology:nutrient }
[]
nutrient
Quantitative|Count|Single entity type|Clarification
Q23115717
SYSTEM
Did you mean phosphonates-binding protein    FN1135 ?
(c(Q181394),P702,Q22238812) (c(Q181394),P702,Q23115717)
[ANSWER]
[{'concept': 'Q181394'}, 'P702', 'Q22238812'] [{'concept': 'Q181394'}, 'P702', 'Q23115717']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P702 resource:Q23115717 . ?z rdf:type ontology:Q181394 }
Did you mean phosphonates-binding protein    FN1135 ?
phosphonates-binding protein    FN1135
[{'concept': 'nutrient'}, 'encoded by', 'elongation factor G    LBA0289'] [{'concept': 'nutrient'}, 'encoded by', 'phosphonates-binding protein    FN1135']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:encoded_by resource:phosphonates-binding_protein____FN1135 . ?z rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q181394),P702,Q23115717)
[{'concept': 'Q181394'}, 'P702', 'Q23115717']
[{'concept': 'nutrient'}, 'encoded by', 'phosphonates-binding protein    FN1135']
[]
SYSTEM
1
Q23460080
(c(Q181394),P702,Q23115717)
[ANSWER]
[{'concept': 'Q181394'}, 'P702', 'Q23115717']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P702 resource:Q23115717 . ?z rdf:type ontology:Q181394 }
phosphonates-binding protein    FN1135
1
[{'concept': 'nutrient'}, 'encoded by', 'phosphonates-binding protein    FN1135']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:encoded_by resource:phosphonates-binding_protein____FN1135 . ?z rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q21114915
Q181394
USER
And also tell me about Lysozyme C?
(Q21114915,P702,c(Q181394))
action count
action filter_type
action find
entity Q21114915
relation P702
type Q181394
['Q21114915', 'P702', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q21114915 property:P702 ?y . ?y rdf:type ontology:Q181394 }
Lysozyme C
action count
action filter_type
action find
entity Lysozyme C
relation encoded by
type nutrient
['Lysozyme C', 'encoded by', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Lysozyme_C property:encoded_by ?y . ?y rdf:type ontology:nutrient }
[]
nutrient
SYSTEM
1
(Q21114915,P702,c(Q181394))
action count
action filter_type
action find
entity Q21114915
relation P702
type Q181394
[ANSWER]
['Q21114915', 'P702', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q21114915 property:P702 ?y . ?y rdf:type ontology:Q181394 }
1
action count
action filter_type
action find
entity Lysozyme C
relation encoded by
type nutrient
['Lysozyme C', 'encoded by', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Lysozyme_C property:encoded_by ?y . ?y rdf:type ontology:nutrient }
[]