Simple Question (Direct)
Simple Question
Q2036029
P509
Q2057971
USER
What caused the death of Albert Spaggiari ?
(Q2036029,P509,c(Q2057971))
action filter_type
action find
entity Q2036029
relation P509
type Q2057971
['Q2036029', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?p WHERE { resource:Q2036029 property:P509 ?p . ?p rdf:type ontology:Q2057971 }
Albert Spaggiari
action filter_type
action find
entity Albert Spaggiari
relation cause of death
type health problem
['Albert Spaggiari', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?p WHERE { resource:Albert_Spaggiari property:cause_of_death ?p . ?p rdf:type ontology:health_problem }
[]
health problem
Q372701
SYSTEM
esophageal cancer
Q372701
(Q2036029,P509,c(Q2057971))
action filter_type
action find
entity Q2036029
relation P509
type Q2057971
Con [ANSWER] caused the death of Albert Spaggiari
['Q2036029', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?p WHERE { resource:Q2036029 property:P509 ?p . ?p rdf:type ontology:Q2057971 }
esophageal cancer
Con esophageal cancer caused the death of Albert Spaggiari
esophageal cancer
action filter_type
action find
entity Albert Spaggiari
relation cause of death
type health problem
['Albert Spaggiari', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?p WHERE { resource:Albert_Spaggiari property:cause_of_death ?p . ?p rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q372701
P2293
Q863908
USER
Which nucleic acid sequences are herditarily associated with that health problem ?
(c(Q863908),P2293,Q372701)
action filter_type
action find
entity Q372701
relation P2293
type Q863908
[{'concept': 'Q863908'}, 'P2293', 'Q372701']
SELECT DISTINCT ?u WHERE { resource:Q372701 property:P2293 ?u . ?u rdf:type ontology:Q863908 }
esophageal cancer
action filter_type
action find
entity esophageal cancer
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'esophageal cancer']
SELECT DISTINCT ?u WHERE { resource:esophageal_cancer property:genetic_association ?u . ?u rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18030409 Q18040087 Q5048388
SYSTEM
PDE4D, PLCE1, CSNK1A1
Q5048388 Q18041001 Q18046747 Q18030409 Q18040087 Q17710244 Q15320451
(c(Q863908),P2293,Q372701)
action filter_type
action find
entity Q372701
relation P2293
type Q863908
[ANSWERS] are herditarily associated with that health problem
[{'concept': 'Q863908'}, 'P2293', 'Q372701']
SELECT DISTINCT ?u WHERE { resource:Q372701 property:P2293 ?u . ?u 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
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'esophageal cancer']
SELECT DISTINCT ?u WHERE { resource:esophageal_cancer property:genetic_association ?u . ?u rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q372701
P2293
Q2057971
USER
Are esophageal cancer genetically associated with those nucleic acid sequences ?
(Q372701,P2293,Q18030409) (Q372701,P2293,Q18040087) (Q372701,P2293,Q5048388)
action is_in
entity prev_answer
action find
entity Q372701
relation P2293
['Q372701', 'P2293', 'Q18030409'] ['Q372701', 'P2293', 'Q18040087'] ['Q372701', 'P2293', 'Q5048388']
ASK WHERE { VALUES ( ?q ) { ( resource:Q5048388 ) ( resource:Q18041001 ) ( resource:Q18046747 ) } . resource:Q372701 property:P2293 ?q }
esophageal cancer
action is_in
entity prev_answer
action find
entity esophageal cancer
relation genetic association
['esophageal cancer', 'genetic association', 'PDE4D'] ['esophageal cancer', 'genetic association', 'PLCE1'] ['esophageal cancer', 'genetic association', 'CSNK1A1']
ASK WHERE { VALUES ( ?q ) { ( resource:CSNK1A1 ) ( resource:SEMA5B ) ( resource:ACAD10 ) } . resource:esophageal_cancer property:genetic_association ?q }
[]
health problem
SYSTEM
YES
(Q372701,P2293,Q18030409) (Q372701,P2293,Q18040087) (Q372701,P2293,Q5048388)
action is_in
entity prev_answer
action find
entity Q372701
relation P2293
[ANSWER]
['Q372701', 'P2293', 'Q18030409'] ['Q372701', 'P2293', 'Q18040087'] ['Q372701', 'P2293', 'Q5048388']
ASK WHERE { VALUES ( ?q ) { ( resource:Q5048388 ) ( resource:Q18041001 ) ( resource:Q18046747 ) } . resource:Q372701 property:P2293 ?q }
Yes
action is_in
entity prev_answer
action find
entity esophageal cancer
relation genetic association
['esophageal cancer', 'genetic association', 'PDE4D'] ['esophageal cancer', 'genetic association', 'PLCE1'] ['esophageal cancer', 'genetic association', 'CSNK1A1']
ASK WHERE { VALUES ( ?q ) { ( resource:CSNK1A1 ) ( resource:SEMA5B ) ( resource:ACAD10 ) } . resource:esophageal_cancer property:genetic_association ?q }
[]
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 ?h WHERE { ?h property:P1050 resource:Q372701 . ?h rdf:type ontology:Q502895 }
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 ?h WHERE { ?h property:medical_condition resource:esophageal_cancer . ?h rdf:type ontology:common_name }
[]
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 ?h WHERE { ?h property:P1050 resource:Q372701 . ?h rdf:type ontology:Q502895 }
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 ?h WHERE { ?h property:medical_condition resource:esophageal_cancer . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q17351282 Q2162121
P1050
Q2057971
USER
Which health problems are Jaap Buijs and Martin Bril affected by ?
(Q17351282,P1050,c(Q2057971)) (Q2162121,P1050,c(Q2057971))
action union
action filter_type
action find
entity Q17351282
relation P1050
type Q2057971
action filter_type
action find
entity Q2162121
relation P1050
type Q2057971
['Q17351282', 'P1050', {'concept': 'Q2057971'}] ['Q2162121', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { { resource:Q17351282 property:P1050 ?h . ?h rdf:type ontology:Q2057971 } UNION { resource:Q2162121 property:P1050 ?h . ?h rdf:type ontology:Q2057971 } }
Jaap Buijs Martin Bril
action union
action filter_type
action find
entity Jaap Buijs
relation medical condition
type health problem
action filter_type
action find
entity Martin Bril
relation medical condition
type health problem
['Jaap Buijs', 'medical condition', {'concept': 'health problem'}] ['Martin Bril', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { { resource:Jaap_Buijs property:medical_condition ?h . ?h rdf:type ontology:health_problem } UNION { resource:Martin_Bril property:medical_condition ?h . ?h rdf:type ontology:health_problem } }
[]
health problem
Q189588 Q188874 Q372701
SYSTEM
stomach cancer, colorectal cancer, esophageal cancer
Q189588 Q372701 Q372701 Q188874
(Q17351282,P1050,c(Q2057971)) (Q2162121,P1050,c(Q2057971))
action union
action filter_type
action find
entity Q17351282
relation P1050
type Q2057971
action filter_type
action find
entity Q2162121
relation P1050
type Q2057971
Jaap Buijs and Martin Bril are affected by [ANSWERS]
['Q17351282', 'P1050', {'concept': 'Q2057971'}] ['Q2162121', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { { resource:Q17351282 property:P1050 ?h . ?h rdf:type ontology:Q2057971 } UNION { resource:Q2162121 property:P1050 ?h . ?h rdf:type ontology:Q2057971 } }
stomach cancer esophageal cancer esophageal cancer colorectal cancer
Jaap Buijs and Martin Bril are affected by stomach cancer, colorectal cancer and esophageal cancer
stomach cancer colorectal cancer esophageal cancer
action union
action filter_type
action find
entity Jaap Buijs
relation medical condition
type health problem
action filter_type
action find
entity Martin Bril
relation medical condition
type health problem
['Jaap Buijs', 'medical condition', {'concept': 'health problem'}] ['Martin Bril', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { { resource:Jaap_Buijs property:medical_condition ?h . ?h rdf:type ontology:health_problem } UNION { resource:Martin_Bril property:medical_condition ?h . ?h rdf:type ontology:health_problem } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q189588 Q188874 Q372701
P2175
Q8386
USER
Which drugs are prescribed for those health problems ?
(c(Q8386),P2175,Q189588) (c(Q8386),P2175,Q188874) (c(Q8386),P2175,Q372701)
action filter_type
action find_reverse
entity prev_answer
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', 'Q189588'] [{'concept': 'Q8386'}, 'P2175', 'Q188874'] [{'concept': 'Q8386'}, 'P2175', 'Q372701']
SELECT DISTINCT ?s WHERE { VALUES ( ?u ) { ( resource:Q189588 ) ( resource:Q372701 ) ( resource:Q372701 ) } . ?s property:P2175 ?u . ?s rdf:type ontology:Q8386 }
stomach cancer colorectal cancer esophageal cancer
action filter_type
action find_reverse
entity prev_answer
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'stomach cancer'] [{'concept': 'drug'}, 'medical condition treated', 'colorectal cancer'] [{'concept': 'drug'}, 'medical condition treated', 'esophageal cancer']
SELECT DISTINCT ?s WHERE { VALUES ( ?u ) { ( resource:stomach_cancer ) ( resource:esophageal_cancer ) ( resource:esophageal_cancer ) } . ?s property:medical_condition_treated ?u . ?s rdf:type ontology:drug }
[]
drug
Q670131 Q421052 Q421052
SYSTEM
Everolimus for 2nd, 3rd, simvastatin for 1st
Q5462356 Q418560 Q423762 Q670131 Q7041828 Q420436 Q412415 Q421052 Q412197 Q238512 Q412963 Q11711607 Q420207 Q7290345 Q412616 Q420296 Q422232 Q20707748 Q415588 Q423762 Q412415 Q413299 Q417824 Q421052 Q420207 Q420296 Q422232
(c(Q8386),P2175,Q189588) (c(Q8386),P2175,Q188874) (c(Q8386),P2175,Q372701)
action filter_type
action find_reverse
entity prev_answer
relation P2175
type Q8386
[ANSWERS]
[{'concept': 'Q8386'}, 'P2175', 'Q189588'] [{'concept': 'Q8386'}, 'P2175', 'Q188874'] [{'concept': 'Q8386'}, 'P2175', 'Q372701']
SELECT DISTINCT ?s WHERE { VALUES ( ?u ) { ( resource:Q189588 ) ( resource:Q372701 ) ( resource:Q372701 ) } . ?s property:P2175 ?u . ?s rdf:type ontology:Q8386 }
floxuridine ifosfamide Paclitaxel simvastatin Nivolumab docetaxel cisplatin Everolimus irinotecan 5-fluorouracil cabazitaxel Ixabepilone capecitabine Ramucirumab Trastuzumab Cetuximab methotrexate Atezolizumab Carboplatin Paclitaxel cisplatin Bevacizumab gefitinib Everolimus capecitabine Cetuximab methotrexate
Simvastatin, Everolimus and Everolimus are prescribed for those health problems
simvastatin Everolimus Everolimus
action filter_type
action find_reverse
entity prev_answer
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'stomach cancer'] [{'concept': 'drug'}, 'medical condition treated', 'colorectal cancer'] [{'concept': 'drug'}, 'medical condition treated', 'esophageal cancer']
SELECT DISTINCT ?s WHERE { VALUES ( ?u ) { ( resource:stomach_cancer ) ( resource:esophageal_cancer ) ( resource:esophageal_cancer ) } . ?s property:medical_condition_treated ?u . ?s rdf:type ontology:drug }
[]
Clarification
Simple Question|Single Entity|Indirect
Q670131
P769
Q8386
USER
What shows a significant interaction with that one ?
(Q670131,P769,c(Q8386))
action filter_type
action find
entity Q670131
relation P769
type Q8386
['Q670131', 'P769', {'concept': 'Q8386'}]
SELECT DISTINCT ?m WHERE { resource:Q670131 property:P769 ?m . ?m rdf:type ontology:Q8386 }
simvastatin
action filter_type
action find
entity simvastatin
relation significant drug interaction
type drug
['simvastatin', 'significant drug interaction', {'concept': 'drug'}]
SELECT DISTINCT ?m WHERE { resource:simvastatin property:significant_drug_interaction ?m . ?m rdf:type ontology:drug }
[]
drug
Clarification for simple ques.
Q670131
SYSTEM
Did you mean simvastatin ?
Q670131 Q421052 Q421052
(Q670131,P769,c(Q8386)) (Q421052,P769,c(Q8386)) (Q421052,P769,c(Q8386))
[ANSWER]
['Q670131', 'P769', {'concept': 'Q8386'}] ['Q421052', 'P769', {'concept': 'Q8386'}] ['Q421052', 'P769', {'concept': 'Q8386'}]
SELECT DISTINCT ?m WHERE { resource:Q670131 property:P769 ?m . ?m rdf:type ontology:Q8386 }
simvastatin Everolimus Everolimus
Did you mean simvastatin ?
simvastatin
['simvastatin', 'significant drug interaction', {'concept': 'drug'}] ['Everolimus', 'significant drug interaction', {'concept': 'drug'}] ['Everolimus', 'significant drug interaction', {'concept': 'drug'}]
SELECT DISTINCT ?m WHERE { resource:simvastatin property:significant_drug_interaction ?m . ?m rdf:type ontology:drug }
[]
Simple Question (Coreferenced)
USER
Yes
(Q670131,P769,c(Q8386))
['Q670131', 'P769', {'concept': 'Q8386'}]
['simvastatin', 'significant drug interaction', {'concept': 'drug'}]
[]
Q410061 Q213511 Q118551
SYSTEM
amiodarone, Erythromycin, Clarithromycin
Q422198 Q3765251 Q422229 Q416632 Q411478 Q422654 Q411229 Q213511 Q407883 Q423366 Q118551 Q422618 Q423404 Q410291 Q410061 Q2736135 Q422585 Q423467
(Q670131,P769,c(Q8386))
action filter_type
action find
entity Q670131
relation P769
type Q8386
[ANSWERS] show a significant interaction with that one
['Q670131', 'P769', {'concept': 'Q8386'}]
SELECT DISTINCT ?m WHERE { resource:Q670131 property:P769 ?m . ?m rdf:type ontology:Q8386 }
Amprenavir Darunavir diltiazem nefazodone Fluconazole saquinavir Itraconazole Erythromycin Ketoconazole Nelfinavir Clarithromycin ritonavir Tipranavir verapamil amiodarone Telithromycin Lopinavir Atazanavir
Amiodarone, Erythromycin and Clarithromycin show a significant interaction with that one
amiodarone Erythromycin Clarithromycin
action filter_type
action find
entity simvastatin
relation significant drug interaction
type drug
['simvastatin', 'significant drug interaction', {'concept': 'drug'}]
SELECT DISTINCT ?m WHERE { resource:simvastatin property:significant_drug_interaction ?m . ?m rdf:type ontology:drug }
[]