Simple Question (Direct)
Simple Question
Q881163
P1196
Q1931388
USER
What situation did Roswell P. Flower die in ?
(Q881163,P1196,c(Q1931388))
action filter_type
action find
entity Q881163
relation P1196
type Q1931388
['Q881163', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?s WHERE { resource:Q881163 property:P1196 ?s . ?s rdf:type ontology:Q1931388 }
Roswell P. Flower
action filter_type
action find
entity Roswell P. Flower
relation manner of death
type cause of death
['Roswell P. Flower', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?s WHERE { resource:Roswell_P._Flower property:manner_of_death ?s . ?s rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q881163,P1196,c(Q1931388))
action filter_type
action find
entity Q881163
relation P1196
type Q1931388
Roswell P. did two [ANSWER]
['Q881163', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?s WHERE { resource:Q881163 property:P1196 ?s . ?s rdf:type ontology:Q1931388 }
natural causes
Roswell P. did two natural causes
natural causes
action filter_type
action find
entity Roswell P. Flower
relation manner of death
type cause of death
['Roswell P. Flower', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?s WHERE { resource:Roswell_P._Flower property:manner_of_death ?s . ?s rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q881163
P509
Q2057971
USER
What lead to the death of Roswell P. Flower ?
(Q881163,P509,c(Q2057971))
action filter_type
action find
entity Q881163
relation P509
type Q2057971
['Q881163', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?p WHERE { resource:Q881163 property:P509 ?p . ?p rdf:type ontology:Q2057971 }
Roswell P. Flower
action filter_type
action find
entity Roswell P. Flower
relation cause of death
type health problem
['Roswell P. Flower', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?p WHERE { resource:Roswell_P._Flower property:cause_of_death ?p . ?p rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q881163,P509,c(Q2057971))
action filter_type
action find
entity Q881163
relation P509
type Q2057971
The [ANSWER] lead to the death of Roswell P. Flower
['Q881163', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?p WHERE { resource:Q881163 property:P509 ?p . ?p rdf:type ontology:Q2057971 }
myocardial infarction
The myocardial infarction lead to the death of Roswell P. Flower
myocardial infarction
action filter_type
action find
entity Roswell P. Flower
relation cause of death
type health problem
['Roswell P. Flower', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?p WHERE { resource:Roswell_P._Flower property:cause_of_death ?p . ?p rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q881163
P39
Q12737077
USER
What were the positions for which that person were appointed ?
(Q12152,P39,c(Q12737077))
action filter_type
action find
entity Q881163
relation P39
type Q12737077
['Q12152', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q881163 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Roswell P. Flower
action filter_type
action find
entity Roswell P. Flower
relation position held
type occupation
['myocardial infarction', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Roswell_P._Flower property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q13218630 Q2347975
SYSTEM
United States representative, Governor of New York
Q13218630 Q2347975
(Q12152,P39,c(Q12737077))
action filter_type
action find
entity Q881163
relation P39
type Q12737077
The [ANSWERS]
['Q12152', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q881163 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
United States representative Governor of New York
The United States representative and Governor of New York
United States representative Governor of New York
action filter_type
action find
entity Roswell P. Flower
relation position held
type occupation
['myocardial infarction', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Roswell_P._Flower property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q881026
P39
Q502895
USER
Were Enos T. Throop responsible for occupying the position of those occupations ?
(Q881026,P39,Q13218630) (Q881026,P39,Q2347975)
action is_in
entity prev_answer
action find
entity Q881026
relation P39
['Q881026', 'P39', 'Q13218630'] ['Q881026', 'P39', 'Q2347975']
ASK WHERE { resource:Q881026 property:P39 ?k . VALUES ( ?k ) { ( resource:Q13218630 ) ( resource:Q2347975 ) } }
Enos T. Throop
action is_in
entity prev_answer
action find
entity Enos T. Throop
relation position held
['Enos T. Throop', 'position held', 'United States representative'] ['Enos T. Throop', 'position held', 'Governor of New York']
ASK WHERE { resource:Enos_T._Throop property:position_held ?k . VALUES ( ?k ) { ( resource:United_States_representative ) ( resource:Governor_of_New_York ) } }
[]
common name
SYSTEM
YES
(Q881026,P39,Q13218630) (Q881026,P39,Q2347975)
action is_in
entity prev_answer
action find
entity Q881026
relation P39
[ANSWER]
['Q881026', 'P39', 'Q13218630'] ['Q881026', 'P39', 'Q2347975']
ASK WHERE { resource:Q881026 property:P39 ?k . VALUES ( ?k ) { ( resource:Q13218630 ) ( resource:Q2347975 ) } }
Yes
action is_in
entity prev_answer
action find
entity Enos T. Throop
relation position held
['Enos T. Throop', 'position held', 'United States representative'] ['Enos T. Throop', 'position held', 'Governor of New York']
ASK WHERE { resource:Enos_T._Throop property:position_held ?k . VALUES ( ?k ) { ( resource:United_States_representative ) ( resource:Governor_of_New_York ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q16932894 Q881163
P102
Q7210356
USER
Which political organizations do Roswell P. Flower and Elvin McCary belong to ?
AND((Q881163,P102,c(Q7210356)), (Q16932894,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q881163
relation P102
action find
entity Q16932894
relation P102
type Q7210356
{'AND': [['Q881163', 'P102', {'concept': 'Q7210356'}], ['Q16932894', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?l WHERE { resource:Q881163 property:P102 ?l . resource:Q16932894 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Elvin McCary Roswell P. Flower
action filter_type
action intersection
action find
entity Roswell P. Flower
relation member of political party
action find
entity Elvin McCary
relation member of political party
type political organization
{'AND': [['Roswell P. Flower', 'member of political party', {'concept': 'political organization'}], ['Elvin McCary', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?l WHERE { resource:Roswell_P._Flower property:member_of_political_party ?l . resource:Elvin_McCary property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
AND((Q881163,P102,c(Q7210356)), (Q16932894,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q881163
relation P102
action find
entity Q16932894
relation P102
type Q7210356
[ANSWER] do Roswell P. Flower and Elvin McCary belong to
{'AND': [['Q881163', 'P102', {'concept': 'Q7210356'}], ['Q16932894', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?l WHERE { resource:Q881163 property:P102 ?l . resource:Q16932894 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Democratic Party
Democratic Party do Roswell P. Flower and Elvin McCary belong to
Democratic Party
action filter_type
action intersection
action find
entity Roswell P. Flower
relation member of political party
action find
entity Elvin McCary
relation member of political party
type political organization
{'AND': [['Roswell P. Flower', 'member of political party', {'concept': 'political organization'}], ['Elvin McCary', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?l WHERE { resource:Roswell_P._Flower property:member_of_political_party ?l . resource:Elvin_McCary property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1030785
P689
Q15989253 Q25570959 Q2057971
USER
How many health problems afflicts around the same number of parts and animal structures as demodicosis ?
(c(Q2057971),P689,c(Q15989253)|c(Q25570959))
action count
action approx
action union
action find_tuple_counts
relation P689
type Q2057971
type Q15989253
action find_tuple_counts
relation P689
type Q2057971
type Q25570959
action count
action filter_multi_types
action find
entity Q1030785
relation P689
type Q15989253
type Q25570959
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q15989253'}, {'concept': 'Q25570959'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?k ) WHERE { VALUES ( ?u ) { ( ontology:Q25570959 ) ( ontology:Q15989253 ) } . ?a rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { resource:Q1030785 property:P689 ?c . { { ?c rdf:type ontology:Q15989253 } UNION { ?c rdf:type ontology:Q25570959 } } } } . FILTER ( ?k = ?r ) }
demodicosis
action count
action approx
action union
action find_tuple_counts
relation afflicts
type health problem
type part
action find_tuple_counts
relation afflicts
type health problem
type animal structure
action count
action filter_multi_types
action find
entity demodicosis
relation afflicts
type part
type animal structure
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'part'}, {'concept': 'animal structure'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?k ) WHERE { VALUES ( ?u ) { ( ontology:animal_structure ) ( ontology:part ) } . ?a rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { resource:demodicosis property:afflicts ?c . { { ?c rdf:type ontology:part } UNION { ?c rdf:type ontology:animal_structure } } } } . FILTER ( ?k = ?r ) }
[]
part animal structure health problem
SYSTEM
117
Q18556210 Q5182155 Q1362721 Q18553706 Q3508732 Q1066265 Q574406 Q18558209 Q1266890 Q175827 Q18554834 Q18555928 Q1585743 Q2508462 Q18556225 Q2879095 Q6742925 Q18554850 Q18553224 Q5182126 Q2946952 Q48143 Q844935 Q18558143 Q16499 Q2988775 Q18555020 Q18975470 Q18554359 Q18556397 Q18553766 Q18554536 Q18554357 Q5156409 Q18557992 Q18554999 Q7199538 Q403463 Q4684717 Q18557753 Q6673122 Q1779300 Q7136145 Q244438 Q616003 Q4959796 Q8084905 Q3281322 Q708176 Q3043145 Q3552798 Q1642094 Q18556093 Q18555048 Q181257 Q3540864 Q18555042 Q3286546 Q4116663 Q1963588 Q2429620 Q2339038 Q18556075 Q18555923 Q18557307 Q5526839 Q18556619 Q16831900 Q1030785 Q578257 Q7900883 Q18556675 Q1628473 Q18555209 Q6758201 Q18553502 Q5282519 Q18554363 Q2912193 Q18553584 Q2351083 Q3843811 Q6742919 Q501561 Q1585753 Q6072985 Q18554030 Q133087 Q1194557 Q18555940 Q21118423 Q18554893 Q11835644 Q18553644 Q189588 Q1393463 Q12214 Q17152566 Q165135 Q18558049 Q18558125 Q18965518 Q2031424 Q18554220 Q6708237 Q16678483 Q18553736 Q5442760 Q18556445 Q18968025 Q18554658 Q7113244 Q3030636 Q18553634 Q3540887 Q2966706 Q7879711
(c(Q2057971),P689,c(Q15989253)|c(Q25570959))
action count
action approx
action union
action find_tuple_counts
relation P689
type Q2057971
type Q15989253
action find_tuple_counts
relation P689
type Q2057971
type Q25570959
action count
action filter_multi_types
action find
entity Q1030785
relation P689
type Q15989253
type Q25570959
[ANSWER]
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q15989253'}, {'concept': 'Q25570959'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?k ) WHERE { VALUES ( ?u ) { ( ontology:Q25570959 ) ( ontology:Q15989253 ) } . ?a rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { resource:Q1030785 property:P689 ?c . { { ?c rdf:type ontology:Q15989253 } UNION { ?c rdf:type ontology:Q25570959 } } } } . FILTER ( ?k = ?r ) }
gastrointestinal adenoma Craniotabes tuberous sclerosis gamma-amino butyric acid metabolism disorder pyelo-ureteral junction syndrome Osgood-Schlatter's disease Bartholin's duct cyst upper respiratory tract disease vascular disease stomach disease penile disease subclavian artery aneurysm urea cycle disorder mouth disease femoral neuropathy optic nerve disease male reproductive system disease integumentary system disease lower respiratory tract disease cranial nerve disease cervical osteoarthritis meningitis coronary artery disease leukocyte disease hyperthyroidism heart conduction disease nasal cavity disease disease of biological process binocular vision disease biliary tract cancer eye accommodation disease paranasal sinus disease vestibulocochlear nerve disease complement deficiency vein disease B cell deficiency pituitary gland disease Aicardi syndrome adrenal gland disease laryngeal disease thyroid gland disease connective tissue disease parathyroid gland disease prosopagnosia aortic aneurysm breast disease autoimmune neuromuscular disease peroxisomal disease arthropathy cytochrome P450 Oxidoreductase Deficiency uvulitis Hematidrosis male reproductive organ cancer gonadal disease prostate cancer Balance disorder factor XII deficiency respiratory disease musculoskeletal system disease hematopoietic system disease blood platelet disease Neurogenic bladder external ear disease carotid artery disease muscle tissue disease gastrointestinal system cancer middle ear disease intracranial hypotension demodicosis Kohler's disease urinary system disease aortic disease corneal ulcer nose disease Marcus Gunn pupil pericardium disease calcium metabolism disease capillary disease esophageal disease C1 inhibitor deficiency disease of metabolism immune system disease Male breast cancer pericarditis urethral stricture iron metabolism disease acute laryngopharyngitis gout laryngitis uterine disease auditory nerve damage ocular melanoma thyroiditis immune system cancer stomach cancer hypopharynx cancer smallpox salivary gland disease goiter gastrointestinal lymphoma intracranial hypertension artery disease oropharynx cancer female reproductive organ cancer lymphatic system disease vestibular disease bone remodeling disease female reproductive system disease prostate disease pleural disease splenic artery aneurysm ovarian disease carotid artery dissection lymphatic system cancer Sensory processing disorder Chromhidrosis ulnar neuropathy
117
action count
action approx
action union
action find_tuple_counts
relation afflicts
type health problem
type part
action find_tuple_counts
relation afflicts
type health problem
type animal structure
action count
action filter_multi_types
action find
entity demodicosis
relation afflicts
type part
type animal structure
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'part'}, {'concept': 'animal structure'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?k ) WHERE { VALUES ( ?u ) { ( ontology:animal_structure ) ( ontology:part ) } . ?a rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { resource:demodicosis property:afflicts ?c . { { ?c rdf:type ontology:part } UNION { ?c rdf:type ontology:animal_structure } } } } . FILTER ( ?k = ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2429620
P689
Q15989253 Q25570959 Q2057971
USER
And what about blood platelet disease?
(c(Q2057971),P689,c(Q15989253)|c(Q25570959))
action count
action approx
action union
action find_tuple_counts
relation P689
type Q2057971
type Q15989253
action find_tuple_counts
relation P689
type Q2057971
type Q25570959
action count
action filter_multi_types
action find
entity Q2429620
relation P689
type Q15989253
type Q25570959
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q15989253'}, {'concept': 'Q25570959'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?z WHERE { { ?z property:P689 ?x . ?x rdf:type ontology:Q25570959 . ?z rdf:type ontology:Q2057971 } UNION { ?z property:P689 ?x . ?z rdf:type ontology:Q2057971 . ?x rdf:type ontology:Q15989253 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Q2429620 property:P689 ?y . { ?y rdf:type ?n . VALUES ( ?n ) { ( ontology:Q15989253 ) ( ontology:Q25570959 ) } } } } . FILTER ( ?o = ?w ) }
blood platelet disease
action count
action approx
action union
action find_tuple_counts
relation afflicts
type health problem
type part
action find_tuple_counts
relation afflicts
type health problem
type animal structure
action count
action filter_multi_types
action find
entity blood platelet disease
relation afflicts
type part
type animal structure
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'part'}, {'concept': 'animal structure'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?z WHERE { { ?z property:afflicts ?x . ?x rdf:type ontology:animal_structure . ?z rdf:type ontology:health_problem } UNION { ?z property:afflicts ?x . ?z rdf:type ontology:health_problem . ?x rdf:type ontology:part } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:blood_platelet_disease property:afflicts ?y . { ?y rdf:type ?n . VALUES ( ?n ) { ( ontology:part ) ( ontology:animal_structure ) } } } } . FILTER ( ?o = ?w ) }
[]
part animal structure health problem
SYSTEM
117
Q18556210 Q5182155 Q1362721 Q18553706 Q3508732 Q1066265 Q574406 Q18558209 Q1266890 Q175827 Q18554834 Q18555928 Q1585743 Q2508462 Q18556225 Q2879095 Q6742925 Q18554850 Q18553224 Q5182126 Q2946952 Q48143 Q844935 Q18558143 Q16499 Q2988775 Q18555020 Q18975470 Q18554359 Q18556397 Q18553766 Q18554536 Q18554357 Q5156409 Q18557992 Q18554999 Q7199538 Q403463 Q4684717 Q18557753 Q6673122 Q1779300 Q7136145 Q244438 Q616003 Q4959796 Q8084905 Q3281322 Q708176 Q3043145 Q3552798 Q1642094 Q18556093 Q18555048 Q181257 Q3540864 Q18555042 Q3286546 Q4116663 Q1963588 Q2429620 Q2339038 Q18556075 Q18555923 Q18557307 Q5526839 Q18556619 Q16831900 Q1030785 Q578257 Q7900883 Q18556675 Q1628473 Q18555209 Q6758201 Q18553502 Q5282519 Q18554363 Q2912193 Q18553584 Q2351083 Q3843811 Q6742919 Q501561 Q1585753 Q6072985 Q18554030 Q133087 Q1194557 Q18555940 Q21118423 Q18554893 Q11835644 Q18553644 Q189588 Q1393463 Q12214 Q17152566 Q165135 Q18558049 Q18558125 Q18965518 Q2031424 Q18554220 Q6708237 Q16678483 Q18553736 Q5442760 Q18556445 Q18968025 Q18554658 Q7113244 Q3030636 Q18553634 Q3540887 Q2966706 Q7879711
(c(Q2057971),P689,c(Q15989253)|c(Q25570959))
action count
action approx
action union
action find_tuple_counts
relation P689
type Q2057971
type Q15989253
action find_tuple_counts
relation P689
type Q2057971
type Q25570959
action count
action filter_multi_types
action find
entity Q2429620
relation P689
type Q15989253
type Q25570959
[ANSWER]
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q15989253'}, {'concept': 'Q25570959'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?z WHERE { { ?z property:P689 ?x . ?x rdf:type ontology:Q25570959 . ?z rdf:type ontology:Q2057971 } UNION { ?z property:P689 ?x . ?z rdf:type ontology:Q2057971 . ?x rdf:type ontology:Q15989253 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Q2429620 property:P689 ?y . { ?y rdf:type ?n . VALUES ( ?n ) { ( ontology:Q15989253 ) ( ontology:Q25570959 ) } } } } . FILTER ( ?o = ?w ) }
gastrointestinal adenoma Craniotabes tuberous sclerosis gamma-amino butyric acid metabolism disorder pyelo-ureteral junction syndrome Osgood-Schlatter's disease Bartholin's duct cyst upper respiratory tract disease vascular disease stomach disease penile disease subclavian artery aneurysm urea cycle disorder mouth disease femoral neuropathy optic nerve disease male reproductive system disease integumentary system disease lower respiratory tract disease cranial nerve disease cervical osteoarthritis meningitis coronary artery disease leukocyte disease hyperthyroidism heart conduction disease nasal cavity disease disease of biological process binocular vision disease biliary tract cancer eye accommodation disease paranasal sinus disease vestibulocochlear nerve disease complement deficiency vein disease B cell deficiency pituitary gland disease Aicardi syndrome adrenal gland disease laryngeal disease thyroid gland disease connective tissue disease parathyroid gland disease prosopagnosia aortic aneurysm breast disease autoimmune neuromuscular disease peroxisomal disease arthropathy cytochrome P450 Oxidoreductase Deficiency uvulitis Hematidrosis male reproductive organ cancer gonadal disease prostate cancer Balance disorder factor XII deficiency respiratory disease musculoskeletal system disease hematopoietic system disease blood platelet disease Neurogenic bladder external ear disease carotid artery disease muscle tissue disease gastrointestinal system cancer middle ear disease intracranial hypotension demodicosis Kohler's disease urinary system disease aortic disease corneal ulcer nose disease Marcus Gunn pupil pericardium disease calcium metabolism disease capillary disease esophageal disease C1 inhibitor deficiency disease of metabolism immune system disease Male breast cancer pericarditis urethral stricture iron metabolism disease acute laryngopharyngitis gout laryngitis uterine disease auditory nerve damage ocular melanoma thyroiditis immune system cancer stomach cancer hypopharynx cancer smallpox salivary gland disease goiter gastrointestinal lymphoma intracranial hypertension artery disease oropharynx cancer female reproductive organ cancer lymphatic system disease vestibular disease bone remodeling disease female reproductive system disease prostate disease pleural disease splenic artery aneurysm ovarian disease carotid artery dissection lymphatic system cancer Sensory processing disorder Chromhidrosis ulnar neuropathy
117
action count
action approx
action union
action find_tuple_counts
relation afflicts
type health problem
type part
action find_tuple_counts
relation afflicts
type health problem
type animal structure
action count
action filter_multi_types
action find
entity blood platelet disease
relation afflicts
type part
type animal structure
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'part'}, {'concept': 'animal structure'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?z WHERE { { ?z property:afflicts ?x . ?x rdf:type ontology:animal_structure . ?z rdf:type ontology:health_problem } UNION { ?z property:afflicts ?x . ?z rdf:type ontology:health_problem . ?x rdf:type ontology:part } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:blood_platelet_disease property:afflicts ?y . { ?y rdf:type ?n . VALUES ( ?n ) { ( ontology:part ) ( ontology:animal_structure ) } } } } . FILTER ( ?o = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1807522
P689
Q15989253 Q82799 Q2057971
USER
Which health problems afflict less number of parts and names than vaginal cancer ?
(c(Q2057971),P689,c(Q15989253)|c(Q82799))
action less
action union
action find_tuple_counts
relation P689
type Q2057971
type Q15989253
action find_tuple_counts
relation P689
type Q2057971
type Q82799
action count
action filter_multi_types
action find
entity Q1807522
relation P689
type Q15989253
type Q82799
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q15989253'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?v ) WHERE { { ?i property:P689 ?z . ?i rdf:type ontology:Q2057971 . ?z rdf:type ontology:Q15989253 } UNION { ?i property:P689 ?z . ?i rdf:type ontology:Q2057971 . ?z rdf:type ontology:Q82799 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Q1807522 property:P689 ?a . { { ?a rdf:type ontology:Q15989253 } UNION { ?a rdf:type ontology:Q82799 } } } } . FILTER ( ?v < ?y ) }
vaginal cancer
action less
action union
action find_tuple_counts
relation afflicts
type health problem
type part
action find_tuple_counts
relation afflicts
type health problem
type name
action count
action filter_multi_types
action find
entity vaginal cancer
relation afflicts
type part
type name
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'part'}, {'concept': 'name'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?v ) WHERE { { ?i property:afflicts ?z . ?i rdf:type ontology:health_problem . ?z rdf:type ontology:part } UNION { ?i property:afflicts ?z . ?i rdf:type ontology:health_problem . ?z rdf:type ontology:name } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:vaginal_cancer property:afflicts ?a . { { ?a rdf:type ontology:part } UNION { ?a rdf:type ontology:name } } } } . FILTER ( ?v < ?y ) }
[]
part name health problem
Q181257 Q844935 Q154869
SYSTEM
prostate cancer, coronary artery disease, hepatitis C
Q18556210 Q5182155 Q18553706 Q154869 Q3508732 Q1066265 Q574406 Q18558209 Q1266890 Q175827 Q18554834 Q18555928 Q1585743 Q2508462 Q18556225 Q2879095 Q6742925 Q18554850 Q18553224 Q5182126 Q3055380 Q147778 Q2946952 Q857667 Q844935 Q18558143 Q131742 Q16499 Q6853 Q2988775 Q18555020 Q18975470 Q18554359 Q18556397 Q18553766 Q18554536 Q18554357 Q697117 Q5156409 Q18557992 Q3392853 Q929737 Q18554999 Q7199538 Q403463 Q4684717 Q18557753 Q6673122 Q5518905 Q1779300 Q7136145 Q7578540 Q616003 Q4959796 Q8084905 Q3281322 Q708176 Q3043145 Q3552798 Q949302 Q190805 Q1642094 Q18554589 Q18556093 Q18555048 Q181257 Q3540864 Q18555042 Q3286546 Q4116663 Q1963588 Q2429620 Q2339038 Q18556075 Q18555923 Q504775 Q18557307 Q5526839 Q18556619 Q16831900 Q578257 Q7900883 Q18556675 Q18555209 Q6758201 Q18553502 Q5282519 Q18554363 Q2912193 Q1545572 Q18553584 Q2351083 Q3843811 Q6742919 Q501561 Q1585753 Q6072985 Q18554030 Q21128620 Q1194557 Q18555940 Q21118423 Q18554893 Q11835644 Q18553644 Q189588 Q1393463 Q17152566 Q165135 Q18558049 Q476921 Q18558125 Q18965518 Q2031424 Q18554220 Q6708237 Q16678483 Q18553736 Q4941552 Q5442760 Q5325633 Q18556445 Q18968025 Q18554658 Q7113244 Q3030636 Q18553634 Q3540887 Q2966706 Q7879711
(c(Q2057971),P689,c(Q15989253)|c(Q82799))
action less
action union
action find_tuple_counts
relation P689
type Q2057971
type Q15989253
action find_tuple_counts
relation P689
type Q2057971
type Q82799
action count
action filter_multi_types
action find
entity Q1807522
relation P689
type Q15989253
type Q82799
[ANSWERS] afflict less number of parts and names than vaginal cancer
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q15989253'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?v ) WHERE { { ?i property:P689 ?z . ?i rdf:type ontology:Q2057971 . ?z rdf:type ontology:Q15989253 } UNION { ?i property:P689 ?z . ?i rdf:type ontology:Q2057971 . ?z rdf:type ontology:Q82799 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Q1807522 property:P689 ?a . { { ?a rdf:type ontology:Q15989253 } UNION { ?a rdf:type ontology:Q82799 } } } } . FILTER ( ?v < ?y ) }
gastrointestinal adenoma Craniotabes gamma-amino butyric acid metabolism disorder hepatitis C pyelo-ureteral junction syndrome Osgood-Schlatter's disease Bartholin's duct cyst upper respiratory tract disease vascular disease stomach disease penile disease subclavian artery aneurysm urea cycle disorder mouth disease femoral neuropathy optic nerve disease male reproductive system disease integumentary system disease lower respiratory tract disease cranial nerve disease intestinal disease liver cirrhosis cervical osteoarthritis pulmonary edema coronary artery disease leukocyte disease hepatitis hyperthyroidism hepatitis B heart conduction disease nasal cavity disease disease of biological process binocular vision disease biliary tract cancer eye accommodation disease paranasal sinus disease vestibulocochlear nerve disease Spinal disc herniation complement deficiency vein disease lung disease liver disease B cell deficiency pituitary gland disease Aicardi syndrome adrenal gland disease laryngeal disease thyroid gland disease gallbladder disease connective tissue disease parathyroid gland disease splenic disease aortic aneurysm breast disease autoimmune neuromuscular disease peroxisomal disease arthropathy cytochrome P450 Oxidoreductase Deficiency uvulitis skin disease heart disease Hematidrosis hepatic infarction male reproductive organ cancer gonadal disease prostate cancer Balance disorder factor XII deficiency respiratory disease musculoskeletal system disease hematopoietic system disease blood platelet disease Neurogenic bladder external ear disease carotid artery disease urinary bladder cancer muscle tissue disease gastrointestinal system cancer middle ear disease intracranial hypotension Kohler's disease urinary system disease aortic disease nose disease Marcus Gunn pupil pericardium disease calcium metabolism disease capillary disease esophageal disease splenic infarction C1 inhibitor deficiency disease of metabolism immune system disease Male breast cancer pericarditis urethral stricture iron metabolism disease acute laryngopharyngitis spleen injury laryngitis uterine disease auditory nerve damage ocular melanoma thyroiditis immune system cancer stomach cancer hypopharynx cancer salivary gland disease goiter gastrointestinal lymphoma kidney failure intracranial hypertension artery disease oropharynx cancer female reproductive organ cancer lymphatic system disease vestibular disease bone remodeling disease bone disease female reproductive system disease auditory system disease prostate disease pleural disease splenic artery aneurysm ovarian disease carotid artery dissection lymphatic system cancer Sensory processing disorder Chromhidrosis ulnar neuropathy
Prostate cancer, coronary artery disease and hepatitis C afflict less number of parts and names than vaginal cancer
prostate cancer coronary artery disease hepatitis C
action less
action union
action find_tuple_counts
relation afflicts
type health problem
type part
action find_tuple_counts
relation afflicts
type health problem
type name
action count
action filter_multi_types
action find
entity vaginal cancer
relation afflicts
type part
type name
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'part'}, {'concept': 'name'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?v ) WHERE { { ?i property:afflicts ?z . ?i rdf:type ontology:health_problem . ?z rdf:type ontology:part } UNION { ?i property:afflicts ?z . ?i rdf:type ontology:health_problem . ?z rdf:type ontology:name } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:vaginal_cancer property:afflicts ?a . { { ?a rdf:type ontology:part } UNION { ?a rdf:type ontology:name } } } } . FILTER ( ?v < ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q16918477
P689
Q15989253 Q82799 Q2057971
USER
And what about nervous system cancer?
(c(Q2057971),P689,c(Q15989253)|c(Q82799))
action less
action union
action find_tuple_counts
relation P689
type Q2057971
type Q15989253
action find_tuple_counts
relation P689
type Q2057971
type Q82799
action count
action filter_multi_types
action find
entity Q16918477
relation P689
type Q15989253
type Q82799
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q15989253'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?h ) WHERE { { ?a rdf:type ontology:Q2057971 . ?p rdf:type ontology:Q82799 . ?a property:P689 ?p } UNION { ?a rdf:type ontology:Q2057971 . ?p rdf:type ontology:Q15989253 . ?a property:P689 ?p } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Q16918477 property:P689 ?d . { { ?d rdf:type ontology:Q15989253 } UNION { ?d rdf:type ontology:Q82799 } } } } . FILTER ( ?h < ?x ) }
nervous system cancer
action less
action union
action find_tuple_counts
relation afflicts
type health problem
type part
action find_tuple_counts
relation afflicts
type health problem
type name
action count
action filter_multi_types
action find
entity nervous system cancer
relation afflicts
type part
type name
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'part'}, {'concept': 'name'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?h ) WHERE { { ?a rdf:type ontology:health_problem . ?p rdf:type ontology:name . ?a property:afflicts ?p } UNION { ?a rdf:type ontology:health_problem . ?p rdf:type ontology:part . ?a property:afflicts ?p } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:nervous_system_cancer property:afflicts ?d . { { ?d rdf:type ontology:part } UNION { ?d rdf:type ontology:name } } } } . FILTER ( ?h < ?x ) }
[]
part name health problem
Q181257 Q844935 Q154869
SYSTEM
prostate cancer, coronary artery disease, hepatitis C
Q18556210 Q5182155 Q18553706 Q154869 Q3508732 Q1066265 Q574406 Q18558209 Q1266890 Q175827 Q18554834 Q18555928 Q1585743 Q2508462 Q18556225 Q2879095 Q6742925 Q18554850 Q18553224 Q5182126 Q3055380 Q147778 Q2946952 Q857667 Q844935 Q18558143 Q131742 Q16499 Q6853 Q2988775 Q18555020 Q18975470 Q18554359 Q18556397 Q18553766 Q18554536 Q18554357 Q697117 Q5156409 Q18557992 Q3392853 Q929737 Q18554999 Q7199538 Q403463 Q4684717 Q18557753 Q6673122 Q5518905 Q1779300 Q7136145 Q7578540 Q616003 Q4959796 Q8084905 Q3281322 Q708176 Q3043145 Q3552798 Q949302 Q190805 Q1642094 Q18554589 Q18556093 Q18555048 Q181257 Q3540864 Q18555042 Q3286546 Q4116663 Q1963588 Q2429620 Q2339038 Q18556075 Q18555923 Q504775 Q18557307 Q5526839 Q18556619 Q16831900 Q578257 Q7900883 Q18556675 Q18555209 Q6758201 Q18553502 Q5282519 Q18554363 Q2912193 Q1545572 Q18553584 Q2351083 Q3843811 Q6742919 Q501561 Q1585753 Q6072985 Q18554030 Q21128620 Q1194557 Q18555940 Q21118423 Q18554893 Q11835644 Q18553644 Q189588 Q1393463 Q17152566 Q165135 Q18558049 Q476921 Q18558125 Q18965518 Q2031424 Q18554220 Q6708237 Q16678483 Q18553736 Q4941552 Q5442760 Q5325633 Q18556445 Q18968025 Q18554658 Q7113244 Q3030636 Q18553634 Q3540887 Q2966706 Q7879711
(c(Q2057971),P689,c(Q15989253)|c(Q82799))
action less
action union
action find_tuple_counts
relation P689
type Q2057971
type Q15989253
action find_tuple_counts
relation P689
type Q2057971
type Q82799
action count
action filter_multi_types
action find
entity Q16918477
relation P689
type Q15989253
type Q82799
[ANSWERS]
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q15989253'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?h ) WHERE { { ?a rdf:type ontology:Q2057971 . ?p rdf:type ontology:Q82799 . ?a property:P689 ?p } UNION { ?a rdf:type ontology:Q2057971 . ?p rdf:type ontology:Q15989253 . ?a property:P689 ?p } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Q16918477 property:P689 ?d . { { ?d rdf:type ontology:Q15989253 } UNION { ?d rdf:type ontology:Q82799 } } } } . FILTER ( ?h < ?x ) }
gastrointestinal adenoma Craniotabes gamma-amino butyric acid metabolism disorder hepatitis C pyelo-ureteral junction syndrome Osgood-Schlatter's disease Bartholin's duct cyst upper respiratory tract disease vascular disease stomach disease penile disease subclavian artery aneurysm urea cycle disorder mouth disease femoral neuropathy optic nerve disease male reproductive system disease integumentary system disease lower respiratory tract disease cranial nerve disease intestinal disease liver cirrhosis cervical osteoarthritis pulmonary edema coronary artery disease leukocyte disease hepatitis hyperthyroidism hepatitis B heart conduction disease nasal cavity disease disease of biological process binocular vision disease biliary tract cancer eye accommodation disease paranasal sinus disease vestibulocochlear nerve disease Spinal disc herniation complement deficiency vein disease lung disease liver disease B cell deficiency pituitary gland disease Aicardi syndrome adrenal gland disease laryngeal disease thyroid gland disease gallbladder disease connective tissue disease parathyroid gland disease splenic disease aortic aneurysm breast disease autoimmune neuromuscular disease peroxisomal disease arthropathy cytochrome P450 Oxidoreductase Deficiency uvulitis skin disease heart disease Hematidrosis hepatic infarction male reproductive organ cancer gonadal disease prostate cancer Balance disorder factor XII deficiency respiratory disease musculoskeletal system disease hematopoietic system disease blood platelet disease Neurogenic bladder external ear disease carotid artery disease urinary bladder cancer muscle tissue disease gastrointestinal system cancer middle ear disease intracranial hypotension Kohler's disease urinary system disease aortic disease nose disease Marcus Gunn pupil pericardium disease calcium metabolism disease capillary disease esophageal disease splenic infarction C1 inhibitor deficiency disease of metabolism immune system disease Male breast cancer pericarditis urethral stricture iron metabolism disease acute laryngopharyngitis spleen injury laryngitis uterine disease auditory nerve damage ocular melanoma thyroiditis immune system cancer stomach cancer hypopharynx cancer salivary gland disease goiter gastrointestinal lymphoma kidney failure intracranial hypertension artery disease oropharynx cancer female reproductive organ cancer lymphatic system disease vestibular disease bone remodeling disease bone disease female reproductive system disease auditory system disease prostate disease pleural disease splenic artery aneurysm ovarian disease carotid artery dissection lymphatic system cancer Sensory processing disorder Chromhidrosis ulnar neuropathy
prostate cancer coronary artery disease hepatitis C
action less
action union
action find_tuple_counts
relation afflicts
type health problem
type part
action find_tuple_counts
relation afflicts
type health problem
type name
action count
action filter_multi_types
action find
entity nervous system cancer
relation afflicts
type part
type name
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'part'}, {'concept': 'name'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?h ) WHERE { { ?a rdf:type ontology:health_problem . ?p rdf:type ontology:name . ?a property:afflicts ?p } UNION { ?a rdf:type ontology:health_problem . ?p rdf:type ontology:part . ?a property:afflicts ?p } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:nervous_system_cancer property:afflicts ?d . { { ?d rdf:type ontology:part } UNION { ?d rdf:type ontology:name } } } } . FILTER ( ?h < ?x ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q181257 Q844935 Q154869
P2175
Q8386
USER
Which drugs are used as a medication for prostate cancer, coronary artery disease and hepatitis C ?
(c(Q8386),P2175,Q181257) (c(Q8386),P2175,Q844935) (c(Q8386),P2175,Q154869)
action union
action filter_type
action find_reverse
entity Q181257
relation P2175
type Q8386
action filter_type
action find_reverse
entity Q844935
relation P2175
type Q8386
action filter_type
action find_reverse
entity Q154869
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', 'Q181257'] [{'concept': 'Q8386'}, 'P2175', 'Q844935'] [{'concept': 'Q8386'}, 'P2175', 'Q154869']
SELECT DISTINCT ?h WHERE { { ?h rdf:type ontology:Q8386 . ?h property:P2175 resource:Q181257 } UNION { ?h rdf:type ontology:Q8386 . ?h property:P2175 resource:Q844935 } }
prostate cancer coronary artery disease hepatitis C
action union
action filter_type
action find_reverse
entity prostate cancer
relation medical condition treated
type drug
action filter_type
action find_reverse
entity coronary artery disease
relation medical condition treated
type drug
action filter_type
action find_reverse
entity hepatitis C
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'prostate cancer'] [{'concept': 'drug'}, 'medical condition treated', 'coronary artery disease'] [{'concept': 'drug'}, 'medical condition treated', 'hepatitis C']
SELECT DISTINCT ?h WHERE { { ?h rdf:type ontology:drug . ?h property:medical_condition_treated resource:prostate_cancer } UNION { ?h rdf:type ontology:drug . ?h property:medical_condition_treated resource:coronary_artery_disease } }
[]
drug
Q670131 Q421052 Q421052
SYSTEM
Everolimus for 2nd, 3rd, simvastatin for 1st
Q5103213 Q417740 Q422222 Q424167 Q423762 Q241150 Q416451 Q3877030 Q2070286 Q410352 Q239426 Q2823834 Q418669 Q3950557 Q418817 Q418819 Q1318776 Q419940 Q412415 Q4830631 Q422112 Q139347 Q1996756 Q422252 Q7699074 Q412323 Q421052 Q212272 Q240642 Q180983 Q2459042 Q305555 Q412939 Q408801 Q424972 Q424760 Q422416 Q32089 Q1988832 Q7914515 Q412963 Q218507 Q11711607 Q423989 Q907160 Q7083106 Q417465 Q420542 Q417740 Q670131 Q418666 Q415366 Q3294635 Q1318776 Q418006 Q668093 Q258591 Q190012 Q1240093 Q417997 Q10354103 Q417942 Q907104 Q18216 Q5268499 Q419724 Q60235 Q411347 Q7307897 Q899036 Q384295 Q15623825 Q4919218 Q3790542 Q423439 Q4726914 Q410237 Q2295855 Q2701912 Q422222 Q411648 Q420056 Q367700 Q415264 Q139347 Q4391540 Q2450337 Q421862 Q421052 Q424972 Q4567614 Q7160789
(c(Q8386),P2175,Q181257) (c(Q8386),P2175,Q844935) (c(Q8386),P2175,Q154869)
action union
action filter_type
action find_reverse
entity Q181257
relation P2175
type Q8386
action filter_type
action find_reverse
entity Q844935
relation P2175
type Q8386
action filter_type
action find_reverse
entity Q154869
relation P2175
type Q8386
[ANSWERS]
[{'concept': 'Q8386'}, 'P2175', 'Q181257'] [{'concept': 'Q8386'}, 'P2175', 'Q844935'] [{'concept': 'Q8386'}, 'P2175', 'Q154869']
SELECT DISTINCT ?h WHERE { { ?h rdf:type ontology:Q8386 . ?h property:P2175 resource:Q181257 } UNION { ?h rdf:type ontology:Q8386 . ?h property:P2175 resource:Q844935 } }
chlorotrianisene lovastatin Digoxin finasteride Paclitaxel aminoglutethimide azacitidine nilutamide vismodegib gabapentin mitoxantrone Medroxyprogesterone acetate flutamide Sargramostim etoposide exemestane testosterone dasatinib cisplatin axitinib methylphenidate Cholecalciferol enzalutamide dexamethasone temsirolimus Rituximab Everolimus hydroxyurea valproic acid cytarabine Ipilimumab abarelix estramustine celecoxib prednisone dutasteride 17β-estradiol Sirolimus bicalutamide vandetanib cabazitaxel zoledronic acid Ixabepilone diethylstilbestrol leuprolide olaparib mitotane ticagrelor lovastatin simvastatin tranexamic acid tirofiban Colestipol testosterone Colestyramine Atorvastatin cilostazol adenosine Pravastatin ezetimibe probucol Fluvastatin ranolazine acetylsalicylic acid dextrothyroxine fenofibrate caffeine amlodipine regadenoson Colesevelam gemfibrozil Evolocumab Bivalirudin sufinpyrazone cerivastatin Alirocumab clopidogrel eptifibatide clofibrate Digoxin tacrolimus Peginterferon alfa-2a Cyclosporine Infliximab Cholecalciferol Interferon Alfa-2b, Recombinant Interferon beta-1a ribavirin Everolimus prednisone mycophenolate mofetil Peginterferon alfa-2b
Simvastatin, Everolimus and Everolimus are used as a medication for prostate cancer, coronary artery disease and hepatitis C
simvastatin Everolimus Everolimus
action union
action filter_type
action find_reverse
entity prostate cancer
relation medical condition treated
type drug
action filter_type
action find_reverse
entity coronary artery disease
relation medical condition treated
type drug
action filter_type
action find_reverse
entity hepatitis C
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'prostate cancer'] [{'concept': 'drug'}, 'medical condition treated', 'coronary artery disease'] [{'concept': 'drug'}, 'medical condition treated', 'hepatitis C']
SELECT DISTINCT ?h WHERE { { ?h rdf:type ontology:drug . ?h property:medical_condition_treated resource:prostate_cancer } UNION { ?h rdf:type ontology:drug . ?h property:medical_condition_treated resource:coronary_artery_disease } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q181257
P1050
Q502895
USER
Who have the disease that health problem ?
(c(Q502895),P1050,Q181257)
action filter_type
action find_reverse
entity Q181257
relation P1050
type Q502895
[{'concept': 'Q502895'}, 'P1050', 'Q181257']
SELECT DISTINCT ?z WHERE { ?z property:P1050 resource:Q181257 . ?z rdf:type ontology:Q502895 }
prostate cancer
action filter_type
action find_reverse
entity prostate cancer
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'prostate cancer']
SELECT DISTINCT ?z WHERE { ?z property:medical_condition resource:prostate_cancer . ?z rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q181257
SYSTEM
Did you mean prostate cancer ?
Q670131 Q421052 Q421052
(c(Q502895),P1050,Q670131) (c(Q502895),P1050,Q421052) (c(Q502895),P1050,Q421052)
[ANSWER]
[{'concept': 'Q502895'}, 'P1050', 'Q670131'] [{'concept': 'Q502895'}, 'P1050', 'Q421052'] [{'concept': 'Q502895'}, 'P1050', 'Q421052']
SELECT DISTINCT ?z WHERE { ?z property:P1050 resource:Q181257 . ?z rdf:type ontology:Q502895 }
simvastatin Everolimus Everolimus
Did you mean prostate cancer ?
prostate cancer
[{'concept': 'common name'}, 'medical condition', 'simvastatin'] [{'concept': 'common name'}, 'medical condition', 'Everolimus'] [{'concept': 'common name'}, 'medical condition', 'Everolimus']
SELECT DISTINCT ?z WHERE { ?z property:medical_condition resource:prostate_cancer . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P1050,Q181257)
[{'concept': 'Q502895'}, 'P1050', 'Q181257']
[{'concept': 'common name'}, 'medical condition', 'prostate cancer']
[]
Q128379 Q110719
SYSTEM
David Prowse, Oskar Lafontaine
Q128379 Q110719
(c(Q502895),P1050,Q181257)
action filter_type
action find_reverse
entity Q181257
relation P1050
type Q502895
[ANSWERS] have the disease that health problem
[{'concept': 'Q502895'}, 'P1050', 'Q181257']
SELECT DISTINCT ?z WHERE { ?z property:P1050 resource:Q181257 . ?z rdf:type ontology:Q502895 }
David Prowse Oskar Lafontaine
David Prowse and Oskar Lafontaine have the disease that health problem
David Prowse Oskar Lafontaine
action filter_type
action find_reverse
entity prostate cancer
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'prostate cancer']
SELECT DISTINCT ?z WHERE { ?z property:medical_condition resource:prostate_cancer . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1030785
P1542
Q16521
USER
Which taxon caused demodicosis ?
(c(Q16521),P1542,Q1030785)
action filter_type
action find_reverse
entity Q1030785
relation P1542
type Q16521
[{'concept': 'Q16521'}, 'P1542', 'Q1030785']
SELECT DISTINCT ?w WHERE { ?w property:P1542 resource:Q1030785 . ?w rdf:type ontology:Q16521 }
demodicosis
action filter_type
action find_reverse
entity demodicosis
relation cause of
type taxon
[{'concept': 'taxon'}, 'cause of', 'demodicosis']
SELECT DISTINCT ?w WHERE { ?w property:cause_of resource:demodicosis . ?w rdf:type ontology:taxon }
[]
taxon
Q292297
SYSTEM
Demodex
Q292297
(c(Q16521),P1542,Q1030785)
action filter_type
action find_reverse
entity Q1030785
relation P1542
type Q16521
[ANSWER] caused demodicosis
[{'concept': 'Q16521'}, 'P1542', 'Q1030785']
SELECT DISTINCT ?w WHERE { ?w property:P1542 resource:Q1030785 . ?w rdf:type ontology:Q16521 }
Demodex
Demodex caused demodicosis
Demodex
action filter_type
action find_reverse
entity demodicosis
relation cause of
type taxon
[{'concept': 'taxon'}, 'cause of', 'demodicosis']
SELECT DISTINCT ?w WHERE { ?w property:cause_of resource:demodicosis . ?w rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q292297
P828
Q2057971
USER
What does that taxon cause ?
(c(Q2057971),P828,Q292297)
action filter_type
action find_reverse
entity Q292297
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', 'Q292297']
SELECT DISTINCT ?q WHERE { ?q property:P828 resource:Q292297 . ?q rdf:type ontology:Q2057971 }
Demodex
action filter_type
action find_reverse
entity Demodex
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'Demodex']
SELECT DISTINCT ?q WHERE { ?q property:has_cause resource:Demodex . ?q rdf:type ontology:health_problem }
[]
health problem
Q1030785
SYSTEM
demodicosis
Q1030785
(c(Q2057971),P828,Q292297)
action filter_type
action find_reverse
entity Q292297
relation P828
type Q2057971
That taxon causes [ANSWER]
[{'concept': 'Q2057971'}, 'P828', 'Q292297']
SELECT DISTINCT ?q WHERE { ?q property:P828 resource:Q292297 . ?q rdf:type ontology:Q2057971 }
demodicosis
That taxon causes demodicosis
demodicosis
action filter_type
action find_reverse
entity Demodex
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'Demodex']
SELECT DISTINCT ?q WHERE { ?q property:has_cause resource:Demodex . ?q rdf:type ontology:health_problem }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1097957
P828
Q2057971 Q2057971
USER
How many health problems are caused by less number of health problems than intermittent claudication ?
(c(Q2057971),P828,c(Q2057971))
action count
action less
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action count
action filter_type
action find
entity Q1097957
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?i ) WHERE { ?y rdf:type ontology:Q2057971 . ?l rdf:type ontology:Q2057971 . ?y property:P828 ?l } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Q1097957 property:P828 ?o . ?o rdf:type ontology:Q2057971 } } . FILTER ( ?i < ?t ) }
intermittent claudication
action count
action less
action find_tuple_counts
relation has cause
type health problem
type health problem
action count
action filter_type
action find
entity intermittent claudication
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?i ) WHERE { ?y rdf:type ontology:health_problem . ?l rdf:type ontology:health_problem . ?y property:has_cause ?l } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:intermittent_claudication property:has_cause ?o . ?o rdf:type ontology:health_problem } } . FILTER ( ?i < ?t ) }
[]
health problem health problem
SYSTEM
344
Q18553237 Q18553236 Q3591496 Q18553231 Q2042205 Q7157933 Q18553239 Q18553238 Q18556697 Q2447562 Q3091959 Q3776920 Q3381802 Q18553933 Q12656487 Q694552 Q2700304 Q2845432 Q316180 Q863725 Q147778 Q623031 Q1856914 Q646664 Q4958833 Q2140729 Q3541798 Q16006998 Q4867062 Q992139 Q327005 Q52856 Q190564 Q154882 Q18554757 Q19972185 Q201989 Q18555052 Q2373700 Q12156 Q47790 Q5038165 Q7235947 Q4803677 Q18553273 Q18553274 Q3153686 Q193216 Q30953 Q16831900 Q1048101 Q202173 Q812671 Q1243869 Q9430213 Q1048084 Q21082521 Q21082526 Q3493588 Q18553583 Q18555979 Q18554672 Q41083 Q4366062 Q18553191 Q18553197 Q744387 Q18553198 Q12204 Q522163 Q103177 Q134859 Q18554401 Q18554400 Q4797639 Q2982674 Q23037742 Q1936838 Q1526645 Q681970 Q18555383 Q2170663 Q247096 Q1713499 Q804521 Q18554338 Q18553439 Q83319 Q160649 Q5274956 Q2373361 Q469490 Q16242812 Q18553229 Q614279 Q1693598 Q6523346 Q2076966 Q155098 Q4413030 Q941770 Q11679861 Q1210303 Q7902650 Q6159042 Q2059411 Q809561 Q1890194 Q5459411 Q727028 Q1016605 Q19597369 Q156103 Q7107617 Q12090 Q4280605 Q2397106 Q1048858 Q217519 Q3264425 Q709360 Q3270160 Q422268 Q18557427 Q684810 Q7205992 Q18324719 Q4723931 Q5380626 Q18975606 Q2339038 Q18395602 Q5384031 Q11627066 Q31798 Q2933021 Q5161045 Q5548621 Q18557940 Q18554367 Q17162726 Q842428 Q769815 Q18553869 Q21505495 Q3281393 Q895297 Q18554485 Q18553216 Q1409081 Q17119372 Q12214 Q12199 Q153356 Q912766 Q26492834 Q18123741 Q1724539 Q3392410 Q1928978 Q18554418 Q18554419 Q326638 Q154874 Q18553284 Q18553285 Q1223924 Q6663796 Q18554027 Q1978084 Q18554029 Q133780 Q4137692 Q6279182 Q1416773 Q2589418 Q3030745 Q658873 Q18558102 Q4118581 Q160653 Q243257 Q3074499 Q207367 Q574905 Q19000448 Q585011 Q18558193 Q393477 Q745865 Q6853 Q3089469 Q1350035 Q356713 Q18553251 Q18553252 Q4690047 Q18553889 Q18554606 Q39222 Q223591 Q3197774 Q18924547 Q576179 Q154869 Q18553952 Q18553953 Q18553951 Q200779 Q931323 Q353172 Q2090711 Q18558169 Q2741820 Q481392 Q1432397 Q3049302 Q129104 Q18554767 Q18555290 Q18553170 Q42982 Q842169 Q8071861 Q47912 Q14375936 Q1030785 Q18553286 Q26695958 Q153861 Q5334259 Q327298 Q9376235 Q1878776 Q5319350 Q17126040 Q18554258 Q7834208 Q5609501 Q379418 Q18557482 Q21507057 Q632522 Q1553609 Q4651856 Q4845643 Q1194496 Q567660 Q7850856 Q1066011 Q18554229 Q5031732 Q4690011 Q18553227 Q36956 Q1607983 Q4979461 Q18554659 Q5506384 Q34879 Q970203 Q682798 Q18928086 Q2840 Q18975229 Q949694 Q1339986 Q4736375 Q154865 Q5182155 Q16918398 Q1476027 Q18554425 Q1347065 Q3508771 Q738292 Q3540280 Q203133 Q837054 Q3367106 Q16935263 Q134649 Q19001174 Q719656 Q7900355 Q192102 Q244404 Q76973 Q2625993 Q18966317 Q3084532 Q11542703 Q3108587 Q963944 Q52859 Q18553245 Q18553243 Q18553240 Q18554261 Q167264 Q1264268 Q1760607 Q2603200 Q176741 Q443929 Q18556140 Q18553742 Q298278 Q1128440 Q506616 Q326643 Q2068896 Q826522 Q21504985 Q705906 Q319315 Q3798547 Q68833 Q703961 Q639776 Q1290616 Q1750104 Q5196693 Q17071650 Q18554000 Q18554162 Q18555063 Q922927 Q101896 Q18554340 Q14870002 Q1034620 Q12125 Q6587253 Q14942021 Q6137239 Q18553440 Q18558124 Q18554306 Q7053975 Q19000421 Q221441 Q1367782 Q3902759
(c(Q2057971),P828,c(Q2057971))
action count
action less
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action count
action filter_type
action find
entity Q1097957
relation P828
type Q2057971
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?i ) WHERE { ?y rdf:type ontology:Q2057971 . ?l rdf:type ontology:Q2057971 . ?y property:P828 ?l } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Q1097957 property:P828 ?o . ?o rdf:type ontology:Q2057971 } } . FILTER ( ?i < ?t ) }
mesocestoidiasis philophthalmiasis mercurial erythema lujo hemorrhagic fever Residual ovary syndrome peanut allergy baylisascariasis acanthocephaliasis human immunodeficiency virus infectious disease balantidiasis anisakiasis bacterial pneumonia Pthirus pubis infestation setariasis hymenolepiasis lymphogranuloma venereum Bolivian hemorrhagic fever ehrlichiosis Pseudorabies Bing–Neel syndrome liver cirrhosis liver cancer nocardiosis rickettsiosis Brazilian hemorrhagic fever fasciolopsiasis Tuberculosis of the adrenal glands borreliosis basidiobolomycosis human granulocytic anaplasmosis glanders Diabetic foot Huntington's disease Legionnaires' disease dipetalonemiasis Tubo-ovarian abscess Lyme disease malt worker's lung Clostridial necrotizing enteritis malaria tetanus Carcinoma ex-pleomorphic adenoma Powassan encephalitis asbestos-related disease aneruptive fever sennetsu fever Toluene toxicity trachoma dengue fever intracranial hypotension rickettsialpox hordeolum bacillary angiomatosis Treponematosis borna disease opisthorchiasis glucocorticoid-induced osteoporosis chromosomal duplication syndrome spirochetal diseases withdrawal disorder duodenal obstruction Plasmodium falciparum malaria syphilis Pneumococcal infection Indian tick typhus Israeli tick typhus Rocky Mountain spotted fever Far Eastern spotted fever tuberculosis Sydenham's chorea severe acute respiratory syndrome pertussis screw worm infectious disease hypodermyiasis arthritis mutilans lead-induced colic chicken egg allergy Diseases of poverty Surra contagious pustular dermatitis haemonchiasis Acrodynia Paracoccidioidomycosis megaesophagus bacterial vaginosis trichostrongylosis autosomal dominant disease typhoid fever typhus dientamoebiasis nut allergy Periventricular leukomalacia Amalgam tattoo Whitewater Arroyo hemorrhagic fever louping ill nasopharynx carcinoma Lentigo maligna melanoma cytomegalia leptospirosis wheat allergy proctitis hookworm infections dicrocoeliasis Uterine incarceration Japanese spotted fever Black piedra bartonellosis nutritional deficiency disease Flinders Island spotted fever bacterial infectious disease Burkitt lymphoma Gram-negative bacterial infection gastroenteritis Osteolathyrism Cholera mansonelliasis tauopathy hantavirus hemorrhagic fever bubonic plague Loxoscelism Von Willebrand disease actinobacillosis actinomycosis pancreatic cholera berylliosis Pneumococcal pneumonia Chapare hemorrhagic fever Algaemia Entomophthoramycosis Fusobacterium infectious disease Neurogenic bladder Vitreous touch syndrome Epstein–Barr virus infection West Nile fever chancroid caffeine intoxication conidiobolomycosis geotrichosis postgastrectomy syndrome respiratory syncytial virus infectious disease soil-transmitted helminthiasis ascariasis food allergy legionellosis fetal valproate syndrome complication of radiotherapy boutonneuse fever diphtheritic peritonitis intestinal botulism fetal nicotine spectrum disorder Haemophilus meningitis smallpox acquired immunodeficiency syndrome chlamydia postcholecystectomy syndrome mosaic variegated aneuploidy syndrome 1 infectious disease Congenital rubella syndrome pleural tuberculosis viral infectious disease louse-borne relapsing fever tick-borne relapsing fever Rift Valley fever yellow fever O'nyong'nyong fever Barmah Forest virus disease Papillomatosis Lobomycosis allescheriosis nerve compression syndrome pseudomembranous conjunctivitis plague heterophyiasis epileptic seizure granuloma inguinale pasteurellosis distomatosis Radiation burn monieziasis necatoriasis listeriosis chikungunya Fluoride toxicity infectious mononucleosis Clostridium difficile colitis Actinobacillus infectious disease Antley-Bixler syndrome gonococcal endophthalmia trench fever trichomoniasis hepatitis B sequelae Erethism Aspergilloma wound botulism infant botulism African tick-bite fever supine hypotensive syndrome inclusion conjunctivitis rabies gastroesophageal reflux disease klebsiellosis Rocio virus encephalitis egg allergy hepatitis C Murray Valley encephalitis Western equine encephalitis Eastern equine encephalitis genetic disease nephropathia epidemica parasitic protozoa infectious disease thelaziasis Venezuelan equine encephalitis Omsk hemorrhagic fever theileriasis Kyasanur forest disease human monocytic ehrlichiosis anthrax disease Brucella melitensis brucellosis ascaridiasis Astrakhan spotted fever type I hypersensitivity sparganosis Zika fever lung cancer hyperinsulinism demodicosis Balkan hemorrhagic fever gonococcal infectious diseases tularemia parasitic ectoparasitic infectious disease shigellosis endolymphatic hydrops lymphocytic choriomeningitis dysbaric osteonecrosis Transfusion associated circulatory overload fascioloidiasis transfusion hemosiderosis Grinker myelinopathy keratomalacia radiation cystitis salmonella sepsis bacteriuria Canine parvovirus AIDS-related lymphoma rhinosporidiosis scrub typhus St. Louis encephalitis pericardial tuberculosis cowpox kernicterus due to isoimmunization Candidal intertrigo African histoplasmosis Kunjin encephalitis leprosy erysipeloid Bruns ataxia Brucella canis brucellosis fruit allergy Staphylococcal infection milk allergy bejel Tahyna virus encephalitis influenza Newcastle disease amebiasis encephalitozoonosis Alternariosis botulism Craniotabes chromosomal deletion syndrome lymphangitis tinea unguium epiglottitis neuro-anemia syndrome Japanese encephalitis trombiculiasis sleeping sickness Adenovirus infection parvovirus infectious disease Serratia infection diphtheria milker's nodule fascioliasis Ureaplasma infection skin cancer electric shock yaws Latrodectism Mumps virus infectious disease endemic typhus metagonimiasis pigmentary glaucoma melioidosis Diabetic foot ulcer Alkhurma hemorrhagic fever parasitic Ichthyosporea infectious disease dioctophymiasis echinostomiasis Marburg hemorrhagic fever stannosis loiasis viral pneumonia mumps dirofilariasis ostertagiasis chromosomal disease esophageal varix toxic shock syndrome drowning hepatitis E drug allergy thyroid cancer lewisite shock paratyphoid fever Colorado tick fever Haverhill fever bone fracture prion disease cat-scratch disease epidemic typhus Carrion's disease Cutaneous diphtheria infection Calcium channel blocker toxicity Brucella suis brucellosis Bordetella parapertussis whooping cough West Nile encephalitis primary amebic meningoencephalitis gonorrhea trichostrongyloidiasis Hot tub folliculitis Capillariasis common cold Queensland tick typhus Auto-brewery syndrome Hantavirus pulmonary syndrome autosomal recessive disease allergic asthma endocrine exophthalmos Siberian tick typhus Rubella virus infectious disease pellagra Gluten related disorders white piedra
344
action count
action less
action find_tuple_counts
relation has cause
type health problem
type health problem
action count
action filter_type
action find
entity intermittent claudication
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?i ) WHERE { ?y rdf:type ontology:health_problem . ?l rdf:type ontology:health_problem . ?y property:has_cause ?l } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:intermittent_claudication property:has_cause ?o . ?o rdf:type ontology:health_problem } } . FILTER ( ?i < ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q124604
P828
Q2057971 Q2057971
USER
And how about portal hypertension?
(c(Q2057971),P828,c(Q2057971))
action count
action less
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action count
action filter_type
action find
entity Q124604
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?z ) WHERE { ?q property:P828 ?c . ?c rdf:type ontology:Q2057971 . ?q rdf:type ontology:Q2057971 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q124604 property:P828 ?v . ?v rdf:type ontology:Q2057971 } } . FILTER ( ?z < ?h ) }
portal hypertension
action count
action less
action find_tuple_counts
relation has cause
type health problem
type health problem
action count
action filter_type
action find
entity portal hypertension
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?z ) WHERE { ?q property:has_cause ?c . ?c rdf:type ontology:health_problem . ?q rdf:type ontology:health_problem } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:portal_hypertension property:has_cause ?v . ?v rdf:type ontology:health_problem } } . FILTER ( ?z < ?h ) }
[]
health problem health problem
SYSTEM
347
Q18553237 Q18553236 Q3591496 Q18553231 Q2042205 Q7157933 Q18553239 Q18553238 Q18556697 Q2447562 Q3091959 Q3776920 Q3381802 Q18553933 Q12656487 Q694552 Q2700304 Q2845432 Q316180 Q863725 Q147778 Q623031 Q1856914 Q646664 Q4958833 Q2140729 Q3541798 Q16006998 Q4867062 Q992139 Q327005 Q52856 Q190564 Q154882 Q18554757 Q19972185 Q201989 Q18555052 Q2373700 Q12156 Q47790 Q5038165 Q7235947 Q4803677 Q18553273 Q1097957 Q18553274 Q3153686 Q193216 Q30953 Q16831900 Q1048101 Q202173 Q812671 Q1243869 Q9430213 Q1048084 Q21082521 Q21082526 Q3493588 Q18553583 Q18555979 Q18554672 Q41083 Q4366062 Q18553191 Q18553197 Q744387 Q18553198 Q12204 Q522163 Q103177 Q134859 Q18554401 Q18554400 Q4797639 Q2982674 Q23037742 Q1936838 Q1526645 Q681970 Q18555383 Q2170663 Q247096 Q1713499 Q804521 Q18554338 Q18553439 Q83319 Q160649 Q5274956 Q2373361 Q469490 Q16242812 Q18553229 Q614279 Q1693598 Q6523346 Q2076966 Q155098 Q4413030 Q941770 Q11679861 Q1210303 Q7902650 Q6159042 Q2059411 Q809561 Q1890194 Q5459411 Q727028 Q1016605 Q19597369 Q156103 Q7107617 Q12090 Q4280605 Q2397106 Q1048858 Q217519 Q3264425 Q709360 Q3270160 Q422268 Q18557427 Q684810 Q7205992 Q18324719 Q4723931 Q5380626 Q18975606 Q2339038 Q18395602 Q5384031 Q11627066 Q31798 Q2933021 Q5161045 Q5548621 Q18557940 Q18554367 Q17162726 Q842428 Q769815 Q16775468 Q18553869 Q21505495 Q3281393 Q895297 Q18554485 Q18553216 Q1409081 Q17119372 Q12214 Q12199 Q153356 Q912766 Q26492834 Q18123741 Q1724539 Q3392410 Q1928978 Q18554418 Q18554419 Q326638 Q154874 Q18553284 Q18553285 Q1223924 Q6663796 Q18554027 Q1978084 Q18554029 Q133780 Q4137692 Q6279182 Q1416773 Q2589418 Q3030745 Q658873 Q18558102 Q4118581 Q160653 Q243257 Q3074499 Q207367 Q574905 Q19000448 Q585011 Q18558193 Q393477 Q745865 Q6853 Q3089469 Q1350035 Q356713 Q18553251 Q18553252 Q4690047 Q18553889 Q18554606 Q39222 Q223591 Q3197774 Q18924547 Q576179 Q154869 Q18553952 Q18553953 Q18553951 Q200779 Q931323 Q353172 Q2090711 Q18558169 Q2741820 Q481392 Q1432397 Q3049302 Q129104 Q18554767 Q18555290 Q18553170 Q42982 Q842169 Q8071861 Q47912 Q14375936 Q1030785 Q18553286 Q26695958 Q153861 Q5334259 Q327298 Q9376235 Q1878776 Q5319350 Q17126040 Q18554258 Q7834208 Q5609501 Q379418 Q18558134 Q18557482 Q21507057 Q632522 Q1553609 Q4651856 Q4845643 Q1194496 Q567660 Q7850856 Q1066011 Q18554229 Q5031732 Q4690011 Q18553227 Q36956 Q1607983 Q4979461 Q18554659 Q5506384 Q34879 Q970203 Q682798 Q18928086 Q2840 Q18975229 Q949694 Q1339986 Q4736375 Q154865 Q5182155 Q16918398 Q1476027 Q18554425 Q1347065 Q3508771 Q738292 Q3540280 Q203133 Q837054 Q3367106 Q16935263 Q134649 Q19001174 Q719656 Q7900355 Q192102 Q244404 Q76973 Q2625993 Q18966317 Q3084532 Q11542703 Q3108587 Q963944 Q52859 Q18553245 Q18553243 Q18553240 Q18554261 Q167264 Q1264268 Q1760607 Q2603200 Q176741 Q443929 Q18556140 Q18553742 Q298278 Q1128440 Q506616 Q326643 Q2068896 Q826522 Q21504985 Q705906 Q319315 Q3798547 Q68833 Q703961 Q639776 Q1290616 Q1750104 Q5196693 Q17071650 Q18554000 Q18554162 Q18555063 Q922927 Q101896 Q18554340 Q14870002 Q1034620 Q12125 Q6587253 Q14942021 Q6137239 Q18553440 Q18558124 Q18554306 Q7053975 Q19000421 Q221441 Q1367782 Q3902759
(c(Q2057971),P828,c(Q2057971))
action count
action less
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action count
action filter_type
action find
entity Q124604
relation P828
type Q2057971
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?z ) WHERE { ?q property:P828 ?c . ?c rdf:type ontology:Q2057971 . ?q rdf:type ontology:Q2057971 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q124604 property:P828 ?v . ?v rdf:type ontology:Q2057971 } } . FILTER ( ?z < ?h ) }
mesocestoidiasis philophthalmiasis mercurial erythema lujo hemorrhagic fever Residual ovary syndrome peanut allergy baylisascariasis acanthocephaliasis human immunodeficiency virus infectious disease balantidiasis anisakiasis bacterial pneumonia Pthirus pubis infestation setariasis hymenolepiasis lymphogranuloma venereum Bolivian hemorrhagic fever ehrlichiosis Pseudorabies Bing–Neel syndrome liver cirrhosis liver cancer nocardiosis rickettsiosis Brazilian hemorrhagic fever fasciolopsiasis Tuberculosis of the adrenal glands borreliosis basidiobolomycosis human granulocytic anaplasmosis glanders Diabetic foot Huntington's disease Legionnaires' disease dipetalonemiasis Tubo-ovarian abscess Lyme disease malt worker's lung Clostridial necrotizing enteritis malaria tetanus Carcinoma ex-pleomorphic adenoma Powassan encephalitis asbestos-related disease aneruptive fever intermittent claudication sennetsu fever Toluene toxicity trachoma dengue fever intracranial hypotension rickettsialpox hordeolum bacillary angiomatosis Treponematosis borna disease opisthorchiasis glucocorticoid-induced osteoporosis chromosomal duplication syndrome spirochetal diseases withdrawal disorder duodenal obstruction Plasmodium falciparum malaria syphilis Pneumococcal infection Indian tick typhus Israeli tick typhus Rocky Mountain spotted fever Far Eastern spotted fever tuberculosis Sydenham's chorea severe acute respiratory syndrome pertussis screw worm infectious disease hypodermyiasis arthritis mutilans lead-induced colic chicken egg allergy Diseases of poverty Surra contagious pustular dermatitis haemonchiasis Acrodynia Paracoccidioidomycosis megaesophagus bacterial vaginosis trichostrongylosis autosomal dominant disease typhoid fever typhus dientamoebiasis nut allergy Periventricular leukomalacia Amalgam tattoo Whitewater Arroyo hemorrhagic fever louping ill nasopharynx carcinoma Lentigo maligna melanoma cytomegalia leptospirosis wheat allergy proctitis hookworm infections dicrocoeliasis Uterine incarceration Japanese spotted fever Black piedra bartonellosis nutritional deficiency disease Flinders Island spotted fever bacterial infectious disease Burkitt lymphoma Gram-negative bacterial infection gastroenteritis Osteolathyrism Cholera mansonelliasis tauopathy hantavirus hemorrhagic fever bubonic plague Loxoscelism Von Willebrand disease actinobacillosis actinomycosis pancreatic cholera berylliosis Pneumococcal pneumonia Chapare hemorrhagic fever Algaemia Entomophthoramycosis Fusobacterium infectious disease Neurogenic bladder Vitreous touch syndrome Epstein–Barr virus infection West Nile fever chancroid caffeine intoxication conidiobolomycosis geotrichosis postgastrectomy syndrome respiratory syncytial virus infectious disease soil-transmitted helminthiasis ascariasis food allergy elephantiasis legionellosis fetal valproate syndrome complication of radiotherapy boutonneuse fever diphtheritic peritonitis intestinal botulism fetal nicotine spectrum disorder Haemophilus meningitis smallpox acquired immunodeficiency syndrome chlamydia postcholecystectomy syndrome mosaic variegated aneuploidy syndrome 1 infectious disease Congenital rubella syndrome pleural tuberculosis viral infectious disease louse-borne relapsing fever tick-borne relapsing fever Rift Valley fever yellow fever O'nyong'nyong fever Barmah Forest virus disease Papillomatosis Lobomycosis allescheriosis nerve compression syndrome pseudomembranous conjunctivitis plague heterophyiasis epileptic seizure granuloma inguinale pasteurellosis distomatosis Radiation burn monieziasis necatoriasis listeriosis chikungunya Fluoride toxicity infectious mononucleosis Clostridium difficile colitis Actinobacillus infectious disease Antley-Bixler syndrome gonococcal endophthalmia trench fever trichomoniasis hepatitis B sequelae Erethism Aspergilloma wound botulism infant botulism African tick-bite fever supine hypotensive syndrome inclusion conjunctivitis rabies gastroesophageal reflux disease klebsiellosis Rocio virus encephalitis egg allergy hepatitis C Murray Valley encephalitis Western equine encephalitis Eastern equine encephalitis genetic disease nephropathia epidemica parasitic protozoa infectious disease thelaziasis Venezuelan equine encephalitis Omsk hemorrhagic fever theileriasis Kyasanur forest disease human monocytic ehrlichiosis anthrax disease Brucella melitensis brucellosis ascaridiasis Astrakhan spotted fever type I hypersensitivity sparganosis Zika fever lung cancer hyperinsulinism demodicosis Balkan hemorrhagic fever gonococcal infectious diseases tularemia parasitic ectoparasitic infectious disease shigellosis endolymphatic hydrops lymphocytic choriomeningitis dysbaric osteonecrosis Transfusion associated circulatory overload fascioloidiasis transfusion hemosiderosis Grinker myelinopathy keratomalacia exposure keratitis radiation cystitis salmonella sepsis bacteriuria Canine parvovirus AIDS-related lymphoma rhinosporidiosis scrub typhus St. Louis encephalitis pericardial tuberculosis cowpox kernicterus due to isoimmunization Candidal intertrigo African histoplasmosis Kunjin encephalitis leprosy erysipeloid Bruns ataxia Brucella canis brucellosis fruit allergy Staphylococcal infection milk allergy bejel Tahyna virus encephalitis influenza Newcastle disease amebiasis encephalitozoonosis Alternariosis botulism Craniotabes chromosomal deletion syndrome lymphangitis tinea unguium epiglottitis neuro-anemia syndrome Japanese encephalitis trombiculiasis sleeping sickness Adenovirus infection parvovirus infectious disease Serratia infection diphtheria milker's nodule fascioliasis Ureaplasma infection skin cancer electric shock yaws Latrodectism Mumps virus infectious disease endemic typhus metagonimiasis pigmentary glaucoma melioidosis Diabetic foot ulcer Alkhurma hemorrhagic fever parasitic Ichthyosporea infectious disease dioctophymiasis echinostomiasis Marburg hemorrhagic fever stannosis loiasis viral pneumonia mumps dirofilariasis ostertagiasis chromosomal disease esophageal varix toxic shock syndrome drowning hepatitis E drug allergy thyroid cancer lewisite shock paratyphoid fever Colorado tick fever Haverhill fever bone fracture prion disease cat-scratch disease epidemic typhus Carrion's disease Cutaneous diphtheria infection Calcium channel blocker toxicity Brucella suis brucellosis Bordetella parapertussis whooping cough West Nile encephalitis primary amebic meningoencephalitis gonorrhea trichostrongyloidiasis Hot tub folliculitis Capillariasis common cold Queensland tick typhus Auto-brewery syndrome Hantavirus pulmonary syndrome autosomal recessive disease allergic asthma endocrine exophthalmos Siberian tick typhus Rubella virus infectious disease pellagra Gluten related disorders white piedra
347
action count
action less
action find_tuple_counts
relation has cause
type health problem
type health problem
action count
action filter_type
action find
entity portal hypertension
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?z ) WHERE { ?q property:has_cause ?c . ?c rdf:type ontology:health_problem . ?q rdf:type ontology:health_problem } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:portal_hypertension property:has_cause ?v . ?v rdf:type ontology:health_problem } } . FILTER ( ?z < ?h ) }
[]