Simple Question (Direct)
Simple Question
Q23511135
P682
Q2996394
USER
What is the biological process that aspartate aminotransferase    BC4906 is involved in ?
(Q23511135,P682,c(Q2996394))
action filter_type
action find
entity Q23511135
relation P682
type Q2996394
['Q23511135', 'P682', {'concept': 'Q2996394'}]
SELECT DISTINCT ?e WHERE { resource:Q23511135 property:P682 ?e . ?e rdf:type ontology:Q2996394 }
aspartate aminotransferase    BC4906
action filter_type
action find
entity aspartate aminotransferase    BC4906
relation biological process
type biological process
['aspartate aminotransferase    BC4906', 'biological process', {'concept': 'biological process'}]
SELECT DISTINCT ?e WHERE { resource:aspartate_aminotransferase____BC4906 property:biological_process ?e . ?e rdf:type ontology:biological_process }
[]
biological process
Q14914008
SYSTEM
biosynthetic process
Q14914008
(Q23511135,P682,c(Q2996394))
action filter_type
action find
entity Q23511135
relation P682
type Q2996394
[ANSWER]
['Q23511135', 'P682', {'concept': 'Q2996394'}]
SELECT DISTINCT ?e WHERE { resource:Q23511135 property:P682 ?e . ?e rdf:type ontology:Q2996394 }
biosynthetic process
biosynthetic process
action filter_type
action find
entity aspartate aminotransferase    BC4906
relation biological process
type biological process
['aspartate aminotransferase    BC4906', 'biological process', {'concept': 'biological process'}]
SELECT DISTINCT ?e WHERE { resource:aspartate_aminotransferase____BC4906 property:biological_process ?e . ?e rdf:type ontology:biological_process }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23511135
P688
Q863908
USER
Which nucleic acid sequence encodes aspartate aminotransferase    BC4906 ?
(c(Q863908),P688,Q23511135)
action filter_type
action find_reverse
entity Q23511135
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q23511135']
SELECT DISTINCT ?g WHERE { ?g property:P688 resource:Q23511135 . ?g rdf:type ontology:Q863908 }
aspartate aminotransferase    BC4906
action filter_type
action find_reverse
entity aspartate aminotransferase    BC4906
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'aspartate aminotransferase    BC4906']
SELECT DISTINCT ?g WHERE { ?g property:encodes resource:aspartate_aminotransferase____BC4906 . ?g rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23192705
SYSTEM
aspartate aminotransferase    BC4906
Q23192705
(c(Q863908),P688,Q23511135)
action filter_type
action find_reverse
entity Q23511135
relation P688
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q23511135']
SELECT DISTINCT ?g WHERE { ?g property:P688 resource:Q23511135 . ?g rdf:type ontology:Q863908 }
aspartate aminotransferase    BC4906
aspartate aminotransferase    BC4906
action filter_type
action find_reverse
entity aspartate aminotransferase    BC4906
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'aspartate aminotransferase    BC4906']
SELECT DISTINCT ?g WHERE { ?g property:encodes resource:aspartate_aminotransferase____BC4906 . ?g rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23192705
P702
Q181394
USER
What gene does that nucleic acid sequence encode ?
(c(Q181394),P702,Q23192705)
action filter_type
action find_reverse
entity Q23192705
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q23192705']
SELECT DISTINCT ?i WHERE { ?i property:P702 resource:Q23192705 . ?i rdf:type ontology:Q181394 }
aspartate aminotransferase    BC4906
action filter_type
action find_reverse
entity aspartate aminotransferase    BC4906
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'aspartate aminotransferase    BC4906']
SELECT DISTINCT ?i WHERE { ?i property:encoded_by resource:aspartate_aminotransferase____BC4906 . ?i rdf:type ontology:nutrient }
[]
nutrient
Q23511135
SYSTEM
aspartate aminotransferase    BC4906
Q23511135
(c(Q181394),P702,Q23192705)
action filter_type
action find_reverse
entity Q23192705
relation P702
type Q181394
[ANSWER]
[{'concept': 'Q181394'}, 'P702', 'Q23192705']
SELECT DISTINCT ?i WHERE { ?i property:P702 resource:Q23192705 . ?i rdf:type ontology:Q181394 }
aspartate aminotransferase    BC4906
aspartate aminotransferase    BC4906
action filter_type
action find_reverse
entity aspartate aminotransferase    BC4906
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'aspartate aminotransferase    BC4906']
SELECT DISTINCT ?i WHERE { ?i property:encoded_by resource:aspartate_aminotransferase____BC4906 . ?i rdf:type ontology:nutrient }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1057
P682
Q3249551 Q181394
USER
How many processes are a biological processes that lesser number of nutrients are involved in than metabolic process ?
(c(Q181394),P682,c(Q3249551))
action count
action less
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
action count
action filter_type
action find_reverse
entity Q1057
relation P682
type Q181394
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P682 ?x . ?s rdf:type ontology:Q181394 . ?x rdf:type ontology:Q3249551 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:P682 resource:Q1057 . ?c rdf:type ontology:Q181394 } } . FILTER ( ?m < ?z ) }
metabolic process
action count
action less
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
action count
action filter_type
action find_reverse
entity metabolic process
relation biological process
type nutrient
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:biological_process ?x . ?s rdf:type ontology:nutrient . ?x rdf:type ontology:process } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:biological_process resource:metabolic_process . ?c rdf:type ontology:nutrient } } . FILTER ( ?m < ?z ) }
[]
process nutrient
SYSTEM
14
Q22269718 Q306383 Q14820058 Q22284496 Q22271548 Q9332 Q22293230 Q14873025 Q14916317 Q14859560 Q14865172 Q14885910 Q14864472 Q162925
(c(Q181394),P682,c(Q3249551))
action count
action less
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
action count
action filter_type
action find_reverse
entity Q1057
relation P682
type Q181394
[ANSWER]
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P682 ?x . ?s rdf:type ontology:Q181394 . ?x rdf:type ontology:Q3249551 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:P682 resource:Q1057 . ?c rdf:type ontology:Q181394 } } . FILTER ( ?m < ?z ) }
locomotion G1/S transition of mitotic cell cycle growth biological regulation cell killing behavior developmental process cellular process immune system process response to stimulus signaling reproductive process rhythmic process meiotic nuclear division
14
action count
action less
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
action count
action filter_type
action find_reverse
entity metabolic process
relation biological process
type nutrient
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:biological_process ?x . ?s rdf:type ontology:nutrient . ?x rdf:type ontology:process } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:biological_process resource:metabolic_process . ?c rdf:type ontology:nutrient } } . FILTER ( ?m < ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q23511135 Q292982
P688
Q863908
USER
How many nucleic acid sequences encodes aspartate aminotransferase    BC4906 or Alpha-1-antitrypsin ?
(c(Q863908),P688,Q23511135) (c(Q863908),P688,Q292982)
action count
action union
action filter_type
action find_reverse
entity Q23511135
relation P688
type Q863908
action filter_type
action find_reverse
entity Q292982
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q23511135'] [{'concept': 'Q863908'}, 'P688', 'Q292982']
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P688 ?d . VALUES ( ?d ) { ( resource:Q23511135 ) ( resource:Q292982 ) } }
aspartate aminotransferase    BC4906 Alpha-1-antitrypsin
action count
action union
action filter_type
action find_reverse
entity aspartate aminotransferase    BC4906
relation encodes
type nucleic acid sequence
action filter_type
action find_reverse
entity Alpha-1-antitrypsin
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'aspartate aminotransferase    BC4906'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Alpha-1-antitrypsin']
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:encodes ?d . VALUES ( ?d ) { ( resource:aspartate_aminotransferase____BC4906 ) ( resource:Alpha-1-antitrypsin ) } }
[]
nucleic acid sequence
SYSTEM
2
Q14860537 Q23192705
(c(Q863908),P688,Q23511135) (c(Q863908),P688,Q292982)
action count
action union
action filter_type
action find_reverse
entity Q23511135
relation P688
type Q863908
action filter_type
action find_reverse
entity Q292982
relation P688
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q23511135'] [{'concept': 'Q863908'}, 'P688', 'Q292982']
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P688 ?d . VALUES ( ?d ) { ( resource:Q23511135 ) ( resource:Q292982 ) } }
SERPINA1 aspartate aminotransferase    BC4906
2
action count
action union
action filter_type
action find_reverse
entity aspartate aminotransferase    BC4906
relation encodes
type nucleic acid sequence
action filter_type
action find_reverse
entity Alpha-1-antitrypsin
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'aspartate aminotransferase    BC4906'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Alpha-1-antitrypsin']
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:encodes ?d . VALUES ( ?d ) { ( resource:aspartate_aminotransferase____BC4906 ) ( resource:Alpha-1-antitrypsin ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q23192705 Q18030474
P702
Q181394
USER
How many nutrients do aspartate aminotransferase    BC4906 or CFP encode ?
(c(Q181394),P702,Q23192705) (c(Q181394),P702,Q18030474)
action count
action union
action filter_type
action find_reverse
entity Q23192705
relation P702
type Q181394
action filter_type
action find_reverse
entity Q18030474
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q23192705'] [{'concept': 'Q181394'}, 'P702', 'Q18030474']
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:P702 ?c . VALUES ( ?c ) { ( resource:Q23192705 ) ( resource:Q18030474 ) } }
aspartate aminotransferase    BC4906 CFP
action count
action union
action filter_type
action find_reverse
entity aspartate aminotransferase    BC4906
relation encoded by
type nutrient
action filter_type
action find_reverse
entity CFP
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'aspartate aminotransferase    BC4906'] [{'concept': 'nutrient'}, 'encoded by', 'CFP']
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:encoded_by ?c . VALUES ( ?c ) { ( resource:aspartate_aminotransferase____BC4906 ) ( resource:CFP ) } }
[]
nutrient
SYSTEM
2
Q23511135 Q22677535
(c(Q181394),P702,Q23192705) (c(Q181394),P702,Q18030474)
action count
action union
action filter_type
action find_reverse
entity Q23192705
relation P702
type Q181394
action filter_type
action find_reverse
entity Q18030474
relation P702
type Q181394
[ANSWER]
[{'concept': 'Q181394'}, 'P702', 'Q23192705'] [{'concept': 'Q181394'}, 'P702', 'Q18030474']
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:P702 ?c . VALUES ( ?c ) { ( resource:Q23192705 ) ( resource:Q18030474 ) } }
aspartate aminotransferase    BC4906 Properdin
2
action count
action union
action filter_type
action find_reverse
entity aspartate aminotransferase    BC4906
relation encoded by
type nutrient
action filter_type
action find_reverse
entity CFP
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'aspartate aminotransferase    BC4906'] [{'concept': 'nutrient'}, 'encoded by', 'CFP']
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:encoded_by ?c . VALUES ( ?c ) { ( resource:aspartate_aminotransferase____BC4906 ) ( resource:CFP ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P129
Q181394 Q181394 Q79529
USER
Which nutrients do max number of nutrients or chemical substances interact with ?
(c(Q181394)|c(Q79529),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
[[{'concept': 'Q181394'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?z ) WHERE { VALUES ( ?u ) { ( ontology:Q181394 ) ( ontology:Q79529 ) } . ?q rdf:type ?u } GROUP BY ?y } . FILTER ( ?z = ?l ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?l ) { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?g ) WHERE { { ?x property:P129 ?r . ?r rdf:type ontology:Q181394 . ?x rdf:type ontology:Q181394 } UNION { ?x property:P129 ?r . ?r rdf:type ontology:Q181394 . ?x rdf:type ontology:Q79529 } } GROUP BY ?r } } }
action argmax
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
[[{'concept': 'nutrient'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?z ) WHERE { VALUES ( ?u ) { ( ontology:nutrient ) ( ontology:chemical_substance ) } . ?q rdf:type ?u } GROUP BY ?y } . FILTER ( ?z = ?l ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?l ) { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?g ) WHERE { { ?x property:physically_interacts_with ?r . ?r rdf:type ontology:nutrient . ?x rdf:type ontology:nutrient } UNION { ?x property:physically_interacts_with ?r . ?r rdf:type ontology:nutrient . ?x rdf:type ontology:chemical_substance } } GROUP BY ?r } } }
[]
nutrient nutrient chemical substance
Q1949517
SYSTEM
5-hydroxytryptamine receptor 2A
Q1949517
(c(Q181394)|c(Q79529),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
[ANSWER]
[[{'concept': 'Q181394'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?z ) WHERE { VALUES ( ?u ) { ( ontology:Q181394 ) ( ontology:Q79529 ) } . ?q rdf:type ?u } GROUP BY ?y } . FILTER ( ?z = ?l ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?l ) { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?g ) WHERE { { ?x property:P129 ?r . ?r rdf:type ontology:Q181394 . ?x rdf:type ontology:Q181394 } UNION { ?x property:P129 ?r . ?r rdf:type ontology:Q181394 . ?x rdf:type ontology:Q79529 } } GROUP BY ?r } } }
5-hydroxytryptamine receptor 2A
5-hydroxytryptamine receptor 2A
action argmax
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
[[{'concept': 'nutrient'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?z ) WHERE { VALUES ( ?u ) { ( ontology:nutrient ) ( ontology:chemical_substance ) } . ?q rdf:type ?u } GROUP BY ?y } . FILTER ( ?z = ?l ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?l ) { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?g ) WHERE { { ?x property:physically_interacts_with ?r . ?r rdf:type ontology:nutrient . ?x rdf:type ontology:nutrient } UNION { ?x property:physically_interacts_with ?r . ?r rdf:type ontology:nutrient . ?x rdf:type ontology:chemical_substance } } GROUP BY ?r } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1949517
P703
Q16521
USER
Which taxon is that nutrient found in ?
(Q1949517,P703,c(Q16521))
action filter_type
action find
entity Q1949517
relation P703
type Q16521
['Q1949517', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?u WHERE { resource:Q1949517 property:P703 ?u . ?u rdf:type ontology:Q16521 }
5-hydroxytryptamine receptor 2A
action filter_type
action find
entity 5-hydroxytryptamine receptor 2A
relation found in taxon
type taxon
['5-hydroxytryptamine receptor 2A', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?u WHERE { resource:5-hydroxytryptamine_receptor_2A property:found_in_taxon ?u . ?u rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q1949517,P703,c(Q16521))
action filter_type
action find
entity Q1949517
relation P703
type Q16521
[ANSWER]
['Q1949517', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?u WHERE { resource:Q1949517 property:P703 ?u . ?u rdf:type ontology:Q16521 }
Homo sapiens
Homo sapiens
action filter_type
action find
entity 5-hydroxytryptamine receptor 2A
relation found in taxon
type taxon
['5-hydroxytryptamine receptor 2A', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?u WHERE { resource:5-hydroxytryptamine_receptor_2A property:found_in_taxon ?u . ?u rdf:type ontology:taxon }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23318068 Q18030474
P688
Q181394
USER
Which nutrients do CFP or inner membrane permease polyamine transport protein    BN112_1218 encode ?
OR((Q18030474,P688,c(Q181394)), (Q23318068,P688,c(Q181394)))
action filter_type
action union
action find
entity Q18030474
relation P688
action find
entity Q23318068
relation P688
type Q181394
{'OR': [['Q18030474', 'P688', {'concept': 'Q181394'}], ['Q23318068', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:Q18030474 ) ( resource:Q23318068 ) } . ?w property:P688 ?r } . ?r rdf:type ontology:Q181394 }
inner membrane permease polyamine transport protein    BN112_1218 CFP
action filter_type
action union
action find
entity CFP
relation encodes
action find
entity inner membrane permease polyamine transport protein    BN112_1218
relation encodes
type nutrient
{'OR': [['CFP', 'encodes', {'concept': 'nutrient'}], ['inner membrane permease polyamine transport protein    BN112_1218', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:CFP ) ( resource:inner_membrane_permease_polyamine_transport_protein____BN112_1218 ) } . ?w property:encodes ?r } . ?r rdf:type ontology:nutrient }
[]
nutrient
Q22677535 Q24118418
SYSTEM
Properdin, inner membrane permease polyamine transport protein    BN112_1218
Q22677535 Q24118418
OR((Q18030474,P688,c(Q181394)), (Q23318068,P688,c(Q181394)))
action filter_type
action union
action find
entity Q18030474
relation P688
action find
entity Q23318068
relation P688
type Q181394
[ANSWERS]
{'OR': [['Q18030474', 'P688', {'concept': 'Q181394'}], ['Q23318068', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:Q18030474 ) ( resource:Q23318068 ) } . ?w property:P688 ?r } . ?r rdf:type ontology:Q181394 }
Properdin inner membrane permease polyamine transport protein    BN112_1218
Properdin inner membrane permease polyamine transport protein    BN112_1218
action filter_type
action union
action find
entity CFP
relation encodes
action find
entity inner membrane permease polyamine transport protein    BN112_1218
relation encodes
type nutrient
{'OR': [['CFP', 'encodes', {'concept': 'nutrient'}], ['inner membrane permease polyamine transport protein    BN112_1218', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?w ) { ( resource:CFP ) ( resource:inner_membrane_permease_polyamine_transport_protein____BN112_1218 ) } . ?w property:encodes ?r } . ?r rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q15978631 Q1029907
P689
Q2057971
USER
How many health problems afflict Homo sapiens or stomach ?
(c(Q2057971),P689,Q15978631) (c(Q2057971),P689,Q1029907)
action count
action union
action filter_type
action find_reverse
entity Q15978631
relation P689
type Q2057971
action filter_type
action find_reverse
entity Q1029907
relation P689
type Q2057971
[{'concept': 'Q2057971'}, 'P689', 'Q15978631'] [{'concept': 'Q2057971'}, 'P689', 'Q1029907']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { ?c property:P689 resource:Q15978631 . ?c rdf:type ontology:Q2057971 } UNION { ?c property:P689 resource:Q1029907 . ?c rdf:type ontology:Q2057971 } }
Homo sapiens stomach
action count
action union
action filter_type
action find_reverse
entity Homo sapiens
relation afflicts
type health problem
action filter_type
action find_reverse
entity stomach
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'Homo sapiens'] [{'concept': 'health problem'}, 'afflicts', 'stomach']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { ?c property:afflicts resource:Homo_sapiens . ?c rdf:type ontology:health_problem } UNION { ?c property:afflicts resource:stomach . ?c rdf:type ontology:health_problem } }
[]
health problem
SYSTEM
3
Q189588 Q175827 Q403463
(c(Q2057971),P689,Q15978631) (c(Q2057971),P689,Q1029907)
action count
action union
action filter_type
action find_reverse
entity Q15978631
relation P689
type Q2057971
action filter_type
action find_reverse
entity Q1029907
relation P689
type Q2057971
[ANSWER]
[{'concept': 'Q2057971'}, 'P689', 'Q15978631'] [{'concept': 'Q2057971'}, 'P689', 'Q1029907']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { ?c property:P689 resource:Q15978631 . ?c rdf:type ontology:Q2057971 } UNION { ?c property:P689 resource:Q1029907 . ?c rdf:type ontology:Q2057971 } }
stomach cancer stomach disease Aicardi syndrome
3
action count
action union
action filter_type
action find_reverse
entity Homo sapiens
relation afflicts
type health problem
action filter_type
action find_reverse
entity stomach
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'Homo sapiens'] [{'concept': 'health problem'}, 'afflicts', 'stomach']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { ?c property:afflicts resource:Homo_sapiens . ?c rdf:type ontology:health_problem } UNION { ?c property:afflicts resource:stomach . ?c rdf:type ontology:health_problem } }
[]