Simple Question (Direct)
Simple Question
Q1370748
P19
Q56061
USER
Which administrative territory was Paul Mitchell born in ?
(Q1370748,P19,c(Q56061))
action filter_type
action find
entity Q1370748
relation P19
type Q56061
['Q1370748', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1370748 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Paul Mitchell
action filter_type
action find
entity Paul Mitchell
relation place of birth
type administrative territorial entity
['Paul Mitchell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Paul_Mitchell property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1011368
SYSTEM
Carnwath
Q1011368
(Q1370748,P19,c(Q56061))
action filter_type
action find
entity Q1370748
relation P19
type Q56061
Paul Mitchell was born in [ANSWER]
['Q1370748', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1370748 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Carnwath
Paul Mitchell was born in Carnwath
Carnwath
action filter_type
action find
entity Paul Mitchell
relation place of birth
type administrative territorial entity
['Paul Mitchell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Paul_Mitchell property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1370748
P1196
Q1931388
USER
What manner did Paul Mitchell die ?
(Q1370748,P1196,c(Q1931388))
action filter_type
action find
entity Q1370748
relation P1196
type Q1931388
['Q1370748', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { resource:Q1370748 property:P1196 ?w . ?w rdf:type ontology:Q1931388 }
Paul Mitchell
action filter_type
action find
entity Paul Mitchell
relation manner of death
type cause of death
['Paul Mitchell', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Mitchell property:manner_of_death ?w . ?w rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1370748,P1196,c(Q1931388))
action filter_type
action find
entity Q1370748
relation P1196
type Q1931388
Paul Mitchell died in [ANSWER]
['Q1370748', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { resource:Q1370748 property:P1196 ?w . ?w rdf:type ontology:Q1931388 }
natural causes
Paul Mitchell died in natural causes
natural causes
action filter_type
action find
entity Paul Mitchell
relation manner of death
type cause of death
['Paul Mitchell', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Mitchell property:manner_of_death ?w . ?w rdf:type ontology:cause_of_death }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2629972
Q1931388
USER
And also tell me about Marguerite Clark?
(Q2629972,P1196,c(Q1931388))
action filter_type
action find
entity Q2629972
relation P1196
type Q1931388
['Q2629972', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { resource:Q2629972 property:P1196 ?o . ?o rdf:type ontology:Q1931388 }
Marguerite Clark
action filter_type
action find
entity Marguerite Clark
relation manner of death
type cause of death
['Marguerite Clark', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { resource:Marguerite_Clark property:manner_of_death ?o . ?o rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q2629972,P1196,c(Q1931388))
action filter_type
action find
entity Q2629972
relation P1196
type Q1931388
[ANSWER]
['Q2629972', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { resource:Q2629972 property:P1196 ?o . ?o rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action find
entity Marguerite Clark
relation manner of death
type cause of death
['Marguerite Clark', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { resource:Marguerite_Clark property:manner_of_death ?o . ?o rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1370748
P509
Q2057971
USER
Which health problem was the cause of death of Paul Mitchell ?
(Q1370748,P509,c(Q2057971))
action filter_type
action find
entity Q1370748
relation P509
type Q2057971
['Q1370748', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q2057971 . resource:Q1370748 property:P509 ?d }
Paul Mitchell
action filter_type
action find
entity Paul Mitchell
relation cause of death
type health problem
['Paul Mitchell', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:health_problem . resource:Paul_Mitchell property:cause_of_death ?d }
[]
health problem
Q212961
SYSTEM
pancreatic cancer
Q212961
(Q1370748,P509,c(Q2057971))
action filter_type
action find
entity Q1370748
relation P509
type Q2057971
Cancer [ANSWER] was the cause of death of Paul Mitchell
['Q1370748', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q2057971 . resource:Q1370748 property:P509 ?d }
pancreatic cancer
Cancer pancreatic cancer was the cause of death of Paul Mitchell
pancreatic cancer
action filter_type
action find
entity Paul Mitchell
relation cause of death
type health problem
['Paul Mitchell', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:health_problem . resource:Paul_Mitchell property:cause_of_death ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5233971
Q2057971
USER
And how about David Gaiman?
(Q5233971,P509,c(Q2057971))
action filter_type
action find
entity Q5233971
relation P509
type Q2057971
['Q5233971', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { resource:Q5233971 property:P509 ?g . ?g rdf:type ontology:Q2057971 }
David Gaiman
action filter_type
action find
entity David Gaiman
relation cause of death
type health problem
['David Gaiman', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { resource:David_Gaiman property:cause_of_death ?g . ?g rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q5233971,P509,c(Q2057971))
action filter_type
action find
entity Q5233971
relation P509
type Q2057971
[ANSWER]
['Q5233971', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { resource:Q5233971 property:P509 ?g . ?g rdf:type ontology:Q2057971 }
myocardial infarction
myocardial infarction
action filter_type
action find
entity David Gaiman
relation cause of death
type health problem
['David Gaiman', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { resource:David_Gaiman property:cause_of_death ?g . ?g rdf:type ontology:health_problem }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q12152 Q730978
P509
Q502895
USER
Did Gérard Calvet have that health problem as the cause of death ?
(Q730978,P509,Q12152)
action is_in
entity Q12152
action find
entity Q730978
relation P509
['Q730978', 'P509', 'Q12152']
ASK WHERE { resource:Q730978 property:P509 resource:Q12152 }
myocardial infarction Gérard Calvet
action is_in
entity myocardial infarction
action find
entity Gérard Calvet
relation cause of death
['Gérard Calvet', 'cause of death', 'myocardial infarction']
ASK WHERE { resource:Gérard_Calvet property:cause_of_death resource:myocardial_infarction }
[]
common name
SYSTEM
YES
(Q730978,P509,Q12152)
action is_in
entity Q12152
action find
entity Q730978
relation P509
[ANSWER]
['Q730978', 'P509', 'Q12152']
ASK WHERE { resource:Q730978 property:P509 resource:Q12152 }
Yes
action is_in
entity myocardial infarction
action find
entity Gérard Calvet
relation cause of death
['Gérard Calvet', 'cause of death', 'myocardial infarction']
ASK WHERE { resource:Gérard_Calvet property:cause_of_death resource:myocardial_infarction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212961
P2176
Q8386
USER
Which drugs are used to cure pancreatic cancer ?
(Q212961,P2176,c(Q8386))
action filter_type
action find
entity Q212961
relation P2176
type Q8386
['Q212961', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?a WHERE { resource:Q212961 property:P2176 ?a . ?a rdf:type ontology:Q8386 }
pancreatic cancer
action filter_type
action find
entity pancreatic cancer
relation drug used for treatment
type drug
['pancreatic cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?a WHERE { resource:pancreatic_cancer property:drug_used_for_treatment ?a . ?a rdf:type ontology:drug }
[]
drug
Q7739 Q421052 Q413299
SYSTEM
Arsenic trioxide, Everolimus, Bevacizumab
Q419940 Q3891664 Q20801757 Q412197 Q412178 Q4567614 Q420207 Q418560 Q257331 Q421052 Q238512 Q417775 Q905901 Q419935 Q413299 Q2459042 Q416451 Q7914515 Q13896859 Q420436 Q240642 Q7739 Q1187179 Q423762
(Q212961,P2176,c(Q8386))
action filter_type
action find
entity Q212961
relation P2176
type Q8386
[ANSWERS] are used to cure pancreatic cancer
['Q212961', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?a WHERE { resource:Q212961 property:P2176 ?a . ?a rdf:type ontology:Q8386 }
dasatinib regorafenib Secretin irinotecan tamoxifen mycophenolate mofetil capecitabine ifosfamide Streptozocin Everolimus 5-fluorouracil Panitumumab vorinostat Octreotide Bevacizumab Ipilimumab azacitidine vandetanib Pembrolizumab docetaxel valproic acid Arsenic trioxide Denileukin diftitox Paclitaxel
Arsenic trioxide, Everolimus and Bevacizumab are used to cure pancreatic cancer
Arsenic trioxide Everolimus Bevacizumab
action filter_type
action find
entity pancreatic cancer
relation drug used for treatment
type drug
['pancreatic cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?a WHERE { resource:pancreatic_cancer property:drug_used_for_treatment ?a . ?a rdf:type ontology:drug }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7739 Q421052 Q413299
P2176
Q2057971
USER
Which health problems require Arsenic trioxide, Everolimus and Bevacizumab to be prescribed ?
(c(Q2057971),P2176,Q7739) (c(Q2057971),P2176,Q421052) (c(Q2057971),P2176,Q413299)
action union
action filter_type
action find_reverse
entity Q7739
relation P2176
type Q2057971
action filter_type
action find_reverse
entity Q421052
relation P2176
type Q2057971
action filter_type
action find_reverse
entity Q413299
relation P2176
type Q2057971
[{'concept': 'Q2057971'}, 'P2176', 'Q7739'] [{'concept': 'Q2057971'}, 'P2176', 'Q421052'] [{'concept': 'Q2057971'}, 'P2176', 'Q413299']
SELECT DISTINCT ?w WHERE { VALUES ( ?z ) { ( resource:Q7739 ) ( resource:Q421052 ) } . ?w property:P2176 ?z }
Arsenic trioxide Everolimus Bevacizumab
action union
action filter_type
action find_reverse
entity Arsenic trioxide
relation drug used for treatment
type health problem
action filter_type
action find_reverse
entity Everolimus
relation drug used for treatment
type health problem
action filter_type
action find_reverse
entity Bevacizumab
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', 'Arsenic trioxide'] [{'concept': 'health problem'}, 'drug used for treatment', 'Everolimus'] [{'concept': 'health problem'}, 'drug used for treatment', 'Bevacizumab']
SELECT DISTINCT ?w WHERE { VALUES ( ?z ) { ( resource:Arsenic_trioxide ) ( resource:Everolimus ) } . ?w property:drug_used_for_treatment ?z }
[]
health problem
Q128581 Q128581 Q181257
SYSTEM
prostate cancer for 3rd, breast cancer for 1st, 2nd
Q29496 Q612108 Q729735 Q18556113 Q212961 Q18555222 Q1485 Q264118 Q18556933 Q1054718 Q18556510 Q18556131 Q1501239 Q1981276 Q189588 Q549534 Q124292 Q18975788 Q18556932 Q18556020 Q18556612 Q208414 Q18556113 Q18555143 Q18975905 Q112670 Q33525 Q181257 Q18554460 Q212961 Q372701 Q18555233 Q18555222 Q19000544 Q128581 Q1544989 Q18557394 Q1076087 Q1783924 Q725345 Q154869 Q1362721 Q18555280 Q1878759 Q264118 Q18556331 Q1862972 Q467635 Q18975788 Q18556932 Q18556020 Q18554884 Q18556612 Q166019 Q172341 Q18556113 Q18975905 Q654485 Q33525 Q18554460 Q1266519 Q212961 Q372701 Q18555233 Q776881 Q18555222 Q830308 Q2290446 Q18975031 Q19000544 Q128581 Q1752571 Q18557394 Q180614 Q1783924 Q725345 Q18555280 Q159701 Q954625 Q550455 Q631361 Q1088156 Q3041498
(c(Q2057971),P2176,Q7739) (c(Q2057971),P2176,Q421052) (c(Q2057971),P2176,Q413299)
action union
action filter_type
action find_reverse
entity Q7739
relation P2176
type Q2057971
action filter_type
action find_reverse
entity Q421052
relation P2176
type Q2057971
action filter_type
action find_reverse
entity Q413299
relation P2176
type Q2057971
[ANSWERS]
[{'concept': 'Q2057971'}, 'P2176', 'Q7739'] [{'concept': 'Q2057971'}, 'P2176', 'Q421052'] [{'concept': 'Q2057971'}, 'P2176', 'Q413299']
SELECT DISTINCT ?w WHERE { VALUES ( ?z ) { ( resource:Q7739 ) ( resource:Q421052 ) } . ?w property:P2176 ?z }
leukemia acute promyelocytic leukemia chronic myeloid leukemia non-small cell lung carcinoma pancreatic cancer endometrial carcinoma systemic lupus erythematosus acute myeloid leukemia cribriform carcinoma kidney disease salivary gland adenoid cystic carcinoma thyroid carcinoma insulinoma neuroendocrine tumor stomach cancer osteosarcoma cholangiocarcinoma spindle cell sarcoma large intestine cancer lung benign neoplasm mixed glioma lymphoma non-small cell lung carcinoma benign mesothelioma collecting duct carcinoma Mastocytosis carcinoma prostate cancer brain cancer pancreatic cancer esophageal cancer cervix carcinoma endometrial carcinoma lung small cell carcinoma breast cancer Peutz-Jeghers syndrome embryonal cancer chondrosarcoma head and neck cancer Kaposi's sarcoma hepatitis C tuberous sclerosis giant cell glioblastoma lymphangioleiomyomatosis acute myeloid leukemia cystoid macular edema pterygium multiple myeloma spindle cell sarcoma large intestine cancer lung benign neoplasm retinal vein occlusion mixed glioma bleeding ovarian cancer non-small cell lung carcinoma collecting duct carcinoma malignant peripheral nerve sheath tumor carcinoma brain cancer corneal neovascularization pancreatic cancer esophageal cancer cervix carcinoma Hereditary hemorrhagic telangiectasia endometrial carcinoma age related macular degeneration idiopathic pulmonary fibrosis basal cell carcinoma lung small cell carcinoma breast cancer myelofibrosis embryonal cancer melanoma head and neck cancer Kaposi's sarcoma giant cell glioblastoma glaucoma myelodysplastic syndrome retinal disease diabetic retinopathy chronic lymphocytic leukemia eye disease
Breast cancer, breast cancer and prostate cancer require Arsenic trioxide, Everolimus and Bevacizumab to be prescribed
breast cancer breast cancer prostate cancer
action union
action filter_type
action find_reverse
entity Arsenic trioxide
relation drug used for treatment
type health problem
action filter_type
action find_reverse
entity Everolimus
relation drug used for treatment
type health problem
action filter_type
action find_reverse
entity Bevacizumab
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', 'Arsenic trioxide'] [{'concept': 'health problem'}, 'drug used for treatment', 'Everolimus'] [{'concept': 'health problem'}, 'drug used for treatment', 'Bevacizumab']
SELECT DISTINCT ?w WHERE { VALUES ( ?z ) { ( resource:Arsenic_trioxide ) ( resource:Everolimus ) } . ?w property:drug_used_for_treatment ?z }
[]