Simple Question (Direct)
Simple Question
Q6913899
P106
Q12737077
USER
Which occupation is the profession of Morris Steggerda ?
(Q6913899,P106,c(Q12737077))
action filter_type
action find
entity Q6913899
relation P106
type Q12737077
['Q6913899', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q6913899 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Morris Steggerda
action filter_type
action find
entity Morris Steggerda
relation occupation
type occupation
['Morris Steggerda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Morris_Steggerda property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q4773904
SYSTEM
anthropologist
Q4773904
(Q6913899,P106,c(Q12737077))
action filter_type
action find
entity Q6913899
relation P106
type Q12737077
The [ANSWER] is the profession of Morris Steggerda
['Q6913899', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q6913899 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
anthropologist
The anthropologist is the profession of Morris Steggerda
anthropologist
action filter_type
action find
entity Morris Steggerda
relation occupation
type occupation
['Morris Steggerda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Morris_Steggerda property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6913899
P1196
Q1931388
USER
What manner did Morris Steggerda die ?
(Q6913899,P1196,c(Q1931388))
action filter_type
action find
entity Q6913899
relation P1196
type Q1931388
['Q6913899', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?l WHERE { resource:Q6913899 property:P1196 ?l . ?l rdf:type ontology:Q1931388 }
Morris Steggerda
action filter_type
action find
entity Morris Steggerda
relation manner of death
type cause of death
['Morris Steggerda', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?l WHERE { resource:Morris_Steggerda property:manner_of_death ?l . ?l rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q6913899,P1196,c(Q1931388))
action filter_type
action find
entity Q6913899
relation P1196
type Q1931388
Morris Steggerda died in [ANSWER]
['Q6913899', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?l WHERE { resource:Q6913899 property:P1196 ?l . ?l rdf:type ontology:Q1931388 }
natural causes
Morris Steggerda died in natural causes
natural causes
action filter_type
action find
entity Morris Steggerda
relation manner of death
type cause of death
['Morris Steggerda', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?l WHERE { resource:Morris_Steggerda property:manner_of_death ?l . ?l rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6913899
P509
Q2057971
USER
How did Morris Steggerda die ?
(Q6913899,P509,c(Q2057971))
action filter_type
action find
entity Q6913899
relation P509
type Q2057971
['Q6913899', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?k WHERE { resource:Q6913899 property:P509 ?k . ?k rdf:type ontology:Q2057971 }
Morris Steggerda
action filter_type
action find
entity Morris Steggerda
relation cause of death
type health problem
['Morris Steggerda', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?k WHERE { resource:Morris_Steggerda property:cause_of_death ?k . ?k rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q6913899,P509,c(Q2057971))
action filter_type
action find
entity Q6913899
relation P509
type Q2057971
Morris Steggerda died from [ANSWER]
['Q6913899', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?k WHERE { resource:Q6913899 property:P509 ?k . ?k rdf:type ontology:Q2057971 }
myocardial infarction
Morris Steggerda died from myocardial infarction
myocardial infarction
action filter_type
action find
entity Morris Steggerda
relation cause of death
type health problem
['Morris Steggerda', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?k WHERE { resource:Morris_Steggerda property:cause_of_death ?k . ?k rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12152
P2176
Q8386
USER
Which drugs are used as a remedy for that health problem ?
(Q12152,P2176,c(Q8386))
action filter_type
action find
entity Q12152
relation P2176
type Q8386
['Q12152', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?v WHERE { resource:Q12152 property:P2176 ?v . ?v rdf:type ontology:Q8386 }
myocardial infarction
action filter_type
action find
entity myocardial infarction
relation drug used for treatment
type drug
['myocardial infarction', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?v WHERE { resource:myocardial_infarction property:drug_used_for_treatment ?v . ?v rdf:type ontology:drug }
[]
drug
Q422232 Q367700 Q410291
SYSTEM
methotrexate, Cyclosporine, verapamil
Q3617574 Q409468 Q412515 Q2295855 Q412534 Q958087 Q423364 Q367700 Q307088 Q421218 Q416485 Q5383794 Q4919218 Q424952 Q422232 Q411325 Q190012 Q3790542 Q421119 Q19606349 Q1851701 Q418101 Q162867 Q417169 Q425154 Q418139 Q422188 Q413994 Q1644947 Q415411 Q2178381 Q4765471 Q410291 Q418857 Q944244 Q6997373 Q422229 Q207843 Q415366 Q410237 Q417762 Q420542
(Q12152,P2176,c(Q8386))
action filter_type
action find
entity Q12152
relation P2176
type Q8386
[ANSWERS] are used as a remedy for that health problem
['Q12152', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?v WHERE { resource:Q12152 property:P2176 ?v . ?v rdf:type ontology:Q8386 }
anisindione metoprolol bisoprolol eptifibatide carvedilol labetalol propranolol Cyclosporine Abciximab fondaparinux sodium Streptokinase Epoetin alfa Bivalirudin nadolol methotrexate atenolol adenosine sufinpyrazone captopril Alteplase Dalteparin pindolol nitroglycerin Urokinase Tocilizumab Esmolol spironolactone Timolol Tenecteplase Anakinra Darbepoetin alfa Anistreplase verapamil acebutolol penbutolol Nesiritide diltiazem Nitric Oxide tirofiban clopidogrel Exenatide ticagrelor
Methotrexate, Cyclosporine and verapamil are used as a remedy for that health problem
methotrexate Cyclosporine verapamil
action filter_type
action find
entity myocardial infarction
relation drug used for treatment
type drug
['myocardial infarction', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?v WHERE { resource:myocardial_infarction property:drug_used_for_treatment ?v . ?v rdf:type ontology:drug }
[]
Clarification
Simple Question|Single Entity|Indirect
Q422232
P129
Q181394
USER
Which nutrients can interact with that drug ?
(c(Q181394),P129,Q422232)
action filter_type
action find_reverse
entity Q422232
relation P129
type Q181394
[{'concept': 'Q181394'}, 'P129', 'Q422232']
SELECT DISTINCT ?f WHERE { ?f property:P129 resource:Q422232 . ?f rdf:type ontology:Q181394 }
methotrexate
action filter_type
action find_reverse
entity methotrexate
relation physically interacts with
type nutrient
[{'concept': 'nutrient'}, 'physically interacts with', 'methotrexate']
SELECT DISTINCT ?f WHERE { ?f property:physically_interacts_with resource:methotrexate . ?f rdf:type ontology:nutrient }
[]
nutrient
Clarification for simple ques.
Q367700
SYSTEM
Did you mean Cyclosporine ?
Q422232 Q367700 Q410291
(c(Q181394),P129,Q422232) (c(Q181394),P129,Q367700) (c(Q181394),P129,Q410291)
[ANSWER]
[{'concept': 'Q181394'}, 'P129', 'Q422232'] [{'concept': 'Q181394'}, 'P129', 'Q367700'] [{'concept': 'Q181394'}, 'P129', 'Q410291']
SELECT DISTINCT ?f WHERE { ?f property:P129 resource:Q422232 . ?f rdf:type ontology:Q181394 }
methotrexate Cyclosporine verapamil
Did you mean Cyclosporine ?
Cyclosporine
[{'concept': 'nutrient'}, 'physically interacts with', 'methotrexate'] [{'concept': 'nutrient'}, 'physically interacts with', 'Cyclosporine'] [{'concept': 'nutrient'}, 'physically interacts with', 'verapamil']
SELECT DISTINCT ?f WHERE { ?f property:physically_interacts_with resource:methotrexate . ?f rdf:type ontology:nutrient }
[]
Simple Question (Coreferenced)
USER
No, I meant methotrexate. Could you tell me the answer for that?
(c(Q181394),P129,Q422232)
Q422232
[{'concept': 'Q181394'}, 'P129', 'Q422232']
[{'concept': 'nutrient'}, 'physically interacts with', 'methotrexate']
[]
Q21126218 Q417149 Q21121086
SYSTEM
Folate transporter 1, Dihydrofolate reductase, Proton-coupled folate transporter
Q21126218 Q417149 Q21121086
(c(Q181394),P129,Q422232)
action filter_type
action find_reverse
entity Q422232
relation P129
type Q181394
[ANSWERS] can interact with that drug
[{'concept': 'Q181394'}, 'P129', 'Q422232']
SELECT DISTINCT ?f WHERE { ?f property:P129 resource:Q422232 . ?f rdf:type ontology:Q181394 }
Folate transporter 1 Dihydrofolate reductase Proton-coupled folate transporter
Folate transporter 1, Dihydrofolate reductase and Proton-coupled folate transporter can interact with that drug
Folate transporter 1 Dihydrofolate reductase Proton-coupled folate transporter
action filter_type
action find_reverse
entity methotrexate
relation physically interacts with
type nutrient
[{'concept': 'nutrient'}, 'physically interacts with', 'methotrexate']
SELECT DISTINCT ?f WHERE { ?f property:physically_interacts_with resource:methotrexate . ?f rdf:type ontology:nutrient }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21126218
P129
Q8386
USER
Which drug does that nutrient communicate with ?
(Q21126218,P129,c(Q8386))
action filter_type
action find
entity Q21126218
relation P129
type Q8386
['Q21126218', 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ?r WHERE { resource:Q21126218 property:P129 ?r . ?r rdf:type ontology:Q8386 }
Folate transporter 1
action filter_type
action find
entity Folate transporter 1
relation physically interacts with
type drug
['Folate transporter 1', 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ?r WHERE { resource:Folate_transporter_1 property:physically_interacts_with ?r . ?r rdf:type ontology:drug }
[]
drug
Clarification for simple ques.
Q21126218
SYSTEM
Did you mean Folate transporter 1 ?
Q21126218 Q417149 Q21121086
(Q21126218,P129,c(Q8386)) (Q417149,P129,c(Q8386)) (Q21121086,P129,c(Q8386))
[ANSWER]
['Q21126218', 'P129', {'concept': 'Q8386'}] ['Q417149', 'P129', {'concept': 'Q8386'}] ['Q21121086', 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ?r WHERE { resource:Q21126218 property:P129 ?r . ?r rdf:type ontology:Q8386 }
Folate transporter 1 Dihydrofolate reductase Proton-coupled folate transporter
Did you mean Folate transporter 1 ?
Folate transporter 1
['Folate transporter 1', 'physically interacts with', {'concept': 'drug'}] ['Dihydrofolate reductase', 'physically interacts with', {'concept': 'drug'}] ['Proton-coupled folate transporter', 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ?r WHERE { resource:Folate_transporter_1 property:physically_interacts_with ?r . ?r rdf:type ontology:drug }
[]
Simple Question (Coreferenced)
USER
Yes
(Q21126218,P129,c(Q8386))
['Q21126218', 'P129', {'concept': 'Q8386'}]
['Folate transporter 1', 'physically interacts with', {'concept': 'drug'}]
[]
Q422232
SYSTEM
methotrexate
Q422232
(Q21126218,P129,c(Q8386))
action filter_type
action find
entity Q21126218
relation P129
type Q8386
That nutrient communicates [ANSWER]
['Q21126218', 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ?r WHERE { resource:Q21126218 property:P129 ?r . ?r rdf:type ontology:Q8386 }
methotrexate
That nutrient communicates methotrexate
methotrexate
action filter_type
action find
entity Folate transporter 1
relation physically interacts with
type drug
['Folate transporter 1', 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ?r WHERE { resource:Folate_transporter_1 property:physically_interacts_with ?r . ?r rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q21126218
P688
Q863908
USER
How many nucleic acid sequences encodes Folate transporter 1 ?
(c(Q863908),P688,Q21126218)
action count
action filter_type
action find_reverse
entity Q21126218
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21126218']
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P688 resource:Q21126218 . ?k rdf:type ontology:Q863908 }
Folate transporter 1
action count
action filter_type
action find_reverse
entity Folate transporter 1
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Folate transporter 1']
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:encodes resource:Folate_transporter_1 . ?k rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
Q18031576
(c(Q863908),P688,Q21126218)
action count
action filter_type
action find_reverse
entity Q21126218
relation P688
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q21126218']
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P688 resource:Q21126218 . ?k rdf:type ontology:Q863908 }
SLC19A1
1
action count
action filter_type
action find_reverse
entity Folate transporter 1
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Folate transporter 1']
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:encodes resource:Folate_transporter_1 . ?k rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q21125045
P688
Q863908
USER
And what about RNA-binding protein 40?
(c(Q863908),P688,Q21125045)
action count
action filter_type
action find_reverse
entity Q21125045
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21125045']
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:Q863908 . ?s property:P688 resource:Q21125045 }
RNA-binding protein 40
action count
action filter_type
action find_reverse
entity RNA-binding protein 40
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'RNA-binding protein 40']
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:nucleic_acid_sequence . ?s property:encodes resource:RNA-binding_protein_40 }
[]
nucleic acid sequence
SYSTEM
1
Q18041882
(c(Q863908),P688,Q21125045)
action count
action filter_type
action find_reverse
entity Q21125045
relation P688
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q21125045']
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:Q863908 . ?s property:P688 resource:Q21125045 }
RNPC3
1
action count
action filter_type
action find_reverse
entity RNA-binding protein 40
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'RNA-binding protein 40']
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:nucleic_acid_sequence . ?s property:encodes resource:RNA-binding_protein_40 }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q5750001 Q422232
P509 P2175
Q2057971
USER
Which health problems are treated with methotrexate and were not the cause of death of Carlos Castro ?
AND((Q422232,P2175,c(Q2057971)), NOT((Q5750001,P509,c(Q2057971))))
action filter_type
action difference
action find
entity Q422232
relation P2175
action find
entity Q5750001
relation P509
type Q2057971
{'AND': [['Q422232', 'P2175', {'concept': 'Q2057971'}], {'NOT': [['Q5750001', 'P509', {'concept': 'Q2057971'}]]}]}
SELECT DISTINCT ?d WHERE { FILTER NOT EXISTS { resource:Q5750001 property:P509 ?d } . resource:Q422232 property:P2175 ?d . ?d rdf:type ontology:Q2057971 }
Carlos Castro methotrexate
action filter_type
action difference
action find
entity methotrexate
relation medical condition treated
action find
entity Carlos Castro
relation cause of death
type health problem
{'AND': [['methotrexate', 'medical condition treated', {'concept': 'health problem'}], {'NOT': [['Carlos Castro', 'cause of death', {'concept': 'health problem'}]]}]}
SELECT DISTINCT ?d WHERE { FILTER NOT EXISTS { resource:Carlos_Castro property:cause_of_death ?d } . resource:methotrexate property:medical_condition_treated ?d . ?d rdf:type ontology:health_problem }
[]
health problem
Q1783924 Q35869 Q881855 Q6708277 Q18975720 Q389735 Q4676432 Q1477 Q187440 Q128581
SYSTEM
Some of them are head and neck cancer, asthma, gestational trophoblastic neoplasm, lymphoid leukemia, trophoblastic neoplasm, cardiovascular disease, pustulosis of palm and sole, ulcerative colitis, urticaria, breast cancer
Q1783924 Q511097 Q372701 Q1891209 Q6708277 Q268667 Q389735 Q1477 Q4676432 Q128581 Q861224 Q18556697 Q187255 Q208414 Q8285 Q35869 Q18556020 Q550455 Q3041498 Q18975720 Q187440 Q18975788 Q29496 Q881855 Q189588 Q549534 Q12156 Q62736 Q324464
AND((Q422232,P2175,c(Q2057971)), NOT((Q5750001,P509,c(Q2057971))))
action filter_type
action difference
action find
entity Q422232
relation P2175
action find
entity Q5750001
relation P509
type Q2057971
[ANSWERS] are treated with methotrexate and were not the cause of death of Carlos Castro
{'AND': [['Q422232', 'P2175', {'concept': 'Q2057971'}], {'NOT': [['Q5750001', 'P509', {'concept': 'Q2057971'}]]}]}
SELECT DISTINCT ?d WHERE { FILTER NOT EXISTS { resource:Q5750001 property:P509 ?d } . resource:Q422232 property:P2175 ?d . ?d rdf:type ontology:Q2057971 }
head and neck cancer psoriatic arthritis esophageal cancer mycosis fungoides lymphoid leukemia atopic dermatitis cardiovascular disease ulcerative colitis pustulosis of palm and sole breast cancer juvenile idiopathic arthritis human immunodeficiency virus infectious disease rheumatoid arthritis lymphoma myasthenia gravis asthma lung benign neoplasm retinal disease eye disease trophoblastic neoplasm urticaria spindle cell sarcoma leukemia gestational trophoblastic neoplasm stomach cancer osteosarcoma malaria osteoarthritis/osteodystrophy Testicular cancer
Head and neck cancer, asthma, gestational trophoblastic neoplasm, lymphoid leukemia, trophoblastic neoplasm, cardiovascular disease, pustulosis of palm and sole, ulcerative colitis, urticaria and breast cancer are treated with methotrexate and were not the cause of death of Carlos Castro
head and neck cancer asthma gestational trophoblastic neoplasm lymphoid leukemia trophoblastic neoplasm cardiovascular disease pustulosis of palm and sole ulcerative colitis urticaria breast cancer
action filter_type
action difference
action find
entity methotrexate
relation medical condition treated
action find
entity Carlos Castro
relation cause of death
type health problem
{'AND': [['methotrexate', 'medical condition treated', {'concept': 'health problem'}], {'NOT': [['Carlos Castro', 'cause of death', {'concept': 'health problem'}]]}]}
SELECT DISTINCT ?d WHERE { FILTER NOT EXISTS { resource:Carlos_Castro property:cause_of_death ?d } . resource:methotrexate property:medical_condition_treated ?d . ?d rdf:type ontology:health_problem }
[]