Simple Question (Direct)
Simple Question
Q21116859
P702
Q863908
USER
Which gene encodes Beta,beta-carotene 9',10'-oxygenase ?
(Q21116859,P702,c(Q863908))
action filter_type
action find
entity Q21116859
relation P702
type Q863908
['Q21116859', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?h WHERE { resource:Q21116859 property:P702 ?h . ?h rdf:type ontology:Q863908 }
Beta,beta-carotene 9',10'-oxygenase
action filter_type
action find
entity Beta,beta-carotene 9',10'-oxygenase
relation encoded by
type nucleic acid sequence
["Beta,beta-carotene 9',10'-oxygenase", 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?h WHERE { resource:Beta,beta-carotene_9',10'-oxygenase property:encoded_by ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18047303
SYSTEM
BCO2
Q18047303
(Q21116859,P702,c(Q863908))
action filter_type
action find
entity Q21116859
relation P702
type Q863908
[ANSWER] encodes Beta,beta-carotene 9',10'-oxygenase
['Q21116859', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?h WHERE { resource:Q21116859 property:P702 ?h . ?h rdf:type ontology:Q863908 }
BCO2
BCO2 encodes Beta,beta-carotene 9',10'-oxygenase
BCO2
action filter_type
action find
entity Beta,beta-carotene 9',10'-oxygenase
relation encoded by
type nucleic acid sequence
["Beta,beta-carotene 9',10'-oxygenase", 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?h WHERE { resource:Beta,beta-carotene_9',10'-oxygenase property:encoded_by ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21116859
P681
Q5058355
USER
Which is the cell component of Beta,beta-carotene 9',10'-oxygenase ?
(Q21116859,P681,c(Q5058355))
action filter_type
action find
entity Q21116859
relation P681
type Q5058355
['Q21116859', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ?q WHERE { resource:Q21116859 property:P681 ?q . ?q rdf:type ontology:Q5058355 }
Beta,beta-carotene 9',10'-oxygenase
action filter_type
action find
entity Beta,beta-carotene 9',10'-oxygenase
relation cell component
type cellular component
["Beta,beta-carotene 9',10'-oxygenase", 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ?q WHERE { resource:Beta,beta-carotene_9',10'-oxygenase property:cell_component ?q . ?q rdf:type ontology:cellular_component }
[]
cellular component
Q3824358
SYSTEM
intracellular
Q3824358
(Q21116859,P681,c(Q5058355))
action filter_type
action find
entity Q21116859
relation P681
type Q5058355
The [ANSWER] is the cell component of Beta,beta-carotene 9',10'-oxygenase
['Q21116859', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ?q WHERE { resource:Q21116859 property:P681 ?q . ?q rdf:type ontology:Q5058355 }
intracellular
The intracellular is the cell component of Beta,beta-carotene 9',10'-oxygenase
intracellular
action filter_type
action find
entity Beta,beta-carotene 9',10'-oxygenase
relation cell component
type cellular component
["Beta,beta-carotene 9',10'-oxygenase", 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ?q WHERE { resource:Beta,beta-carotene_9',10'-oxygenase property:cell_component ?q . ?q rdf:type ontology:cellular_component }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21116859
P688
Q863908
USER
What is the nucleic acid sequence that is encoded by Beta,beta-carotene 9',10'-oxygenase ?
(c(Q863908),P688,Q21116859)
action filter_type
action find_reverse
entity Q21116859
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21116859']
SELECT DISTINCT ?o WHERE { ?o property:P688 resource:Q21116859 . ?o rdf:type ontology:Q863908 }
Beta,beta-carotene 9',10'-oxygenase
action filter_type
action find_reverse
entity Beta,beta-carotene 9',10'-oxygenase
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', "Beta,beta-carotene 9',10'-oxygenase"]
SELECT DISTINCT ?o WHERE { ?o property:encodes resource:Beta,beta-carotene_9',10'-oxygenase . ?o rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18047303
SYSTEM
BCO2
Q18047303
(c(Q863908),P688,Q21116859)
action filter_type
action find_reverse
entity Q21116859
relation P688
type Q863908
The nucleic acid sequence that is encoded by Beta , beta-carotene 9', 10'- oxygenase is [ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q21116859']
SELECT DISTINCT ?o WHERE { ?o property:P688 resource:Q21116859 . ?o rdf:type ontology:Q863908 }
BCO2
The nucleic acid sequence that is encoded by Beta , beta-carotene 9', 10'- oxygenase is BCO2
BCO2
action filter_type
action find_reverse
entity Beta,beta-carotene 9',10'-oxygenase
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', "Beta,beta-carotene 9',10'-oxygenase"]
SELECT DISTINCT ?o WHERE { ?o property:encodes resource:Beta,beta-carotene_9',10'-oxygenase . ?o rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18047303
P2293
Q2057971
USER
Which health problem has genetic correlation with that nucleic acid sequence ?
(Q18047303,P2293,c(Q2057971))
action filter_type
action find
entity Q18047303
relation P2293
type Q2057971
['Q18047303', 'P2293', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { resource:Q18047303 property:P2293 ?s . ?s rdf:type ontology:Q2057971 }
BCO2
action filter_type
action find
entity BCO2
relation genetic association
type health problem
['BCO2', 'genetic association', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { resource:BCO2 property:genetic_association ?s . ?s rdf:type ontology:health_problem }
[]
health problem
Q12214
SYSTEM
smallpox
Q12214
(Q18047303,P2293,c(Q2057971))
action filter_type
action find
entity Q18047303
relation P2293
type Q2057971
[ANSWER] has genetic correlation with that nucleic acid sequence
['Q18047303', 'P2293', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { resource:Q18047303 property:P2293 ?s . ?s rdf:type ontology:Q2057971 }
smallpox
Smallpox has genetic correlation with that nucleic acid sequence
smallpox
action filter_type
action find
entity BCO2
relation genetic association
type health problem
['BCO2', 'genetic association', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { resource:BCO2 property:genetic_association ?s . ?s rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q18025177 Q18047303
P2293
Q2057971
USER
Or GABRG3?
OR((Q18047303,P2293,c(Q2057971)), (Q18025177,P2293,c(Q2057971)))
action filter_type
action union
action find
entity Q18047303
relation P2293
action find
entity Q18025177
relation P2293
type Q2057971
{'OR': [['Q18047303', 'P2293', {'concept': 'Q2057971'}], ['Q18025177', 'P2293', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?k WHERE { { ?a property:P2293 ?k . VALUES ( ?a ) { ( resource:Q18047303 ) ( resource:Q18025177 ) } } . ?k rdf:type ontology:Q2057971 }
GABRG3 BCO2
action filter_type
action union
action find
entity BCO2
relation genetic association
action find
entity GABRG3
relation genetic association
type health problem
{'OR': [['BCO2', 'genetic association', {'concept': 'health problem'}], ['GABRG3', 'genetic association', {'concept': 'health problem'}]]}
SELECT DISTINCT ?k WHERE { { ?a property:genetic_association ?k . VALUES ( ?a ) { ( resource:BCO2 ) ( resource:GABRG3 ) } } . ?k rdf:type ontology:health_problem }
[]
health problem
Q11081 Q12214
SYSTEM
Alzheimer's disease, smallpox
Q11081 Q12214
OR((Q18047303,P2293,c(Q2057971)), (Q18025177,P2293,c(Q2057971)))
action filter_type
action union
action find
entity Q18047303
relation P2293
action find
entity Q18025177
relation P2293
type Q2057971
[ANSWERS]
{'OR': [['Q18047303', 'P2293', {'concept': 'Q2057971'}], ['Q18025177', 'P2293', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?k WHERE { { ?a property:P2293 ?k . VALUES ( ?a ) { ( resource:Q18047303 ) ( resource:Q18025177 ) } } . ?k rdf:type ontology:Q2057971 }
Alzheimer's disease smallpox
Alzheimer's disease smallpox
action filter_type
action union
action find
entity BCO2
relation genetic association
action find
entity GABRG3
relation genetic association
type health problem
{'OR': [['BCO2', 'genetic association', {'concept': 'health problem'}], ['GABRG3', 'genetic association', {'concept': 'health problem'}]]}
SELECT DISTINCT ?k WHERE { { ?a property:genetic_association ?k . VALUES ( ?a ) { ( resource:BCO2 ) ( resource:GABRG3 ) } } . ?k rdf:type ontology:health_problem }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q7421081
P828
Q2057971 Q12136
USER
How many diseases are the result of having greater number of health problems than Sappinia amoebic encephalitis ?
(c(Q12136),P828,c(Q2057971))
action count
action greater
action find_tuple_counts
relation P828
type Q12136
type Q2057971
action count
action filter_type
action find
entity Q7421081
relation P828
type Q12136
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { FILTER ( ?k > ?u ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { resource:Q7421081 property:P828 ?e . ?e rdf:type ontology:Q12136 } } . { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?k ) WHERE { ?s property:P828 ?t . ?s rdf:type ontology:Q12136 . ?t rdf:type ontology:Q2057971 } GROUP BY ?s } }
Sappinia amoebic encephalitis
action count
action greater
action find_tuple_counts
relation has cause
type disease
type health problem
action count
action filter_type
action find
entity Sappinia amoebic encephalitis
relation has cause
type disease
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { FILTER ( ?k > ?u ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { resource:Sappinia_amoebic_encephalitis property:has_cause ?e . ?e rdf:type ontology:disease } } . { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?k ) WHERE { ?s property:has_cause ?t . ?s rdf:type ontology:disease . ?t rdf:type ontology:health_problem } GROUP BY ?s } }
[]
health problem disease
SYSTEM
24
Q3281904 Q26737764 Q11290178 Q18975496 Q3634866 Q26737768 Q26737757 Q3152925 Q5567304 Q18967433 Q3480107 Q2637106 Q3144951 Q209369 Q1640810 Q895930 Q4420129 Q2723627 Q6741354 Q2249526 Q7900393 Q1186697 Q26737770 Q2777805
(c(Q12136),P828,c(Q2057971))
action count
action greater
action find_tuple_counts
relation P828
type Q12136
type Q2057971
action count
action filter_type
action find
entity Q7421081
relation P828
type Q12136
[ANSWER]
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { FILTER ( ?k > ?u ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { resource:Q7421081 property:P828 ?e . ?e rdf:type ontology:Q12136 } } . { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?k ) WHERE { ?s property:P828 ?t . ?s rdf:type ontology:Q12136 . ?t rdf:type ontology:Q2057971 } GROUP BY ?s } }
congenital physical abnormalitie paracentral scotoma Alcohol and health metabolic skin disease Lupus headache Bjerrum scotoma central scotoma chronic respiratory failure Glaukomflecken HIV encephalopathy bone pain Scintillating scotoma Benckiser's hemorrhage Hodgkin's lymphoma Hyper-IgD syndrome Nodding disease Mauriac syndrome Pott disease malarial nephropathy Cerebral hypoxia Uremic pericarditis demyelination ring scotoma Diabetes mellitus and pregnancy
24
action count
action greater
action find_tuple_counts
relation has cause
type disease
type health problem
action count
action filter_type
action find
entity Sappinia amoebic encephalitis
relation has cause
type disease
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { FILTER ( ?k > ?u ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { resource:Sappinia_amoebic_encephalitis property:has_cause ?e . ?e rdf:type ontology:disease } } . { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?k ) WHERE { ?s property:has_cause ?t . ?s rdf:type ontology:disease . ?t rdf:type ontology:health_problem } GROUP BY ?s } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q164818
P828
Q2057971 Q12136
USER
And also tell me about Q fever?
(c(Q12136),P828,c(Q2057971))
action count
action greater
action find_tuple_counts
relation P828
type Q12136
type Q2057971
action count
action filter_type
action find
entity Q164818
relation P828
type Q12136
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q164818 property:P828 ?t . ?t rdf:type ontology:Q12136 } } . FILTER ( ?y > ?x ) . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?y ) WHERE { ?u property:P828 ?g . ?u rdf:type ontology:Q12136 . ?g rdf:type ontology:Q2057971 } GROUP BY ?u } }
Q fever
action count
action greater
action find_tuple_counts
relation has cause
type disease
type health problem
action count
action filter_type
action find
entity Q fever
relation has cause
type disease
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q_fever property:has_cause ?t . ?t rdf:type ontology:disease } } . FILTER ( ?y > ?x ) . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?y ) WHERE { ?u property:has_cause ?g . ?u rdf:type ontology:disease . ?g rdf:type ontology:health_problem } GROUP BY ?u } }
[]
health problem disease
SYSTEM
24
Q3281904 Q26737764 Q11290178 Q18975496 Q3634866 Q26737768 Q26737757 Q3152925 Q5567304 Q18967433 Q3480107 Q2637106 Q3144951 Q209369 Q1640810 Q895930 Q4420129 Q2723627 Q6741354 Q2249526 Q7900393 Q1186697 Q26737770 Q2777805
(c(Q12136),P828,c(Q2057971))
action count
action greater
action find_tuple_counts
relation P828
type Q12136
type Q2057971
action count
action filter_type
action find
entity Q164818
relation P828
type Q12136
[ANSWER]
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q164818 property:P828 ?t . ?t rdf:type ontology:Q12136 } } . FILTER ( ?y > ?x ) . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?y ) WHERE { ?u property:P828 ?g . ?u rdf:type ontology:Q12136 . ?g rdf:type ontology:Q2057971 } GROUP BY ?u } }
congenital physical abnormalitie paracentral scotoma Alcohol and health metabolic skin disease Lupus headache Bjerrum scotoma central scotoma chronic respiratory failure Glaukomflecken HIV encephalopathy bone pain Scintillating scotoma Benckiser's hemorrhage Hodgkin's lymphoma Hyper-IgD syndrome Nodding disease Mauriac syndrome Pott disease malarial nephropathy Cerebral hypoxia Uremic pericarditis demyelination ring scotoma Diabetes mellitus and pregnancy
24
action count
action greater
action find_tuple_counts
relation has cause
type disease
type health problem
action count
action filter_type
action find
entity Q fever
relation has cause
type disease
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q_fever property:has_cause ?t . ?t rdf:type ontology:disease } } . FILTER ( ?y > ?x ) . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?y ) WHERE { ?u property:has_cause ?g . ?u rdf:type ontology:disease . ?g rdf:type ontology:health_problem } GROUP BY ?u } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q2057971 Q12136
USER
Which diseases are caused by around 1 health problem ?
(c(Q12136),P828,c(Q2057971))
action approx
action find_tuple_counts
relation P828
type Q12136
type Q2057971
value 1
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?d ) WHERE { ?p rdf:type ontology:Q12136 . ?h rdf:type ontology:Q2057971 . ?p property:P828 ?h } GROUP BY ?p } }
action approx
action find_tuple_counts
relation has cause
type disease
type health problem
value 1
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?d ) WHERE { ?p rdf:type ontology:disease . ?h rdf:type ontology:health_problem . ?p property:has_cause ?h } GROUP BY ?p } }
[]
health problem disease
Q209369 Q2723627 Q3480107
SYSTEM
Hodgkin's lymphoma, Pott disease, bone pain
Q3281904 Q26737764 Q11290178 Q18975496 Q3634866 Q26737768 Q26737757 Q3152925 Q5567304 Q18967433 Q3480107 Q2637106 Q3144951 Q209369 Q1640810 Q4420129 Q2723627 Q6741354 Q2249526 Q7900393 Q1186697 Q2777805
(c(Q12136),P828,c(Q2057971))
action approx
action find_tuple_counts
relation P828
type Q12136
type Q2057971
value 1
[ANSWERS] are caused by around 1 health problem
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?d ) WHERE { ?p rdf:type ontology:Q12136 . ?h rdf:type ontology:Q2057971 . ?p property:P828 ?h } GROUP BY ?p } }
congenital physical abnormalitie paracentral scotoma Alcohol and health metabolic skin disease Lupus headache Bjerrum scotoma central scotoma chronic respiratory failure Glaukomflecken HIV encephalopathy bone pain Scintillating scotoma Benckiser's hemorrhage Hodgkin's lymphoma Hyper-IgD syndrome Mauriac syndrome Pott disease malarial nephropathy Cerebral hypoxia Uremic pericarditis demyelination Diabetes mellitus and pregnancy
Hodgkin's lymphoma, Pott disease and bone pain are caused by around 1 health problem
Hodgkin's lymphoma Pott disease bone pain
action approx
action find_tuple_counts
relation has cause
type disease
type health problem
value 1
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?d ) WHERE { ?p rdf:type ontology:disease . ?h rdf:type ontology:health_problem . ?p property:has_cause ?h } GROUP BY ?p } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q181394 Q79529
USER
How many nutrients do around 42 nutrients and chemical substances contact with ?
(c(Q181394)|c(Q79529),P129,c(Q181394))
action count
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
value 42
[[{'concept': 'Q181394'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?u ) WHERE { VALUES ( ?g ) { ( ontology:Q181394 ) ( ontology:Q79529 ) } . ?v rdf:type ?g } GROUP BY ?t } . FILTER ( ?u = 42 ) }
action count
action approx
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
value 42
[[{'concept': 'nutrient'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?u ) WHERE { VALUES ( ?g ) { ( ontology:nutrient ) ( ontology:chemical_substance ) } . ?v rdf:type ?g } GROUP BY ?t } . FILTER ( ?u = 42 ) }
[]
nutrient nutrient chemical substance
SYSTEM
4
Q4639596 Q21108118 Q21115043 Q1949517
(c(Q181394)|c(Q79529),P129,c(Q181394))
action count
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
value 42
[ANSWER]
[[{'concept': 'Q181394'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?u ) WHERE { VALUES ( ?g ) { ( ontology:Q181394 ) ( ontology:Q79529 ) } . ?v rdf:type ?g } GROUP BY ?t } . FILTER ( ?u = 42 ) }
5-hydroxytryptamine receptor 2B 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A
4
action count
action approx
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
value 42
[[{'concept': 'nutrient'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?u ) WHERE { VALUES ( ?g ) { ( ontology:nutrient ) ( ontology:chemical_substance ) } . ?v rdf:type ?g } GROUP BY ?t } . FILTER ( ?u = 42 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12136 Q386724 Q2342494
USER
Which diseases were the main subjects of around 32 works or collectables 's work ?
(c(Q386724)|c(Q2342494),P921,c(Q12136))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12136
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12136
type Q2342494
value 32
[[{'concept': 'Q386724'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12136'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) ?k WHERE { { ?y rdf:type ontology:Q386724 . ?k rdf:type ontology:Q12136 . ?y property:P921 ?k } UNION { ?y property:P921 ?k . ?k rdf:type ontology:Q12136 . ?y rdf:type ontology:Q2342494 } } GROUP BY ?k } . FILTER ( ?o = 32 ) }
action approx
action union
action find_reverse_tuple_counts
relation main subject
type disease
type work
action find_reverse_tuple_counts
relation main subject
type disease
type collectable
value 32
[[{'concept': 'work'}, {'concept': 'collectable'}], 'main subject', {'concept': 'disease'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) ?k WHERE { { ?y rdf:type ontology:work . ?k rdf:type ontology:disease . ?y property:main_subject ?k } UNION { ?y property:main_subject ?k . ?k rdf:type ontology:disease . ?y rdf:type ontology:collectable } } GROUP BY ?k } . FILTER ( ?o = 32 ) }
[]
disease work collectable
Q15326 Q2936210 Q26989045
SYSTEM
alcoholism, occupational cancer, neurotoxic disorder
Q26989030 Q15326 Q2936210 Q26989028 Q26989024 Q26989045
(c(Q386724)|c(Q2342494),P921,c(Q12136))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12136
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12136
type Q2342494
value 32
[ANSWERS] were the main subjects of around 32 works or collectables 's work
[[{'concept': 'Q386724'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12136'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) ?k WHERE { { ?y rdf:type ontology:Q386724 . ?k rdf:type ontology:Q12136 . ?y property:P921 ?k } UNION { ?y property:P921 ?k . ?k rdf:type ontology:Q12136 . ?y rdf:type ontology:Q2342494 } } GROUP BY ?k } . FILTER ( ?o = 32 ) }
musculoskeletal disorder of the upper extremities alcoholism occupational cancer low back disorder occupationally acquired infection neurotoxic disorder
Alcoholism, occupational cancer and neurotoxic disorder were the main subjects of around 32 works or collectables 's work
alcoholism occupational cancer neurotoxic disorder
action approx
action union
action find_reverse_tuple_counts
relation main subject
type disease
type work
action find_reverse_tuple_counts
relation main subject
type disease
type collectable
value 32
[[{'concept': 'work'}, {'concept': 'collectable'}], 'main subject', {'concept': 'disease'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) ?k WHERE { { ?y rdf:type ontology:work . ?k rdf:type ontology:disease . ?y property:main_subject ?k } UNION { ?y property:main_subject ?k . ?k rdf:type ontology:disease . ?y rdf:type ontology:collectable } } GROUP BY ?k } . FILTER ( ?o = 32 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18047303
P702
Q181394
USER
How many nutrients are encoded by BCO2 ?
(c(Q181394),P702,Q18047303)
action count
action filter_type
action find_reverse
entity Q18047303
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q18047303']
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:P702 resource:Q18047303 . ?k rdf:type ontology:Q181394 }
BCO2
action count
action filter_type
action find_reverse
entity BCO2
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'BCO2']
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:encoded_by resource:BCO2 . ?k rdf:type ontology:nutrient }
[]
nutrient
SYSTEM
2
Q21139780 Q21116859
(c(Q181394),P702,Q18047303)
action count
action filter_type
action find_reverse
entity Q18047303
relation P702
type Q181394
[ANSWER]
[{'concept': 'Q181394'}, 'P702', 'Q18047303']
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:P702 resource:Q18047303 . ?k rdf:type ontology:Q181394 }
Beta,beta-carotene 9',10'-oxygenase Beta,beta-carotene 9',10'-oxygenase
2
action count
action filter_type
action find_reverse
entity BCO2
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'BCO2']
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:encoded_by resource:BCO2 . ?k rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q18049373
P702
Q181394
USER
And how about OR4X2?
(c(Q181394),P702,Q18049373)
action count
action filter_type
action find_reverse
entity Q18049373
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q18049373']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:P702 resource:Q18049373 . ?s rdf:type ontology:Q181394 }
OR4X2
action count
action filter_type
action find_reverse
entity OR4X2
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'OR4X2']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:encoded_by resource:OR4X2 . ?s rdf:type ontology:nutrient }
[]
nutrient
SYSTEM
1
Q21124161
(c(Q181394),P702,Q18049373)
action count
action filter_type
action find_reverse
entity Q18049373
relation P702
type Q181394
[ANSWER]
[{'concept': 'Q181394'}, 'P702', 'Q18049373']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:P702 resource:Q18049373 . ?s rdf:type ontology:Q181394 }
Olfactory receptor 4X2
1
action count
action filter_type
action find_reverse
entity OR4X2
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'OR4X2']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:encoded_by resource:OR4X2 . ?s rdf:type ontology:nutrient }
[]