Simple Question (Direct)
Simple Question
Q782337
P509
Q2057971
USER
What lead to the death of Jack Johnson ?
(Q782337,P509,c(Q2057971))
action filter_type
action find
entity Q782337
relation P509
type Q2057971
['Q782337', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q782337 property:P509 ?h . ?h rdf:type ontology:Q2057971 }
Jack Johnson
action filter_type
action find
entity Jack Johnson
relation cause of death
type health problem
['Jack Johnson', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:Jack_Johnson property:cause_of_death ?h . ?h rdf:type ontology:health_problem }
[]
health problem
Q12204
SYSTEM
tuberculosis
Q12204
(Q782337,P509,c(Q2057971))
action filter_type
action find
entity Q782337
relation P509
type Q2057971
[ANSWER] lead to the death of Jack Johnson
['Q782337', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q782337 property:P509 ?h . ?h rdf:type ontology:Q2057971 }
tuberculosis
Tuberculosis lead to the death of Jack Johnson
tuberculosis
action filter_type
action find
entity Jack Johnson
relation cause of death
type health problem
['Jack Johnson', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:Jack_Johnson property:cause_of_death ?h . ?h rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q782337
P1050
Q2057971
USER
What does that person suffer from ?
(Q12204,P1050,c(Q2057971))
action filter_type
action find
entity Q782337
relation P1050
type Q2057971
['Q12204', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { resource:Q782337 property:P1050 ?o . ?o rdf:type ontology:Q2057971 }
Jack Johnson
action filter_type
action find
entity Jack Johnson
relation medical condition
type health problem
['tuberculosis', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { resource:Jack_Johnson property:medical_condition ?o . ?o rdf:type ontology:health_problem }
[]
health problem
Q12204
SYSTEM
tuberculosis
Q12204
(Q12204,P1050,c(Q2057971))
action filter_type
action find
entity Q782337
relation P1050
type Q2057971
That person suffers from [ANSWER]
['Q12204', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { resource:Q782337 property:P1050 ?o . ?o rdf:type ontology:Q2057971 }
tuberculosis
That person suffers from tuberculosis
tuberculosis
action filter_type
action find
entity Jack Johnson
relation medical condition
type health problem
['tuberculosis', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { resource:Jack_Johnson property:medical_condition ?o . ?o rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q782337
P1196
Q1931388
USER
What situation did that person die in ?
(Q12204,P1196,c(Q1931388))
action filter_type
action find
entity Q782337
relation P1196
type Q1931388
['Q12204', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q782337 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
Jack Johnson
action filter_type
action find
entity Jack Johnson
relation manner of death
type cause of death
['tuberculosis', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Jack_Johnson property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q12204,P1196,c(Q1931388))
action filter_type
action find
entity Q782337
relation P1196
type Q1931388
That person died in [ANSWER]
['Q12204', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q782337 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Jack Johnson
relation manner of death
type cause of death
['tuberculosis', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Jack_Johnson property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4116663
P689
Q4936952 Q82799 Q2057971
USER
How many health problems can afflict approximately the same number of anatomical structures or names as musculoskeletal system disease ?
(c(Q2057971),P689,c(Q4936952)|c(Q82799))
action count
action approx
action union
action find_tuple_counts
relation P689
type Q2057971
type Q4936952
action find_tuple_counts
relation P689
type Q2057971
type Q82799
action count
action filter_multi_types
action find
entity Q4116663
relation P689
type Q4936952
type Q82799
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q4936952'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:Q82799 ) ( ontology:Q4936952 ) } . ?o rdf:type ?b } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q4116663 property:P689 ?l . { ?l rdf:type ?e . VALUES ( ?e ) { ( ontology:Q4936952 ) ( ontology:Q82799 ) } } } } . FILTER ( ?p = ?v ) }
musculoskeletal system disease
action count
action approx
action union
action find_tuple_counts
relation afflicts
type health problem
type anatomical structure
action find_tuple_counts
relation afflicts
type health problem
type name
action count
action filter_multi_types
action find
entity musculoskeletal system disease
relation afflicts
type anatomical structure
type name
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'anatomical structure'}, {'concept': 'name'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:name ) ( ontology:anatomical_structure ) } . ?o rdf:type ?b } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:musculoskeletal_system_disease property:afflicts ?l . { ?l rdf:type ?e . VALUES ( ?e ) { ( ontology:anatomical_structure ) ( ontology:name ) } } } } . FILTER ( ?p = ?v ) }
[]
anatomical structure name health problem
SYSTEM
26
Q1362721 Q6742925 Q48143 Q18557753 Q244438 Q4959796 Q8084905 Q708176 Q18556093 Q3286546 Q4116663 Q1030785 Q1628473 Q18555209 Q2912193 Q3843811 Q133087 Q1194557 Q18554893 Q18553644 Q12214 Q18554220 Q6708237 Q16678483 Q5442760 Q18553634
(c(Q2057971),P689,c(Q4936952)|c(Q82799))
action count
action approx
action union
action find_tuple_counts
relation P689
type Q2057971
type Q4936952
action find_tuple_counts
relation P689
type Q2057971
type Q82799
action count
action filter_multi_types
action find
entity Q4116663
relation P689
type Q4936952
type Q82799
[ANSWER]
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q4936952'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:Q82799 ) ( ontology:Q4936952 ) } . ?o rdf:type ?b } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q4116663 property:P689 ?l . { ?l rdf:type ?e . VALUES ( ?e ) { ( ontology:Q4936952 ) ( ontology:Q82799 ) } } } } . FILTER ( ?p = ?v ) }
tuberous sclerosis male reproductive system disease meningitis laryngeal disease prosopagnosia breast disease autoimmune neuromuscular disease arthropathy male reproductive organ cancer respiratory disease musculoskeletal system disease demodicosis corneal ulcer nose disease esophageal disease immune system disease gout laryngitis ocular melanoma immune system cancer smallpox female reproductive organ cancer lymphatic system disease vestibular disease female reproductive system disease lymphatic system cancer
26
action count
action approx
action union
action find_tuple_counts
relation afflicts
type health problem
type anatomical structure
action find_tuple_counts
relation afflicts
type health problem
type name
action count
action filter_multi_types
action find
entity musculoskeletal system disease
relation afflicts
type anatomical structure
type name
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'anatomical structure'}, {'concept': 'name'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:name ) ( ontology:anatomical_structure ) } . ?o rdf:type ?b } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:musculoskeletal_system_disease property:afflicts ?l . { ?l rdf:type ?e . VALUES ( ?e ) { ( ontology:anatomical_structure ) ( ontology:name ) } } } } . FILTER ( ?p = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q359892
P689
Q4936952 Q82799 Q2057971
USER
And what about salpingitis?
(c(Q2057971),P689,c(Q4936952)|c(Q82799))
action count
action approx
action union
action find_tuple_counts
relation P689
type Q2057971
type Q4936952
action find_tuple_counts
relation P689
type Q2057971
type Q82799
action count
action filter_multi_types
action find
entity Q359892
relation P689
type Q4936952
type Q82799
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q4936952'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?a ) WHERE { { ?j rdf:type ontology:Q2057971 . ?v rdf:type ontology:Q4936952 . ?j property:P689 ?v } UNION { ?j property:P689 ?v . ?j rdf:type ontology:Q2057971 . ?v rdf:type ontology:Q82799 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q359892 property:P689 ?e . { { ?e rdf:type ontology:Q82799 } UNION { ?e rdf:type ontology:Q4936952 } } } } . FILTER ( ?a = ?g ) }
salpingitis
action count
action approx
action union
action find_tuple_counts
relation afflicts
type health problem
type anatomical structure
action find_tuple_counts
relation afflicts
type health problem
type name
action count
action filter_multi_types
action find
entity salpingitis
relation afflicts
type anatomical structure
type name
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'anatomical structure'}, {'concept': 'name'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?a ) WHERE { { ?j rdf:type ontology:health_problem . ?v rdf:type ontology:anatomical_structure . ?j property:afflicts ?v } UNION { ?j property:afflicts ?v . ?j rdf:type ontology:health_problem . ?v rdf:type ontology:name } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:salpingitis property:afflicts ?e . { { ?e rdf:type ontology:name } UNION { ?e rdf:type ontology:anatomical_structure } } } } . FILTER ( ?a = ?g ) }
[]
anatomical structure name health problem
SYSTEM
124
Q18556210 Q6996973 Q18211751 Q5182155 Q18553706 Q154869 Q3508732 Q1066265 Q574406 Q18558209 Q1266890 Q175827 Q18554834 Q18555928 Q1585743 Q2508462 Q5062122 Q18556225 Q2879095 Q18554850 Q18553224 Q16918477 Q5182126 Q944777 Q3055380 Q147778 Q2946952 Q857667 Q3339235 Q844935 Q18558143 Q131742 Q16499 Q6853 Q2988775 Q18555020 Q18975470 Q18554359 Q18556397 Q18553766 Q7314317 Q18554536 Q18554357 Q697117 Q5156409 Q18557992 Q3392853 Q929737 Q18554999 Q7199538 Q403463 Q4684717 Q6673122 Q5518905 Q1779300 Q7136145 Q7578540 Q616003 Q18555344 Q2661443 Q3281322 Q3043145 Q3552798 Q949302 Q190805 Q1642094 Q359892 Q18554589 Q18555048 Q181257 Q3540864 Q18555042 Q1963588 Q2429620 Q2339038 Q18556075 Q18555923 Q504775 Q18557307 Q5526839 Q18556619 Q16831900 Q578257 Q7900883 Q18556675 Q6758201 Q18553502 Q5282519 Q18554363 Q1542466 Q1545572 Q18553584 Q2351083 Q6742919 Q501561 Q1585753 Q18554947 Q6072985 Q18554030 Q21128620 Q18555940 Q21118423 Q11835644 Q189588 Q1393463 Q17152566 Q165135 Q18558049 Q476921 Q18558125 Q18965518 Q1807522 Q2031424 Q18553736 Q4941552 Q5325633 Q18556445 Q18968025 Q18554658 Q7113244 Q3030636 Q3540887 Q2966706 Q7879711
(c(Q2057971),P689,c(Q4936952)|c(Q82799))
action count
action approx
action union
action find_tuple_counts
relation P689
type Q2057971
type Q4936952
action find_tuple_counts
relation P689
type Q2057971
type Q82799
action count
action filter_multi_types
action find
entity Q359892
relation P689
type Q4936952
type Q82799
[ANSWER]
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q4936952'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?a ) WHERE { { ?j rdf:type ontology:Q2057971 . ?v rdf:type ontology:Q4936952 . ?j property:P689 ?v } UNION { ?j property:P689 ?v . ?j rdf:type ontology:Q2057971 . ?v rdf:type ontology:Q82799 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q359892 property:P689 ?e . { { ?e rdf:type ontology:Q82799 } UNION { ?e rdf:type ontology:Q4936952 } } } } . FILTER ( ?a = ?g ) }
gastrointestinal adenoma nervous system disease vulvar disease 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 central nervous system disease femoral neuropathy optic nerve disease integumentary system disease lower respiratory tract disease nervous system cancer cranial nerve disease endometrial cancer intestinal disease liver cirrhosis cervical osteoarthritis pulmonary edema nervous system disease 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 reproductive system 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 thyroid gland disease gallbladder disease connective tissue disease parathyroid gland disease splenic disease aortic aneurysm tracheal disease endocrine system disease peroxisomal disease cytochrome P450 Oxidoreductase Deficiency uvulitis skin disease heart disease Hematidrosis salpingitis hepatic infarction gonadal disease prostate cancer Balance disorder factor XII deficiency 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 Marcus Gunn pupil pericardium disease calcium metabolism disease capillary disease vulvitis splenic infarction C1 inhibitor deficiency disease of metabolism Male breast cancer pericarditis urethral stricture fallopian tube disease iron metabolism disease acute laryngopharyngitis spleen injury uterine disease auditory nerve damage thyroiditis stomach cancer hypopharynx cancer salivary gland disease goiter gastrointestinal lymphoma kidney failure intracranial hypertension artery disease vaginal cancer oropharynx cancer bone remodeling disease bone disease auditory system disease prostate disease pleural disease splenic artery aneurysm ovarian disease carotid artery dissection Sensory processing disorder Chromhidrosis ulnar neuropathy
124
action count
action approx
action union
action find_tuple_counts
relation afflicts
type health problem
type anatomical structure
action find_tuple_counts
relation afflicts
type health problem
type name
action count
action filter_multi_types
action find
entity salpingitis
relation afflicts
type anatomical structure
type name
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'anatomical structure'}, {'concept': 'name'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?a ) WHERE { { ?j rdf:type ontology:health_problem . ?v rdf:type ontology:anatomical_structure . ?j property:afflicts ?v } UNION { ?j property:afflicts ?v . ?j rdf:type ontology:health_problem . ?v rdf:type ontology:name } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:salpingitis property:afflicts ?e . { { ?e rdf:type ontology:name } UNION { ?e rdf:type ontology:anatomical_structure } } } } . FILTER ( ?a = ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1542
Q2057971 Q2057971 Q3839081
USER
Which health problems do max number of health problems and disasters result in ?
(c(Q2057971)|c(Q3839081),P1542,c(Q2057971))
action argmax
action union
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q2057971
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q3839081
[[{'concept': 'Q2057971'}, {'concept': 'Q3839081'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?u WHERE { { ?f property:P1542 ?u . ?u rdf:type ontology:Q2057971 . ?f rdf:type ontology:Q3839081 } UNION { ?u rdf:type ontology:Q2057971 . ?f rdf:type ontology:Q2057971 . ?f property:P1542 ?u } } GROUP BY ?u } } . FILTER ( ?t = ?l ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?d WHERE { { ?b property:P1542 ?d . ?b rdf:type ontology:Q2057971 . ?d rdf:type ontology:Q2057971 } UNION { ?b property:P1542 ?d . ?d rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q3839081 } } GROUP BY ?d } }
action argmax
action union
action find_reverse_tuple_counts
relation cause of
type health problem
type health problem
action find_reverse_tuple_counts
relation cause of
type health problem
type disaster
[[{'concept': 'health problem'}, {'concept': 'disaster'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?u WHERE { { ?f property:cause_of ?u . ?u rdf:type ontology:health_problem . ?f rdf:type ontology:disaster } UNION { ?u rdf:type ontology:health_problem . ?f rdf:type ontology:health_problem . ?f property:cause_of ?u } } GROUP BY ?u } } . FILTER ( ?t = ?l ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?d WHERE { { ?b property:cause_of ?d . ?b rdf:type ontology:health_problem . ?d rdf:type ontology:health_problem } UNION { ?b property:cause_of ?d . ?d rdf:type ontology:health_problem . ?b rdf:type ontology:disaster } } GROUP BY ?d } }
[]
health problem health problem disaster
Q127724
SYSTEM
cataract
Q127724
(c(Q2057971)|c(Q3839081),P1542,c(Q2057971))
action argmax
action union
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q2057971
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q3839081
[ANSWER] do max number of health problems and disasters result in
[[{'concept': 'Q2057971'}, {'concept': 'Q3839081'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?u WHERE { { ?f property:P1542 ?u . ?u rdf:type ontology:Q2057971 . ?f rdf:type ontology:Q3839081 } UNION { ?u rdf:type ontology:Q2057971 . ?f rdf:type ontology:Q2057971 . ?f property:P1542 ?u } } GROUP BY ?u } } . FILTER ( ?t = ?l ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?d WHERE { { ?b property:P1542 ?d . ?b rdf:type ontology:Q2057971 . ?d rdf:type ontology:Q2057971 } UNION { ?b property:P1542 ?d . ?d rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q3839081 } } GROUP BY ?d } }
cataract
Cataract do max number of health problems and disasters result in
cataract
action argmax
action union
action find_reverse_tuple_counts
relation cause of
type health problem
type health problem
action find_reverse_tuple_counts
relation cause of
type health problem
type disaster
[[{'concept': 'health problem'}, {'concept': 'disaster'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?u WHERE { { ?f property:cause_of ?u . ?u rdf:type ontology:health_problem . ?f rdf:type ontology:disaster } UNION { ?u rdf:type ontology:health_problem . ?f rdf:type ontology:health_problem . ?f property:cause_of ?u } } GROUP BY ?u } } . FILTER ( ?t = ?l ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?d WHERE { { ?b property:cause_of ?d . ?b rdf:type ontology:health_problem . ?d rdf:type ontology:health_problem } UNION { ?b property:cause_of ?d . ?d rdf:type ontology:health_problem . ?b rdf:type ontology:disaster } } GROUP BY ?d } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q127724 Q684379
P2175
Q8386
USER
Is nepafenac used for the treatment of that health problem ?
(Q684379,P2175,Q127724)
action is_in
entity Q127724
action find
entity Q684379
relation P2175
['Q684379', 'P2175', 'Q127724']
ASK WHERE { resource:Q684379 property:P2175 resource:Q127724 }
cataract nepafenac
action is_in
entity cataract
action find
entity nepafenac
relation medical condition treated
['nepafenac', 'medical condition treated', 'cataract']
ASK WHERE { resource:nepafenac property:medical_condition_treated resource:cataract }
[]
drug
SYSTEM
YES
(Q684379,P2175,Q127724)
action is_in
entity Q127724
action find
entity Q684379
relation P2175
[ANSWER]
['Q684379', 'P2175', 'Q127724']
ASK WHERE { resource:Q684379 property:P2175 resource:Q127724 }
Yes
action is_in
entity cataract
action find
entity nepafenac
relation medical condition treated
['nepafenac', 'medical condition treated', 'cataract']
ASK WHERE { resource:nepafenac property:medical_condition_treated resource:cataract }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q912766
P828
Q15831576 Q1190554 Q2057971
USER
How many health problems are caused by around the same number of fundamental state of matters or events as postcholecystectomy syndrome ?
(c(Q2057971),P828,c(Q15831576)|c(Q1190554))
action count
action approx
action union
action find_tuple_counts
relation P828
type Q2057971
type Q15831576
action find_tuple_counts
relation P828
type Q2057971
type Q1190554
action count
action filter_multi_types
action find
entity Q912766
relation P828
type Q15831576
type Q1190554
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q15831576'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?c WHERE { { ?c rdf:type ontology:Q2057971 . ?e rdf:type ontology:Q15831576 . ?c property:P828 ?e } UNION { ?c rdf:type ontology:Q2057971 . ?e rdf:type ontology:Q1190554 . ?c property:P828 ?e } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Q912766 property:P828 ?u . { { ?u rdf:type ontology:Q15831576 } UNION { ?u rdf:type ontology:Q1190554 } } } } . FILTER ( ?k = ?p ) }
postcholecystectomy syndrome
action count
action approx
action union
action find_tuple_counts
relation has cause
type health problem
type fundamental state of matter
action find_tuple_counts
relation has cause
type health problem
type event
action count
action filter_multi_types
action find
entity postcholecystectomy syndrome
relation has cause
type fundamental state of matter
type event
[{'concept': 'health problem'}, 'has cause', [{'concept': 'fundamental state of matter'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?c WHERE { { ?c rdf:type ontology:health_problem . ?e rdf:type ontology:fundamental_state_of_matter . ?c property:has_cause ?e } UNION { ?c rdf:type ontology:health_problem . ?e rdf:type ontology:event . ?c property:has_cause ?e } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:postcholecystectomy_syndrome property:has_cause ?u . { { ?u rdf:type ontology:fundamental_state_of_matter } UNION { ?u rdf:type ontology:event } } } } . FILTER ( ?k = ?p ) }
[]
fundamental state of matter event health problem
SYSTEM
345
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 Q127724 Q18554757 Q19972185 Q201989 Q18555052 Q2373700 Q12156 Q47790 Q5038165 Q7235947 Q4803677 Q18553273 Q1097957 Q18553274 Q3153686 Q193216 Q30953 Q16831900 Q124604 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 Q18558102 Q4118581 Q160653 Q243257 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 Q14375936 Q1030785 Q18553286 Q26695958 Q153861 Q5334259 Q327298 Q9376235 Q1878776 Q5319350 Q17126040 Q18554258 Q7834208 Q5609501 Q379418 Q18558134 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(Q15831576)|c(Q1190554))
action count
action approx
action union
action find_tuple_counts
relation P828
type Q2057971
type Q15831576
action find_tuple_counts
relation P828
type Q2057971
type Q1190554
action count
action filter_multi_types
action find
entity Q912766
relation P828
type Q15831576
type Q1190554
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q15831576'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?c WHERE { { ?c rdf:type ontology:Q2057971 . ?e rdf:type ontology:Q15831576 . ?c property:P828 ?e } UNION { ?c rdf:type ontology:Q2057971 . ?e rdf:type ontology:Q1190554 . ?c property:P828 ?e } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Q912766 property:P828 ?u . { { ?u rdf:type ontology:Q15831576 } UNION { ?u rdf:type ontology:Q1190554 } } } } . FILTER ( ?k = ?p ) }
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 cataract 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 portal hypertension 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 monieziasis necatoriasis listeriosis chikungunya 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 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 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
345
action count
action approx
action union
action find_tuple_counts
relation has cause
type health problem
type fundamental state of matter
action find_tuple_counts
relation has cause
type health problem
type event
action count
action filter_multi_types
action find
entity postcholecystectomy syndrome
relation has cause
type fundamental state of matter
type event
[{'concept': 'health problem'}, 'has cause', [{'concept': 'fundamental state of matter'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?c WHERE { { ?c rdf:type ontology:health_problem . ?e rdf:type ontology:fundamental_state_of_matter . ?c property:has_cause ?e } UNION { ?c rdf:type ontology:health_problem . ?e rdf:type ontology:event . ?c property:has_cause ?e } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:postcholecystectomy_syndrome property:has_cause ?u . { { ?u rdf:type ontology:fundamental_state_of_matter } UNION { ?u rdf:type ontology:event } } } } . FILTER ( ?k = ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12204
P2293
Q863908
USER
Which nucleic acid sequences are genetically linked with tuberculosis ?
(c(Q863908),P2293,Q12204)
action filter_type
action find
entity Q12204
relation P2293
type Q863908
[{'concept': 'Q863908'}, 'P2293', 'Q12204']
SELECT DISTINCT ?h WHERE { resource:Q12204 property:P2293 ?h . ?h rdf:type ontology:Q863908 }
tuberculosis
action filter_type
action find
entity tuberculosis
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'tuberculosis']
SELECT DISTINCT ?h WHERE { resource:tuberculosis property:genetic_association ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18027822 Q18037162 Q18046457
SYSTEM
IL2RB, ZFPM2, NAA60
Q18037162 Q18027822 Q18036707 Q18046457 Q18037839 Q18047505 Q18035367 Q18022927 Q18046243
(c(Q863908),P2293,Q12204)
action filter_type
action find
entity Q12204
relation P2293
type Q863908
[ANSWERS] are genetically linked with tuberculosis
[{'concept': 'Q863908'}, 'P2293', 'Q12204']
SELECT DISTINCT ?h WHERE { resource:Q12204 property:P2293 ?h . ?h rdf:type ontology:Q863908 }
ZFPM2 IL2RB VWA8 NAA60 C2CD2 DCUN1D5 SPON1 DSCAM DYNC2H1
IL2RB, ZFPM2 and NAA60 are genetically linked with tuberculosis
IL2RB ZFPM2 NAA60
action filter_type
action find
entity tuberculosis
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'tuberculosis']
SELECT DISTINCT ?h WHERE { resource:tuberculosis property:genetic_association ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18027822
P702
Q181394
USER
Which nutrient does IL2RB encode ?
(c(Q181394),P702,Q18027822)
action filter_type
action find_reverse
entity Q18027822
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q18027822']
SELECT DISTINCT ?j WHERE { ?j property:P702 resource:Q18027822 . ?j rdf:type ontology:Q181394 }
IL2RB
action filter_type
action find_reverse
entity IL2RB
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'IL2RB']
SELECT DISTINCT ?j WHERE { ?j property:encoded_by resource:IL2RB . ?j rdf:type ontology:nutrient }
[]
nutrient
Q21120631
SYSTEM
Interleukin-2 receptor subunit beta
Q21120631
(c(Q181394),P702,Q18027822)
action filter_type
action find_reverse
entity Q18027822
relation P702
type Q181394
IL2 RB encodes the [ANSWER]
[{'concept': 'Q181394'}, 'P702', 'Q18027822']
SELECT DISTINCT ?j WHERE { ?j property:P702 resource:Q18027822 . ?j rdf:type ontology:Q181394 }
Interleukin-2 receptor subunit beta
IL2 RB encodes the Interleukin-2 receptor subunit beta
Interleukin-2 receptor subunit beta
action filter_type
action find_reverse
entity IL2RB
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'IL2RB']
SELECT DISTINCT ?j WHERE { ?j property:encoded_by resource:IL2RB . ?j rdf:type ontology:nutrient }
[]