Simple Question (Direct)
Simple Question
Q7493911
P106
Q12737077
USER
What are the professions of Shelly Novack ?
(Q7493911,P106,c(Q12737077))
action filter_type
action find
entity Q7493911
relation P106
type Q12737077
['Q7493911', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q7493911 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Shelly Novack
action filter_type
action find
entity Shelly Novack
relation occupation
type occupation
['Shelly Novack', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Shelly_Novack property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q10798782 Q33999
SYSTEM
television actor, actor
Q10798782 Q33999
(Q7493911,P106,c(Q12737077))
action filter_type
action find
entity Q7493911
relation P106
type Q12737077
The professions of Shelly Novack are a [ANSWERS]
['Q7493911', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q7493911 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
television actor actor
The professions of Shelly Novack are a television actor and actor
television actor actor
action filter_type
action find
entity Shelly Novack
relation occupation
type occupation
['Shelly Novack', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Shelly_Novack property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7493911
P509
Q2057971
USER
What caused the death of that person ?
(Q10798782,P509,c(Q2057971)) (Q33999,P509,c(Q2057971))
action filter_type
action find
entity Q7493911
relation P509
type Q2057971
['Q10798782', 'P509', {'concept': 'Q2057971'}] ['Q33999', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { resource:Q7493911 property:P509 ?z . ?z rdf:type ontology:Q2057971 }
Shelly Novack
action filter_type
action find
entity Shelly Novack
relation cause of death
type health problem
['television actor', 'cause of death', {'concept': 'health problem'}] ['actor', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { resource:Shelly_Novack property:cause_of_death ?z . ?z rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q10798782,P509,c(Q2057971)) (Q33999,P509,c(Q2057971))
action filter_type
action find
entity Q7493911
relation P509
type Q2057971
[ANSWER] caused the death of that person
['Q10798782', 'P509', {'concept': 'Q2057971'}] ['Q33999', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { resource:Q7493911 property:P509 ?z . ?z rdf:type ontology:Q2057971 }
myocardial infarction
Myocardial infarction caused the death of that person
myocardial infarction
action filter_type
action find
entity Shelly Novack
relation cause of death
type health problem
['television actor', 'cause of death', {'concept': 'health problem'}] ['actor', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { resource:Shelly_Novack property:cause_of_death ?z . ?z rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7493911
P1196
Q1931388
USER
What situation did that person die in ?
(Q12152,P1196,c(Q1931388))
action filter_type
action find
entity Q7493911
relation P1196
type Q1931388
['Q12152', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?z WHERE { resource:Q7493911 property:P1196 ?z . ?z rdf:type ontology:Q1931388 }
Shelly Novack
action filter_type
action find
entity Shelly Novack
relation manner of death
type cause of death
['myocardial infarction', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?z WHERE { resource:Shelly_Novack property:manner_of_death ?z . ?z rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q12152,P1196,c(Q1931388))
action filter_type
action find
entity Q7493911
relation P1196
type Q1931388
That person died in [ANSWER]
['Q12152', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?z WHERE { resource:Q7493911 property:P1196 ?z . ?z rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Shelly Novack
relation manner of death
type cause of death
['myocardial infarction', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?z WHERE { resource:Shelly_Novack property:manner_of_death ?z . ?z rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12152
P2175
Q8386
USER
Which drugs are prescribed for myocardial infarction ?
(c(Q8386),P2175,Q12152)
action filter_type
action find_reverse
entity Q12152
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', 'Q12152']
SELECT DISTINCT ?f WHERE { ?f property:P2175 resource:Q12152 . ?f rdf:type ontology:Q8386 }
myocardial infarction
action filter_type
action find_reverse
entity myocardial infarction
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'myocardial infarction']
SELECT DISTINCT ?f WHERE { ?f property:medical_condition_treated resource:myocardial_infarction . ?f rdf:type ontology:drug }
[]
drug
Q422232 Q367700 Q410291
SYSTEM
methotrexate, Cyclosporine, verapamil
Q3617574 Q409468 Q412515 Q3790542 Q412534 Q958087 Q423364 Q367700 Q2295855 Q307088 Q421218 Q19606349 Q5383794 Q4919218 Q424952 Q422232 Q411325 Q190012 Q4765471 Q421119 Q416485 Q1851701 Q410237 Q162867 Q417169 Q425154 Q418139 Q422188 Q413994 Q1644947 Q415411 Q944244 Q410291 Q418857 Q2178381 Q6997373 Q415366 Q207843 Q422229 Q418101 Q417762 Q420542
(c(Q8386),P2175,Q12152)
action filter_type
action find_reverse
entity Q12152
relation P2175
type Q8386
[ANSWERS] are prescribed for myocardial infarction
[{'concept': 'Q8386'}, 'P2175', 'Q12152']
SELECT DISTINCT ?f WHERE { ?f property:P2175 resource:Q12152 . ?f rdf:type ontology:Q8386 }
anisindione metoprolol bisoprolol sufinpyrazone carvedilol labetalol propranolol Cyclosporine eptifibatide Abciximab fondaparinux sodium Alteplase Epoetin alfa Bivalirudin nadolol methotrexate atenolol adenosine Anistreplase captopril Streptokinase Dalteparin clopidogrel nitroglycerin Urokinase Tocilizumab Esmolol spironolactone Timolol Tenecteplase Anakinra penbutolol verapamil acebutolol Darbepoetin alfa Nesiritide tirofiban Nitric Oxide diltiazem pindolol Exenatide ticagrelor
Methotrexate, Cyclosporine and verapamil are prescribed for myocardial infarction
methotrexate Cyclosporine verapamil
action filter_type
action find_reverse
entity myocardial infarction
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'myocardial infarction']
SELECT DISTINCT ?f WHERE { ?f property:medical_condition_treated resource:myocardial_infarction . ?f rdf:type ontology:drug }
[]
Clarification
Simple Question|Single Entity|Indirect
Q410291
P769
Q8386
USER
Which drugs do that one significantly interact with ?
(c(Q8386),P769,Q410291)
action filter_type
action find_reverse
entity Q410291
relation P769
type Q8386
[{'concept': 'Q8386'}, 'P769', 'Q410291']
SELECT DISTINCT ?l WHERE { ?l property:P769 resource:Q410291 . ?l rdf:type ontology:Q8386 }
verapamil
action filter_type
action find_reverse
entity verapamil
relation significant drug interaction
type drug
[{'concept': 'drug'}, 'significant drug interaction', 'verapamil']
SELECT DISTINCT ?l WHERE { ?l property:significant_drug_interaction resource:verapamil . ?l rdf:type ontology:drug }
[]
drug
Clarification for simple ques.
Q410291
SYSTEM
Did you mean verapamil ?
Q422232 Q367700 Q410291
(c(Q8386),P769,Q422232) (c(Q8386),P769,Q367700) (c(Q8386),P769,Q410291)
[ANSWER]
[{'concept': 'Q8386'}, 'P769', 'Q422232'] [{'concept': 'Q8386'}, 'P769', 'Q367700'] [{'concept': 'Q8386'}, 'P769', 'Q410291']
SELECT DISTINCT ?l WHERE { ?l property:P769 resource:Q410291 . ?l rdf:type ontology:Q8386 }
methotrexate Cyclosporine verapamil
Did you mean verapamil ?
verapamil
[{'concept': 'drug'}, 'significant drug interaction', 'methotrexate'] [{'concept': 'drug'}, 'significant drug interaction', 'Cyclosporine'] [{'concept': 'drug'}, 'significant drug interaction', 'verapamil']
SELECT DISTINCT ?l WHERE { ?l property:significant_drug_interaction resource:verapamil . ?l rdf:type ontology:drug }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q8386),P769,Q410291)
[{'concept': 'Q8386'}, 'P769', 'Q410291']
[{'concept': 'drug'}, 'significant drug interaction', 'verapamil']
[]
Q412197 Q417740 Q670131
SYSTEM
irinotecan, lovastatin, simvastatin
Q412197 Q417740 Q670131
(c(Q8386),P769,Q410291)
action filter_type
action find_reverse
entity Q410291
relation P769
type Q8386
Significantly that one interact with [ANSWERS]
[{'concept': 'Q8386'}, 'P769', 'Q410291']
SELECT DISTINCT ?l WHERE { ?l property:P769 resource:Q410291 . ?l rdf:type ontology:Q8386 }
irinotecan lovastatin simvastatin
Significantly that one interact with irinotecan, lovastatin and simvastatin
irinotecan lovastatin simvastatin
action filter_type
action find_reverse
entity verapamil
relation significant drug interaction
type drug
[{'concept': 'drug'}, 'significant drug interaction', 'verapamil']
SELECT DISTINCT ?l WHERE { ?l property:significant_drug_interaction resource:verapamil . ?l rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q410291
P129
Q181394
USER
How many nutrients do verapamil interact with ?
(Q410291,P129,c(Q181394))
action count
action filter_type
action find
entity Q410291
relation P129
type Q181394
['Q410291', 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q410291 property:P129 ?j . ?j rdf:type ontology:Q181394 }
verapamil
action count
action filter_type
action find
entity verapamil
relation physically interacts with
type nutrient
['verapamil', 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:verapamil property:physically_interacts_with ?j . ?j rdf:type ontology:nutrient }
[]
nutrient
SYSTEM
12
Q21134814 Q21107890 Q424440 Q21103337 Q21111803 Q21102146 Q21984383 Q1499998 Q21107843 Q21103323 Q21096262 Q21497878
(Q410291,P129,c(Q181394))
action count
action filter_type
action find
entity Q410291
relation P129
type Q181394
[ANSWER]
['Q410291', 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q410291 property:P129 ?j . ?j rdf:type ontology:Q181394 }
Equilibrative nucleoside transporter 4 Potassium voltage-gated channel subfamily A member 7 Cytochrome P450 3A4 Two pore calcium channel protein 1 Voltage-dependent L-type calcium channel subunit alpha-1S Voltage-dependent L-type calcium channel subunit alpha-1D Voltage-dependent L-type calcium channel subunit alpha-1F Voltage-dependent L-type calcium channel subunit alpha-1C Potassium voltage-gated channel subfamily A member 10 Two pore calcium channel protein 2 Sodium leak channel non-selective protein G protein-activated inward rectifier potassium channel 2
12
action count
action filter_type
action find
entity verapamil
relation physically interacts with
type nutrient
['verapamil', 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:verapamil property:physically_interacts_with ?j . ?j rdf:type ontology:nutrient }
[]