Simple Question (Direct)
Simple Question
Q1543279
P509
Q2057971
USER
Which health problem was the cause of death of Granville Henderson Oury ?
(Q1543279,P509,c(Q2057971))
action filter_type
action find
entity Q1543279
relation P509
type Q2057971
['Q1543279', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { resource:Q1543279 property:P509 ?a . ?a rdf:type ontology:Q2057971 }
Granville Henderson Oury
action filter_type
action find
entity Granville Henderson Oury
relation cause of death
type health problem
['Granville Henderson Oury', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { resource:Granville_Henderson_Oury property:cause_of_death ?a . ?a rdf:type ontology:health_problem }
[]
health problem
Q372701
SYSTEM
esophageal cancer
Q372701
(Q1543279,P509,c(Q2057971))
action filter_type
action find
entity Q1543279
relation P509
type Q2057971
Cancer [ANSWER] was the cause of death of Granville Henderson Oury
['Q1543279', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { resource:Q1543279 property:P509 ?a . ?a rdf:type ontology:Q2057971 }
esophageal cancer
Cancer esophageal cancer was the cause of death of Granville Henderson Oury
esophageal cancer
action filter_type
action find
entity Granville Henderson Oury
relation cause of death
type health problem
['Granville Henderson Oury', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { resource:Granville_Henderson_Oury property:cause_of_death ?a . ?a rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1543279
P241
Q781132
USER
Which military branch is Granville Henderson Oury affiliated to ?
(Q1543279,P241,c(Q781132))
action filter_type
action find
entity Q1543279
relation P241
type Q781132
['Q1543279', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?j WHERE { resource:Q1543279 property:P241 ?j . ?j rdf:type ontology:Q781132 }
Granville Henderson Oury
action filter_type
action find
entity Granville Henderson Oury
relation military branch
type military branch
['Granville Henderson Oury', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?j WHERE { resource:Granville_Henderson_Oury property:military_branch ?j . ?j rdf:type ontology:military_branch }
[]
military branch
Q1125021
SYSTEM
Confederate States Army
Q1125021
(Q1543279,P241,c(Q781132))
action filter_type
action find
entity Q1543279
relation P241
type Q781132
Granville Henderson Oury is affiliated with [ANSWER]
['Q1543279', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?j WHERE { resource:Q1543279 property:P241 ?j . ?j rdf:type ontology:Q781132 }
Confederate States Army
Granville Henderson Oury is affiliated with Confederate States Army
Confederate States Army
action filter_type
action find
entity Granville Henderson Oury
relation military branch
type military branch
['Granville Henderson Oury', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?j WHERE { resource:Granville_Henderson_Oury property:military_branch ?j . ?j rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1543279
P1196
Q1931388
USER
What situation did Granville Henderson Oury die in ?
(Q1543279,P1196,c(Q1931388))
action filter_type
action find
entity Q1543279
relation P1196
type Q1931388
['Q1543279', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { resource:Q1543279 property:P1196 ?g . ?g rdf:type ontology:Q1931388 }
Granville Henderson Oury
action filter_type
action find
entity Granville Henderson Oury
relation manner of death
type cause of death
['Granville Henderson Oury', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { resource:Granville_Henderson_Oury property:manner_of_death ?g . ?g rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1543279,P1196,c(Q1931388))
action filter_type
action find
entity Q1543279
relation P1196
type Q1931388
Granville Henderson Oury died of [ANSWER]
['Q1543279', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { resource:Q1543279 property:P1196 ?g . ?g rdf:type ontology:Q1931388 }
natural causes
Granville Henderson Oury died of natural causes
natural causes
action filter_type
action find
entity Granville Henderson Oury
relation manner of death
type cause of death
['Granville Henderson Oury', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { resource:Granville_Henderson_Oury property:manner_of_death ?g . ?g rdf:type ontology:cause_of_death }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6387845
Q1931388
USER
And how about Ken Hutcherson?
(Q6387845,P1196,c(Q1931388))
action filter_type
action find
entity Q6387845
relation P1196
type Q1931388
['Q6387845', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?r WHERE { resource:Q6387845 property:P1196 ?r . ?r rdf:type ontology:Q1931388 }
Ken Hutcherson
action filter_type
action find
entity Ken Hutcherson
relation manner of death
type cause of death
['Ken Hutcherson', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?r WHERE { resource:Ken_Hutcherson property:manner_of_death ?r . ?r rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q6387845,P1196,c(Q1931388))
action filter_type
action find
entity Q6387845
relation P1196
type Q1931388
[ANSWER]
['Q6387845', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?r WHERE { resource:Q6387845 property:P1196 ?r . ?r rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action find
entity Ken Hutcherson
relation manner of death
type cause of death
['Ken Hutcherson', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?r WHERE { resource:Ken_Hutcherson property:manner_of_death ?r . ?r rdf:type ontology:cause_of_death }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3101801 Q6387845
P509
Q2057971
USER
Which health problems were the cause of death of Ken Hutcherson and George M. O'Brien ?
AND((Q6387845,P509,c(Q2057971)), (Q3101801,P509,c(Q2057971)))
action filter_type
action intersection
action find
entity Q6387845
relation P509
action find
entity Q3101801
relation P509
type Q2057971
{'AND': [['Q6387845', 'P509', {'concept': 'Q2057971'}], ['Q3101801', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?j WHERE { resource:Q6387845 property:P509 ?j . resource:Q3101801 property:P509 ?j . ?j rdf:type ontology:Q2057971 }
George M. O'Brien Ken Hutcherson
action filter_type
action intersection
action find
entity Ken Hutcherson
relation cause of death
action find
entity George M. O'Brien
relation cause of death
type health problem
{'AND': [['Ken Hutcherson', 'cause of death', {'concept': 'health problem'}], ["George M. O'Brien", 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?j WHERE { resource:Ken_Hutcherson property:cause_of_death ?j . resource:George_M._O'Brien property:cause_of_death ?j . ?j rdf:type ontology:health_problem }
[]
health problem
Q181257
SYSTEM
prostate cancer
Q181257
AND((Q6387845,P509,c(Q2057971)), (Q3101801,P509,c(Q2057971)))
action filter_type
action intersection
action find
entity Q6387845
relation P509
action find
entity Q3101801
relation P509
type Q2057971
Cancer [ANSWER] was the cause of death of Ken Hutcherson and George M. O'Brien
{'AND': [['Q6387845', 'P509', {'concept': 'Q2057971'}], ['Q3101801', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?j WHERE { resource:Q6387845 property:P509 ?j . resource:Q3101801 property:P509 ?j . ?j rdf:type ontology:Q2057971 }
prostate cancer
Cancer prostate cancer was the cause of death of Ken Hutcherson and George M. O'Brien
prostate cancer
action filter_type
action intersection
action find
entity Ken Hutcherson
relation cause of death
action find
entity George M. O'Brien
relation cause of death
type health problem
{'AND': [['Ken Hutcherson', 'cause of death', {'concept': 'health problem'}], ["George M. O'Brien", 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?j WHERE { resource:Ken_Hutcherson property:cause_of_death ?j . resource:George_M._O'Brien property:cause_of_death ?j . ?j rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P2176
Q79529 Q965478
USER
How many chemical substances and unsaturated hydrocarbons are prescribed for that health problem ?
(Q181257,P2176,c(Q79529)) (Q181257,P2176,c(Q965478)) (Q181257,P2176,c(Q79529)) (Q181257,P2176,c(Q965478))
action count
action union
action filter_type
action find
entity Q181257
relation P2176
type Q79529
action filter_type
action find
entity Q181257
relation P2176
type Q965478
['Q181257', 'P2176', {'concept': 'Q79529'}] ['Q181257', 'P2176', {'concept': 'Q965478'}] ['Q181257', 'P2176', {'concept': 'Q79529'}] ['Q181257', 'P2176', {'concept': 'Q965478'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { VALUES ( ?u ) { ( ontology:Q79529 ) ( ontology:Q965478 ) } . ?l rdf:type ?u }
action count
action union
action filter_type
action find
entity prostate cancer
relation drug used for treatment
type chemical substance
action filter_type
action find
entity prostate cancer
relation drug used for treatment
type unsaturated hydrocarbon
['prostate cancer', 'drug used for treatment', {'concept': 'chemical substance'}] ['prostate cancer', 'drug used for treatment', {'concept': 'unsaturated hydrocarbon'}] ['prostate cancer', 'drug used for treatment', {'concept': 'chemical substance'}] ['prostate cancer', 'drug used for treatment', {'concept': 'unsaturated hydrocarbon'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { VALUES ( ?u ) { ( ontology:chemical_substance ) ( ontology:unsaturated_hydrocarbon ) } . ?l rdf:type ?u }
[]
chemical substance unsaturated hydrocarbon
SYSTEM
2 chemical substances and 1 unsaturated hydrocarbons
Q415563 Q410174 Q4347890
(Q181257,P2176,c(Q79529)) (Q181257,P2176,c(Q965478)) (Q181257,P2176,c(Q79529)) (Q181257,P2176,c(Q965478))
action count
action union
action filter_type
action find
entity Q181257
relation P2176
type Q79529
action filter_type
action find
entity Q181257
relation P2176
type Q965478
[ANSWER]
['Q181257', 'P2176', {'concept': 'Q79529'}] ['Q181257', 'P2176', {'concept': 'Q965478'}] ['Q181257', 'P2176', {'concept': 'Q79529'}] ['Q181257', 'P2176', {'concept': 'Q965478'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { VALUES ( ?u ) { ( ontology:Q79529 ) ( ontology:Q965478 ) } . ?l rdf:type ?u }
Ethinyl Estradiol lithium carbonate sodium valproate
2 chemical substances and 1 unsaturated hydrocarbons
action count
action union
action filter_type
action find
entity prostate cancer
relation drug used for treatment
type chemical substance
action filter_type
action find
entity prostate cancer
relation drug used for treatment
type unsaturated hydrocarbon
['prostate cancer', 'drug used for treatment', {'concept': 'chemical substance'}] ['prostate cancer', 'drug used for treatment', {'concept': 'unsaturated hydrocarbon'}] ['prostate cancer', 'drug used for treatment', {'concept': 'chemical substance'}] ['prostate cancer', 'drug used for treatment', {'concept': 'unsaturated hydrocarbon'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { VALUES ( ?u ) { ( ontology:chemical_substance ) ( ontology:unsaturated_hydrocarbon ) } . ?l rdf:type ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181257
P1995
Q1047113
USER
What is the medical speciality of that health problem ?
action filter_type
action find
entity Q181257
relation P1995
type Q1047113
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1047113 . resource:Q181257 property:P1995 ?g }
prostate cancer
action filter_type
action find
entity prostate cancer
relation medical specialty
type special field
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:special_field . resource:prostate_cancer property:medical_specialty ?g }
[]
special field
Q162555
SYSTEM
oncology
Q162555
action filter_type
action find
entity Q181257
relation P1995
type Q1047113
The medical speciality of that health problem is the [ANSWER]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1047113 . resource:Q181257 property:P1995 ?g }
oncology
The medical speciality of that health problem is the oncology
oncology
action filter_type
action find
entity prostate cancer
relation medical specialty
type special field
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:special_field . resource:prostate_cancer property:medical_specialty ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q372701
P2176
Q8386
USER
How many drugs are prescribed for esophageal cancer ?
(Q372701,P2176,c(Q8386))
action count
action filter_type
action find
entity Q372701
relation P2176
type Q8386
['Q372701', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:Q8386 . resource:Q372701 property:P2176 ?j }
esophageal cancer
action count
action filter_type
action find
entity esophageal cancer
relation drug used for treatment
type drug
['esophageal cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:drug . resource:esophageal_cancer property:drug_used_for_treatment ?j }
[]
drug
SYSTEM
9
Q413299 Q412415 Q420207 Q422232 Q417824 Q421052 Q415588 Q420296 Q423762
(Q372701,P2176,c(Q8386))
action count
action filter_type
action find
entity Q372701
relation P2176
type Q8386
[ANSWER]
['Q372701', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:Q8386 . resource:Q372701 property:P2176 ?j }
Bevacizumab cisplatin capecitabine methotrexate gefitinib Everolimus Carboplatin Cetuximab Paclitaxel
9
action count
action filter_type
action find
entity esophageal cancer
relation drug used for treatment
type drug
['esophageal cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:drug . resource:esophageal_cancer property:drug_used_for_treatment ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q372701
P2293
Q863908
USER
Which nucleic acid sequences are herditarily associated with that health problem ?
action filter_type
action find
entity Q372701
relation P2293
type Q863908
SELECT DISTINCT ?h WHERE { resource:Q372701 property:P2293 ?h . ?h rdf:type ontology:Q863908 }
esophageal cancer
action filter_type
action find
entity esophageal cancer
relation genetic association
type nucleic acid sequence
SELECT DISTINCT ?h WHERE { resource:esophageal_cancer property:genetic_association ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18030409 Q18040087 Q5048388
SYSTEM
PDE4D, PLCE1, CSNK1A1
Q5048388 Q18041001 Q18046747 Q18030409 Q18040087 Q17710244 Q15320451
action filter_type
action find
entity Q372701
relation P2293
type Q863908
[ANSWERS] are herditarily associated with that health problem
SELECT DISTINCT ?h WHERE { resource:Q372701 property:P2293 ?h . ?h rdf:type ontology:Q863908 }
CSNK1A1 SEMA5B ACAD10 PDE4D PLCE1 ADH1B RUNX1
PDE4D, PLCE1 and CSNK1A1 are herditarily associated with that health problem
PDE4D PLCE1 CSNK1A1
action filter_type
action find
entity esophageal cancer
relation genetic association
type nucleic acid sequence
SELECT DISTINCT ?h WHERE { resource:esophageal_cancer property:genetic_association ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q372701
P1050
Q502895
USER
Who suffer from esophageal cancer ?
(c(Q502895),P1050,Q372701)
action filter_type
action find_reverse
entity Q372701
relation P1050
type Q502895
[{'concept': 'Q502895'}, 'P1050', 'Q372701']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P1050 resource:Q372701 }
esophageal cancer
action filter_type
action find_reverse
entity esophageal cancer
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'esophageal cancer']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:medical_condition resource:esophageal_cancer }
[]
common name
Q17351282 Q2162121
SYSTEM
Jaap Buijs, Martin Bril
Q17351282 Q2162121
(c(Q502895),P1050,Q372701)
action filter_type
action find_reverse
entity Q372701
relation P1050
type Q502895
[ANSWERS] suffer from esophageal cancer
[{'concept': 'Q502895'}, 'P1050', 'Q372701']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P1050 resource:Q372701 }
Jaap Buijs Martin Bril
Jaap Buijs and Martin Bril suffer from esophageal cancer
Jaap Buijs Martin Bril
action filter_type
action find_reverse
entity esophageal cancer
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'esophageal cancer']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:medical_condition resource:esophageal_cancer }
[]