Simple Question (Direct)
Simple Question
Q23468959
P703
Q631147
USER
What is the taxon to which ABC transporter    Rru_A2339 belongs to ?
(Q23468959,P703,c(Q631147))
action filter_type
action find
entity Q23468959
relation P703
type Q631147
['Q23468959', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?t WHERE { resource:Q23468959 property:P703 ?t . ?t rdf:type ontology:Q631147 }
ABC transporter    Rru_A2339
action filter_type
action find
entity ABC transporter    Rru_A2339
relation found in taxon
type infraspecific name
['ABC transporter    Rru_A2339', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?t WHERE { resource:ABC_transporter____Rru_A2339 property:found_in_taxon ?t . ?t rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102954
SYSTEM
Rhodospirillum rubrum ATCC 11170
Q21102954
(Q23468959,P703,c(Q631147))
action filter_type
action find
entity Q23468959
relation P703
type Q631147
[ANSWER]
['Q23468959', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?t WHERE { resource:Q23468959 property:P703 ?t . ?t rdf:type ontology:Q631147 }
Rhodospirillum rubrum ATCC 11170
Rhodospirillum rubrum ATCC 11170
Rhodospirillum rubrum ATCC 11170
action filter_type
action find
entity ABC transporter    Rru_A2339
relation found in taxon
type infraspecific name
['ABC transporter    Rru_A2339', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?t WHERE { resource:ABC_transporter____Rru_A2339 property:found_in_taxon ?t . ?t rdf:type ontology:infraspecific_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23468959
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q21102954)
action filter_type
action find_reverse
entity Q23468959
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21102954']
SELECT DISTINCT ?l WHERE { ?l property:P688 resource:Q23468959 . ?l rdf:type ontology:Q863908 }
ABC transporter    Rru_A2339
action filter_type
action find_reverse
entity ABC transporter    Rru_A2339
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Rhodospirillum rubrum ATCC 11170']
SELECT DISTINCT ?l WHERE { ?l property:encodes resource:ABC_transporter____Rru_A2339 . ?l rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23376417
SYSTEM
ABC transporter    Rru_A2339
Q23376417
(c(Q863908),P688,Q21102954)
action filter_type
action find_reverse
entity Q23468959
relation P688
type Q863908
ABC transporter Rru A2339 encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q21102954']
SELECT DISTINCT ?l WHERE { ?l property:P688 resource:Q23468959 . ?l rdf:type ontology:Q863908 }
ABC transporter    Rru_A2339
ABC transporter Rru A2339 encodes that nutrient
ABC transporter    Rru_A2339
action filter_type
action find_reverse
entity ABC transporter    Rru_A2339
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Rhodospirillum rubrum ATCC 11170']
SELECT DISTINCT ?l WHERE { ?l property:encodes resource:ABC_transporter____Rru_A2339 . ?l rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23468959
P702
Q863908
USER
What is the gene that encodes ABC transporter    Rru_A2339 ?
(Q23468959,P702,c(Q863908))
action filter_type
action find
entity Q23468959
relation P702
type Q863908
['Q23468959', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?c WHERE { resource:Q23468959 property:P702 ?c . ?c rdf:type ontology:Q863908 }
ABC transporter    Rru_A2339
action filter_type
action find
entity ABC transporter    Rru_A2339
relation encoded by
type nucleic acid sequence
['ABC transporter    Rru_A2339', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?c WHERE { resource:ABC_transporter____Rru_A2339 property:encoded_by ?c . ?c rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23376417
SYSTEM
ABC transporter    Rru_A2339
Q23376417
(Q23468959,P702,c(Q863908))
action filter_type
action find
entity Q23468959
relation P702
type Q863908
The gene that encodes ABC transporter Rru_A2339 is not ABC transporter Rru A2339
['Q23468959', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?c WHERE { resource:Q23468959 property:P702 ?c . ?c rdf:type ontology:Q863908 }
ABC transporter    Rru_A2339
The gene that encodes ABC transporter Rru_A2339 is not ABC transporter Rru A2339
ABC transporter    Rru_A2339
action filter_type
action find
entity ABC transporter    Rru_A2339
relation encoded by
type nucleic acid sequence
['ABC transporter    Rru_A2339', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?c WHERE { resource:ABC_transporter____Rru_A2339 property:encoded_by ?c . ?c rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23447177
Q863908
USER
And also tell me about Slt family transglycosylase    CBU_0313?
(Q23447177,P702,c(Q863908))
action filter_type
action find
entity Q23447177
relation P702
type Q863908
['Q23447177', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?q WHERE { resource:Q23447177 property:P702 ?q . ?q rdf:type ontology:Q863908 }
Slt family transglycosylase    CBU_0313
action filter_type
action find
entity Slt family transglycosylase    CBU_0313
relation encoded by
type nucleic acid sequence
['Slt family transglycosylase    CBU_0313', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?q WHERE { resource:Slt_family_transglycosylase____CBU_0313 property:encoded_by ?q . ?q rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23360131
SYSTEM
Slt family transglycosylase    CBU_0313
Q23360131
(Q23447177,P702,c(Q863908))
action filter_type
action find
entity Q23447177
relation P702
type Q863908
[ANSWER]
['Q23447177', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?q WHERE { resource:Q23447177 property:P702 ?q . ?q rdf:type ontology:Q863908 }
Slt family transglycosylase    CBU_0313
Slt family transglycosylase    CBU_0313
action filter_type
action find
entity Slt family transglycosylase    CBU_0313
relation encoded by
type nucleic acid sequence
['Slt family transglycosylase    CBU_0313', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?q WHERE { resource:Slt_family_transglycosylase____CBU_0313 property:encoded_by ?q . ?q rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q23360131 Q23447177
P688
Q181394
USER
Does Slt family transglycosylase    CBU_0313 encode Slt family transglycosylase    CBU_0313 ?
(Q23360131,P688,Q23447177)
action is_in
entity Q23447177
action find
entity Q23360131
relation P688
['Q23360131', 'P688', 'Q23447177']
ASK WHERE { resource:Q23360131 property:P688 resource:Q23447177 }
Slt family transglycosylase    CBU_0313 Slt family transglycosylase    CBU_0313
action is_in
entity Slt family transglycosylase    CBU_0313
action find
entity Slt family transglycosylase    CBU_0313
relation encodes
['Slt family transglycosylase    CBU_0313', 'encodes', 'Slt family transglycosylase    CBU_0313']
ASK WHERE { resource:Slt_family_transglycosylase____CBU_0313 property:encodes resource:Slt_family_transglycosylase____CBU_0313 }
[]
nutrient
SYSTEM
YES
(Q23360131,P688,Q23447177)
action is_in
entity Q23447177
action find
entity Q23360131
relation P688
[ANSWER]
['Q23360131', 'P688', 'Q23447177']
ASK WHERE { resource:Q23360131 property:P688 resource:Q23447177 }
Yes
action is_in
entity Slt family transglycosylase    CBU_0313
action find
entity Slt family transglycosylase    CBU_0313
relation encodes
['Slt family transglycosylase    CBU_0313', 'encodes', 'Slt family transglycosylase    CBU_0313']
ASK WHERE { resource:Slt_family_transglycosylase____CBU_0313 property:encodes resource:Slt_family_transglycosylase____CBU_0313 }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q23376417 Q23468959 Q23606437
P688
Q181394
USER
Does ABC transporter    Rru_A2339 encode ABC transporter    Rru_A2339 and hypothetical protein    Smed_5676 ?
(Q23376417,P688,Q23468959) (Q23376417,P688,Q23606437)
action is_in
entity Q23376417
action intersection
action find_reverse
entity Q23468959
relation P688
action find_reverse
entity Q23606437
relation P688
['Q23376417', 'P688', 'Q23468959'] ['Q23376417', 'P688', 'Q23606437']
ASK WHERE { resource:Q23376417 property:P688 resource:Q23468959 . resource:Q23376417 property:P688 resource:Q23606437 }
ABC transporter    Rru_A2339 ABC transporter    Rru_A2339 hypothetical protein    Smed_5676
action is_in
entity ABC transporter    Rru_A2339
action intersection
action find_reverse
entity ABC transporter    Rru_A2339
relation encodes
action find_reverse
entity hypothetical protein    Smed_5676
relation encodes
['ABC transporter    Rru_A2339', 'encodes', 'ABC transporter    Rru_A2339'] ['ABC transporter    Rru_A2339', 'encodes', 'hypothetical protein    Smed_5676']
ASK WHERE { resource:ABC_transporter____Rru_A2339 property:encodes resource:ABC_transporter____Rru_A2339 . resource:ABC_transporter____Rru_A2339 property:encodes resource:hypothetical_protein____Smed_5676 }
[]
nutrient
SYSTEM
YES and NO respectively
(Q23376417,P688,Q23468959) (Q23376417,P688,Q23606437)
action is_in
entity Q23376417
action intersection
action find_reverse
entity Q23468959
relation P688
action find_reverse
entity Q23606437
relation P688
[ANSWER]
['Q23376417', 'P688', 'Q23468959'] ['Q23376417', 'P688', 'Q23606437']
ASK WHERE { resource:Q23376417 property:P688 resource:Q23468959 . resource:Q23376417 property:P688 resource:Q23606437 }
YES and NO respectively
action is_in
entity ABC transporter    Rru_A2339
action intersection
action find_reverse
entity ABC transporter    Rru_A2339
relation encodes
action find_reverse
entity hypothetical protein    Smed_5676
relation encodes
['ABC transporter    Rru_A2339', 'encodes', 'ABC transporter    Rru_A2339'] ['ABC transporter    Rru_A2339', 'encodes', 'hypothetical protein    Smed_5676']
ASK WHERE { resource:ABC_transporter____Rru_A2339 property:encodes resource:ABC_transporter____Rru_A2339 . resource:ABC_transporter____Rru_A2339 property:encodes resource:hypothetical_protein____Smed_5676 }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q181394 Q79529
USER
Which nutrients do atleast 26 nutrients and chemical substances interact with ?
(c(Q181394)|c(Q79529),P129,c(Q181394))
action atleast
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
value 26
[[{'concept': 'Q181394'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) ?g WHERE { { ?o property:P129 ?g . ?g rdf:type ontology:Q181394 . ?o rdf:type ontology:Q181394 } UNION { ?o property:P129 ?g . ?g rdf:type ontology:Q181394 . ?o rdf:type ontology:Q79529 } } GROUP BY ?g } . FILTER ( ?a >= 26 ) }
action atleast
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
value 26
[[{'concept': 'nutrient'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) ?g WHERE { { ?o property:physically_interacts_with ?g . ?g rdf:type ontology:nutrient . ?o rdf:type ontology:nutrient } UNION { ?o property:physically_interacts_with ?g . ?g rdf:type ontology:nutrient . ?o rdf:type ontology:chemical_substance } } GROUP BY ?g } . FILTER ( ?a >= 26 ) }
[]
nutrient nutrient chemical substance
Q1949517 Q4639596 Q21108118
SYSTEM
5-hydroxytryptamine receptor 2A, 5-hydroxytryptamine receptor 2B, 5-hydroxytryptamine receptor 2C
Q288797 Q4639596 Q21108118 Q21115046 Q21115043 Q1949517 Q21109363
(c(Q181394)|c(Q79529),P129,c(Q181394))
action atleast
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
value 26
[ANSWERS]
[[{'concept': 'Q181394'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) ?g WHERE { { ?o property:P129 ?g . ?g rdf:type ontology:Q181394 . ?o rdf:type ontology:Q181394 } UNION { ?o property:P129 ?g . ?g rdf:type ontology:Q181394 . ?o rdf:type ontology:Q79529 } } GROUP BY ?g } . FILTER ( ?a >= 26 ) }
5-hydroxytryptamine receptor 1B 5-hydroxytryptamine receptor 2B 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1D 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 6
Which nutrients atleast 26 nutrients and chemical substances interact with
5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 2B 5-hydroxytryptamine receptor 2C
action atleast
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
value 26
[[{'concept': 'nutrient'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) ?g WHERE { { ?o property:physically_interacts_with ?g . ?g rdf:type ontology:nutrient . ?o rdf:type ontology:nutrient } UNION { ?o property:physically_interacts_with ?g . ?g rdf:type ontology:nutrient . ?o rdf:type ontology:chemical_substance } } GROUP BY ?g } . FILTER ( ?a >= 26 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q79529 Q181394 Q181394
USER
Which nutrients can interact with around 42 chemical substances or nutrients ?
(c(Q181394),P129,c(Q79529)|c(Q181394))
action approx
action union
action find_tuple_counts
relation P129
type Q181394
type Q79529
action find_tuple_counts
relation P129
type Q181394
type Q181394
value 42
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q79529'}, {'concept': 'Q181394'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:Q181394 ) ( ontology:Q79529 ) } . ?w rdf:type ?s } GROUP BY ?g } . FILTER ( ?k = 42 ) }
action approx
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
value 42
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'chemical substance'}, {'concept': 'nutrient'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:nutrient ) ( ontology:chemical_substance ) } . ?w rdf:type ?s } GROUP BY ?g } . FILTER ( ?k = 42 ) }
[]
chemical substance nutrient nutrient
Q21108118 Q21115043 Q1949517
SYSTEM
5-hydroxytryptamine receptor 2C, 5-hydroxytryptamine receptor 1A, 5-hydroxytryptamine receptor 2A
Q21108118 Q21115043 Q1949517
(c(Q181394),P129,c(Q79529)|c(Q181394))
action approx
action union
action find_tuple_counts
relation P129
type Q181394
type Q79529
action find_tuple_counts
relation P129
type Q181394
type Q181394
value 42
[ANSWERS] can interact with around 42 chemical substances or nutrients
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q79529'}, {'concept': 'Q181394'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:Q181394 ) ( ontology:Q79529 ) } . ?w rdf:type ?s } GROUP BY ?g } . FILTER ( ?k = 42 ) }
5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A
5-hydroxytryptamine receptor 2C, 5-hydroxytryptamine receptor 1A and 5-hydroxytryptamine receptor 2A can interact with around 42 chemical substances or nutrients
5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A
action approx
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
value 42
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'chemical substance'}, {'concept': 'nutrient'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:nutrient ) ( ontology:chemical_substance ) } . ?w rdf:type ?s } GROUP BY ?g } . FILTER ( ?k = 42 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q21108118 Q21115043 Q1949517
P688
Q863908
USER
Which nucleic acid sequences encode those nutrients ?
(c(Q863908),P688,Q21108118) (c(Q863908),P688,Q21115043) (c(Q863908),P688,Q1949517)
action filter_type
action find_reverse
entity prev_answer
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21108118'] [{'concept': 'Q863908'}, 'P688', 'Q21115043'] [{'concept': 'Q863908'}, 'P688', 'Q1949517']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q863908 . ?o property:P688 ?l . VALUES ( ?l ) { ( resource:Q21108118 ) ( resource:Q21115043 ) ( resource:Q1949517 ) } }
5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A
action filter_type
action find_reverse
entity prev_answer
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', '5-hydroxytryptamine receptor 2C'] [{'concept': 'nucleic acid sequence'}, 'encodes', '5-hydroxytryptamine receptor 1A'] [{'concept': 'nucleic acid sequence'}, 'encodes', '5-hydroxytryptamine receptor 2A']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:nucleic_acid_sequence . ?o property:encodes ?l . VALUES ( ?l ) { ( resource:5-hydroxytryptamine_receptor_2C ) ( resource:5-hydroxytryptamine_receptor_1A ) ( resource:5-hydroxytryptamine_receptor_2A ) } }
[]
nucleic acid sequence
Q18027437 Q238509 Q14891424
SYSTEM
HTR2C, HTR1A, HTR2A
Q18027437 Q238509 Q14891424
(c(Q863908),P688,Q21108118) (c(Q863908),P688,Q21115043) (c(Q863908),P688,Q1949517)
action filter_type
action find_reverse
entity prev_answer
relation P688
type Q863908
[ANSWERS] encode those nutrients
[{'concept': 'Q863908'}, 'P688', 'Q21108118'] [{'concept': 'Q863908'}, 'P688', 'Q21115043'] [{'concept': 'Q863908'}, 'P688', 'Q1949517']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q863908 . ?o property:P688 ?l . VALUES ( ?l ) { ( resource:Q21108118 ) ( resource:Q21115043 ) ( resource:Q1949517 ) } }
HTR2C HTR1A HTR2A
HTR2C, HTR1A and HTR2A encode those nutrients
HTR2C HTR1A HTR2A
action filter_type
action find_reverse
entity prev_answer
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', '5-hydroxytryptamine receptor 2C'] [{'concept': 'nucleic acid sequence'}, 'encodes', '5-hydroxytryptamine receptor 1A'] [{'concept': 'nucleic acid sequence'}, 'encodes', '5-hydroxytryptamine receptor 2A']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:nucleic_acid_sequence . ?o property:encodes ?l . VALUES ( ?l ) { ( resource:5-hydroxytryptamine_receptor_2C ) ( resource:5-hydroxytryptamine_receptor_1A ) ( resource:5-hydroxytryptamine_receptor_2A ) } }
[]