Simple Question (Direct)
Simple Question
Q21109382
P681
Q15989253
USER
Which part is a component of Acyl-CoA dehydrogenase family member 10 ?
(Q21109382,P681,c(Q15989253))
action filter_type
action find
entity Q21109382
relation P681
type Q15989253
['Q21109382', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?o WHERE { resource:Q21109382 property:P681 ?o . ?o rdf:type ontology:Q15989253 }
Acyl-CoA dehydrogenase family member 10
action filter_type
action find
entity Acyl-CoA dehydrogenase family member 10
relation cell component
type part
['Acyl-CoA dehydrogenase family member 10', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?o WHERE { resource:Acyl-CoA_dehydrogenase_family_member_10 property:cell_component ?o . ?o rdf:type ontology:part }
[]
part
Q39572
SYSTEM
mitochondrion
Q39572
(Q21109382,P681,c(Q15989253))
action filter_type
action find
entity Q21109382
relation P681
type Q15989253
Enzyme [ANSWER] is a component of Acyl-CoA dehydrogenase family member 10
['Q21109382', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?o WHERE { resource:Q21109382 property:P681 ?o . ?o rdf:type ontology:Q15989253 }
mitochondrion
Enzyme mitochondrion is a component of Acyl-CoA dehydrogenase family member 10
mitochondrion
action filter_type
action find
entity Acyl-CoA dehydrogenase family member 10
relation cell component
type part
['Acyl-CoA dehydrogenase family member 10', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?o WHERE { resource:Acyl-CoA_dehydrogenase_family_member_10 property:cell_component ?o . ?o rdf:type ontology:part }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21109382
P703
Q16521
USER
Where is Acyl-CoA dehydrogenase family member 10 found ?
(Q21109382,P703,c(Q16521))
action filter_type
action find
entity Q21109382
relation P703
type Q16521
['Q21109382', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?t WHERE { resource:Q21109382 property:P703 ?t . ?t rdf:type ontology:Q16521 }
Acyl-CoA dehydrogenase family member 10
action filter_type
action find
entity Acyl-CoA dehydrogenase family member 10
relation found in taxon
type taxon
['Acyl-CoA dehydrogenase family member 10', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?t WHERE { resource:Acyl-CoA_dehydrogenase_family_member_10 property:found_in_taxon ?t . ?t rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q21109382,P703,c(Q16521))
action filter_type
action find
entity Q21109382
relation P703
type Q16521
Acyl-CoA dehydrogenase family member 10 is found in [ANSWER]
['Q21109382', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?t WHERE { resource:Q21109382 property:P703 ?t . ?t rdf:type ontology:Q16521 }
Homo sapiens
Acyl-CoA dehydrogenase family member 10 is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity Acyl-CoA dehydrogenase family member 10
relation found in taxon
type taxon
['Acyl-CoA dehydrogenase family member 10', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?t WHERE { resource:Acyl-CoA_dehydrogenase_family_member_10 property:found_in_taxon ?t . ?t rdf:type ontology:taxon }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18064948
Q16521
USER
And also tell me about RPS4XP5?
(Q18064948,P703,c(Q16521))
action filter_type
action find
entity Q18064948
relation P703
type Q16521
['Q18064948', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?u WHERE { resource:Q18064948 property:P703 ?u . ?u rdf:type ontology:Q16521 }
RPS4XP5
action filter_type
action find
entity RPS4XP5
relation found in taxon
type taxon
['RPS4XP5', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?u WHERE { resource:RPS4XP5 property:found_in_taxon ?u . ?u rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q18064948,P703,c(Q16521))
action filter_type
action find
entity Q18064948
relation P703
type Q16521
[ANSWER]
['Q18064948', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?u WHERE { resource:Q18064948 property:P703 ?u . ?u rdf:type ontology:Q16521 }
Homo sapiens
Homo sapiens
action filter_type
action find
entity RPS4XP5
relation found in taxon
type taxon
['RPS4XP5', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?u WHERE { resource:RPS4XP5 property:found_in_taxon ?u . ?u rdf:type ontology:taxon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21109382
P688
Q863908
USER
Which nucleic acid sequence encodes Acyl-CoA dehydrogenase family member 10 ?
(c(Q863908),P688,Q21109382)
action filter_type
action find_reverse
entity Q21109382
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21109382']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q863908 . ?i property:P688 resource:Q21109382 }
Acyl-CoA dehydrogenase family member 10
action filter_type
action find_reverse
entity Acyl-CoA dehydrogenase family member 10
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Acyl-CoA dehydrogenase family member 10']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:nucleic_acid_sequence . ?i property:encodes resource:Acyl-CoA_dehydrogenase_family_member_10 }
[]
nucleic acid sequence
Q18046747
SYSTEM
ACAD10
Q18046747
(c(Q863908),P688,Q21109382)
action filter_type
action find_reverse
entity Q21109382
relation P688
type Q863908
[ANSWER] encodes Acyl-CoA dehydrogenase family member 10
[{'concept': 'Q863908'}, 'P688', 'Q21109382']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q863908 . ?i property:P688 resource:Q21109382 }
ACAD10
ACAD10 encodes Acyl-CoA dehydrogenase family member 10
ACAD10
action filter_type
action find_reverse
entity Acyl-CoA dehydrogenase family member 10
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Acyl-CoA dehydrogenase family member 10']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:nucleic_acid_sequence . ?i property:encodes resource:Acyl-CoA_dehydrogenase_family_member_10 }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18046747 Q18265208
P684
Q863908
USER
Is Acad10 an orthologous gene for ACAD10 ?
(Q18046747,P684,Q18265208)
action is_in
entity Q18265208
action find
entity Q18046747
relation P684
['Q18046747', 'P684', 'Q18265208']
ASK WHERE { resource:Q18046747 property:P684 resource:Q18265208 }
ACAD10 Acad10
action is_in
entity Acad10
action find
entity ACAD10
relation ortholog
['ACAD10', 'ortholog', 'Acad10']
ASK WHERE { resource:ACAD10 property:ortholog resource:Acad10 }
[]
nucleic acid sequence
SYSTEM
YES
(Q18046747,P684,Q18265208)
action is_in
entity Q18265208
action find
entity Q18046747
relation P684
[ANSWER]
['Q18046747', 'P684', 'Q18265208']
ASK WHERE { resource:Q18046747 property:P684 resource:Q18265208 }
Yes
action is_in
entity Acad10
action find
entity ACAD10
relation ortholog
['ACAD10', 'ortholog', 'Acad10']
ASK WHERE { resource:ACAD10 property:ortholog resource:Acad10 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18046747
P702
Q181394
USER
Which nutrient is encoded by ACAD10 ?
action filter_type
action find_reverse
entity Q18046747
relation P702
type Q181394
SELECT DISTINCT ?e WHERE { ?e property:P702 resource:Q18046747 . ?e rdf:type ontology:Q181394 }
ACAD10
action filter_type
action find_reverse
entity ACAD10
relation encoded by
type nutrient
SELECT DISTINCT ?e WHERE { ?e property:encoded_by resource:ACAD10 . ?e rdf:type ontology:nutrient }
[]
nutrient
Q21109382
SYSTEM
Acyl-CoA dehydrogenase family member 10
Q21109382
action filter_type
action find_reverse
entity Q18046747
relation P702
type Q181394
En [ANSWER] is encoded by ACAD10
SELECT DISTINCT ?e WHERE { ?e property:P702 resource:Q18046747 . ?e rdf:type ontology:Q181394 }
Acyl-CoA dehydrogenase family member 10
En Acyl-CoA dehydrogenase family member 10 is encoded by ACAD10
Acyl-CoA dehydrogenase family member 10
action filter_type
action find_reverse
entity ACAD10
relation encoded by
type nutrient
SELECT DISTINCT ?e WHERE { ?e property:encoded_by resource:ACAD10 . ?e rdf:type ontology:nutrient }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21109382
P682
Q3249551
USER
Which process is that nutrient involved in ?
(Q21109382,P682,c(Q3249551))
action filter_type
action find
entity Q21109382
relation P682
type Q3249551
['Q21109382', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?y WHERE { resource:Q21109382 property:P682 ?y . ?y rdf:type ontology:Q3249551 }
Acyl-CoA dehydrogenase family member 10
action filter_type
action find
entity Acyl-CoA dehydrogenase family member 10
relation biological process
type process
['Acyl-CoA dehydrogenase family member 10', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?y WHERE { resource:Acyl-CoA_dehydrogenase_family_member_10 property:biological_process ?y . ?y rdf:type ontology:process }
[]
process
Q1057
SYSTEM
metabolic process
Q1057
(Q21109382,P682,c(Q3249551))
action filter_type
action find
entity Q21109382
relation P682
type Q3249551
That nutrient is involved in [ANSWER]
['Q21109382', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?y WHERE { resource:Q21109382 property:P682 ?y . ?y rdf:type ontology:Q3249551 }
metabolic process
That nutrient is involved in metabolic process
metabolic process
action filter_type
action find
entity Acyl-CoA dehydrogenase family member 10
relation biological process
type process
['Acyl-CoA dehydrogenase family member 10', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?y WHERE { resource:Acyl-CoA_dehydrogenase_family_member_10 property:biological_process ?y . ?y rdf:type ontology:process }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18297975 Q18046747
P2293
Q2057971
USER
Which health problems are genetically connected with ACAD10 or GAK ?
OR((c(Q2057971),P2293,Q18046747), (c(Q2057971),P2293,Q18297975))
action filter_type
action union
action find_reverse
entity Q18046747
relation P2293
action find_reverse
entity Q18297975
relation P2293
type Q2057971
{'OR': [[{'concept': 'Q2057971'}, 'P2293', 'Q18046747'], [{'concept': 'Q2057971'}, 'P2293', 'Q18297975']]}
SELECT DISTINCT ?t WHERE { { { ?t property:P2293 resource:Q18046747 } UNION { ?t property:P2293 resource:Q18297975 } } . ?t rdf:type ontology:Q2057971 }
GAK ACAD10
action filter_type
action union
action find_reverse
entity ACAD10
relation genetic association
action find_reverse
entity GAK
relation genetic association
type health problem
{'OR': [[{'concept': 'health problem'}, 'genetic association', 'ACAD10'], [{'concept': 'health problem'}, 'genetic association', 'GAK']]}
SELECT DISTINCT ?t WHERE { { { ?t property:genetic_association resource:ACAD10 } UNION { ?t property:genetic_association resource:GAK } } . ?t rdf:type ontology:health_problem }
[]
health problem
Q372701 Q11085
SYSTEM
esophageal cancer, Parkinson's disease
Q372701 Q11085
OR((c(Q2057971),P2293,Q18046747), (c(Q2057971),P2293,Q18297975))
action filter_type
action union
action find_reverse
entity Q18046747
relation P2293
action find_reverse
entity Q18297975
relation P2293
type Q2057971
Cancer [ANSWERS] are genetically connected with ACAD10 or GAK
{'OR': [[{'concept': 'Q2057971'}, 'P2293', 'Q18046747'], [{'concept': 'Q2057971'}, 'P2293', 'Q18297975']]}
SELECT DISTINCT ?t WHERE { { { ?t property:P2293 resource:Q18046747 } UNION { ?t property:P2293 resource:Q18297975 } } . ?t rdf:type ontology:Q2057971 }
esophageal cancer Parkinson's disease
Cancer esophageal cancer and Parkinson's disease are genetically connected with ACAD10 or GAK
esophageal cancer Parkinson's disease
action filter_type
action union
action find_reverse
entity ACAD10
relation genetic association
action find_reverse
entity GAK
relation genetic association
type health problem
{'OR': [[{'concept': 'health problem'}, 'genetic association', 'ACAD10'], [{'concept': 'health problem'}, 'genetic association', 'GAK']]}
SELECT DISTINCT ?t WHERE { { { ?t property:genetic_association resource:ACAD10 } UNION { ?t property:genetic_association resource:GAK } } . ?t rdf:type ontology:health_problem }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P828
Q2057971 Q169872
USER
Which symptoms are caused by max number of health problems ?
(c(Q169872),P828,c(Q2057971))
action argmax
action find_tuple_counts
relation P828
type Q169872
type Q2057971
[{'concept': 'Q169872'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?n ) { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?c ) WHERE { ?u property:P828 ?w . ?u rdf:type ontology:Q169872 . ?w rdf:type ontology:Q2057971 } GROUP BY ?u } } . FILTER ( ?q = ?n ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?q ) WHERE { ?e rdf:type ontology:Q169872 . ?y rdf:type ontology:Q2057971 . ?e property:P828 ?y } GROUP BY ?e } }
action argmax
action find_tuple_counts
relation has cause
type symptom
type health problem
[{'concept': 'symptom'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?n ) { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?c ) WHERE { ?u property:has_cause ?w . ?u rdf:type ontology:symptom . ?w rdf:type ontology:health_problem } GROUP BY ?u } } . FILTER ( ?q = ?n ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?q ) WHERE { ?e rdf:type ontology:symptom . ?y rdf:type ontology:health_problem . ?e property:has_cause ?y } GROUP BY ?e } }
[]
health problem symptom
Q4907742 Q7900395 Q1899331
SYSTEM
Biliary pruritus, Uremic pruritus, mariske
Q4907742 Q7900395 Q1899331
(c(Q169872),P828,c(Q2057971))
action argmax
action find_tuple_counts
relation P828
type Q169872
type Q2057971
[ANSWERS] are caused by max number of health problems
[{'concept': 'Q169872'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?n ) { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?c ) WHERE { ?u property:P828 ?w . ?u rdf:type ontology:Q169872 . ?w rdf:type ontology:Q2057971 } GROUP BY ?u } } . FILTER ( ?q = ?n ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?q ) WHERE { ?e rdf:type ontology:Q169872 . ?y rdf:type ontology:Q2057971 . ?e property:P828 ?y } GROUP BY ?e } }
Biliary pruritus Uremic pruritus mariske
Biliary pruritus, Uremic pruritus and mariske are caused by max number of health problems
Biliary pruritus Uremic pruritus mariske
action argmax
action find_tuple_counts
relation has cause
type symptom
type health problem
[{'concept': 'symptom'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?n ) { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?c ) WHERE { ?u property:has_cause ?w . ?u rdf:type ontology:symptom . ?w rdf:type ontology:health_problem } GROUP BY ?u } } . FILTER ( ?q = ?n ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?q ) WHERE { ?e rdf:type ontology:symptom . ?y rdf:type ontology:health_problem . ?e property:has_cause ?y } GROUP BY ?e } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q4330029
P780
Q2057971 Q2057971 Q12136
USER
Which health problems are a symptom of more number of health problems and diseases than airway obstruction ?
(c(Q2057971)|c(Q12136),P780,c(Q2057971))
action greater
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
action count
action filter_multi_types
action find_reverse
entity Q4330029
relation P780
type Q2057971
type Q12136
[[{'concept': 'Q2057971'}, {'concept': 'Q12136'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?h WHERE { { ?i property:P780 ?h . ?h rdf:type ontology:Q2057971 . ?i rdf:type ontology:Q2057971 } UNION { ?i property:P780 ?h . ?h rdf:type ontology:Q2057971 . ?i rdf:type ontology:Q12136 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { { ?l rdf:type ontology:Q12136 } UNION { ?l rdf:type ontology:Q2057971 } } . ?l property:P780 resource:Q4330029 } } . FILTER ( ?g > ?w ) }
airway obstruction
action greater
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
action count
action filter_multi_types
action find_reverse
entity airway obstruction
relation symptoms
type health problem
type disease
[[{'concept': 'health problem'}, {'concept': 'disease'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?h WHERE { { ?i property:symptoms ?h . ?h rdf:type ontology:health_problem . ?i rdf:type ontology:health_problem } UNION { ?i property:symptoms ?h . ?h rdf:type ontology:health_problem . ?i rdf:type ontology:disease } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { { ?l rdf:type ontology:disease } UNION { ?l rdf:type ontology:health_problem } } . ?l property:symptoms resource:airway_obstruction } } . FILTER ( ?g > ?w ) }
[]
health problem health problem disease
Q41861 Q1054718 Q166019
SYSTEM
hypertension, kidney disease, bleeding
Q334655 Q1076421 Q5572555 Q6279182 Q10874 Q166019 Q854573 Q1435822 Q1123139 Q1114480 Q16775468 Q156103 Q17142318 Q2088392 Q2074059 Q40878 Q1340669 Q21513416 Q2988775 Q938107 Q838139 Q219223 Q207855 Q1384176 Q852376 Q12167 Q378183 Q13452408 Q18553790 Q127724 Q3108583 Q5375429 Q794026 Q4597494 Q189956 Q5445 Q4676384 Q939364 Q229256 Q1097957 Q896643 Q18557427 Q5289085 Q2610084 Q1054718 Q2339038 Q361648 Q2836 Q189470 Q671776 Q1356194 Q369148 Q7562539 Q16831900 Q83030 Q2844600 Q339221 Q751641 Q9376235 Q1334541 Q16874615 Q178436 Q15401621 Q576349 Q322370 Q1499629 Q496812 Q595010 Q41861 Q1641062 Q18966290 Q79928 Q4118166 Q1269320 Q224513 Q2046811 Q557552 Q81867
(c(Q2057971)|c(Q12136),P780,c(Q2057971))
action greater
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
action count
action filter_multi_types
action find_reverse
entity Q4330029
relation P780
type Q2057971
type Q12136
[ANSWERS] are a symptom of more number of health problems and diseases than airway obstruction
[[{'concept': 'Q2057971'}, {'concept': 'Q12136'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?h WHERE { { ?i property:P780 ?h . ?h rdf:type ontology:Q2057971 . ?i rdf:type ontology:Q2057971 } UNION { ?i property:P780 ?h . ?h rdf:type ontology:Q2057971 . ?i rdf:type ontology:Q12136 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { { ?l rdf:type ontology:Q12136 } UNION { ?l rdf:type ontology:Q2057971 } } . ?l property:P780 resource:Q4330029 } } . FILTER ( ?g > ?w ) }
amenorrhea chorea glycerol kinase deficiency epileptic seizure blindness bleeding acute pancreatitis neutropenia Ketosis finger agnosia elephantiasis gastroenteritis pterygium migratory thrombophlebitis Oculomotor apraxia diarrhea nail clubbing hemorrhagic diarrhea heart conduction disease hypogonadism ventricular septal defect lactose intolerance amblyopia exostosis seizure malnutrition Craniosynostosis neuropathy dry eye syndrome cataract anterior segment mesenchymal dysgenesis Enchondromatosis Azoospermia intestinal atresia aphthous stomatitis anemia Acroosteolysis congenital heart disease dermatitis intermittent claudication brachydactyly pancreatic cholera dolichostenomelia sideroblastic anemia kidney disease Neurogenic bladder Double outlet right ventricle aphasia Fistula mutism Ectopia cordis neurilemmoma facial paralysis intracranial hypotension dementia muscular atrophy Gynecomastia recurrent hypersomnia endolymphatic hydrops pleural effusion Supravalvar aortic stenosis constipation Trousseau sign of malignancy brain disease ablepharon hydrarthrosis leukopenia hypertrichosis hypertension hyperphosphatemia delayed separation of umbilical cord acne Polyostotic fibrous dysplasia Dysplastic nevus Precocious puberty simultanagnosia ankyloglossia albino
Hypertension, kidney disease and bleeding are a symptom of more number of health problems and diseases than airway obstruction
hypertension kidney disease bleeding
action greater
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
action count
action filter_multi_types
action find_reverse
entity airway obstruction
relation symptoms
type health problem
type disease
[[{'concept': 'health problem'}, {'concept': 'disease'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?h WHERE { { ?i property:symptoms ?h . ?h rdf:type ontology:health_problem . ?i rdf:type ontology:health_problem } UNION { ?i property:symptoms ?h . ?h rdf:type ontology:health_problem . ?i rdf:type ontology:disease } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { { ?l rdf:type ontology:disease } UNION { ?l rdf:type ontology:health_problem } } . ?l property:symptoms resource:airway_obstruction } } . FILTER ( ?g > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q938107
P780
Q2057971 Q2057971 Q12136
USER
And how about hypogonadism?
(c(Q2057971)|c(Q12136),P780,c(Q2057971))
action greater
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
action count
action filter_multi_types
action find_reverse
entity Q938107
relation P780
type Q2057971
type Q12136
[[{'concept': 'Q2057971'}, {'concept': 'Q12136'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?i WHERE { { ?x rdf:type ontology:Q2057971 . ?i rdf:type ontology:Q2057971 . ?x property:P780 ?i } UNION { ?x property:P780 ?i . ?i rdf:type ontology:Q2057971 . ?x rdf:type ontology:Q12136 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:P780 resource:Q938107 . { ?s rdf:type ?n . VALUES ( ?n ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } } } } . FILTER ( ?t > ?b ) }
hypogonadism
action greater
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
action count
action filter_multi_types
action find_reverse
entity hypogonadism
relation symptoms
type health problem
type disease
[[{'concept': 'health problem'}, {'concept': 'disease'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?i WHERE { { ?x rdf:type ontology:health_problem . ?i rdf:type ontology:health_problem . ?x property:symptoms ?i } UNION { ?x property:symptoms ?i . ?i rdf:type ontology:health_problem . ?x rdf:type ontology:disease } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:symptoms resource:hypogonadism . { ?s rdf:type ?n . VALUES ( ?n ) { ( ontology:health_problem ) ( ontology:disease ) } } } } . FILTER ( ?t > ?b ) }
[]
health problem health problem disease
Q83030 Q178436 Q127724
SYSTEM
dementia, constipation, cataract
Q1076421 Q40878 Q1340669 Q378183 Q127724 Q5445 Q1097957 Q83030 Q178436 Q1499629 Q1641062
(c(Q2057971)|c(Q12136),P780,c(Q2057971))
action greater
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
action count
action filter_multi_types
action find_reverse
entity Q938107
relation P780
type Q2057971
type Q12136
[ANSWERS]
[[{'concept': 'Q2057971'}, {'concept': 'Q12136'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?i WHERE { { ?x rdf:type ontology:Q2057971 . ?i rdf:type ontology:Q2057971 . ?x property:P780 ?i } UNION { ?x property:P780 ?i . ?i rdf:type ontology:Q2057971 . ?x rdf:type ontology:Q12136 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:P780 resource:Q938107 . { ?s rdf:type ?n . VALUES ( ?n ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } } } } . FILTER ( ?t > ?b ) }
chorea diarrhea nail clubbing Craniosynostosis cataract anemia intermittent claudication dementia constipation hydrarthrosis hyperphosphatemia
dementia constipation cataract
action greater
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
action count
action filter_multi_types
action find_reverse
entity hypogonadism
relation symptoms
type health problem
type disease
[[{'concept': 'health problem'}, {'concept': 'disease'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?i WHERE { { ?x rdf:type ontology:health_problem . ?i rdf:type ontology:health_problem . ?x property:symptoms ?i } UNION { ?x property:symptoms ?i . ?i rdf:type ontology:health_problem . ?x rdf:type ontology:disease } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:symptoms resource:hypogonadism . { ?s rdf:type ?n . VALUES ( ?n ) { ( ontology:health_problem ) ( ontology:disease ) } } } } . FILTER ( ?t > ?b ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P828
Q12136 Q2057971
USER
How many diseases or health problems are the underlying cause of that health problem ?
(Q127724,P828,c(Q12136)) (Q127724,P828,c(Q2057971)) (Q83030,P828,c(Q12136)) (Q83030,P828,c(Q2057971)) (Q178436,P828,c(Q12136)) (Q178436,P828,c(Q2057971)) (Q127724,P828,c(Q12136)) (Q127724,P828,c(Q2057971))
['Q127724', 'P828', {'concept': 'Q12136'}] ['Q127724', 'P828', {'concept': 'Q2057971'}] ['Q83030', 'P828', {'concept': 'Q12136'}] ['Q83030', 'P828', {'concept': 'Q2057971'}] ['Q178436', 'P828', {'concept': 'Q12136'}] ['Q178436', 'P828', {'concept': 'Q2057971'}] ['Q127724', 'P828', {'concept': 'Q12136'}] ['Q127724', 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q127724 property:P828 ?z } UNION { resource:Q127724 property:P828 ?y } UNION { resource:Q83030 property:P828 ?z } UNION { resource:Q83030 property:P828 ?y } UNION { resource:Q178436 property:P828 ?z } UNION { resource:Q178436 property:P828 ?y } UNION { resource:Q127724 property:P828 ?z } UNION { resource:Q127724 property:P828 ?y } } . ?z rdf:type ontology:Q12136 . ?y rdf:type ontology:Q2057971 }
['cataract', 'has cause', {'concept': 'disease'}] ['cataract', 'has cause', {'concept': 'health problem'}] ['dementia', 'has cause', {'concept': 'disease'}] ['dementia', 'has cause', {'concept': 'health problem'}] ['constipation', 'has cause', {'concept': 'disease'}] ['constipation', 'has cause', {'concept': 'health problem'}] ['cataract', 'has cause', {'concept': 'disease'}] ['cataract', 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:cataract property:has_cause ?z } UNION { resource:cataract property:has_cause ?y } UNION { resource:dementia property:has_cause ?z } UNION { resource:dementia property:has_cause ?y } UNION { resource:constipation property:has_cause ?z } UNION { resource:constipation property:has_cause ?y } UNION { resource:cataract property:has_cause ?z } UNION { resource:cataract property:has_cause ?y } } . ?z rdf:type ontology:disease . ?y rdf:type ontology:health_problem }
[]
disease health problem
Quantitative|Count|Mult. entity type|Clarification
Q178436
SYSTEM
Did you mean constipation ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q127724 property:P828 ?z } UNION { resource:Q127724 property:P828 ?y } UNION { resource:Q83030 property:P828 ?z } UNION { resource:Q83030 property:P828 ?y } UNION { resource:Q178436 property:P828 ?z } UNION { resource:Q178436 property:P828 ?y } UNION { resource:Q127724 property:P828 ?z } UNION { resource:Q127724 property:P828 ?y } } . ?z rdf:type ontology:Q12136 . ?y rdf:type ontology:Q2057971 }
Did you mean constipation ?
constipation
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:cataract property:has_cause ?z } UNION { resource:cataract property:has_cause ?y } UNION { resource:dementia property:has_cause ?z } UNION { resource:dementia property:has_cause ?y } UNION { resource:constipation property:has_cause ?z } UNION { resource:constipation property:has_cause ?y } UNION { resource:cataract property:has_cause ?z } UNION { resource:cataract property:has_cause ?y } } . ?z rdf:type ontology:disease . ?y rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant cataract. Could you tell me the answer for that?
(Q127724,P828,c(Q12136)) (Q127724,P828,c(Q2057971)) (Q83030,P828,c(Q12136)) (Q83030,P828,c(Q2057971)) (Q178436,P828,c(Q12136)) (Q178436,P828,c(Q2057971)) (Q127724,P828,c(Q12136)) (Q127724,P828,c(Q2057971))
Q127724
['Q127724', 'P828', {'concept': 'Q12136'}] ['Q127724', 'P828', {'concept': 'Q2057971'}] ['Q83030', 'P828', {'concept': 'Q12136'}] ['Q83030', 'P828', {'concept': 'Q2057971'}] ['Q178436', 'P828', {'concept': 'Q12136'}] ['Q178436', 'P828', {'concept': 'Q2057971'}] ['Q127724', 'P828', {'concept': 'Q12136'}] ['Q127724', 'P828', {'concept': 'Q2057971'}]
['cataract', 'has cause', {'concept': 'disease'}] ['cataract', 'has cause', {'concept': 'health problem'}] ['dementia', 'has cause', {'concept': 'disease'}] ['dementia', 'has cause', {'concept': 'health problem'}] ['constipation', 'has cause', {'concept': 'disease'}] ['constipation', 'has cause', {'concept': 'health problem'}] ['cataract', 'has cause', {'concept': 'disease'}] ['cataract', 'has cause', {'concept': 'health problem'}]
[]
SYSTEM
4
Q523893 Q155857 Q180152 Q12206
(Q127724,P828,c(Q12136)) (Q127724,P828,c(Q2057971)) (Q83030,P828,c(Q12136)) (Q83030,P828,c(Q2057971)) (Q178436,P828,c(Q12136)) (Q178436,P828,c(Q2057971)) (Q127724,P828,c(Q12136)) (Q127724,P828,c(Q2057971))
[ANSWER]
['Q127724', 'P828', {'concept': 'Q12136'}] ['Q127724', 'P828', {'concept': 'Q2057971'}] ['Q83030', 'P828', {'concept': 'Q12136'}] ['Q83030', 'P828', {'concept': 'Q2057971'}] ['Q178436', 'P828', {'concept': 'Q12136'}] ['Q178436', 'P828', {'concept': 'Q2057971'}] ['Q127724', 'P828', {'concept': 'Q12136'}] ['Q127724', 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q127724 property:P828 ?z } UNION { resource:Q127724 property:P828 ?y } UNION { resource:Q83030 property:P828 ?z } UNION { resource:Q83030 property:P828 ?y } UNION { resource:Q178436 property:P828 ?z } UNION { resource:Q178436 property:P828 ?y } UNION { resource:Q127724 property:P828 ?z } UNION { resource:Q127724 property:P828 ?y } } . ?z rdf:type ontology:Q12136 . ?y rdf:type ontology:Q2057971 }
Ichthyosis rubella Vitiligo diabetes mellitus
4
['cataract', 'has cause', {'concept': 'disease'}] ['cataract', 'has cause', {'concept': 'health problem'}] ['dementia', 'has cause', {'concept': 'disease'}] ['dementia', 'has cause', {'concept': 'health problem'}] ['constipation', 'has cause', {'concept': 'disease'}] ['constipation', 'has cause', {'concept': 'health problem'}] ['cataract', 'has cause', {'concept': 'disease'}] ['cataract', 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:cataract property:has_cause ?z } UNION { resource:cataract property:has_cause ?y } UNION { resource:dementia property:has_cause ?z } UNION { resource:dementia property:has_cause ?y } UNION { resource:constipation property:has_cause ?z } UNION { resource:constipation property:has_cause ?y } UNION { resource:cataract property:has_cause ?z } UNION { resource:cataract property:has_cause ?y } } . ?z rdf:type ontology:disease . ?y rdf:type ontology:health_problem }
[]