Simple Question (Direct)
Simple Question
Q23570444
P703
Q16521
USER
Which taxon is hypothetical protein    glr4296 found in ?
(Q23570444,P703,c(Q16521))
action filter_type
action find
entity Q23570444
relation P703
type Q16521
['Q23570444', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?c WHERE { resource:Q23570444 property:P703 ?c . ?c rdf:type ontology:Q16521 }
hypothetical protein    glr4296
action filter_type
action find
entity hypothetical protein    glr4296
relation found in taxon
type taxon
['hypothetical protein    glr4296', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?c WHERE { resource:hypothetical_protein____glr4296 property:found_in_taxon ?c . ?c rdf:type ontology:taxon }
[]
taxon
Q21398052
SYSTEM
Gloeobacter violaceus PCC 7421
Q21398052
(Q23570444,P703,c(Q16521))
action filter_type
action find
entity Q23570444
relation P703
type Q16521
Hypothetical protein glr4296 is found in [ANSWER]
['Q23570444', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?c WHERE { resource:Q23570444 property:P703 ?c . ?c rdf:type ontology:Q16521 }
Gloeobacter violaceus PCC 7421
Hypothetical protein glr4296 is found in Gloeobacter violaceus PCC 7421
Gloeobacter violaceus PCC 7421
action filter_type
action find
entity hypothetical protein    glr4296
relation found in taxon
type taxon
['hypothetical protein    glr4296', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?c WHERE { resource:hypothetical_protein____glr4296 property:found_in_taxon ?c . ?c rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23570444
P702
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(Q21398052,P702,c(Q863908))
action filter_type
action find
entity Q23570444
relation P702
type Q863908
['Q21398052', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q863908 . resource:Q23570444 property:P702 ?w }
hypothetical protein    glr4296
action filter_type
action find
entity hypothetical protein    glr4296
relation encoded by
type nucleic acid sequence
['Gloeobacter violaceus PCC 7421', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:nucleic_acid_sequence . resource:hypothetical_protein____glr4296 property:encoded_by ?w }
[]
nucleic acid sequence
Q23267579
SYSTEM
hypothetical protein    glr4296
Q23267579
(Q21398052,P702,c(Q863908))
action filter_type
action find
entity Q23570444
relation P702
type Q863908
Hypothetical protein glr4296 encodes that nutrient
['Q21398052', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q863908 . resource:Q23570444 property:P702 ?w }
hypothetical protein    glr4296
Hypothetical protein glr4296 encodes that nutrient
hypothetical protein    glr4296
action filter_type
action find
entity hypothetical protein    glr4296
relation encoded by
type nucleic acid sequence
['Gloeobacter violaceus PCC 7421', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:nucleic_acid_sequence . resource:hypothetical_protein____glr4296 property:encoded_by ?w }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q23267579 Q24223600 Q23447892
P688
Q181394
USER
Does hypothetical protein    glr4296 encode blr6071    blr6071 and hypothetical protein    CBU_1552a ?
(Q23267579,P688,Q24223600) (Q23267579,P688,Q23447892)
action is_in
entity Q23267579
action intersection
action find_reverse
entity Q24223600
relation P688
action find_reverse
entity Q23447892
relation P688
['Q23267579', 'P688', 'Q24223600'] ['Q23267579', 'P688', 'Q23447892']
ASK WHERE { resource:Q23267579 property:P688 resource:Q23447892 . resource:Q23267579 property:P688 resource:Q24223600 }
hypothetical protein    glr4296 blr6071    blr6071 hypothetical protein    CBU_1552a
action is_in
entity hypothetical protein    glr4296
action intersection
action find_reverse
entity blr6071    blr6071
relation encodes
action find_reverse
entity hypothetical protein    CBU_1552a
relation encodes
['hypothetical protein    glr4296', 'encodes', 'blr6071    blr6071'] ['hypothetical protein    glr4296', 'encodes', 'hypothetical protein    CBU_1552a']
ASK WHERE { resource:hypothetical_protein____glr4296 property:encodes resource:hypothetical_protein____CBU_1552a . resource:hypothetical_protein____glr4296 property:encodes resource:blr6071____blr6071 }
[]
nutrient
SYSTEM
NO
(Q23267579,P688,Q24223600) (Q23267579,P688,Q23447892)
action is_in
entity Q23267579
action intersection
action find_reverse
entity Q24223600
relation P688
action find_reverse
entity Q23447892
relation P688
[ANSWER]
['Q23267579', 'P688', 'Q24223600'] ['Q23267579', 'P688', 'Q23447892']
ASK WHERE { resource:Q23267579 property:P688 resource:Q23447892 . resource:Q23267579 property:P688 resource:Q24223600 }
No
action is_in
entity hypothetical protein    glr4296
action intersection
action find_reverse
entity blr6071    blr6071
relation encodes
action find_reverse
entity hypothetical protein    CBU_1552a
relation encodes
['hypothetical protein    glr4296', 'encodes', 'blr6071    blr6071'] ['hypothetical protein    glr4296', 'encodes', 'hypothetical protein    CBU_1552a']
ASK WHERE { resource:hypothetical_protein____glr4296 property:encodes resource:hypothetical_protein____CBU_1552a . resource:hypothetical_protein____glr4296 property:encodes resource:blr6071____blr6071 }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q14349455 Q23267579
P702 P681
Q181394
USER
Which nutrients do hypothetical protein    glr4296 encode and are membrane a cell component of ?
AND((c(Q181394),P702,Q23267579), (c(Q181394),P681,Q14349455))
action filter_type
action intersection
action find_reverse
entity Q23267579
relation P702
action find_reverse
entity Q14349455
relation P681
type Q181394
{'AND': [[{'concept': 'Q181394'}, 'P702', 'Q23267579'], [{'concept': 'Q181394'}, 'P681', 'Q14349455']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q181394 . ?b property:P702 resource:Q23267579 . ?b property:P681 resource:Q14349455 }
membrane hypothetical protein    glr4296
action filter_type
action intersection
action find_reverse
entity hypothetical protein    glr4296
relation encoded by
action find_reverse
entity membrane
relation cell component
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'encoded by', 'hypothetical protein    glr4296'], [{'concept': 'nutrient'}, 'cell component', 'membrane']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:nutrient . ?b property:encoded_by resource:hypothetical_protein____glr4296 . ?b property:cell_component resource:membrane }
[]
nutrient
Q23570444
SYSTEM
hypothetical protein    glr4296
Q23570444
AND((c(Q181394),P702,Q23267579), (c(Q181394),P681,Q14349455))
action filter_type
action intersection
action find_reverse
entity Q23267579
relation P702
action find_reverse
entity Q14349455
relation P681
type Q181394
Hypothetical protein glr4296 encode and are membrane a cell component of the hypothetical protein glr4296
{'AND': [[{'concept': 'Q181394'}, 'P702', 'Q23267579'], [{'concept': 'Q181394'}, 'P681', 'Q14349455']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q181394 . ?b property:P702 resource:Q23267579 . ?b property:P681 resource:Q14349455 }
hypothetical protein    glr4296
Hypothetical protein glr4296 encode and are membrane a cell component of the hypothetical protein glr4296
hypothetical protein    glr4296
action filter_type
action intersection
action find_reverse
entity hypothetical protein    glr4296
relation encoded by
action find_reverse
entity membrane
relation cell component
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'encoded by', 'hypothetical protein    glr4296'], [{'concept': 'nutrient'}, 'cell component', 'membrane']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:nutrient . ?b property:encoded_by resource:hypothetical_protein____glr4296 . ?b property:cell_component resource:membrane }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23149008 Q23267579
P688
Q181394
USER
Which nutrients are encoded by hypothetical protein    glr4296 or di-/tripeptide transporter    VF_0802 ?
OR((Q23267579,P688,c(Q181394)), (Q23149008,P688,c(Q181394)))
action filter_type
action union
action find
entity Q23267579
relation P688
action find
entity Q23149008
relation P688
type Q181394
{'OR': [['Q23267579', 'P688', {'concept': 'Q181394'}], ['Q23149008', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q23267579 property:P688 ?r } UNION { resource:Q23149008 property:P688 ?r } } . ?r rdf:type ontology:Q181394 }
di-/tripeptide transporter    VF_0802 hypothetical protein    glr4296
action filter_type
action union
action find
entity hypothetical protein    glr4296
relation encodes
action find
entity di-/tripeptide transporter    VF_0802
relation encodes
type nutrient
{'OR': [['hypothetical protein    glr4296', 'encodes', {'concept': 'nutrient'}], ['di-/tripeptide transporter    VF_0802', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?r WHERE { { { resource:hypothetical_protein____glr4296 property:encodes ?r } UNION { resource:di-/tripeptide_transporter____VF_0802 property:encodes ?r } } . ?r rdf:type ontology:nutrient }
[]
nutrient
Q23436888 Q23570444
SYSTEM
di-/tripeptide transporter    VF_0802, hypothetical protein    glr4296
Q23436888 Q23570444
OR((Q23267579,P688,c(Q181394)), (Q23149008,P688,c(Q181394)))
action filter_type
action union
action find
entity Q23267579
relation P688
action find
entity Q23149008
relation P688
type Q181394
[ANSWERS]
{'OR': [['Q23267579', 'P688', {'concept': 'Q181394'}], ['Q23149008', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q23267579 property:P688 ?r } UNION { resource:Q23149008 property:P688 ?r } } . ?r rdf:type ontology:Q181394 }
di-/tripeptide transporter    VF_0802 hypothetical protein    glr4296
Di-/tripeptide transporter VF 0802 and hypothetical protein glr4296 are encoded by hypothetical protein glr4296 or di-/tripeptide transporter VF_0802
di-/tripeptide transporter    VF_0802 hypothetical protein    glr4296
action filter_type
action union
action find
entity hypothetical protein    glr4296
relation encodes
action find
entity di-/tripeptide transporter    VF_0802
relation encodes
type nutrient
{'OR': [['hypothetical protein    glr4296', 'encodes', {'concept': 'nutrient'}], ['di-/tripeptide transporter    VF_0802', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?r WHERE { { { resource:hypothetical_protein____glr4296 property:encodes ?r } UNION { resource:di-/tripeptide_transporter____VF_0802 property:encodes ?r } } . ?r rdf:type ontology:nutrient }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q14859560
P682
Q3249551 Q181394
USER
How many processes are more number of nutrients involved in than response to stimulus ?
(c(Q181394),P682,c(Q3249551))
action count
action greater
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
action count
action filter_type
action find
entity Q14859560
relation P682
type Q3249551
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P682 ?f . ?f rdf:type ontology:Q3249551 . ?l rdf:type ontology:Q181394 } GROUP BY ?f } . FILTER ( ?c > ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q14859560 property:P682 ?m . ?m rdf:type ontology:Q3249551 } } }
response to stimulus
action count
action greater
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
action count
action filter_type
action find
entity response to stimulus
relation biological process
type process
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:biological_process ?f . ?f rdf:type ontology:process . ?l rdf:type ontology:nutrient } GROUP BY ?f } . FILTER ( ?c > ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:response_to_stimulus property:biological_process ?m . ?m rdf:type ontology:process } } }
[]
process nutrient
SYSTEM
2
Q14916317 Q1057
(c(Q181394),P682,c(Q3249551))
action count
action greater
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
action count
action filter_type
action find
entity Q14859560
relation P682
type Q3249551
[ANSWER]
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P682 ?f . ?f rdf:type ontology:Q3249551 . ?l rdf:type ontology:Q181394 } GROUP BY ?f } . FILTER ( ?c > ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q14859560 property:P682 ?m . ?m rdf:type ontology:Q3249551 } } }
immune system process metabolic process
2
action count
action greater
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
action count
action filter_type
action find
entity response to stimulus
relation biological process
type process
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:biological_process ?f . ?f rdf:type ontology:process . ?l rdf:type ontology:nutrient } GROUP BY ?f } . FILTER ( ?c > ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:response_to_stimulus property:biological_process ?m . ?m rdf:type ontology:process } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q79529 Q181394
USER
How many nutrients do exactly 26 chemical substances and nutrients contact with ?
(c(Q79529)|c(Q181394),P129,c(Q181394))
action count
action equal
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
value 26
[[{'concept': 'Q79529'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { FILTER ( ?v = 26 ) . { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?v ) WHERE { VALUES ( ?k ) { ( ontology:Q181394 ) ( ontology:Q79529 ) } . ?d rdf:type ?k } GROUP BY ?r } }
action count
action equal
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
value 26
[[{'concept': 'chemical substance'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { FILTER ( ?v = 26 ) . { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?v ) WHERE { VALUES ( ?k ) { ( ontology:nutrient ) ( ontology:chemical_substance ) } . ?d rdf:type ?k } GROUP BY ?r } }
[]
nutrient chemical substance nutrient
SYSTEM
2
Q288797 Q21109363
(c(Q79529)|c(Q181394),P129,c(Q181394))
action count
action equal
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
value 26
[ANSWER]
[[{'concept': 'Q79529'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { FILTER ( ?v = 26 ) . { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?v ) WHERE { VALUES ( ?k ) { ( ontology:Q181394 ) ( ontology:Q79529 ) } . ?d rdf:type ?k } GROUP BY ?r } }
5-hydroxytryptamine receptor 1B 5-hydroxytryptamine receptor 6
2
action count
action equal
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
value 26
[[{'concept': 'chemical substance'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { FILTER ( ?v = 26 ) . { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?v ) WHERE { VALUES ( ?k ) { ( ontology:nutrient ) ( ontology:chemical_substance ) } . ?d rdf:type ?k } GROUP BY ?r } }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23257162
Q863908
USER
And what about amidase    Mb2912c?
(Q23257162,P688,c(Q863908))
action filter_type
action find
entity Q23257162
relation P688
type Q863908
['Q23257162', 'P688', {'concept': 'Q863908'}]
SELECT DISTINCT ?k WHERE { resource:Q23257162 property:P688 ?k . ?k rdf:type ontology:Q863908 }
amidase    Mb2912c
action filter_type
action find
entity amidase    Mb2912c
relation encodes
type nucleic acid sequence
['amidase    Mb2912c', 'encodes', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?k WHERE { resource:amidase____Mb2912c property:encodes ?k . ?k rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23257162
SYSTEM
amidase    Mb2912c
Q23257162
(Q23257162,P688,c(Q863908))
action filter_type
action find
entity Q23257162
relation P688
type Q863908
[ANSWER]
['Q23257162', 'P688', {'concept': 'Q863908'}]
SELECT DISTINCT ?k WHERE { resource:Q23257162 property:P688 ?k . ?k rdf:type ontology:Q863908 }
amidase    Mb2912c
amidase    Mb2912c
action filter_type
action find
entity amidase    Mb2912c
relation encodes
type nucleic acid sequence
['amidase    Mb2912c', 'encodes', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?k WHERE { resource:amidase____Mb2912c property:encodes ?k . ?k rdf:type ontology:nucleic_acid_sequence }
[]