Simple Question (Direct)
Simple Question
Q21494750
P682
Q3249551
USER
Which process is Aldehyde dehydrogenase family 16 member A1 involved in ?
(Q21494750,P682,c(Q3249551))
action filter_type
action find
entity Q21494750
relation P682
type Q3249551
['Q21494750', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?u WHERE { resource:Q21494750 property:P682 ?u . ?u rdf:type ontology:Q3249551 }
Aldehyde dehydrogenase family 16 member A1
action filter_type
action find
entity Aldehyde dehydrogenase family 16 member A1
relation biological process
type process
['Aldehyde dehydrogenase family 16 member A1', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?u WHERE { resource:Aldehyde_dehydrogenase_family_16_member_A1 property:biological_process ?u . ?u rdf:type ontology:process }
[]
process
Q1057
SYSTEM
metabolic process
Q1057
(Q21494750,P682,c(Q3249551))
action filter_type
action find
entity Q21494750
relation P682
type Q3249551
[ANSWER] is Aldehyde dehydrogenase family 16 member A1 involved in
['Q21494750', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?u WHERE { resource:Q21494750 property:P682 ?u . ?u rdf:type ontology:Q3249551 }
metabolic process
Metabolic process is Aldehyde dehydrogenase family 16 member A1 involved in
metabolic process
action filter_type
action find
entity Aldehyde dehydrogenase family 16 member A1
relation biological process
type process
['Aldehyde dehydrogenase family 16 member A1', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?u WHERE { resource:Aldehyde_dehydrogenase_family_16_member_A1 property:biological_process ?u . ?u rdf:type ontology:process }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21494750
P702
Q863908
USER
Which nucleic acid sequence encodes Aldehyde dehydrogenase family 16 member A1 ?
(Q21494750,P702,c(Q863908))
action filter_type
action find
entity Q21494750
relation P702
type Q863908
['Q21494750', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?h WHERE { resource:Q21494750 property:P702 ?h . ?h rdf:type ontology:Q863908 }
Aldehyde dehydrogenase family 16 member A1
action filter_type
action find
entity Aldehyde dehydrogenase family 16 member A1
relation encoded by
type nucleic acid sequence
['Aldehyde dehydrogenase family 16 member A1', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?h WHERE { resource:Aldehyde_dehydrogenase_family_16_member_A1 property:encoded_by ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18263918
SYSTEM
Aldh16a1
Q18263918
(Q21494750,P702,c(Q863908))
action filter_type
action find
entity Q21494750
relation P702
type Q863908
[ANSWER] encodes Aldehyde dehydrogenase family 16 member A1
['Q21494750', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?h WHERE { resource:Q21494750 property:P702 ?h . ?h rdf:type ontology:Q863908 }
Aldh16a1
Aldh16a1 encodes Aldehyde dehydrogenase family 16 member A1
Aldh16a1
action filter_type
action find
entity Aldehyde dehydrogenase family 16 member A1
relation encoded by
type nucleic acid sequence
['Aldehyde dehydrogenase family 16 member A1', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?h WHERE { resource:Aldehyde_dehydrogenase_family_16_member_A1 property:encoded_by ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q21123065 Q21494750
P702
Q863908
USER
Or NADH dehydrogenase [ubiquinone] 1 alpha subcomplex assembly factor 4?
OR((Q21494750,P702,c(Q863908)), (Q21123065,P702,c(Q863908)))
action filter_type
action union
action find
entity Q21494750
relation P702
action find
entity Q21123065
relation P702
type Q863908
{'OR': [['Q21494750', 'P702', {'concept': 'Q863908'}], ['Q21123065', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q21123065 property:P702 ?m } UNION { resource:Q21494750 property:P702 ?m } } . ?m rdf:type ontology:Q863908 }
NADH dehydrogenase [ubiquinone] 1 alpha subcomplex assembly factor 4 Aldehyde dehydrogenase family 16 member A1
action filter_type
action union
action find
entity Aldehyde dehydrogenase family 16 member A1
relation encoded by
action find
entity NADH dehydrogenase [ubiquinone] 1 alpha subcomplex assembly factor 4
relation encoded by
type nucleic acid sequence
{'OR': [['Aldehyde dehydrogenase family 16 member A1', 'encoded by', {'concept': 'nucleic acid sequence'}], ['NADH dehydrogenase [ubiquinone] 1 alpha subcomplex assembly factor 4', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?m WHERE { { { resource:NADH_dehydrogenase_[ubiquinone]_1_alpha_subcomplex_assembly_factor_4 property:encoded_by ?m } UNION { resource:Aldehyde_dehydrogenase_family_16_member_A1 property:encoded_by ?m } } . ?m rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18039575 Q18263918
SYSTEM
NDUFAF4, Aldh16a1
Q18039575 Q18263918
OR((Q21494750,P702,c(Q863908)), (Q21123065,P702,c(Q863908)))
action filter_type
action union
action find
entity Q21494750
relation P702
action find
entity Q21123065
relation P702
type Q863908
[ANSWERS]
{'OR': [['Q21494750', 'P702', {'concept': 'Q863908'}], ['Q21123065', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q21123065 property:P702 ?m } UNION { resource:Q21494750 property:P702 ?m } } . ?m rdf:type ontology:Q863908 }
NDUFAF4 Aldh16a1
NDUFAF4 Aldh16a1
action filter_type
action union
action find
entity Aldehyde dehydrogenase family 16 member A1
relation encoded by
action find
entity NADH dehydrogenase [ubiquinone] 1 alpha subcomplex assembly factor 4
relation encoded by
type nucleic acid sequence
{'OR': [['Aldehyde dehydrogenase family 16 member A1', 'encoded by', {'concept': 'nucleic acid sequence'}], ['NADH dehydrogenase [ubiquinone] 1 alpha subcomplex assembly factor 4', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?m WHERE { { { resource:NADH_dehydrogenase_[ubiquinone]_1_alpha_subcomplex_assembly_factor_4 property:encoded_by ?m } UNION { resource:Aldehyde_dehydrogenase_family_16_member_A1 property:encoded_by ?m } } . ?m rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q18039575 Q18263918
P684
Q863908
USER
What are an otrhologus genes for those ones ?
(Q18039575,P684,c(Q863908)) (Q18263918,P684,c(Q863908))
action filter_type
action find
entity prev_answer
relation P684
type Q863908
['Q18039575', 'P684', {'concept': 'Q863908'}] ['Q18263918', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?l WHERE { ?m property:P684 ?l . VALUES ( ?m ) { ( resource:Q18039575 ) ( resource:Q18263918 ) } . ?l rdf:type ontology:Q863908 }
NDUFAF4 Aldh16a1
action filter_type
action find
entity prev_answer
relation ortholog
type nucleic acid sequence
['NDUFAF4', 'ortholog', {'concept': 'nucleic acid sequence'}] ['Aldh16a1', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?l WHERE { ?m property:ortholog ?l . VALUES ( ?m ) { ( resource:NDUFAF4 ) ( resource:Aldh16a1 ) } . ?l rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18263212 Q18049663
SYSTEM
Ndufaf4, ALDH16A1
Q18263212 Q18049663
(Q18039575,P684,c(Q863908)) (Q18263918,P684,c(Q863908))
action filter_type
action find
entity prev_answer
relation P684
type Q863908
An otrhologus genes for those ones are genes [ANSWERS]
['Q18039575', 'P684', {'concept': 'Q863908'}] ['Q18263918', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?l WHERE { ?m property:P684 ?l . VALUES ( ?m ) { ( resource:Q18039575 ) ( resource:Q18263918 ) } . ?l rdf:type ontology:Q863908 }
Ndufaf4 ALDH16A1
An otrhologus genes for those ones are genes Ndufaf4 and ALDH16A1
Ndufaf4 ALDH16A1
action filter_type
action find
entity prev_answer
relation ortholog
type nucleic acid sequence
['NDUFAF4', 'ortholog', {'concept': 'nucleic acid sequence'}] ['Aldh16a1', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?l WHERE { ?m property:ortholog ?l . VALUES ( ?m ) { ( resource:NDUFAF4 ) ( resource:Aldh16a1 ) } . ?l rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18039575
P703
Q16521
USER
Where is NDUFAF4 found ?
(Q18039575,P703,c(Q16521))
action filter_type
action find
entity Q18039575
relation P703
type Q16521
['Q18039575', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?w WHERE { resource:Q18039575 property:P703 ?w . ?w rdf:type ontology:Q16521 }
NDUFAF4
action filter_type
action find
entity NDUFAF4
relation found in taxon
type taxon
['NDUFAF4', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?w WHERE { resource:NDUFAF4 property:found_in_taxon ?w . ?w rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q18039575,P703,c(Q16521))
action filter_type
action find
entity Q18039575
relation P703
type Q16521
NDUFAF4 is found in [ANSWER]
['Q18039575', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?w WHERE { resource:Q18039575 property:P703 ?w . ?w rdf:type ontology:Q16521 }
Homo sapiens
NDUFAF4 is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity NDUFAF4
relation found in taxon
type taxon
['NDUFAF4', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?w WHERE { resource:NDUFAF4 property:found_in_taxon ?w . ?w rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15978631
P689
Q2057971
USER
Which health problem afflicts that taxon ?
(c(Q2057971),P689,Q15978631)
action filter_type
action find_reverse
entity Q15978631
relation P689
type Q2057971
[{'concept': 'Q2057971'}, 'P689', 'Q15978631']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2057971 . ?y property:P689 resource:Q15978631 }
Homo sapiens
action filter_type
action find_reverse
entity Homo sapiens
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'Homo sapiens']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:health_problem . ?y property:afflicts resource:Homo_sapiens }
[]
health problem
Q403463
SYSTEM
Aicardi syndrome
Q403463
(c(Q2057971),P689,Q15978631)
action filter_type
action find_reverse
entity Q15978631
relation P689
type Q2057971
[ANSWER] afflicts that taxon
[{'concept': 'Q2057971'}, 'P689', 'Q15978631']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2057971 . ?y property:P689 resource:Q15978631 }
Aicardi syndrome
Aicardi syndrome afflicts that taxon
Aicardi syndrome
action filter_type
action find_reverse
entity Homo sapiens
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'Homo sapiens']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:health_problem . ?y property:afflicts resource:Homo_sapiens }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q2057971 Q3839081
USER
Which disasters do atleast 1 health problem cause ?
(c(Q3839081),P828,c(Q2057971))
action atleast
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
value 1
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { ?e property:P828 ?y . ?e rdf:type ontology:Q3839081 . ?y rdf:type ontology:Q2057971 } GROUP BY ?e } }
action atleast
action find_tuple_counts
relation has cause
type disaster
type health problem
value 1
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { ?e property:has_cause ?y . ?e rdf:type ontology:disaster . ?y rdf:type ontology:health_problem } GROUP BY ?e } }
[]
health problem disaster
Q2035019 Q1470579 Q3589134
SYSTEM
1854 Broad Street cholera outbreak, Otter Valley polio epidemic, measles epidemic France 2008
Q1470579 Q3589134 Q3589133 Q2036106 Q2035019
(c(Q3839081),P828,c(Q2057971))
action atleast
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
value 1
Atleast 1 health problem cause in [ANSWERS]
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { ?e property:P828 ?y . ?e rdf:type ontology:Q3839081 . ?y rdf:type ontology:Q2057971 } GROUP BY ?e } }
Otter Valley polio epidemic measles epidemic France 2008 chikungunya epidemic on Réunion Polio Epidemic 1916 1854 Broad Street cholera outbreak
Atleast 1 health problem cause in 1854 Broad Street cholera outbreak, Otter Valley polio epidemic and measles epidemic France 2008
1854 Broad Street cholera outbreak Otter Valley polio epidemic measles epidemic France 2008
action atleast
action find_tuple_counts
relation has cause
type disaster
type health problem
value 1
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { ?e property:has_cause ?y . ?e rdf:type ontology:disaster . ?y rdf:type ontology:health_problem } GROUP BY ?e } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P121
Q20027953 Q197 Q3839081
USER
Which disasters manage atleast 1 aircraft functional classes or airplanes ?
(c(Q3839081),P121,c(Q20027953)|c(Q197))
action atleast
action union
action find_tuple_counts
relation P121
type Q3839081
type Q20027953
action find_tuple_counts
relation P121
type Q3839081
type Q197
value 1
[{'concept': 'Q3839081'}, 'P121', [{'concept': 'Q20027953'}, {'concept': 'Q197'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?x ) WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:Q20027953 ) ( ontology:Q197 ) } } GROUP BY ?m } . FILTER ( ?x >= 1 ) }
action atleast
action union
action find_tuple_counts
relation item operated
type disaster
type aircraft functional class
action find_tuple_counts
relation item operated
type disaster
type airplane
value 1
[{'concept': 'disaster'}, 'item operated', [{'concept': 'aircraft functional class'}, {'concept': 'airplane'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?x ) WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:aircraft_functional_class ) ( ontology:airplane ) } } GROUP BY ?m } . FILTER ( ?x >= 1 ) }
[]
aircraft functional class airplane disaster
Q17374096 Q15908324 Q2475745
SYSTEM
Malaysia Airlines Flight 17, Malaysia Airlines Flight 370, Siberia Airlines Flight 1812
Q462847 Q15621133 Q5438057 Q15908324 Q17374096 Q2475745
(c(Q3839081),P121,c(Q20027953)|c(Q197))
action atleast
action union
action find_tuple_counts
relation P121
type Q3839081
type Q20027953
action find_tuple_counts
relation P121
type Q3839081
type Q197
value 1
[ANSWERS] manage atleast 1 aircraft functional classes or airplanes
[{'concept': 'Q3839081'}, 'P121', [{'concept': 'Q20027953'}, {'concept': 'Q197'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?x ) WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:Q20027953 ) ( ontology:Q197 ) } } GROUP BY ?m } . FILTER ( ?x >= 1 ) }
United Airlines Flight 585 1952 Moses Lake C-124 crash Faucett Flight 251 Malaysia Airlines Flight 370 Malaysia Airlines Flight 17 Siberia Airlines Flight 1812
Malaysia Airlines Flight 17, Malaysia Airlines Flight 370 and Siberia Airlines Flight 1812 manage atleast 1 aircraft functional classes or airplanes
Malaysia Airlines Flight 17 Malaysia Airlines Flight 370 Siberia Airlines Flight 1812
action atleast
action union
action find_tuple_counts
relation item operated
type disaster
type aircraft functional class
action find_tuple_counts
relation item operated
type disaster
type airplane
value 1
[{'concept': 'disaster'}, 'item operated', [{'concept': 'aircraft functional class'}, {'concept': 'airplane'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?x ) WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:aircraft_functional_class ) ( ontology:airplane ) } } GROUP BY ?m } . FILTER ( ?x >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P780
Q12136 Q1441305 Q2057971
USER
Which health problems have around 2 diseases and medical signs as one of their symptoms ?
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action approx
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
value 2
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:Q12136 ) ( ontology:Q1441305 ) } . ?t rdf:type ?j } GROUP BY ?g } . FILTER ( ?a = 2 ) }
action approx
action union
action find_tuple_counts
relation symptoms
type health problem
type disease
action find_tuple_counts
relation symptoms
type health problem
type medical sign
value 2
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:disease ) ( ontology:medical_sign ) } . ?t rdf:type ?j } GROUP BY ?g } . FILTER ( ?a = 2 ) }
[]
disease medical sign health problem
Q212961 Q12152 Q29496
SYSTEM
pancreatic cancer, myocardial infarction, leukemia
Q2583514 Q154869 Q836356 Q721073 Q623031 Q2388598 Q6853 Q5432941 Q39222 Q3508705 Q1198391 Q190564 Q156103 Q127724 Q12152 Q5526844 Q1077603 Q174651 Q180266 Q212961 Q6668132 Q264118 Q145790 Q1981276 Q432396 Q332293 Q133087 Q7165022 Q335555 Q265936 Q29496 Q664174 Q18557404
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action approx
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
value 2
[ANSWERS] have around 2 diseases and medical signs as one of their symptoms
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:Q12136 ) ( ontology:Q1441305 ) } . ?t rdf:type ?j } GROUP BY ?g } . FILTER ( ?a = 2 ) }
Argentine hemorrhagic fever hepatitis C croup delusional disorder liver cancer Ollier disease hepatitis B hyperlipoproteinemia type IV rabies Timothy syndrome intracranial aneurysm Huntington's disease gastroenteritis cataract myocardial infarction Gastrojejunocolic fistula malignant mesothelioma Bálint's syndrome scarlet fever pancreatic cancer Loin pain hematuria syndrome acute myeloid leukemia iridocyclitis neuroendocrine tumor achromatopsia carpal tunnel syndrome gout pentalogy of Cantrell Sjögren's syndrome Kawasaki disease leukemia asbestosis peroneal nerve paralysis
Pancreatic cancer, myocardial infarction and leukemia have around 2 diseases and medical signs as one of their symptoms
pancreatic cancer myocardial infarction leukemia
action approx
action union
action find_tuple_counts
relation symptoms
type health problem
type disease
action find_tuple_counts
relation symptoms
type health problem
type medical sign
value 2
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:disease ) ( ontology:medical_sign ) } . ?t rdf:type ?j } GROUP BY ?g } . FILTER ( ?a = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q16521 Q3305213 Q2342494
USER
Which taxons are depicted in max number of paintings or collectables ?
(c(Q3305213)|c(Q2342494),P180,c(Q16521))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q16521
type Q2342494
[[{'concept': 'Q3305213'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?g WHERE { VALUES ( ?u ) { ( ontology:Q3305213 ) ( ontology:Q2342494 ) } . ?s rdf:type ?u } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?x WHERE { { ?f property:P180 ?x . ?x rdf:type ontology:Q16521 . ?f rdf:type ontology:Q2342494 } UNION { ?f property:P180 ?x . ?x rdf:type ontology:Q16521 . ?f rdf:type ontology:Q3305213 } } GROUP BY ?x } . FILTER ( ?t = ?c ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type painting
action find_reverse_tuple_counts
relation depicts
type taxon
type collectable
[[{'concept': 'painting'}, {'concept': 'collectable'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?g WHERE { VALUES ( ?u ) { ( ontology:painting ) ( ontology:collectable ) } . ?s rdf:type ?u } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?x WHERE { { ?f property:depicts ?x . ?x rdf:type ontology:taxon . ?f rdf:type ontology:collectable } UNION { ?f property:depicts ?x . ?x rdf:type ontology:taxon . ?f rdf:type ontology:painting } } GROUP BY ?x } . FILTER ( ?t = ?c ) }
[]
taxon painting collectable
Q5113
SYSTEM
bird
Q5113
(c(Q3305213)|c(Q2342494),P180,c(Q16521))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q16521
type Q2342494
[ANSWER] is depicted in max number of paintings or collectables
[[{'concept': 'Q3305213'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?g WHERE { VALUES ( ?u ) { ( ontology:Q3305213 ) ( ontology:Q2342494 ) } . ?s rdf:type ?u } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?x WHERE { { ?f property:P180 ?x . ?x rdf:type ontology:Q16521 . ?f rdf:type ontology:Q2342494 } UNION { ?f property:P180 ?x . ?x rdf:type ontology:Q16521 . ?f rdf:type ontology:Q3305213 } } GROUP BY ?x } . FILTER ( ?t = ?c ) }
bird
Bird is depicted in max number of paintings or collectables
bird
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type painting
action find_reverse_tuple_counts
relation depicts
type taxon
type collectable
[[{'concept': 'painting'}, {'concept': 'collectable'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?g WHERE { VALUES ( ?u ) { ( ontology:painting ) ( ontology:collectable ) } . ?s rdf:type ?u } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?x WHERE { { ?f property:depicts ?x . ?x rdf:type ontology:taxon . ?f rdf:type ontology:collectable } UNION { ?f property:depicts ?x . ?x rdf:type ontology:taxon . ?f rdf:type ontology:painting } } GROUP BY ?x } . FILTER ( ?t = ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23151700 Q18039575
P688
Q181394
USER
Which nutrients are NDUFAF4 or aminoglycoside phosphotransferase    Psyr_3055 an encoding of ?
OR((Q18039575,P688,c(Q181394)), (Q23151700,P688,c(Q181394)))
action filter_type
action union
action find
entity Q18039575
relation P688
action find
entity Q23151700
relation P688
type Q181394
{'OR': [['Q18039575', 'P688', {'concept': 'Q181394'}], ['Q23151700', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q18039575 property:P688 ?i } UNION { resource:Q23151700 property:P688 ?i } } . ?i rdf:type ontology:Q181394 }
aminoglycoside phosphotransferase    Psyr_3055 NDUFAF4
action filter_type
action union
action find
entity NDUFAF4
relation encodes
action find
entity aminoglycoside phosphotransferase    Psyr_3055
relation encodes
type nutrient
{'OR': [['NDUFAF4', 'encodes', {'concept': 'nutrient'}], ['aminoglycoside phosphotransferase    Psyr_3055', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?i WHERE { { { resource:NDUFAF4 property:encodes ?i } UNION { resource:aminoglycoside_phosphotransferase____Psyr_3055 property:encodes ?i } } . ?i rdf:type ontology:nutrient }
[]
nutrient
Q21123065 Q24094906
SYSTEM
NADH dehydrogenase [ubiquinone] 1 alpha subcomplex assembly factor 4, aminoglycoside phosphotransferase    Psyr_3055
Q21123065 Q24094906
OR((Q18039575,P688,c(Q181394)), (Q23151700,P688,c(Q181394)))
action filter_type
action union
action find
entity Q18039575
relation P688
action find
entity Q23151700
relation P688
type Q181394
[ANSWERS]
{'OR': [['Q18039575', 'P688', {'concept': 'Q181394'}], ['Q23151700', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q18039575 property:P688 ?i } UNION { resource:Q23151700 property:P688 ?i } } . ?i rdf:type ontology:Q181394 }
NADH dehydrogenase [ubiquinone] 1 alpha subcomplex assembly factor 4 aminoglycoside phosphotransferase    Psyr_3055
NADH dehydrogenase [ubiquinone] 1 alpha subcomplex assembly factor 4 and aminoglycoside phosphotransferase Psyr 3055 are NDUFAF4 or aminoglycoside phosphotransferase Psyr_3055 an encoding of
NADH dehydrogenase [ubiquinone] 1 alpha subcomplex assembly factor 4 aminoglycoside phosphotransferase    Psyr_3055
action filter_type
action union
action find
entity NDUFAF4
relation encodes
action find
entity aminoglycoside phosphotransferase    Psyr_3055
relation encodes
type nutrient
{'OR': [['NDUFAF4', 'encodes', {'concept': 'nutrient'}], ['aminoglycoside phosphotransferase    Psyr_3055', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?i WHERE { { { resource:NDUFAF4 property:encodes ?i } UNION { resource:aminoglycoside_phosphotransferase____Psyr_3055 property:encodes ?i } } . ?i rdf:type ontology:nutrient }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P688
Q863908
USER
How many nucleic acid sequences encodes that nutrient ?
(c(Q863908),P688,Q24094906)
[{'concept': 'Q863908'}, 'P688', 'Q24094906']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P688 resource:Q24094906 . ?z rdf:type ontology:Q863908 }
[{'concept': 'nucleic acid sequence'}, 'encodes', 'aminoglycoside phosphotransferase    Psyr_3055']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:encodes resource:aminoglycoside_phosphotransferase____Psyr_3055 . ?z rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Quantitative|Count|Single entity type|Clarification
Q24094906
SYSTEM
Did you mean aminoglycoside phosphotransferase    Psyr_3055 ?
(c(Q863908),P688,Q21123065) (c(Q863908),P688,Q24094906)
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q21123065'] [{'concept': 'Q863908'}, 'P688', 'Q24094906']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P688 resource:Q24094906 . ?z rdf:type ontology:Q863908 }
Did you mean aminoglycoside phosphotransferase    Psyr_3055 ?
aminoglycoside phosphotransferase    Psyr_3055
[{'concept': 'nucleic acid sequence'}, 'encodes', 'NADH dehydrogenase [ubiquinone] 1 alpha subcomplex assembly factor 4'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'aminoglycoside phosphotransferase    Psyr_3055']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:encodes resource:aminoglycoside_phosphotransferase____Psyr_3055 . ?z rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q863908),P688,Q24094906)
[{'concept': 'Q863908'}, 'P688', 'Q24094906']
[{'concept': 'nucleic acid sequence'}, 'encodes', 'aminoglycoside phosphotransferase    Psyr_3055']
[]
SYSTEM
1
Q23151700
(c(Q863908),P688,Q24094906)
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q24094906']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P688 resource:Q24094906 . ?z rdf:type ontology:Q863908 }
aminoglycoside phosphotransferase    Psyr_3055
1
[{'concept': 'nucleic acid sequence'}, 'encodes', 'aminoglycoside phosphotransferase    Psyr_3055']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:encodes resource:aminoglycoside_phosphotransferase____Psyr_3055 . ?z rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1071953 Q1470579
P1995 P1542
Q2057971
USER
Which health problems were the cause of Otter Valley polio epidemic or are known for medical genetics as the associated medical speciality ?
OR((c(Q2057971),P1542,Q1470579), (c(Q2057971),P1995,Q1071953))
action filter_type
action union
action find_reverse
entity Q1470579
relation P1542
action find_reverse
entity Q1071953
relation P1995
type Q2057971
{'OR': [[{'concept': 'Q2057971'}, 'P1542', 'Q1470579'], [{'concept': 'Q2057971'}, 'P1995', 'Q1071953']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P1542 resource:Q1470579 } UNION { ?d property:P1995 resource:Q1071953 } } . ?d rdf:type ontology:Q2057971 }
medical genetics Otter Valley polio epidemic
action filter_type
action union
action find_reverse
entity Otter Valley polio epidemic
relation cause of
action find_reverse
entity medical genetics
relation medical specialty
type health problem
{'OR': [[{'concept': 'health problem'}, 'cause of', 'Otter Valley polio epidemic'], [{'concept': 'health problem'}, 'medical specialty', 'medical genetics']]}
SELECT DISTINCT ?d WHERE { { { ?d property:cause_of resource:Otter_Valley_polio_epidemic } UNION { ?d property:medical_specialty resource:medical_genetics } } . ?d rdf:type ontology:health_problem }
[]
health problem
Q998273 Q653200 Q612693 Q847605 Q193003 Q579527 Q1583485 Q779250 Q1970052 Q521863
SYSTEM
Some of them are Smith–Lemli–Opitz syndrome, flat feet problems, xeroderma pigmentosum, neurofibromatosis, hydrocephalus, pulmonary valve stenosis, Rothmund-Thomson syndrome, Crouzon syndrome, Shwachman-Diamond syndrome, Beckwith-Wiedemann syndrome
Q1640632 Q1126831 Q3047124 Q1641486 Q5463847 Q749409 Q4943512 Q3508764 Q838139 Q1459821 Q1097490 Q769988 Q2200977 Q298233 Q863861 Q610075 Q202849 Q3043817 Q6744609 Q548213 Q998273 Q1456383 Q1543446 Q3726816 Q1787020 Q1996246 Q2732398 Q18211695 Q7578960 Q525075 Q4675784 Q1077955 Q2163245 Q403463 Q1755537 Q3395618 Q2272470 Q7320761 Q1544408 Q5134736 Q222634 Q17001349 Q940210 Q635339 Q1583485 Q17125860 Q558077 Q633859 Q844717 Q2557206 Q3508578 Q1678281 Q6934642 Q585011 Q246002 Q385774 Q7688951 Q1269307 Q3731836 Q1495674 Q572695 Q3357668 Q2388598 Q17120550 Q1741965 Q2072063 Q178194 Q1106881 Q277452 Q4673593 Q5182137 Q757749 Q1332448 Q303123 Q1915681 Q666980 Q1233526 Q2155008 Q7900616 Q847605 Q378183 Q478891 Q284219 Q733493 Q2035109 Q17163513 Q2735907 Q883850 Q5334295 Q1477777 Q1031536 Q3961678 Q916398 Q966052 Q1410864 Q3335660 Q1584110 Q914389 Q5375429 Q5959327 Q3179593 Q7578540 Q4731121 Q3801491 Q4597494 Q498487 Q3071315 Q781618 Q2273662 Q923020 Q3589131 Q1557239 Q119280 Q653200 Q1970052 Q268292 Q207133 Q17010855 Q939364 Q47715 Q2291208 Q622427 Q616087 Q3124960 Q17002116 Q896643 Q1327273 Q752298 Q1027995 Q3709312 Q17010866 Q574741 Q1476789 Q2288646 Q2027937 Q1362721 Q386346 Q2142496 Q3804555 Q1786496 Q584265 Q1153641 Q1023604 Q580506 Q189167 Q484631 Q3725646 Q612693 Q619428 Q1101694 Q2019823 Q361648 Q579527 Q525642 Q1136492 Q2532540 Q388628 Q390211 Q1343645 Q3026420 Q3886247 Q1640324 Q2823145 Q744790 Q9390284 Q1538227 Q371520 Q1462309 Q1132108 Q17091221 Q7234988 Q1356194 Q1257011 Q13566985 Q4305015 Q1587881 Q535364 Q1877483 Q3251367 Q667681 Q431643 Q662185 Q521863 Q1755568 Q1452604 Q1469646 Q5147822 Q246040 Q3567797 Q662298 Q1536720 Q322370 Q579665 Q340594 Q193003 Q459896 Q17009830 Q1958739 Q884590 Q1112977 Q4821698 Q5465742 Q1770836 Q779250 Q1418152 Q457737 Q1409611 Q2565270 Q618246 Q3765145 Q4420146 Q973524 Q659033 Q1133289 Q1076060 Q1140794 Q221472 Q4348144 Q741315 Q1151801 Q2280106 Q7170412 Q594013 Q1544416 Q3726862 Q1952467 Q1052391 Q12195 Q6705425 Q1641399 Q3360152 Q16934669 Q1699007 Q2989168 Q6422092 Q1363508 Q1130519 Q1774751 Q281115 Q1331116 Q194101 Q8061303 Q492129 Q548719 Q4646476 Q208562 Q182005 Q15443105 Q6673122 Q669435 Q1162164 Q557552 Q209049 Q16550087 Q2033532 Q1360044 Q4118166 Q1544989 Q1475743 Q1141499 Q1283054 Q5172184
OR((c(Q2057971),P1542,Q1470579), (c(Q2057971),P1995,Q1071953))
action filter_type
action union
action find_reverse
entity Q1470579
relation P1542
action find_reverse
entity Q1071953
relation P1995
type Q2057971
[ANSWERS] were the cause of Otter Valley polio epidemic or are known for medical genetics as the associated medical speciality
{'OR': [[{'concept': 'Q2057971'}, 'P1542', 'Q1470579'], [{'concept': 'Q2057971'}, 'P1995', 'Q1071953']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P1542 resource:Q1470579 } UNION { ?d property:P1995 resource:Q1071953 } } . ?d rdf:type ontology:Q2057971 }
Labial fusion tetralogy of Fallot Ectopic testis Marie Unna hereditary hypotrichosis focal dermal hypoplasia osteogenesis imperfecta Boomerang dysplasia Hand-Foot-Genital Syndrome ventricular septal defect holoprosencephaly cardiofaciocutaneous syndrome Goldenhar syndrome Miller-Dieker lissencephaly syndrome esophageal atresia Hailey-Hailey disease Wolf-Hirschhorn syndrome Turner syndrome Scaphocephaly 3MC syndrome 3 neural tube defect Smith–Lemli–Opitz syndrome situs inversus Noonan syndrome epiblepharon thanatophoric dysplasia hereditary lymphedema Autosomal dominant polycystic kidney vaginal hypoplasia Spondyloepiphyseal dysplasia congenita hamartoma acrokeratosis verruciformis Hypohidrotic ectodermal dysplasia congenital diaphragmatic hernia Aicardi syndrome VACTERL association Autosomal recessive polycystic kidney Carpenter syndrome Rhizomelic chondrodysplasia punctata Alagille syndrome Cloacal exstrophy orofacial cleft Cervical agenesis Hay–Wells syndrome Conorhyland Rothmund-Thomson syndrome Patella bipartita Williams Syndrome Poland syndrome spina bifida scimitar syndrome rapadilino syndrome Bardet-Biedl syndrome Multicystic dysplastic kidney Antley-Bixler syndrome polycystic liver disease Townes-Brocks syndrome Taussig–Bing syndrome dysostosis congenital ichthyosiform erythroderma gastroschisis Eisenmenger's syndrome agnathia-otocephaly complex Ollier disease peeling skin syndrome Kindler syndrome patent ductus arteriosus cystic fibrosis Coffin-Lowry syndrome Ebstein's anomaly acheiropody Craniofacial abnormality atrial heart septal defect Ellis–van Creveld syndrome Aarskog-Scott syndrome Meckel syndrome Rubinstein-Taybi syndrome osteosclerosis Ritscher-Schinzel syndrome bladder disease neurofibromatosis Craniosynostosis Simpson-Golabi-Behmel syndrome Patau syndrome Dandy-Walker syndrome nail-patella syndrome Pachygyria Cutis laxa blepharophimosis ectopic thymus osteopoikilosis campomelic dysplasia Laurence-Moon syndrome lymphedema cryptorchidism fibrous dysplasia 3-M syndrome arteriovenous malformation Cockayne syndrome Enchondromatosis hypochondrogenesis skin tag splenic disease Allan-Herndon-Dudley syndrome epidermolytic hyperkeratosis intestinal atresia Camurati-Engelmann disease fibrochondrogenesis cleidocranial dysplasia pseudohermaphroditism epidermolysis bullosa epidermolysis bullosa dystrophica microphthalmia Medullary sponge kidney flat feet problems Shwachman-Diamond syndrome mitral valve insufficiency Klinefelter's syndrome achondrogenesis type IB congenital heart disease Down syndrome Sjögren–Larsson syndrome ptosis aortic valve insufficiency epidermolysis bullosa simplex fetal alcohol spectrum disorder brachydactyly Entropion Cri du chat Pyloric stenosis dyskeratosis congenita achondrogenesis type II Dubowitz syndrome jaw-winking syndrome Stickler syndrome choledochal cyst tuberous sclerosis tethered spinal cord syndrome Silver–Russell syndrome X-linked ichthyosis Acrocephalosyndactylia congenital nervous system abnormality Wolfram syndrome CHARGE syndrome keratosis follicularis Zellweger syndrome imperforate anus midface dysplasia xeroderma pigmentosum SC phocomelia syndrome Joubert syndrome Potter sequence Double outlet right ventricle pulmonary valve stenosis DiGeorge syndrome Costello syndrome Birt-Hogg-Dube syndrome Meckel's diverticulum atrioventricular septal defect Hirschsprung's disease Diastematomyelia Urticaria pigmentosa hydrophthalmos achondrogenesis Treacher Collins syndrome Netherton syndrome Kabuki syndrome polydactyly Coloboma hypospadias Hypoplastic right heart syndrome chromosome 17q21.31 duplication syndrome Ectopia cordis Nephronophthisis metaphyseal dysplasia buphthalmos popliteal pterygium syndrome Angelman syndrome Congenital pulmonary venous return anomaly osteochondrodysplasia Neu-Laxova syndrome microcephaly choanal atresia Beckwith-Wiedemann syndrome osteopetrosis Multiple epiphyseal dysplasia Bloom syndrome Coloboma of optic nerve congenital cystic adenomatoid malformation hereditary mucosal leukokeratosis ectropion Nevoid basal cell carcinoma syndrome ablepharon dextrocardia achondroplasia hydrocephalus cystic lymphangioma Progestin-induced virilisation persistent Mullerian duct syndrome Incontinentia pigmenti syringomyelia spondylocostal dysostosis foot deformity Sotos syndrome Crouzon syndrome Mobius syndrome Edwards syndrome‎ Port-wine stain hydranencephaly Apert syndrome ichthyosis vulgaris short rib – polydactyly syndrome spondylolisthesis biliary atresia Cornelia de Lange syndrome chondrodysplasia punctata mitral valve stenosis fragile X syndrome Weaver syndrome Von Hippel–Lindau disease Waardenburg syndrome Branchio-oto-renal syndrome persistent hyperplastic primary vitreous Prader-Willi syndrome lissencephaly junctional epidermolysis bullosa hereditary multiple exostoses pseudoxanthoma elasticum poliomyelitis Lutembacher's syndrome hypoplastic left heart syndrome pachyonychia congenita heart septal defect Johanson–Blizzard syndrome hair disease Kniest dysplasia monilethrix heart valve disease Klippel-Feil syndrome Proteus syndrome Alport syndrome dwarfism Yunis-Varon syndrome porencephaly Aniridia Kleefstra syndrome Marfan syndrome Holt-Oram syndrome Polycystic kidney disease thyroid gland disease renal agenesis clubfoot ankyloglossia chromosome 1q21.1 deletion syndrome Langer mesomelic dysplasia Van der Woude syndrome syndactyly Polyostotic fibrous dysplasia Peutz-Jeghers syndrome Robinow syndrome Ehlers–Danlos syndrome hypochondroplasia coronary artery anomaly
Smith–Lemli–Opitz syndrome, flat feet problems, xeroderma pigmentosum, neurofibromatosis, hydrocephalus, pulmonary valve stenosis, Rothmund-Thomson syndrome, Crouzon syndrome, Shwachman-Diamond syndrome and Beckwith-Wiedemann syndrome were the cause of Otter Valley polio epidemic or are known for medical genetics as the associated medical speciality
Smith–Lemli–Opitz syndrome flat feet problems xeroderma pigmentosum neurofibromatosis hydrocephalus pulmonary valve stenosis Rothmund-Thomson syndrome Crouzon syndrome Shwachman-Diamond syndrome Beckwith-Wiedemann syndrome
action filter_type
action union
action find_reverse
entity Otter Valley polio epidemic
relation cause of
action find_reverse
entity medical genetics
relation medical specialty
type health problem
{'OR': [[{'concept': 'health problem'}, 'cause of', 'Otter Valley polio epidemic'], [{'concept': 'health problem'}, 'medical specialty', 'medical genetics']]}
SELECT DISTINCT ?d WHERE { { { ?d property:cause_of resource:Otter_Valley_polio_epidemic } UNION { ?d property:medical_specialty resource:medical_genetics } } . ?d rdf:type ontology:health_problem }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P828
Q2057971 Q7189713
USER
Which physiological conditions do max number of health problems cause ?
(c(Q7189713),P828,c(Q2057971))
action argmax
action find_tuple_counts
relation P828
type Q7189713
type Q2057971
[{'concept': 'Q7189713'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?i ) { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?h ) WHERE { ?o property:P828 ?z . ?o rdf:type ontology:Q7189713 . ?z rdf:type ontology:Q2057971 } GROUP BY ?o } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?b ) WHERE { ?k property:P828 ?d . ?k rdf:type ontology:Q7189713 . ?d rdf:type ontology:Q2057971 } GROUP BY ?k } . FILTER ( ?b = ?i ) }
action argmax
action find_tuple_counts
relation has cause
type physiological condition
type health problem
[{'concept': 'physiological condition'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?i ) { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?h ) WHERE { ?o property:has_cause ?z . ?o rdf:type ontology:physiological_condition . ?z rdf:type ontology:health_problem } GROUP BY ?o } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?b ) WHERE { ?k property:has_cause ?d . ?k rdf:type ontology:physiological_condition . ?d rdf:type ontology:health_problem } GROUP BY ?k } . FILTER ( ?b = ?i ) }
[]
health problem physiological condition
Q1149382 Q7370380 Q18347891
SYSTEM
Janeway lesion, Roth's spot, Haab's striae
Q1149382 Q18347891 Q1424702 Q3542219 Q3427755 Q738538 Q3557657 Q4976425 Q4099570 Q7261489 Q7370380 Q418527 Q8036919 Q1516325 Q4143478 Q6884891 Q3398233 Q649122 Q16946733
(c(Q7189713),P828,c(Q2057971))
action argmax
action find_tuple_counts
relation P828
type Q7189713
type Q2057971
[ANSWERS] max number of health problems cause
[{'concept': 'Q7189713'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?i ) { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?h ) WHERE { ?o property:P828 ?z . ?o rdf:type ontology:Q7189713 . ?z rdf:type ontology:Q2057971 } GROUP BY ?o } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?b ) WHERE { ?k property:P828 ?d . ?k rdf:type ontology:Q7189713 . ?d rdf:type ontology:Q2057971 } GROUP BY ?k } . FILTER ( ?b = ?i ) }
Janeway lesion Haab's striae Hutchinson's teeth typhoid state Diaphragmatic paradox tic social anxiety Brown tumor Forchheimer spots purple urine bag syndrome Roth's spot akinesia Woronoff's ring Osler's node hunchback Mizuo–Nakamura phenomenon porphyrinuria Jugular venous pressure Phacodonesis
Janeway lesion, Roth's spot and Haab's striae max number of health problems cause
Janeway lesion Roth's spot Haab's striae
action argmax
action find_tuple_counts
relation has cause
type physiological condition
type health problem
[{'concept': 'physiological condition'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?i ) { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?h ) WHERE { ?o property:has_cause ?z . ?o rdf:type ontology:physiological_condition . ?z rdf:type ontology:health_problem } GROUP BY ?o } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?b ) WHERE { ?k property:has_cause ?d . ?k rdf:type ontology:physiological_condition . ?d rdf:type ontology:health_problem } GROUP BY ?k } . FILTER ( ?b = ?i ) }
[]