Simple Question (Direct)
Simple Question
Q6219838
P1196
Q1931388
USER
What manner did John Azary die ?
(Q6219838,P1196,c(Q1931388))
action filter_type
action find
entity Q6219838
relation P1196
type Q1931388
['Q6219838', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { resource:Q6219838 property:P1196 ?g . ?g rdf:type ontology:Q1931388 }
John Azary
action filter_type
action find
entity John Azary
relation manner of death
type cause of death
['John Azary', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { resource:John_Azary property:manner_of_death ?g . ?g rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q6219838,P1196,c(Q1931388))
action filter_type
action find
entity Q6219838
relation P1196
type Q1931388
John Azary died of [ANSWER]
['Q6219838', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { resource:Q6219838 property:P1196 ?g . ?g rdf:type ontology:Q1931388 }
natural causes
John Azary died of natural causes
natural causes
action filter_type
action find
entity John Azary
relation manner of death
type cause of death
['John Azary', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { resource:John_Azary property:manner_of_death ?g . ?g rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6219838
P509
Q2057971
USER
Which health problem was the cause of death of that person ?
(Q3739104,P509,c(Q2057971))
action filter_type
action find
entity Q6219838
relation P509
type Q2057971
['Q3739104', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q6219838 property:P509 ?h . ?h rdf:type ontology:Q2057971 }
John Azary
action filter_type
action find
entity John Azary
relation cause of death
type health problem
['natural causes', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:John_Azary property:cause_of_death ?h . ?h rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q3739104,P509,c(Q2057971))
action filter_type
action find
entity Q6219838
relation P509
type Q2057971
[ANSWER] was the cause of death of that person
['Q3739104', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q6219838 property:P509 ?h . ?h rdf:type ontology:Q2057971 }
myocardial infarction
Myocardial infarction was the cause of death of that person
myocardial infarction
action filter_type
action find
entity John Azary
relation cause of death
type health problem
['natural causes', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:John_Azary property:cause_of_death ?h . ?h rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3484614 Q6219838
P509
Q2057971
USER
Or Simone Silva?
OR((Q6219838,P509,c(Q2057971)), (Q3484614,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q6219838
relation P509
action find
entity Q3484614
relation P509
type Q2057971
{'OR': [['Q6219838', 'P509', {'concept': 'Q2057971'}], ['Q3484614', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?u WHERE { { ?p property:P509 ?u . VALUES ( ?p ) { ( resource:Q6219838 ) ( resource:Q3484614 ) } } . ?u rdf:type ontology:Q2057971 }
Simone Silva John Azary
action filter_type
action union
action find
entity John Azary
relation cause of death
action find
entity Simone Silva
relation cause of death
type health problem
{'OR': [['John Azary', 'cause of death', {'concept': 'health problem'}], ['Simone Silva', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?u WHERE { { ?p property:cause_of_death ?u . VALUES ( ?p ) { ( resource:John_Azary ) ( resource:Simone_Silva ) } } . ?u rdf:type ontology:health_problem }
[]
health problem
Q12152 Q12202
SYSTEM
myocardial infarction, stroke
Q12152 Q12202
OR((Q6219838,P509,c(Q2057971)), (Q3484614,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q6219838
relation P509
action find
entity Q3484614
relation P509
type Q2057971
[ANSWERS]
{'OR': [['Q6219838', 'P509', {'concept': 'Q2057971'}], ['Q3484614', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?u WHERE { { ?p property:P509 ?u . VALUES ( ?p ) { ( resource:Q6219838 ) ( resource:Q3484614 ) } } . ?u rdf:type ontology:Q2057971 }
myocardial infarction stroke
myocardial infarction stroke
action filter_type
action union
action find
entity John Azary
relation cause of death
action find
entity Simone Silva
relation cause of death
type health problem
{'OR': [['John Azary', 'cause of death', {'concept': 'health problem'}], ['Simone Silva', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?u WHERE { { ?p property:cause_of_death ?u . VALUES ( ?p ) { ( resource:John_Azary ) ( resource:Simone_Silva ) } } . ?u rdf:type ontology:health_problem }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q27301378
P509
Q502895
USER
Did Terence Tan Sian Chai have those health problems as the reason for fatality ?
(Q27301378,P509,Q12152) (Q27301378,P509,Q12202)
action is_in
entity prev_answer
action find
entity Q27301378
relation P509
['Q27301378', 'P509', 'Q12152'] ['Q27301378', 'P509', 'Q12202']
ASK WHERE { VALUES ( ?y ) { ( resource:Q12152 ) ( resource:Q12202 ) } . resource:Q27301378 property:P509 ?y }
Terence Tan Sian Chai
action is_in
entity prev_answer
action find
entity Terence Tan Sian Chai
relation cause of death
['Terence Tan Sian Chai', 'cause of death', 'myocardial infarction'] ['Terence Tan Sian Chai', 'cause of death', 'stroke']
ASK WHERE { VALUES ( ?y ) { ( resource:myocardial_infarction ) ( resource:stroke ) } . resource:Terence_Tan_Sian_Chai property:cause_of_death ?y }
[]
common name
SYSTEM
NO
(Q27301378,P509,Q12152) (Q27301378,P509,Q12202)
action is_in
entity prev_answer
action find
entity Q27301378
relation P509
[ANSWER]
['Q27301378', 'P509', 'Q12152'] ['Q27301378', 'P509', 'Q12202']
ASK WHERE { VALUES ( ?y ) { ( resource:Q12152 ) ( resource:Q12202 ) } . resource:Q27301378 property:P509 ?y }
No
action is_in
entity prev_answer
action find
entity Terence Tan Sian Chai
relation cause of death
['Terence Tan Sian Chai', 'cause of death', 'myocardial infarction'] ['Terence Tan Sian Chai', 'cause of death', 'stroke']
ASK WHERE { VALUES ( ?y ) { ( resource:myocardial_infarction ) ( resource:stroke ) } . resource:Terence_Tan_Sian_Chai property:cause_of_death ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12202 Q17832572
P2293
Q863908
USER
Does ZFHX3 have genetic connection with stroke ?
(Q12202,P2293,Q17832572)
action is_in
entity Q17832572
action find
entity Q12202
relation P2293
['Q12202', 'P2293', 'Q17832572']
ASK WHERE { resource:Q12202 property:P2293 resource:Q17832572 }
stroke ZFHX3
action is_in
entity ZFHX3
action find
entity stroke
relation genetic association
['stroke', 'genetic association', 'ZFHX3']
ASK WHERE { resource:stroke property:genetic_association resource:ZFHX3 }
[]
nucleic acid sequence
SYSTEM
YES
(Q12202,P2293,Q17832572)
action is_in
entity Q17832572
action find
entity Q12202
relation P2293
[ANSWER]
['Q12202', 'P2293', 'Q17832572']
ASK WHERE { resource:Q12202 property:P2293 resource:Q17832572 }
Yes
action is_in
entity ZFHX3
action find
entity stroke
relation genetic association
['stroke', 'genetic association', 'ZFHX3']
ASK WHERE { resource:stroke property:genetic_association resource:ZFHX3 }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6219838 Q5837518 Q61
P20
Q56061
USER
Does John Azary have Mohammadabad-e Tabatbayi and Washington, D.C. as place of death ?
(Q6219838,P20,Q5837518) (Q6219838,P20,Q61)
action is_in
entity Q6219838
action intersection
action find_reverse
entity Q5837518
relation P20
action find_reverse
entity Q61
relation P20
['Q6219838', 'P20', 'Q5837518'] ['Q6219838', 'P20', 'Q61']
ASK WHERE { resource:Q6219838 property:P20 resource:Q5837518 . resource:Q6219838 property:P20 resource:Q61 }
John Azary Mohammadabad-e Tabatbayi Washington, D.C.
action is_in
entity John Azary
action intersection
action find_reverse
entity Mohammadabad-e Tabatbayi
relation place of death
action find_reverse
entity Washington, D.C.
relation place of death
['John Azary', 'place of death', 'Mohammadabad-e Tabatbayi'] ['John Azary', 'place of death', 'Washington, D.C.']
ASK WHERE { resource:John_Azary property:place_of_death resource:Mohammadabad-e_Tabatbayi . resource:John_Azary property:place_of_death resource:Washington,_D.C. }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q6219838,P20,Q5837518) (Q6219838,P20,Q61)
action is_in
entity Q6219838
action intersection
action find_reverse
entity Q5837518
relation P20
action find_reverse
entity Q61
relation P20
[ANSWER]
['Q6219838', 'P20', 'Q5837518'] ['Q6219838', 'P20', 'Q61']
ASK WHERE { resource:Q6219838 property:P20 resource:Q5837518 . resource:Q6219838 property:P20 resource:Q61 }
NO and YES respectively
action is_in
entity John Azary
action intersection
action find_reverse
entity Mohammadabad-e Tabatbayi
relation place of death
action find_reverse
entity Washington, D.C.
relation place of death
['John Azary', 'place of death', 'Mohammadabad-e Tabatbayi'] ['John Azary', 'place of death', 'Washington, D.C.']
ASK WHERE { resource:John_Azary property:place_of_death resource:Mohammadabad-e_Tabatbayi . resource:John_Azary property:place_of_death resource:Washington,_D.C. }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q8005871 Q17832572
P509 P2293
Q2057971
USER
Which health problems have hereditary association with ZFHX3 or were the cause of death of William Brassington ?
OR((Q17832572,P2293,c(Q2057971)), (Q8005871,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q17832572
relation P2293
action find
entity Q8005871
relation P509
type Q2057971
{'OR': [['Q17832572', 'P2293', {'concept': 'Q2057971'}], ['Q8005871', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q17832572 property:P2293 ?a } UNION { resource:Q8005871 property:P509 ?a } } . ?a rdf:type ontology:Q2057971 }
William Brassington ZFHX3
action filter_type
action union
action find
entity ZFHX3
relation genetic association
action find
entity William Brassington
relation cause of death
type health problem
{'OR': [['ZFHX3', 'genetic association', {'concept': 'health problem'}], ['William Brassington', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?a WHERE { { { resource:ZFHX3 property:genetic_association ?a } UNION { resource:William_Brassington property:cause_of_death ?a } } . ?a rdf:type ontology:health_problem }
[]
health problem
Q12202 Q1143025 Q844935 Q265936
SYSTEM
stroke, oral cavity cancer, coronary artery disease, Kawasaki disease
Q12202 Q1143025 Q844935 Q265936
OR((Q17832572,P2293,c(Q2057971)), (Q8005871,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q17832572
relation P2293
action find
entity Q8005871
relation P509
type Q2057971
[ANSWERS] have hereditary association with ZFHX3 or were the cause of death of William Brassington
{'OR': [['Q17832572', 'P2293', {'concept': 'Q2057971'}], ['Q8005871', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q17832572 property:P2293 ?a } UNION { resource:Q8005871 property:P509 ?a } } . ?a rdf:type ontology:Q2057971 }
stroke oral cavity cancer coronary artery disease Kawasaki disease
Stroke, oral cavity cancer, coronary artery disease and Kawasaki disease have hereditary association with ZFHX3 or were the cause of death of William Brassington
stroke oral cavity cancer coronary artery disease Kawasaki disease
action filter_type
action union
action find
entity ZFHX3
relation genetic association
action find
entity William Brassington
relation cause of death
type health problem
{'OR': [['ZFHX3', 'genetic association', {'concept': 'health problem'}], ['William Brassington', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?a WHERE { { { resource:ZFHX3 property:genetic_association ?a } UNION { resource:William_Brassington property:cause_of_death ?a } } . ?a rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q162555 Q17832572
P2293 P1995
Q2057971
USER
Which health problems are genetically correlated with ZFHX3 or have oncology as the associated medical speciality ?
OR((c(Q2057971),P2293,Q17832572), (c(Q2057971),P1995,Q162555))
action filter_type
action union
action find_reverse
entity Q17832572
relation P2293
action find_reverse
entity Q162555
relation P1995
type Q2057971
{'OR': [[{'concept': 'Q2057971'}, 'P2293', 'Q17832572'], [{'concept': 'Q2057971'}, 'P1995', 'Q162555']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P2293 resource:Q17832572 } UNION { ?s property:P1995 resource:Q162555 } } . ?s rdf:type ontology:Q2057971 }
oncology ZFHX3
action filter_type
action union
action find_reverse
entity ZFHX3
relation genetic association
action find_reverse
entity oncology
relation medical specialty
type health problem
{'OR': [[{'concept': 'health problem'}, 'genetic association', 'ZFHX3'], [{'concept': 'health problem'}, 'medical specialty', 'oncology']]}
SELECT DISTINCT ?s WHERE { { { ?s property:genetic_association resource:ZFHX3 } UNION { ?s property:medical_specialty resource:oncology } } . ?s rdf:type ontology:health_problem }
[]
health problem
Q556281 Q2030989 Q1607658 Q4139987 Q6931266 Q826522 Q938205 Q940874 Q180664 Q268713
SYSTEM
Some of them are uterine fibroid, heart cancer, hepatoblastoma, glomus tumor, mucosal melanoma, thyroid cancer, neuroblastoma, granular cell tumor, acute lymphocytic leukemia, mantle cell lymphoma
Q785827 Q372701 Q7577703 Q200741 Q1891209 Q500695 Q612108 Q631904 Q282142 Q189588 Q3542027 Q5446459 Q164952 Q861028 Q977787 Q1418735 Q1786513 Q7831293 Q2578247 Q1495661 Q1898104 Q1200267 Q1572384 Q1693598 Q201299 Q6523346 Q725345 Q623031 Q944777 Q1143025 Q1024546 Q7442319 Q6743513 Q1076053 Q4833719 Q112670 Q654485 Q17142640 Q5160447 Q1318384 Q1790134 Q160105 Q1072716 Q864296 Q1349259 Q1617386 Q484827 Q1393463 Q604075 Q4057495 Q844935 Q3242950 Q574694 Q192102 Q461857 Q1124606 Q1704531 Q180614 Q729735 Q123251 Q940874 Q2053690 Q7168876 Q356372 Q7239586 Q2072821 Q17106360 Q948318 Q536269 Q1898141 Q1076078 Q188874 Q6785569 Q954831 Q4781026 Q549534 Q374036 Q2090167 Q3085434 Q3144913 Q7169165 Q4139987 Q3281328 Q556281 Q870891 Q5156845 Q172341 Q4811532 Q1365309 Q548070 Q1752571 Q2031424 Q918285 Q181257 Q570875 Q4742183 Q826522 Q2033138 Q7455060 Q4677938 Q5474322 Q212961 Q504775 Q47912 Q5526839 Q177755 Q4000421 Q7315926 Q4930125 Q786852 Q5196687 Q3077016 Q591256 Q4667534 Q6901506 Q1410808 Q499857 Q1429863 Q1200237 Q3680952 Q881855 Q1504713 Q40301 Q264118 Q1750884 Q7799620 Q938205 Q623668 Q6823071 Q783644 Q1164529 Q272741 Q1369011 Q6742919 Q6931143 Q4851862 Q6931140 Q6708277 Q2064603 Q369157 Q459896 Q369148 Q1501239 Q16939433 Q12202 Q5201212 Q2420648 Q1783924 Q581592 Q4763273 Q1200239 Q1807522 Q128581 Q475260 Q1607658 Q4675038 Q2936213 Q6931266 Q1342955 Q265936 Q539681 Q2095252 Q7799755 Q268713 Q1362453 Q1077603 Q423965 Q180664 Q1711744 Q1076481 Q124292 Q3542031 Q2311457 Q2165399 Q33525 Q7098796 Q2030989 Q324464 Q17126784 Q1816041 Q3840916 Q1545750 Q756289 Q3347154
OR((c(Q2057971),P2293,Q17832572), (c(Q2057971),P1995,Q162555))
action filter_type
action union
action find_reverse
entity Q17832572
relation P2293
action find_reverse
entity Q162555
relation P1995
type Q2057971
[ANSWERS] are genetically correlated with ZFHX3 or have oncology as the associated medical speciality
{'OR': [[{'concept': 'Q2057971'}, 'P2293', 'Q17832572'], [{'concept': 'Q2057971'}, 'P1995', 'Q162555']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P2293 resource:Q17832572 } UNION { ?s property:P1995 resource:Q162555 } } . ?s rdf:type ontology:Q2057971 }
keratoacanthoma esophageal cancer spiradenoma teratoma mycosis fungoides retinoblastoma acute promyelocytic leukemia Atypical teratoid rhabdoid tumor glioblastoma multiforme stomach cancer Epithelioma Fibrocartilaginous mesenchymoma of bone malignant histiocytosis hemangioma gallbladder cancer neurofibroma craniopharyngioma trachea leiomyoma juvenile myelomonocytic leukemia gastrointestinal stromal tumor bone marrow cancer dermoid cyst mammary Paget's disease nasopharynx carcinoma hairy cell leukemia Lentigo maligna melanoma Kaposi's sarcoma liver cancer endometrial cancer oral cavity cancer Cancer of unknown primary origin sebaceous carcinoma skin pilomatrix carcinoma chondroblastoma B-cell lymphoma Mastocytosis malignant peripheral nerve sheath tumor Light chain deposition disease Congenital melanocytic nevus oligodendroglioma Krukenberg carcinoma cervical cancer mongolian spot pituitary adenoma Erdheim-Chester disease hidrocystoma anus cancer hypopharynx cancer multiple endocrine neoplasia type 2A parathyroid adenoma coronary artery disease kidney cancer pseudomyxoma peritonei skin cancer ameloblastoma ganglioneuroma pilomatrixoma melanoma chronic myeloid leukemia follicular lymphoma granular cell tumor Nevus of Ota Peritoneal mesothelioma uveal melanoma Precursor B-cell lymphoblastic leukemia capillary hemangioma Pineocytoma polycythemia vera phaeochromocytoma rhabdomyosarcoma chondroma colorectal cancer mast cell neoplasm prolactinoma appendix cancer osteosarcoma Langerhans cell histiocytosis plasmacytoma Pallister-Hall syndrome hemangiopericytoma Perlman syndrome glomus tumor heavy chain disease uterine fibroid linitis plastica Compound nevus ovarian cancer astroblastoma glioma lobular neoplasia myelofibrosis oropharynx cancer adrenocortical carcinoma prostate cancer in situ pulmonary adenocarcinoma amelanotic melanoma thyroid cancer angiokeratoma serous cystadenocarcinoma acute monocytic leukemia sex cord-gonadal stromal tumor pancreatic cancer urinary bladder cancer lung cancer gastrointestinal system cancer astrocytoma Sertoli cell tumor respiratory system cancer Blue nevus gastrinoma cutaneous T cell lymphoma Extramammary Paget's disease MALT lymphoma leiomyoma monocytic leukemia Fibroadenoma Hibernoma thymoma sclerosing hemangioma myeloid sarcoma gestational trophoblastic neoplasm leiomyosarcoma parathyroid carcinoma acute myeloid leukemia Pancoast tumor thymic carcinoma neuroblastoma choroid plexus papilloma metanephric adenoma Lynch syndrome renal cell carcinoma adenoma Familial adenomatous polyposis Male breast cancer Mucinous cystadenoma Balloon cell nevus mucinous cystadenocarcinoma lymphoid leukemia pleomorphic adenoma meningioma cystic lymphangioma neurilemmoma insulinoma Junctional nevus stroke cystic nephroma ocular cancer head and neck cancer paraganglioma angiolipoma dermatofibrosarcoma protuberans vaginal cancer breast cancer Klatskin's tumor hepatoblastoma acral lentiginous melanoma duodenum cancer mucosal melanoma penile cancer Kawasaki disease angiomyolipoma pilocytic astrocytoma thyroid lymphoma mantle cell lymphoma fibrosarcoma malignant mesothelioma Vestibular schwannoma acute lymphocytic leukemia Merkel cell carcinoma choriocarcinoma cholangiocarcinoma small intestine cancer Spitz nevus Sezary's disease carcinoma optic nerve glioma heart cancer Testicular cancer Hodgkin's lymphoma, nodular sclerosis peritoneal carcinoma luteoma Lymphangioma nephroblastoma multiple endocrine neoplasia type 1
Uterine fibroid, heart cancer, hepatoblastoma, glomus tumor, mucosal melanoma, thyroid cancer, neuroblastoma, granular cell tumor, acute lymphocytic leukemia and mantle cell lymphoma are genetically correlated with ZFHX3 or have oncology as the associated medical speciality
uterine fibroid heart cancer hepatoblastoma glomus tumor mucosal melanoma thyroid cancer neuroblastoma granular cell tumor acute lymphocytic leukemia mantle cell lymphoma
action filter_type
action union
action find_reverse
entity ZFHX3
relation genetic association
action find_reverse
entity oncology
relation medical specialty
type health problem
{'OR': [[{'concept': 'health problem'}, 'genetic association', 'ZFHX3'], [{'concept': 'health problem'}, 'medical specialty', 'oncology']]}
SELECT DISTINCT ?s WHERE { { { ?s property:genetic_association resource:ZFHX3 } UNION { ?s property:medical_specialty resource:oncology } } . ?s rdf:type ontology:health_problem }
[]