Simple Question (Direct)
Simple Question
Q21495761
P702
Q863908
USER
What is the gene that encodes Polypeptide N-acetylgalactosaminyltransferase 10 ?
(Q21495761,P702,c(Q863908))
action filter_type
action find
entity Q21495761
relation P702
type Q863908
['Q21495761', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?r WHERE { resource:Q21495761 property:P702 ?r . ?r rdf:type ontology:Q863908 }
Polypeptide N-acetylgalactosaminyltransferase 10
action filter_type
action find
entity Polypeptide N-acetylgalactosaminyltransferase 10
relation encoded by
type nucleic acid sequence
['Polypeptide N-acetylgalactosaminyltransferase 10', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?r WHERE { resource:Polypeptide_N-acetylgalactosaminyltransferase_10 property:encoded_by ?r . ?r rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18295677
SYSTEM
Galnt10
Q18295677
(Q21495761,P702,c(Q863908))
action filter_type
action find
entity Q21495761
relation P702
type Q863908
The gene that encodes Polypeptide N-acetylgalactosaminyltransferase is called [ANSWER]
['Q21495761', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?r WHERE { resource:Q21495761 property:P702 ?r . ?r rdf:type ontology:Q863908 }
Galnt10
The gene that encodes Polypeptide N-acetylgalactosaminyltransferase is called Galnt10
Galnt10
action filter_type
action find
entity Polypeptide N-acetylgalactosaminyltransferase 10
relation encoded by
type nucleic acid sequence
['Polypeptide N-acetylgalactosaminyltransferase 10', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?r WHERE { resource:Polypeptide_N-acetylgalactosaminyltransferase_10 property:encoded_by ?r . ?r rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18295677
P684
Q863908
USER
Which is the species that has that one as its orthologous gene ?
(c(Q863908),P684,Q18295677)
action filter_type
action find
entity Q18295677
relation P684
type Q863908
[{'concept': 'Q863908'}, 'P684', 'Q18295677']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q863908 . resource:Q18295677 property:P684 ?s }
Galnt10
action filter_type
action find
entity Galnt10
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'Galnt10']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:nucleic_acid_sequence . resource:Galnt10 property:ortholog ?s }
[]
nucleic acid sequence
Q18041865
SYSTEM
GALNT10
Q18041865
(c(Q863908),P684,Q18295677)
action filter_type
action find
entity Q18295677
relation P684
type Q863908
[ANSWER] is the species that has that one as its orthologous gene
[{'concept': 'Q863908'}, 'P684', 'Q18295677']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q863908 . resource:Q18295677 property:P684 ?s }
GALNT10
GALNT10 is the species that has that one as its orthologous gene
GALNT10
action filter_type
action find
entity Galnt10
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'Galnt10']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:nucleic_acid_sequence . resource:Galnt10 property:ortholog ?s }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q18041865 Q21425004 Q21154236
P688
Q181394
USER
Does that nucleic acid sequence encodes Protein C12orf4 homolog and Polypeptide N-acetylgalactosaminyltransferase 10 ?
(Q18041865,P688,Q21425004) (Q18041865,P688,Q21154236)
action is_in
entity Q18041865
action intersection
action find_reverse
entity Q21425004
relation P688
action find_reverse
entity Q21154236
relation P688
['Q18041865', 'P688', 'Q21425004'] ['Q18041865', 'P688', 'Q21154236']
ASK WHERE { resource:Q18041865 property:P688 resource:Q21425004 . resource:Q18041865 property:P688 resource:Q21154236 }
GALNT10 Protein C12orf4 homolog Polypeptide N-acetylgalactosaminyltransferase 10
action is_in
entity GALNT10
action intersection
action find_reverse
entity Protein C12orf4 homolog
relation encodes
action find_reverse
entity Polypeptide N-acetylgalactosaminyltransferase 10
relation encodes
['GALNT10', 'encodes', 'Protein C12orf4 homolog'] ['GALNT10', 'encodes', 'Polypeptide N-acetylgalactosaminyltransferase 10']
ASK WHERE { resource:GALNT10 property:encodes resource:Protein_C12orf4_homolog . resource:GALNT10 property:encodes resource:Polypeptide_N-acetylgalactosaminyltransferase_10 }
[]
nutrient
SYSTEM
NO and YES respectively
(Q18041865,P688,Q21425004) (Q18041865,P688,Q21154236)
action is_in
entity Q18041865
action intersection
action find_reverse
entity Q21425004
relation P688
action find_reverse
entity Q21154236
relation P688
[ANSWER]
['Q18041865', 'P688', 'Q21425004'] ['Q18041865', 'P688', 'Q21154236']
ASK WHERE { resource:Q18041865 property:P688 resource:Q21425004 . resource:Q18041865 property:P688 resource:Q21154236 }
NO and YES respectively
action is_in
entity GALNT10
action intersection
action find_reverse
entity Protein C12orf4 homolog
relation encodes
action find_reverse
entity Polypeptide N-acetylgalactosaminyltransferase 10
relation encodes
['GALNT10', 'encodes', 'Protein C12orf4 homolog'] ['GALNT10', 'encodes', 'Polypeptide N-acetylgalactosaminyltransferase 10']
ASK WHERE { resource:GALNT10 property:encodes resource:Protein_C12orf4_homolog . resource:GALNT10 property:encodes resource:Polypeptide_N-acetylgalactosaminyltransferase_10 }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22223991 Q18041865
P688
Q181394
USER
Which nutrients do GALNT10 or phosphate-starvation-inducible protein PsiE    ECIAI39_4452 encode ?
OR((Q18041865,P688,c(Q181394)), (Q22223991,P688,c(Q181394)))
action filter_type
action union
action find
entity Q18041865
relation P688
action find
entity Q22223991
relation P688
type Q181394
{'OR': [['Q18041865', 'P688', {'concept': 'Q181394'}], ['Q22223991', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q22223991 property:P688 ?e } UNION { resource:Q18041865 property:P688 ?e } } . ?e rdf:type ontology:Q181394 }
phosphate-starvation-inducible protein PsiE    ECIAI39_4452 GALNT10
action filter_type
action union
action find
entity GALNT10
relation encodes
action find
entity phosphate-starvation-inducible protein PsiE    ECIAI39_4452
relation encodes
type nutrient
{'OR': [['GALNT10', 'encodes', {'concept': 'nutrient'}], ['phosphate-starvation-inducible protein PsiE    ECIAI39_4452', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?e WHERE { { { resource:phosphate-starvation-inducible_protein_PsiE____ECIAI39_4452 property:encodes ?e } UNION { resource:GALNT10 property:encodes ?e } } . ?e rdf:type ontology:nutrient }
[]
nutrient
Q21154236 Q22136410
SYSTEM
Polypeptide N-acetylgalactosaminyltransferase 10, phosphate-starvation-inducible protein PsiE    ECIAI39_4452
Q21154236 Q22136410
OR((Q18041865,P688,c(Q181394)), (Q22223991,P688,c(Q181394)))
action filter_type
action union
action find
entity Q18041865
relation P688
action find
entity Q22223991
relation P688
type Q181394
[ANSWERS]
{'OR': [['Q18041865', 'P688', {'concept': 'Q181394'}], ['Q22223991', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q22223991 property:P688 ?e } UNION { resource:Q18041865 property:P688 ?e } } . ?e rdf:type ontology:Q181394 }
Polypeptide N-acetylgalactosaminyltransferase 10 phosphate-starvation-inducible protein PsiE    ECIAI39_4452
GALNT 10 or phosphate-starvation-inducible protein PsiE ECIAI39_4452 encode d Polypeptide N-acetylgalactosaminyltransferase 10 and phosphate-starvation-inducible protein PsiE ECIAI39 4452
Polypeptide N-acetylgalactosaminyltransferase 10 phosphate-starvation-inducible protein PsiE    ECIAI39_4452
action filter_type
action union
action find
entity GALNT10
relation encodes
action find
entity phosphate-starvation-inducible protein PsiE    ECIAI39_4452
relation encodes
type nutrient
{'OR': [['GALNT10', 'encodes', {'concept': 'nutrient'}], ['phosphate-starvation-inducible protein PsiE    ECIAI39_4452', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?e WHERE { { { resource:phosphate-starvation-inducible_protein_PsiE____ECIAI39_4452 property:encodes ?e } UNION { resource:GALNT10 property:encodes ?e } } . ?e rdf:type ontology:nutrient }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P129
Q181394 Q79529 Q181394
USER
Which nutrients do max number of chemical substances and nutrients interact with ?
(c(Q79529)|c(Q181394),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
[[{'concept': 'Q79529'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?w ) { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?i ) { ( ontology:Q79529 ) ( ontology:Q181394 ) } . ?o rdf:type ?i } GROUP BY ?h } } . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?t ) WHERE { { ?j property:P129 ?y . ?y rdf:type ontology:Q181394 . ?j rdf:type ontology:Q79529 } UNION { ?y rdf:type ontology:Q181394 . ?j rdf:type ontology:Q181394 . ?j property:P129 ?y } } GROUP BY ?y } . FILTER ( ?t = ?w ) }
action argmax
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
[[{'concept': 'chemical substance'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?w ) { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?i ) { ( ontology:chemical_substance ) ( ontology:nutrient ) } . ?o rdf:type ?i } GROUP BY ?h } } . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?t ) WHERE { { ?j property:physically_interacts_with ?y . ?y rdf:type ontology:nutrient . ?j rdf:type ontology:chemical_substance } UNION { ?y rdf:type ontology:nutrient . ?j rdf:type ontology:nutrient . ?j property:physically_interacts_with ?y } } GROUP BY ?y } . FILTER ( ?t = ?w ) }
[]
nutrient chemical substance nutrient
Q1949517
SYSTEM
5-hydroxytryptamine receptor 2A
Q1949517
(c(Q79529)|c(Q181394),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
Which nutrients max number of chemical substances and nutrients interact with
[[{'concept': 'Q79529'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?w ) { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?i ) { ( ontology:Q79529 ) ( ontology:Q181394 ) } . ?o rdf:type ?i } GROUP BY ?h } } . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?t ) WHERE { { ?j property:P129 ?y . ?y rdf:type ontology:Q181394 . ?j rdf:type ontology:Q79529 } UNION { ?y rdf:type ontology:Q181394 . ?j rdf:type ontology:Q181394 . ?j property:P129 ?y } } GROUP BY ?y } . FILTER ( ?t = ?w ) }
5-hydroxytryptamine receptor 2A
Which nutrients max number of chemical substances and nutrients interact with
5-hydroxytryptamine receptor 2A
action argmax
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
[[{'concept': 'chemical substance'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?w ) { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?i ) { ( ontology:chemical_substance ) ( ontology:nutrient ) } . ?o rdf:type ?i } GROUP BY ?h } } . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?t ) WHERE { { ?j property:physically_interacts_with ?y . ?y rdf:type ontology:nutrient . ?j rdf:type ontology:chemical_substance } UNION { ?y rdf:type ontology:nutrient . ?j rdf:type ontology:nutrient . ?j property:physically_interacts_with ?y } } GROUP BY ?y } . FILTER ( ?t = ?w ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1949517 Q415752 Q420164
P129
Q8386
USER
Does that nutrient can interact with pergolide and Alemtuzumab ?
(Q1949517,P129,Q415752) (Q1949517,P129,Q420164)
action is_in
entity Q1949517
action intersection
action find_reverse
entity Q415752
relation P129
action find_reverse
entity Q420164
relation P129
['Q1949517', 'P129', 'Q415752'] ['Q1949517', 'P129', 'Q420164']
ASK WHERE { resource:Q1949517 property:P129 resource:Q420164 . resource:Q1949517 property:P129 resource:Q415752 }
5-hydroxytryptamine receptor 2A pergolide Alemtuzumab
action is_in
entity 5-hydroxytryptamine receptor 2A
action intersection
action find_reverse
entity pergolide
relation physically interacts with
action find_reverse
entity Alemtuzumab
relation physically interacts with
['5-hydroxytryptamine receptor 2A', 'physically interacts with', 'pergolide'] ['5-hydroxytryptamine receptor 2A', 'physically interacts with', 'Alemtuzumab']
ASK WHERE { resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with resource:Alemtuzumab . resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with resource:pergolide }
[]
drug
SYSTEM
YES and NO respectively
(Q1949517,P129,Q415752) (Q1949517,P129,Q420164)
action is_in
entity Q1949517
action intersection
action find_reverse
entity Q415752
relation P129
action find_reverse
entity Q420164
relation P129
[ANSWER]
['Q1949517', 'P129', 'Q415752'] ['Q1949517', 'P129', 'Q420164']
ASK WHERE { resource:Q1949517 property:P129 resource:Q420164 . resource:Q1949517 property:P129 resource:Q415752 }
YES and NO respectively
action is_in
entity 5-hydroxytryptamine receptor 2A
action intersection
action find_reverse
entity pergolide
relation physically interacts with
action find_reverse
entity Alemtuzumab
relation physically interacts with
['5-hydroxytryptamine receptor 2A', 'physically interacts with', 'pergolide'] ['5-hydroxytryptamine receptor 2A', 'physically interacts with', 'Alemtuzumab']
ASK WHERE { resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with resource:Alemtuzumab . resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with resource:pergolide }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23477835 Q21154236
P702
Q863908
USER
Which nucleic acid sequences genes encode Polypeptide N-acetylgalactosaminyltransferase 10 or hypothetical protein    SAOUHSC_01721 ?
OR((Q21154236,P702,c(Q863908)), (Q23477835,P702,c(Q863908)))
action filter_type
action union
action find
entity Q21154236
relation P702
action find
entity Q23477835
relation P702
type Q863908
{'OR': [['Q21154236', 'P702', {'concept': 'Q863908'}], ['Q23477835', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q21154236 property:P702 ?y } UNION { resource:Q23477835 property:P702 ?y } } . ?y rdf:type ontology:Q863908 }
hypothetical protein    SAOUHSC_01721 Polypeptide N-acetylgalactosaminyltransferase 10
action filter_type
action union
action find
entity Polypeptide N-acetylgalactosaminyltransferase 10
relation encoded by
action find
entity hypothetical protein    SAOUHSC_01721
relation encoded by
type nucleic acid sequence
{'OR': [['Polypeptide N-acetylgalactosaminyltransferase 10', 'encoded by', {'concept': 'nucleic acid sequence'}], ['hypothetical protein    SAOUHSC_01721', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Polypeptide_N-acetylgalactosaminyltransferase_10 property:encoded_by ?y } UNION { resource:hypothetical_protein____SAOUHSC_01721 property:encoded_by ?y } } . ?y rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23171780 Q18041865
SYSTEM
hypothetical protein    SAOUHSC_01721, GALNT10
Q23171780 Q18041865
OR((Q21154236,P702,c(Q863908)), (Q23477835,P702,c(Q863908)))
action filter_type
action union
action find
entity Q21154236
relation P702
action find
entity Q23477835
relation P702
type Q863908
[ANSWERS]
{'OR': [['Q21154236', 'P702', {'concept': 'Q863908'}], ['Q23477835', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q21154236 property:P702 ?y } UNION { resource:Q23477835 property:P702 ?y } } . ?y rdf:type ontology:Q863908 }
hypothetical protein    SAOUHSC_01721 GALNT10
Hypothetical protein SAOUHSC 01721 and GALNT10 encode Polypeptide N-acetylgalactosaminyltransferase 10 or hypothetical protein SAOUHSC_01721
hypothetical protein    SAOUHSC_01721 GALNT10
action filter_type
action union
action find
entity Polypeptide N-acetylgalactosaminyltransferase 10
relation encoded by
action find
entity hypothetical protein    SAOUHSC_01721
relation encoded by
type nucleic acid sequence
{'OR': [['Polypeptide N-acetylgalactosaminyltransferase 10', 'encoded by', {'concept': 'nucleic acid sequence'}], ['hypothetical protein    SAOUHSC_01721', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Polypeptide_N-acetylgalactosaminyltransferase_10 property:encoded_by ?y } UNION { resource:hypothetical_protein____SAOUHSC_01721 property:encoded_by ?y } } . ?y rdf:type ontology:nucleic_acid_sequence }
[]