Simple Question (Direct)
Simple Question
Q23572279
P680
Q44424
USER
What represents the molecular function of 7-cyano-7-deazaguanine synthase QueC    gll3037 ?
(Q23572279,P680,c(Q44424))
action filter_type
action find
entity Q23572279
relation P680
type Q44424
['Q23572279', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q44424 . resource:Q23572279 property:P680 ?w }
7-cyano-7-deazaguanine synthase QueC    gll3037
action filter_type
action find
entity 7-cyano-7-deazaguanine synthase QueC    gll3037
relation molecular function
type chemical bond
['7-cyano-7-deazaguanine synthase QueC    gll3037', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:chemical_bond . resource:7-cyano-7-deazaguanine_synthase_QueC____gll3037 property:molecular_function ?w }
[]
chemical bond
Q14633865 Q13667380
SYSTEM
zinc ion binding, metal ion binding
Q14633865 Q13667380
(Q23572279,P680,c(Q44424))
action filter_type
action find
entity Q23572279
relation P680
type Q44424
The [ANSWERS] represent the molecular function of 7-cyano-7-deazaguanine synthase QueC gll3037
['Q23572279', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q44424 . resource:Q23572279 property:P680 ?w }
zinc ion binding metal ion binding
The zinc ion binding and metal ion binding represent the molecular function of 7-cyano-7-deazaguanine synthase QueC gll3037
zinc ion binding metal ion binding
action filter_type
action find
entity 7-cyano-7-deazaguanine synthase QueC    gll3037
relation molecular function
type chemical bond
['7-cyano-7-deazaguanine synthase QueC    gll3037', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:chemical_bond . resource:7-cyano-7-deazaguanine_synthase_QueC____gll3037 property:molecular_function ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23572279
P688
Q863908
USER
What is the nucleic acid sequence that is encoded by 7-cyano-7-deazaguanine synthase QueC    gll3037 ?
(c(Q863908),P688,Q23572279)
action filter_type
action find_reverse
entity Q23572279
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q23572279']
SELECT DISTINCT ?d WHERE { ?d property:P688 resource:Q23572279 . ?d rdf:type ontology:Q863908 }
7-cyano-7-deazaguanine synthase QueC    gll3037
action filter_type
action find_reverse
entity 7-cyano-7-deazaguanine synthase QueC    gll3037
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', '7-cyano-7-deazaguanine synthase QueC    gll3037']
SELECT DISTINCT ?d WHERE { ?d property:encodes resource:7-cyano-7-deazaguanine_synthase_QueC____gll3037 . ?d rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23271223
SYSTEM
7-cyano-7-deazaguanine synthase QueC    gll3037
Q23271223
(c(Q863908),P688,Q23572279)
action filter_type
action find_reverse
entity Q23572279
relation P688
type Q863908
The nucleic acid sequence that is encoded by 7-cyano-7-deazaguanine synthase QueC gll3037 is in 7-cyano-7-deazaguanine synthase QueC gll3037
[{'concept': 'Q863908'}, 'P688', 'Q23572279']
SELECT DISTINCT ?d WHERE { ?d property:P688 resource:Q23572279 . ?d rdf:type ontology:Q863908 }
7-cyano-7-deazaguanine synthase QueC    gll3037
The nucleic acid sequence that is encoded by 7-cyano-7-deazaguanine synthase QueC gll3037 is in 7-cyano-7-deazaguanine synthase QueC gll3037
7-cyano-7-deazaguanine synthase QueC    gll3037
action filter_type
action find_reverse
entity 7-cyano-7-deazaguanine synthase QueC    gll3037
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', '7-cyano-7-deazaguanine synthase QueC    gll3037']
SELECT DISTINCT ?d WHERE { ?d property:encodes resource:7-cyano-7-deazaguanine_synthase_QueC____gll3037 . ?d rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q21759591 Q23572279
P688
Q863908
USER
Or hypothetical protein    PA4658?
OR((c(Q863908),P688,Q23572279), (c(Q863908),P688,Q21759591))
action filter_type
action union
action find_reverse
entity Q23572279
relation P688
action find_reverse
entity Q21759591
relation P688
type Q863908
{'OR': [[{'concept': 'Q863908'}, 'P688', 'Q23572279'], [{'concept': 'Q863908'}, 'P688', 'Q21759591']]}
SELECT DISTINCT ?b WHERE { { { ?b property:P688 resource:Q23572279 } UNION { ?b property:P688 resource:Q21759591 } } . ?b rdf:type ontology:Q863908 }
hypothetical protein    PA4658 7-cyano-7-deazaguanine synthase QueC    gll3037
action filter_type
action union
action find_reverse
entity 7-cyano-7-deazaguanine synthase QueC    gll3037
relation encodes
action find_reverse
entity hypothetical protein    PA4658
relation encodes
type nucleic acid sequence
{'OR': [[{'concept': 'nucleic acid sequence'}, 'encodes', '7-cyano-7-deazaguanine synthase QueC    gll3037'], [{'concept': 'nucleic acid sequence'}, 'encodes', 'hypothetical protein    PA4658']]}
SELECT DISTINCT ?b WHERE { { { ?b property:encodes resource:7-cyano-7-deazaguanine_synthase_QueC____gll3037 } UNION { ?b property:encodes resource:hypothetical_protein____PA4658 } } . ?b rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23271223 Q21690497
SYSTEM
7-cyano-7-deazaguanine synthase QueC    gll3037, hypothetical protein    PA4658
Q23271223 Q21690497
OR((c(Q863908),P688,Q23572279), (c(Q863908),P688,Q21759591))
action filter_type
action union
action find_reverse
entity Q23572279
relation P688
action find_reverse
entity Q21759591
relation P688
type Q863908
[ANSWERS]
{'OR': [[{'concept': 'Q863908'}, 'P688', 'Q23572279'], [{'concept': 'Q863908'}, 'P688', 'Q21759591']]}
SELECT DISTINCT ?b WHERE { { { ?b property:P688 resource:Q23572279 } UNION { ?b property:P688 resource:Q21759591 } } . ?b rdf:type ontology:Q863908 }
7-cyano-7-deazaguanine synthase QueC    gll3037 hypothetical protein    PA4658
7-cyano-7-deazaguanine synthase QueC    gll3037 hypothetical protein    PA4658
action filter_type
action union
action find_reverse
entity 7-cyano-7-deazaguanine synthase QueC    gll3037
relation encodes
action find_reverse
entity hypothetical protein    PA4658
relation encodes
type nucleic acid sequence
{'OR': [[{'concept': 'nucleic acid sequence'}, 'encodes', '7-cyano-7-deazaguanine synthase QueC    gll3037'], [{'concept': 'nucleic acid sequence'}, 'encodes', 'hypothetical protein    PA4658']]}
SELECT DISTINCT ?b WHERE { { { ?b property:encodes resource:7-cyano-7-deazaguanine_synthase_QueC____gll3037 } UNION { ?b property:encodes resource:hypothetical_protein____PA4658 } } . ?b rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q23271223 Q21690497
P688
Q181394
USER
Which nutrients are encoded by those nucleic acid sequences ?
(Q23271223,P688,c(Q181394)) (Q21690497,P688,c(Q181394))
action filter_type
action find
entity prev_answer
relation P688
type Q181394
['Q23271223', 'P688', {'concept': 'Q181394'}] ['Q21690497', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q181394 . ?a property:P688 ?e . VALUES ( ?a ) { ( resource:Q23271223 ) ( resource:Q21690497 ) } }
7-cyano-7-deazaguanine synthase QueC    gll3037 hypothetical protein    PA4658
action filter_type
action find
entity prev_answer
relation encodes
type nutrient
['7-cyano-7-deazaguanine synthase QueC    gll3037', 'encodes', {'concept': 'nutrient'}] ['hypothetical protein    PA4658', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:nutrient . ?a property:encodes ?e . VALUES ( ?a ) { ( resource:7-cyano-7-deazaguanine_synthase_QueC____gll3037 ) ( resource:hypothetical_protein____PA4658 ) } }
[]
nutrient
Q23572279 Q21759591
SYSTEM
7-cyano-7-deazaguanine synthase QueC    gll3037, hypothetical protein    PA4658
Q23572279 Q21759591
(Q23271223,P688,c(Q181394)) (Q21690497,P688,c(Q181394))
action filter_type
action find
entity prev_answer
relation P688
type Q181394
[ANSWERS]
['Q23271223', 'P688', {'concept': 'Q181394'}] ['Q21690497', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q181394 . ?a property:P688 ?e . VALUES ( ?a ) { ( resource:Q23271223 ) ( resource:Q21690497 ) } }
7-cyano-7-deazaguanine synthase QueC    gll3037 hypothetical protein    PA4658
7-cyano-7-deazaguanine synthase QueC gll3037 and hypothetical protein PA4658 are encoded by those nucleic acid sequences
7-cyano-7-deazaguanine synthase QueC    gll3037 hypothetical protein    PA4658
action filter_type
action find
entity prev_answer
relation encodes
type nutrient
['7-cyano-7-deazaguanine synthase QueC    gll3037', 'encodes', {'concept': 'nutrient'}] ['hypothetical protein    PA4658', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:nutrient . ?a property:encodes ?e . VALUES ( ?a ) { ( resource:7-cyano-7-deazaguanine_synthase_QueC____gll3037 ) ( resource:hypothetical_protein____PA4658 ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21759591
P702
Q863908
USER
What encodes that nutrient ?
(Q21759591,P702,c(Q863908))
action filter_type
action find
entity Q21759591
relation P702
type Q863908
['Q21759591', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q863908 . resource:Q21759591 property:P702 ?w }
hypothetical protein    PA4658
action filter_type
action find
entity hypothetical protein    PA4658
relation encoded by
type nucleic acid sequence
['hypothetical protein    PA4658', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:nucleic_acid_sequence . resource:hypothetical_protein____PA4658 property:encoded_by ?w }
[]
nucleic acid sequence
Clarification for simple ques.
Q21759591
SYSTEM
Did you mean hypothetical protein    PA4658 ?
Q23572279 Q21759591
(Q23572279,P702,c(Q863908)) (Q21759591,P702,c(Q863908))
[ANSWER]
['Q23572279', 'P702', {'concept': 'Q863908'}] ['Q21759591', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q863908 . resource:Q21759591 property:P702 ?w }
7-cyano-7-deazaguanine synthase QueC    gll3037 hypothetical protein    PA4658
Did you mean hypothetical protein    PA4658 ?
hypothetical protein    PA4658
['7-cyano-7-deazaguanine synthase QueC    gll3037', 'encoded by', {'concept': 'nucleic acid sequence'}] ['hypothetical protein    PA4658', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:nucleic_acid_sequence . resource:hypothetical_protein____PA4658 property:encoded_by ?w }
[]
Simple Question (Coreferenced)
USER
Yes
(Q21759591,P702,c(Q863908))
['Q21759591', 'P702', {'concept': 'Q863908'}]
['hypothetical protein    PA4658', 'encoded by', {'concept': 'nucleic acid sequence'}]
[]
Q21690497
SYSTEM
hypothetical protein    PA4658
Q21690497
(Q21759591,P702,c(Q863908))
action filter_type
action find
entity Q21759591
relation P702
type Q863908
Hypothetical protein PA4658 encodes that nutrient
['Q21759591', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q863908 . resource:Q21759591 property:P702 ?w }
hypothetical protein    PA4658
Hypothetical protein PA4658 encodes that nutrient
hypothetical protein    PA4658
action filter_type
action find
entity hypothetical protein    PA4658
relation encoded by
type nucleic acid sequence
['hypothetical protein    PA4658', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:nucleic_acid_sequence . resource:hypothetical_protein____PA4658 property:encoded_by ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21690497
P702
Q181394
USER
Which nutrient is encoded by that nucleic acid sequence ?
(c(Q181394),P702,Q21690497)
action filter_type
action find_reverse
entity Q21690497
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q21690497']
SELECT DISTINCT ?q WHERE { ?q property:P702 resource:Q21690497 . ?q rdf:type ontology:Q181394 }
hypothetical protein    PA4658
action filter_type
action find_reverse
entity hypothetical protein    PA4658
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'hypothetical protein    PA4658']
SELECT DISTINCT ?q WHERE { ?q property:encoded_by resource:hypothetical_protein____PA4658 . ?q rdf:type ontology:nutrient }
[]
nutrient
Q21759591
SYSTEM
hypothetical protein    PA4658
Q21759591
(c(Q181394),P702,Q21690497)
action filter_type
action find_reverse
entity Q21690497
relation P702
type Q181394
Hypothetical protein PA4658 is encoded by that nucleic acid sequence
[{'concept': 'Q181394'}, 'P702', 'Q21690497']
SELECT DISTINCT ?q WHERE { ?q property:P702 resource:Q21690497 . ?q rdf:type ontology:Q181394 }
hypothetical protein    PA4658
Hypothetical protein PA4658 is encoded by that nucleic acid sequence
hypothetical protein    PA4658
action filter_type
action find_reverse
entity hypothetical protein    PA4658
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'hypothetical protein    PA4658']
SELECT DISTINCT ?q WHERE { ?q property:encoded_by resource:hypothetical_protein____PA4658 . ?q rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P688
Q863908
USER
How many nucleic acid sequences encodes that nutrient ?
(c(Q863908),P688,Q21759591)
action count
action filter_type
action find_reverse
entity Q21759591
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21759591']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P688 resource:Q21759591 . ?f rdf:type ontology:Q863908 }
action count
action filter_type
action find_reverse
entity hypothetical protein    PA4658
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'hypothetical protein    PA4658']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:encodes resource:hypothetical_protein____PA4658 . ?f rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
Q21690497
(c(Q863908),P688,Q21759591)
action count
action filter_type
action find_reverse
entity Q21759591
relation P688
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q21759591']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P688 resource:Q21759591 . ?f rdf:type ontology:Q863908 }
hypothetical protein    PA4658
1
action count
action filter_type
action find_reverse
entity hypothetical protein    PA4658
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'hypothetical protein    PA4658']
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:encodes resource:hypothetical_protein____PA4658 . ?f rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21690497
P703
Q16521
USER
Where is hypothetical protein    PA4658 found ?
(Q21690497,P703,c(Q16521))
action filter_type
action find
entity Q21690497
relation P703
type Q16521
['Q21690497', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?s WHERE { resource:Q21690497 property:P703 ?s . ?s rdf:type ontology:Q16521 }
hypothetical protein    PA4658
action filter_type
action find
entity hypothetical protein    PA4658
relation found in taxon
type taxon
['hypothetical protein    PA4658', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?s WHERE { resource:hypothetical_protein____PA4658 property:found_in_taxon ?s . ?s rdf:type ontology:taxon }
[]
taxon
Q21065234
SYSTEM
Pseudomonas aeruginosa PAO1
Q21065234
(Q21690497,P703,c(Q16521))
action filter_type
action find
entity Q21690497
relation P703
type Q16521
Hypothetical protein PA4658 is found in [ANSWER]
['Q21690497', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?s WHERE { resource:Q21690497 property:P703 ?s . ?s rdf:type ontology:Q16521 }
Pseudomonas aeruginosa PAO1
Hypothetical protein PA4658 is found in Pseudomonas aeruginosa PAO1
Pseudomonas aeruginosa PAO1
action filter_type
action find
entity hypothetical protein    PA4658
relation found in taxon
type taxon
['hypothetical protein    PA4658', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?s WHERE { resource:hypothetical_protein____PA4658 property:found_in_taxon ?s . ?s rdf:type ontology:taxon }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P129
Q79529 Q8386 Q181394
USER
Which nutrients contact max number of chemical substances or drugs ?
(c(Q181394),P129,c(Q79529)|c(Q8386))
action argmax
action union
action find_tuple_counts
relation P129
type Q181394
type Q79529
action find_tuple_counts
relation P129
type Q181394
type Q8386
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q79529'}, {'concept': 'Q8386'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?v ) WHERE { VALUES ( ?g ) { ( ontology:Q79529 ) ( ontology:Q8386 ) } . ?t rdf:type ?g } GROUP BY ?r } . FILTER ( ?v = ?d ) . { SELECT DISTINCT ( MAX ( ?m ) AS ?d ) { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?m ) WHERE { { ?x property:P129 ?s . ?x rdf:type ontology:Q181394 . ?s rdf:type ontology:Q79529 } UNION { ?x property:P129 ?s . ?s rdf:type ontology:Q8386 . ?x rdf:type ontology:Q181394 } } GROUP BY ?x } } }
action argmax
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 drug
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'chemical substance'}, {'concept': 'drug'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?v ) WHERE { VALUES ( ?g ) { ( ontology:chemical_substance ) ( ontology:drug ) } . ?t rdf:type ?g } GROUP BY ?r } . FILTER ( ?v = ?d ) . { SELECT DISTINCT ( MAX ( ?m ) AS ?d ) { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?m ) WHERE { { ?x property:physically_interacts_with ?s . ?x rdf:type ontology:nutrient . ?s rdf:type ontology:chemical_substance } UNION { ?x property:physically_interacts_with ?s . ?s rdf:type ontology:drug . ?x rdf:type ontology:nutrient } } GROUP BY ?x } } }
[]
chemical substance drug nutrient
Q1949517
SYSTEM
5-hydroxytryptamine receptor 2A
Q1949517
(c(Q181394),P129,c(Q79529)|c(Q8386))
action argmax
action union
action find_tuple_counts
relation P129
type Q181394
type Q79529
action find_tuple_counts
relation P129
type Q181394
type Q8386
Receptor [ANSWER] contact max number of chemical substances or drugs
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q79529'}, {'concept': 'Q8386'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?v ) WHERE { VALUES ( ?g ) { ( ontology:Q79529 ) ( ontology:Q8386 ) } . ?t rdf:type ?g } GROUP BY ?r } . FILTER ( ?v = ?d ) . { SELECT DISTINCT ( MAX ( ?m ) AS ?d ) { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?m ) WHERE { { ?x property:P129 ?s . ?x rdf:type ontology:Q181394 . ?s rdf:type ontology:Q79529 } UNION { ?x property:P129 ?s . ?s rdf:type ontology:Q8386 . ?x rdf:type ontology:Q181394 } } GROUP BY ?x } } }
5-hydroxytryptamine receptor 2A
Receptor 5-hydroxytryptamine receptor 2A contact max number of chemical substances or drugs
5-hydroxytryptamine receptor 2A
action argmax
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 drug
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'chemical substance'}, {'concept': 'drug'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?v ) WHERE { VALUES ( ?g ) { ( ontology:chemical_substance ) ( ontology:drug ) } . ?t rdf:type ?g } GROUP BY ?r } . FILTER ( ?v = ?d ) . { SELECT DISTINCT ( MAX ( ?m ) AS ?d ) { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?m ) WHERE { { ?x property:physically_interacts_with ?s . ?x rdf:type ontology:nutrient . ?s rdf:type ontology:chemical_substance } UNION { ?x property:physically_interacts_with ?s . ?s rdf:type ontology:drug . ?x rdf:type ontology:nutrient } } GROUP BY ?x } } }
[]