Simple Question (Direct)
Simple Question
Q21978440
P702
Q863908
USER
Which gene encodes hypothetical protein    TTHB169 ?
(Q21978440,P702,c(Q863908))
action filter_type
action find
entity Q21978440
relation P702
type Q863908
['Q21978440', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?g WHERE { resource:Q21978440 property:P702 ?g . ?g rdf:type ontology:Q863908 }
hypothetical protein    TTHB169
action filter_type
action find
entity hypothetical protein    TTHB169
relation encoded by
type nucleic acid sequence
['hypothetical protein    TTHB169', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?g WHERE { resource:hypothetical_protein____TTHB169 property:encoded_by ?g . ?g rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q21688732
SYSTEM
hypothetical protein    TTHB169
Q21688732
(Q21978440,P702,c(Q863908))
action filter_type
action find
entity Q21978440
relation P702
type Q863908
Hypothetical protein TTHB169 encodes hypothetical protein TTHB169
['Q21978440', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?g WHERE { resource:Q21978440 property:P702 ?g . ?g rdf:type ontology:Q863908 }
hypothetical protein    TTHB169
Hypothetical protein TTHB169 encodes hypothetical protein TTHB169
hypothetical protein    TTHB169
action filter_type
action find
entity hypothetical protein    TTHB169
relation encoded by
type nucleic acid sequence
['hypothetical protein    TTHB169', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?g WHERE { resource:hypothetical_protein____TTHB169 property:encoded_by ?g . ?g rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21978440
P703
Q16521
USER
Which taxon is that nutrient found in ?
(Q21688732,P703,c(Q16521))
action filter_type
action find
entity Q21978440
relation P703
type Q16521
['Q21688732', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?d WHERE { resource:Q21978440 property:P703 ?d . ?d rdf:type ontology:Q16521 }
hypothetical protein    TTHB169
action filter_type
action find
entity hypothetical protein    TTHB169
relation found in taxon
type taxon
['hypothetical protein    TTHB169', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?d WHERE { resource:hypothetical_protein____TTHB169 property:found_in_taxon ?d . ?d rdf:type ontology:taxon }
[]
taxon
Q21065233
SYSTEM
Thermus thermophilus HB8
Q21065233
(Q21688732,P703,c(Q16521))
action filter_type
action find
entity Q21978440
relation P703
type Q16521
That nutrient is found in [ANSWER]
['Q21688732', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?d WHERE { resource:Q21978440 property:P703 ?d . ?d rdf:type ontology:Q16521 }
Thermus thermophilus HB8
That nutrient is found in Thermus thermophilus HB8
Thermus thermophilus HB8
action filter_type
action find
entity hypothetical protein    TTHB169
relation found in taxon
type taxon
['hypothetical protein    TTHB169', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?d WHERE { resource:hypothetical_protein____TTHB169 property:found_in_taxon ?d . ?d rdf:type ontology:taxon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q21978440 Q21986794
P702
Q863908
USER
How many nucleic acid sequences are the gene that encodes hypothetical protein    TTHB169 or E3 ubiquitin-protein ligase SIAH1B ?
(Q21978440,P702,c(Q863908)) (Q21986794,P702,c(Q863908))
action count
action union
action filter_type
action find
entity Q21978440
relation P702
type Q863908
action filter_type
action find
entity Q21986794
relation P702
type Q863908
['Q21978440', 'P702', {'concept': 'Q863908'}] ['Q21986794', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { ?p rdf:type ontology:Q863908 . resource:Q21978440 property:P702 ?p } UNION { resource:Q21986794 property:P702 ?p . ?p rdf:type ontology:Q863908 } }
hypothetical protein    TTHB169 E3 ubiquitin-protein ligase SIAH1B
action count
action union
action filter_type
action find
entity hypothetical protein    TTHB169
relation encoded by
type nucleic acid sequence
action filter_type
action find
entity E3 ubiquitin-protein ligase SIAH1B
relation encoded by
type nucleic acid sequence
['hypothetical protein    TTHB169', 'encoded by', {'concept': 'nucleic acid sequence'}] ['E3 ubiquitin-protein ligase SIAH1B', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { ?p rdf:type ontology:nucleic_acid_sequence . resource:hypothetical_protein____TTHB169 property:encoded_by ?p } UNION { resource:E3_ubiquitin-protein_ligase_SIAH1B property:encoded_by ?p . ?p rdf:type ontology:nucleic_acid_sequence } }
[]
nucleic acid sequence
SYSTEM
2
Q21688732 Q18254077
(Q21978440,P702,c(Q863908)) (Q21986794,P702,c(Q863908))
action count
action union
action filter_type
action find
entity Q21978440
relation P702
type Q863908
action filter_type
action find
entity Q21986794
relation P702
type Q863908
[ANSWER]
['Q21978440', 'P702', {'concept': 'Q863908'}] ['Q21986794', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { ?p rdf:type ontology:Q863908 . resource:Q21978440 property:P702 ?p } UNION { resource:Q21986794 property:P702 ?p . ?p rdf:type ontology:Q863908 } }
hypothetical protein    TTHB169 Siah1b
2
action count
action union
action filter_type
action find
entity hypothetical protein    TTHB169
relation encoded by
type nucleic acid sequence
action filter_type
action find
entity E3 ubiquitin-protein ligase SIAH1B
relation encoded by
type nucleic acid sequence
['hypothetical protein    TTHB169', 'encoded by', {'concept': 'nucleic acid sequence'}] ['E3 ubiquitin-protein ligase SIAH1B', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { ?p rdf:type ontology:nucleic_acid_sequence . resource:hypothetical_protein____TTHB169 property:encoded_by ?p } UNION { resource:E3_ubiquitin-protein_ligase_SIAH1B property:encoded_by ?p . ?p rdf:type ontology:nucleic_acid_sequence } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23165416 Q21688732
P688
Q181394
USER
Which nutrients are encoded by hypothetical protein    TTHB169 or acyl-CoA dehydrogenase    VPA1125 ?
OR((Q21688732,P688,c(Q181394)), (Q23165416,P688,c(Q181394)))
action filter_type
action union
action find
entity Q21688732
relation P688
action find
entity Q23165416
relation P688
type Q181394
{'OR': [['Q21688732', 'P688', {'concept': 'Q181394'}], ['Q23165416', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q21688732 property:P688 ?i } UNION { resource:Q23165416 property:P688 ?i } } . ?i rdf:type ontology:Q181394 }
acyl-CoA dehydrogenase    VPA1125 hypothetical protein    TTHB169
action filter_type
action union
action find
entity hypothetical protein    TTHB169
relation encodes
action find
entity acyl-CoA dehydrogenase    VPA1125
relation encodes
type nutrient
{'OR': [['hypothetical protein    TTHB169', 'encodes', {'concept': 'nutrient'}], ['acyl-CoA dehydrogenase    VPA1125', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?i WHERE { { { resource:hypothetical_protein____TTHB169 property:encodes ?i } UNION { resource:acyl-CoA_dehydrogenase____VPA1125 property:encodes ?i } } . ?i rdf:type ontology:nutrient }
[]
nutrient
Q21978440 Q23444245
SYSTEM
hypothetical protein    TTHB169, acyl-CoA dehydrogenase    VPA1125
Q21978440 Q23444245
OR((Q21688732,P688,c(Q181394)), (Q23165416,P688,c(Q181394)))
action filter_type
action union
action find
entity Q21688732
relation P688
action find
entity Q23165416
relation P688
type Q181394
[ANSWERS]
{'OR': [['Q21688732', 'P688', {'concept': 'Q181394'}], ['Q23165416', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q21688732 property:P688 ?i } UNION { resource:Q23165416 property:P688 ?i } } . ?i rdf:type ontology:Q181394 }
hypothetical protein    TTHB169 acyl-CoA dehydrogenase    VPA1125
Hypothetical protein TTHB169 and acyl-CoA dehydrogenase VPA1125 are encoded by hypothetical protein TTHB169 or acyl-CoA dehydrogenase VPA1125
hypothetical protein    TTHB169 acyl-CoA dehydrogenase    VPA1125
action filter_type
action union
action find
entity hypothetical protein    TTHB169
relation encodes
action find
entity acyl-CoA dehydrogenase    VPA1125
relation encodes
type nutrient
{'OR': [['hypothetical protein    TTHB169', 'encodes', {'concept': 'nutrient'}], ['acyl-CoA dehydrogenase    VPA1125', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?i WHERE { { { resource:hypothetical_protein____TTHB169 property:encodes ?i } UNION { resource:acyl-CoA_dehydrogenase____VPA1125 property:encodes ?i } } . ?i rdf:type ontology:nutrient }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21978440
P680
Q44424
USER
Which chemical bonds represent molecular function of that nutrient ?
(Q21978440,P680,c(Q44424))
action filter_type
action find
entity Q21978440
relation P680
type Q44424
['Q21978440', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?c WHERE { resource:Q21978440 property:P680 ?c . ?c rdf:type ontology:Q44424 }
hypothetical protein    TTHB169
action filter_type
action find
entity hypothetical protein    TTHB169
relation molecular function
type chemical bond
['hypothetical protein    TTHB169', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?c WHERE { resource:hypothetical_protein____TTHB169 property:molecular_function ?c . ?c rdf:type ontology:chemical_bond }
[]
chemical bond
Clarification for simple ques.
Q21978440
SYSTEM
Did you mean hypothetical protein    TTHB169 ?
Q21978440 Q23444245
(Q21978440,P680,c(Q44424)) (Q23444245,P680,c(Q44424))
[ANSWER]
['Q21978440', 'P680', {'concept': 'Q44424'}] ['Q23444245', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?c WHERE { resource:Q21978440 property:P680 ?c . ?c rdf:type ontology:Q44424 }
hypothetical protein    TTHB169 acyl-CoA dehydrogenase    VPA1125
Did you mean hypothetical protein    TTHB169 ?
hypothetical protein    TTHB169
['hypothetical protein    TTHB169', 'molecular function', {'concept': 'chemical bond'}] ['acyl-CoA dehydrogenase    VPA1125', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?c WHERE { resource:hypothetical_protein____TTHB169 property:molecular_function ?c . ?c rdf:type ontology:chemical_bond }
[]
Simple Question (Coreferenced)
USER
Yes
(Q21978440,P680,c(Q44424))
['Q21978440', 'P680', {'concept': 'Q44424'}]
['hypothetical protein    TTHB169', 'molecular function', {'concept': 'chemical bond'}]
[]
Q13667380 Q14860850
SYSTEM
metal ion binding, magnesium ion binding
Q13667380 Q14860850
(Q21978440,P680,c(Q44424))
action filter_type
action find
entity Q21978440
relation P680
type Q44424
[ANSWERS] represent molecular function of that nutrient
['Q21978440', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?c WHERE { resource:Q21978440 property:P680 ?c . ?c rdf:type ontology:Q44424 }
metal ion binding magnesium ion binding
Metal ion binding and magnesium ion binding represent molecular function of that nutrient
metal ion binding magnesium ion binding
action filter_type
action find
entity hypothetical protein    TTHB169
relation molecular function
type chemical bond
['hypothetical protein    TTHB169', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?c WHERE { resource:hypothetical_protein____TTHB169 property:molecular_function ?c . ?c rdf:type ontology:chemical_bond }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q8386 Q79529 Q181394
USER
Which nutrients can interact with exactly 29 drugs or chemical substances ?
(c(Q181394),P129,c(Q8386)|c(Q79529))
action equal
action union
action find_tuple_counts
relation P129
type Q181394
type Q8386
action find_tuple_counts
relation P129
type Q181394
type Q79529
value 29
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q8386'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?r = 29 ) . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } } GROUP BY ?j } }
action equal
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
value 29
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'drug'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?r = 29 ) . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:drug ) ( ontology:chemical_substance ) } } GROUP BY ?j } }
[]
drug chemical substance nutrient
Q7050954 Q4734884
SYSTEM
Sodium-dependent noradrenaline transporter, Alpha-1A adrenergic receptor
Q7050954 Q4734884
(c(Q181394),P129,c(Q8386)|c(Q79529))
action equal
action union
action find_tuple_counts
relation P129
type Q181394
type Q8386
action find_tuple_counts
relation P129
type Q181394
type Q79529
value 29
[ANSWERS] can interact with exactly 29 drugs or chemical substances
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q8386'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?r = 29 ) . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } } GROUP BY ?j } }
Sodium-dependent noradrenaline transporter Alpha-1A adrenergic receptor
Sodium-dependent noradrenaline transporter and Alpha-1A adrenergic receptor can interact with exactly 29 drugs or chemical substances
Sodium-dependent noradrenaline transporter Alpha-1A adrenergic receptor
action equal
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
value 29
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'drug'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?r = 29 ) . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?r ) WHERE { ?l rdf:type ?v . VALUES ( ?v ) { ( ontology:drug ) ( ontology:chemical_substance ) } } GROUP BY ?j } }
[]