Simple Question (Direct)
Simple Question
Q284248
P509
Q2057971
USER
Which health problem was the cause of death of Giuseppe Patanè ?
(Q284248,P509,c(Q2057971))
action filter_type
action find
entity Q284248
relation P509
type Q2057971
['Q284248', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { resource:Q284248 property:P509 ?l . ?l rdf:type ontology:Q2057971 }
Giuseppe Patanè
action filter_type
action find
entity Giuseppe Patanè
relation cause of death
type health problem
['Giuseppe Patanè', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { resource:Giuseppe_Patanè property:cause_of_death ?l . ?l rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q284248,P509,c(Q2057971))
action filter_type
action find
entity Q284248
relation P509
type Q2057971
The [ANSWER] was the cause of death of Giuseppe Patanè
['Q284248', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { resource:Q284248 property:P509 ?l . ?l rdf:type ontology:Q2057971 }
myocardial infarction
The myocardial infarction was the cause of death of Giuseppe Patanè
myocardial infarction
action filter_type
action find
entity Giuseppe Patanè
relation cause of death
type health problem
['Giuseppe Patanè', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { resource:Giuseppe_Patanè property:cause_of_death ?l . ?l rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q284248
P1196
Q1931388
USER
What situation did that person die in ?
(Q12152,P1196,c(Q1931388))
action filter_type
action find
entity Q284248
relation P1196
type Q1931388
['Q12152', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?m WHERE { resource:Q284248 property:P1196 ?m . ?m rdf:type ontology:Q1931388 }
Giuseppe Patanè
action filter_type
action find
entity Giuseppe Patanè
relation manner of death
type cause of death
['myocardial infarction', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?m WHERE { resource:Giuseppe_Patanè property:manner_of_death ?m . ?m rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q12152,P1196,c(Q1931388))
action filter_type
action find
entity Q284248
relation P1196
type Q1931388
That person died in [ANSWER]
['Q12152', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?m WHERE { resource:Q284248 property:P1196 ?m . ?m rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Giuseppe Patanè
relation manner of death
type cause of death
['myocardial infarction', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?m WHERE { resource:Giuseppe_Patanè property:manner_of_death ?m . ?m rdf:type ontology:cause_of_death }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3739104 Q458755
P1196
Q502895
USER
Does Roland Culver have that one as type of death ?
(Q458755,P1196,Q3739104)
action is_in
entity Q3739104
action find
entity Q458755
relation P1196
['Q458755', 'P1196', 'Q3739104']
ASK WHERE { resource:Q458755 property:P1196 resource:Q3739104 }
natural causes Roland Culver
action is_in
entity natural causes
action find
entity Roland Culver
relation manner of death
['Roland Culver', 'manner of death', 'natural causes']
ASK WHERE { resource:Roland_Culver property:manner_of_death resource:natural_causes }
[]
common name
SYSTEM
YES
(Q458755,P1196,Q3739104)
action is_in
entity Q3739104
action find
entity Q458755
relation P1196
[ANSWER]
['Q458755', 'P1196', 'Q3739104']
ASK WHERE { resource:Q458755 property:P1196 resource:Q3739104 }
Yes
action is_in
entity natural causes
action find
entity Roland Culver
relation manner of death
['Roland Culver', 'manner of death', 'natural causes']
ASK WHERE { resource:Roland_Culver property:manner_of_death resource:natural_causes }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12152 Q2295855
P2176
Q8386
USER
Is eptifibatide used as a remedy for myocardial infarction ?
(Q12152,P2176,Q2295855)
action is_in
entity Q2295855
action find
entity Q12152
relation P2176
['Q12152', 'P2176', 'Q2295855']
ASK WHERE { resource:Q12152 property:P2176 resource:Q2295855 }
myocardial infarction eptifibatide
action is_in
entity eptifibatide
action find
entity myocardial infarction
relation drug used for treatment
['myocardial infarction', 'drug used for treatment', 'eptifibatide']
ASK WHERE { resource:myocardial_infarction property:drug_used_for_treatment resource:eptifibatide }
[]
drug
SYSTEM
YES
(Q12152,P2176,Q2295855)
action is_in
entity Q2295855
action find
entity Q12152
relation P2176
[ANSWER]
['Q12152', 'P2176', 'Q2295855']
ASK WHERE { resource:Q12152 property:P2176 resource:Q2295855 }
Yes
action is_in
entity eptifibatide
action find
entity myocardial infarction
relation drug used for treatment
['myocardial infarction', 'drug used for treatment', 'eptifibatide']
ASK WHERE { resource:myocardial_infarction property:drug_used_for_treatment resource:eptifibatide }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12152
P2293
Q863908
USER
Which nucleic acid sequences are genetically correlated with that health problem ?
action filter_type
action find
entity Q12152
relation P2293
type Q863908
SELECT DISTINCT ?z WHERE { resource:Q12152 property:P2293 ?z . ?z rdf:type ontology:Q863908 }
myocardial infarction
action filter_type
action find
entity myocardial infarction
relation genetic association
type nucleic acid sequence
SELECT DISTINCT ?z WHERE { resource:myocardial_infarction property:genetic_association ?z . ?z rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18053521 Q18037015 Q18056131
SYSTEM
PHACTR1, PLCL2, MIA3
Q18053521 Q18042029 Q18056131 Q18037015
action filter_type
action find
entity Q12152
relation P2293
type Q863908
[ANSWERS] are genetically correlated with that health problem
SELECT DISTINCT ?z WHERE { resource:Q12152 property:P2293 ?z . ?z rdf:type ontology:Q863908 }
PHACTR1 WDR12 MIA3 PLCL2
PHACTR1, PLCL2 and MIA3 are genetically correlated with that health problem
PHACTR1 PLCL2 MIA3
action filter_type
action find
entity myocardial infarction
relation genetic association
type nucleic acid sequence
SELECT DISTINCT ?z WHERE { resource:myocardial_infarction property:genetic_association ?z . ?z rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q27677801
P2293
Q2057971
USER
Are retinitis pigmentosa 13 genetically connected with those nucleic acid sequences ?
(Q27677801,P2293,Q18053521) (Q27677801,P2293,Q18037015) (Q27677801,P2293,Q18056131)
action is_in
entity prev_answer
action find
entity Q27677801
relation P2293
['Q27677801', 'P2293', 'Q18053521'] ['Q27677801', 'P2293', 'Q18037015'] ['Q27677801', 'P2293', 'Q18056131']
ASK WHERE { VALUES ( ?d ) { ( resource:Q18053521 ) ( resource:Q18042029 ) ( resource:Q18056131 ) } . resource:Q27677801 property:P2293 ?d }
retinitis pigmentosa 13
action is_in
entity prev_answer
action find
entity retinitis pigmentosa 13
relation genetic association
['retinitis pigmentosa 13', 'genetic association', 'PHACTR1'] ['retinitis pigmentosa 13', 'genetic association', 'PLCL2'] ['retinitis pigmentosa 13', 'genetic association', 'MIA3']
ASK WHERE { VALUES ( ?d ) { ( resource:PHACTR1 ) ( resource:WDR12 ) ( resource:MIA3 ) } . resource:retinitis_pigmentosa_13 property:genetic_association ?d }
[]
health problem
SYSTEM
NO
(Q27677801,P2293,Q18053521) (Q27677801,P2293,Q18037015) (Q27677801,P2293,Q18056131)
action is_in
entity prev_answer
action find
entity Q27677801
relation P2293
[ANSWER]
['Q27677801', 'P2293', 'Q18053521'] ['Q27677801', 'P2293', 'Q18037015'] ['Q27677801', 'P2293', 'Q18056131']
ASK WHERE { VALUES ( ?d ) { ( resource:Q18053521 ) ( resource:Q18042029 ) ( resource:Q18056131 ) } . resource:Q27677801 property:P2293 ?d }
No
action is_in
entity prev_answer
action find
entity retinitis pigmentosa 13
relation genetic association
['retinitis pigmentosa 13', 'genetic association', 'PHACTR1'] ['retinitis pigmentosa 13', 'genetic association', 'PLCL2'] ['retinitis pigmentosa 13', 'genetic association', 'MIA3']
ASK WHERE { VALUES ( ?d ) { ( resource:PHACTR1 ) ( resource:WDR12 ) ( resource:MIA3 ) } . resource:retinitis_pigmentosa_13 property:genetic_association ?d }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18031867 Q18056131
P2293
Q2057971
USER
Which health problems are genetically linked with MIA3 or HNF1A ?
OR((c(Q2057971),P2293,Q18056131), (c(Q2057971),P2293,Q18031867))
action filter_type
action union
action find_reverse
entity Q18056131
relation P2293
action find_reverse
entity Q18031867
relation P2293
type Q2057971
{'OR': [[{'concept': 'Q2057971'}, 'P2293', 'Q18056131'], [{'concept': 'Q2057971'}, 'P2293', 'Q18031867']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P2293 resource:Q18056131 } UNION { ?u property:P2293 resource:Q18031867 } } . ?u rdf:type ontology:Q2057971 }
HNF1A MIA3
action filter_type
action union
action find_reverse
entity MIA3
relation genetic association
action find_reverse
entity HNF1A
relation genetic association
type health problem
{'OR': [[{'concept': 'health problem'}, 'genetic association', 'MIA3'], [{'concept': 'health problem'}, 'genetic association', 'HNF1A']]}
SELECT DISTINCT ?u WHERE { { { ?u property:genetic_association resource:MIA3 } UNION { ?u property:genetic_association resource:HNF1A } } . ?u rdf:type ontology:health_problem }
[]
health problem
Q12152 Q844935 Q3025883
SYSTEM
myocardial infarction, coronary artery disease, type 2 diabetes mellitus
Q12152 Q844935 Q3025883
OR((c(Q2057971),P2293,Q18056131), (c(Q2057971),P2293,Q18031867))
action filter_type
action union
action find_reverse
entity Q18056131
relation P2293
action find_reverse
entity Q18031867
relation P2293
type Q2057971
[ANSWERS] are genetically linked with MIA3 or HNF1A
{'OR': [[{'concept': 'Q2057971'}, 'P2293', 'Q18056131'], [{'concept': 'Q2057971'}, 'P2293', 'Q18031867']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P2293 resource:Q18056131 } UNION { ?u property:P2293 resource:Q18031867 } } . ?u rdf:type ontology:Q2057971 }
myocardial infarction coronary artery disease type 2 diabetes mellitus
Myocardial infarction, coronary artery disease and type 2 diabetes mellitus are genetically linked with MIA3 or HNF1A
myocardial infarction coronary artery disease type 2 diabetes mellitus
action filter_type
action union
action find_reverse
entity MIA3
relation genetic association
action find_reverse
entity HNF1A
relation genetic association
type health problem
{'OR': [[{'concept': 'health problem'}, 'genetic association', 'MIA3'], [{'concept': 'health problem'}, 'genetic association', 'HNF1A']]}
SELECT DISTINCT ?u WHERE { { { ?u property:genetic_association resource:MIA3 } UNION { ?u property:genetic_association resource:HNF1A } } . ?u rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q12152 Q844935 Q3025883
P1995
Q1047113
USER
Which special fields are the medical specialities of those health problems ?
(Q12152,P1995,c(Q1047113)) (Q844935,P1995,c(Q1047113)) (Q3025883,P1995,c(Q1047113))
action filter_type
action find
entity prev_answer
relation P1995
type Q1047113
['Q12152', 'P1995', {'concept': 'Q1047113'}] ['Q844935', 'P1995', {'concept': 'Q1047113'}] ['Q3025883', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1047113 . VALUES ( ?f ) { ( resource:Q12152 ) ( resource:Q844935 ) ( resource:Q3025883 ) } . ?f property:P1995 ?p }
myocardial infarction coronary artery disease type 2 diabetes mellitus
action filter_type
action find
entity prev_answer
relation medical specialty
type special field
['myocardial infarction', 'medical specialty', {'concept': 'special field'}] ['coronary artery disease', 'medical specialty', {'concept': 'special field'}] ['type 2 diabetes mellitus', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:special_field . VALUES ( ?f ) { ( resource:myocardial_infarction ) ( resource:coronary_artery_disease ) ( resource:type_2_diabetes_mellitus ) } . ?f property:medical_specialty ?p }
[]
special field
Q10379 Q10379 Q162606
SYSTEM
endocrinology for 3rd, cardiology for 1st, 2nd
Q10379 Q10379 Q162606 Q6451760
(Q12152,P1995,c(Q1047113)) (Q844935,P1995,c(Q1047113)) (Q3025883,P1995,c(Q1047113))
action filter_type
action find
entity prev_answer
relation P1995
type Q1047113
[ANSWERS]
['Q12152', 'P1995', {'concept': 'Q1047113'}] ['Q844935', 'P1995', {'concept': 'Q1047113'}] ['Q3025883', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1047113 . VALUES ( ?f ) { ( resource:Q12152 ) ( resource:Q844935 ) ( resource:Q3025883 ) } . ?f property:P1995 ?p }
cardiology cardiology endocrinology family medicine
Cardiology, cardiology and endocrinology are the medical specialities of those health problems
cardiology cardiology endocrinology
action filter_type
action find
entity prev_answer
relation medical specialty
type special field
['myocardial infarction', 'medical specialty', {'concept': 'special field'}] ['coronary artery disease', 'medical specialty', {'concept': 'special field'}] ['type 2 diabetes mellitus', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:special_field . VALUES ( ?f ) { ( resource:myocardial_infarction ) ( resource:coronary_artery_disease ) ( resource:type_2_diabetes_mellitus ) } . ?f property:medical_specialty ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18053521
P684
Q863908
USER
What is an otrhologus gene for PHACTR1 ?
(Q18053521,P684,c(Q863908))
action filter_type
action find
entity Q18053521
relation P684
type Q863908
['Q18053521', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?r WHERE { resource:Q18053521 property:P684 ?r . ?r rdf:type ontology:Q863908 }
PHACTR1
action filter_type
action find
entity PHACTR1
relation ortholog
type nucleic acid sequence
['PHACTR1', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?r WHERE { resource:PHACTR1 property:ortholog ?r . ?r rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18296964
SYSTEM
Phactr1
Q18296964
(Q18053521,P684,c(Q863908))
action filter_type
action find
entity Q18053521
relation P684
type Q863908
An otrhologus gene for PHACTR1 is the [ANSWER]
['Q18053521', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?r WHERE { resource:Q18053521 property:P684 ?r . ?r rdf:type ontology:Q863908 }
Phactr1
An otrhologus gene for PHACTR1 is the Phactr1
Phactr1
action filter_type
action find
entity PHACTR1
relation ortholog
type nucleic acid sequence
['PHACTR1', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?r WHERE { resource:PHACTR1 property:ortholog ?r . ?r rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q18296964 Q23550203
P688
Q181394
USER
Is hypothetical protein    THEYE_A0863 encoded by that nucleic acid sequence ?
(Q18296964,P688,Q23550203)
action is_in
entity Q23550203
action find
entity Q18296964
relation P688
['Q18296964', 'P688', 'Q23550203']
ASK WHERE { resource:Q18296964 property:P688 resource:Q23550203 }
Phactr1 hypothetical protein    THEYE_A0863
action is_in
entity hypothetical protein    THEYE_A0863
action find
entity Phactr1
relation encodes
['Phactr1', 'encodes', 'hypothetical protein    THEYE_A0863']
ASK WHERE { resource:Phactr1 property:encodes resource:hypothetical_protein____THEYE_A0863 }
[]
nutrient
SYSTEM
NO
(Q18296964,P688,Q23550203)
action is_in
entity Q23550203
action find
entity Q18296964
relation P688
[ANSWER]
['Q18296964', 'P688', 'Q23550203']
ASK WHERE { resource:Q18296964 property:P688 resource:Q23550203 }
No
action is_in
entity hypothetical protein    THEYE_A0863
action find
entity Phactr1
relation encodes
['Phactr1', 'encodes', 'hypothetical protein    THEYE_A0863']
ASK WHERE { resource:Phactr1 property:encodes resource:hypothetical_protein____THEYE_A0863 }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23349606 Q18296964
P688
Q181394
USER
Which nutrients are encoded by Phactr1 or pantothenate synthetase    BSU22420 ?
OR((Q18296964,P688,c(Q181394)), (Q23349606,P688,c(Q181394)))
action filter_type
action union
action find
entity Q18296964
relation P688
action find
entity Q23349606
relation P688
type Q181394
{'OR': [['Q18296964', 'P688', {'concept': 'Q181394'}], ['Q23349606', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q18296964 property:P688 ?w } UNION { resource:Q23349606 property:P688 ?w } } . ?w rdf:type ontology:Q181394 }
pantothenate synthetase    BSU22420 Phactr1
action filter_type
action union
action find
entity Phactr1
relation encodes
action find
entity pantothenate synthetase    BSU22420
relation encodes
type nutrient
{'OR': [['Phactr1', 'encodes', {'concept': 'nutrient'}], ['pantothenate synthetase    BSU22420', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Phactr1 property:encodes ?w } UNION { resource:pantothenate_synthetase____BSU22420 property:encodes ?w } } . ?w rdf:type ontology:nutrient }
[]
nutrient
Q23515043 Q21989363
SYSTEM
pantothenate synthetase    BSU22420, Phosphatase and actin regulator 1
Q23515043 Q21989363
OR((Q18296964,P688,c(Q181394)), (Q23349606,P688,c(Q181394)))
action filter_type
action union
action find
entity Q18296964
relation P688
action find
entity Q23349606
relation P688
type Q181394
[ANSWERS]
{'OR': [['Q18296964', 'P688', {'concept': 'Q181394'}], ['Q23349606', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q18296964 property:P688 ?w } UNION { resource:Q23349606 property:P688 ?w } } . ?w rdf:type ontology:Q181394 }
pantothenate synthetase    BSU22420 Phosphatase and actin regulator 1
Pantothenate synthetase BSU22420 and Phosphatase and actin regulator 1 are encoded by Phactr1 or pantothenate synthetase BSU22420
pantothenate synthetase    BSU22420 Phosphatase and actin regulator 1
action filter_type
action union
action find
entity Phactr1
relation encodes
action find
entity pantothenate synthetase    BSU22420
relation encodes
type nutrient
{'OR': [['Phactr1', 'encodes', {'concept': 'nutrient'}], ['pantothenate synthetase    BSU22420', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Phactr1 property:encodes ?w } UNION { resource:pantothenate_synthetase____BSU22420 property:encodes ?w } } . ?w rdf:type ontology:nutrient }
[]