Simple Question (Direct)
Simple Question
Q10263038
P20
Q56061
USER
Where did Célia Biar expire ?
(Q10263038,P20,c(Q56061))
action filter_type
action find
entity Q10263038
relation P20
type Q56061
['Q10263038', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q10263038 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Célia Biar
action filter_type
action find
entity Célia Biar
relation place of death
type administrative territorial entity
['Célia Biar', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Célia_Biar property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q174
SYSTEM
São Paulo
Q174
(Q10263038,P20,c(Q56061))
action filter_type
action find
entity Q10263038
relation P20
type Q56061
Célia Biar expired in [ANSWER]
['Q10263038', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q10263038 property:P20 ?n . ?n rdf:type ontology:Q56061 }
São Paulo
Célia Biar expired in São Paulo
São Paulo
action filter_type
action find
entity Célia Biar
relation place of death
type administrative territorial entity
['Célia Biar', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Célia_Biar property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10263038
P21
Q290
USER
What is the sex of that person ?
(Q174,P21,c(Q290))
action filter_type
action find
entity Q10263038
relation P21
type Q290
['Q174', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q10263038 property:P21 ?s . ?s rdf:type ontology:Q290 }
Célia Biar
action filter_type
action find
entity Célia Biar
relation gender
type sex
['São Paulo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Célia_Biar property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q174,P21,c(Q290))
action filter_type
action find
entity Q10263038
relation P21
type Q290
The sex of that person is the [ANSWER]
['Q174', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q10263038 property:P21 ?s . ?s rdf:type ontology:Q290 }
female
The sex of that person is the female
female
action filter_type
action find
entity Célia Biar
relation gender
type sex
['São Paulo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Célia_Biar property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10263038
P509
Q2057971
USER
How did Célia Biar die ?
(Q10263038,P509,c(Q2057971))
action filter_type
action find
entity Q10263038
relation P509
type Q2057971
['Q10263038', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2057971 . resource:Q10263038 property:P509 ?o }
Célia Biar
action filter_type
action find
entity Célia Biar
relation cause of death
type health problem
['Célia Biar', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:health_problem . resource:Célia_Biar property:cause_of_death ?o }
[]
health problem
Q47912
SYSTEM
lung cancer
Q47912
(Q10263038,P509,c(Q2057971))
action filter_type
action find
entity Q10263038
relation P509
type Q2057971
Célia biared [ANSWER]
['Q10263038', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2057971 . resource:Q10263038 property:P509 ?o }
lung cancer
Célia biared lung cancer
lung cancer
action filter_type
action find
entity Célia Biar
relation cause of death
type health problem
['Célia Biar', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:health_problem . resource:Célia_Biar property:cause_of_death ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10263038
P1196
Q1931388
USER
What manner did Célia Biar die ?
(Q10263038,P1196,c(Q1931388))
action filter_type
action find
entity Q10263038
relation P1196
type Q1931388
['Q10263038', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { resource:Q10263038 property:P1196 ?o . ?o rdf:type ontology:Q1931388 }
Célia Biar
action filter_type
action find
entity Célia Biar
relation manner of death
type cause of death
['Célia Biar', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { resource:Célia_Biar property:manner_of_death ?o . ?o rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q10263038,P1196,c(Q1931388))
action filter_type
action find
entity Q10263038
relation P1196
type Q1931388
Célia Biar died of [ANSWER]
['Q10263038', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { resource:Q10263038 property:P1196 ?o . ?o rdf:type ontology:Q1931388 }
natural causes
Célia Biar died of natural causes
natural causes
action filter_type
action find
entity Célia Biar
relation manner of death
type cause of death
['Célia Biar', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { resource:Célia_Biar property:manner_of_death ?o . ?o rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q2057971 Q7189713
USER
Which physiological conditions are the result of having atleast 1 health problem ?
(c(Q7189713),P828,c(Q2057971))
action atleast
action find_tuple_counts
relation P828
type Q7189713
type Q2057971
value 1
[{'concept': 'Q7189713'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?j ) WHERE { ?u property:P828 ?v . ?u rdf:type ontology:Q7189713 . ?v rdf:type ontology:Q2057971 } GROUP BY ?u } . FILTER ( ?j >= 1 ) }
action atleast
action find_tuple_counts
relation has cause
type physiological condition
type health problem
value 1
[{'concept': 'physiological condition'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?j ) WHERE { ?u property:has_cause ?v . ?u rdf:type ontology:physiological_condition . ?v rdf:type ontology:health_problem } GROUP BY ?u } . FILTER ( ?j >= 1 ) }
[]
health problem physiological condition
Q1149382 Q7370380 Q18347891
SYSTEM
Janeway lesion, Roth's spot, Haab's striae
Q1149382 Q18347891 Q1424702 Q3542219 Q3427755 Q738538 Q3557657 Q4976425 Q4099570 Q7261489 Q7370380 Q418527 Q8036919 Q1516325 Q4143478 Q6884891 Q3398233 Q649122 Q16946733
(c(Q7189713),P828,c(Q2057971))
action atleast
action find_tuple_counts
relation P828
type Q7189713
type Q2057971
value 1
[ANSWERS] are the result of having atleast 1 health problem
[{'concept': 'Q7189713'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?j ) WHERE { ?u property:P828 ?v . ?u rdf:type ontology:Q7189713 . ?v rdf:type ontology:Q2057971 } GROUP BY ?u } . FILTER ( ?j >= 1 ) }
Janeway lesion Haab's striae Hutchinson's teeth typhoid state Diaphragmatic paradox tic social anxiety Brown tumor Forchheimer spots purple urine bag syndrome Roth's spot akinesia Woronoff's ring Osler's node hunchback Mizuo–Nakamura phenomenon porphyrinuria Jugular venous pressure Phacodonesis
Janeway lesion, Roth's spot and Haab's striae are the result of having atleast 1 health problem
Janeway lesion Roth's spot Haab's striae
action atleast
action find_tuple_counts
relation has cause
type physiological condition
type health problem
value 1
[{'concept': 'physiological condition'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?j ) WHERE { ?u property:has_cause ?v . ?u rdf:type ontology:physiological_condition . ?v rdf:type ontology:health_problem } GROUP BY ?u } . FILTER ( ?j >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1149382 Q7370380 Q18347891
P828
Q2057971
USER
What leads to Janeway lesion, Roth's spot and Haab's striae ?
(Q1149382,P828,c(Q2057971)) (Q7370380,P828,c(Q2057971)) (Q18347891,P828,c(Q2057971))
action union
action filter_type
action find
entity Q1149382
relation P828
type Q2057971
action filter_type
action find
entity Q7370380
relation P828
type Q2057971
action filter_type
action find
entity Q18347891
relation P828
type Q2057971
['Q1149382', 'P828', {'concept': 'Q2057971'}] ['Q7370380', 'P828', {'concept': 'Q2057971'}] ['Q18347891', 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { ?q property:P828 ?r . VALUES ( ?q ) { ( resource:Q1149382 ) ( resource:Q7370380 ) } }
Janeway lesion Roth's spot Haab's striae
action union
action filter_type
action find
entity Janeway lesion
relation has cause
type health problem
action filter_type
action find
entity Roth's spot
relation has cause
type health problem
action filter_type
action find
entity Haab's striae
relation has cause
type health problem
['Janeway lesion', 'has cause', {'concept': 'health problem'}] ["Roth's spot", 'has cause', {'concept': 'health problem'}] ["Haab's striae", 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { ?q property:has_cause ?r . VALUES ( ?q ) { ( resource:Janeway_lesion ) ( resource:Roth's_spot ) } }
[]
health problem
Q2450598 Q2450598 Q159701
SYSTEM
glaucoma for 3rd, infective endocarditis for 1st, 2nd
Q2450598 Q2450598 Q159701
(Q1149382,P828,c(Q2057971)) (Q7370380,P828,c(Q2057971)) (Q18347891,P828,c(Q2057971))
action union
action filter_type
action find
entity Q1149382
relation P828
type Q2057971
action filter_type
action find
entity Q7370380
relation P828
type Q2057971
action filter_type
action find
entity Q18347891
relation P828
type Q2057971
[ANSWERS]
['Q1149382', 'P828', {'concept': 'Q2057971'}] ['Q7370380', 'P828', {'concept': 'Q2057971'}] ['Q18347891', 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { ?q property:P828 ?r . VALUES ( ?q ) { ( resource:Q1149382 ) ( resource:Q7370380 ) } }
infective endocarditis infective endocarditis glaucoma
Infective endocarditis, infective endocarditis and glaucoma lead to Janeway lesion, Roth's spot and Haab's striae
infective endocarditis infective endocarditis glaucoma
action union
action filter_type
action find
entity Janeway lesion
relation has cause
type health problem
action filter_type
action find
entity Roth's spot
relation has cause
type health problem
action filter_type
action find
entity Haab's striae
relation has cause
type health problem
['Janeway lesion', 'has cause', {'concept': 'health problem'}] ["Roth's spot", 'has cause', {'concept': 'health problem'}] ["Haab's striae", 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { ?q property:has_cause ?r . VALUES ( ?q ) { ( resource:Janeway_lesion ) ( resource:Roth's_spot ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2450598
P2176
Q8386
USER
Which drugs are used as an antidote for that health problem ?
(Q2450598,P2176,c(Q8386))
action filter_type
action find
entity Q2450598
relation P2176
type Q8386
['Q2450598', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?m WHERE { resource:Q2450598 property:P2176 ?m . ?m rdf:type ontology:Q8386 }
infective endocarditis
action filter_type
action find
entity infective endocarditis
relation drug used for treatment
type drug
['infective endocarditis', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?m WHERE { resource:infective_endocarditis property:drug_used_for_treatment ?m . ?m rdf:type ontology:drug }
[]
drug
Clarification for simple ques.
Q2450598
SYSTEM
Did you mean infective endocarditis ?
Q2450598 Q2450598 Q159701
(Q2450598,P2176,c(Q8386)) (Q2450598,P2176,c(Q8386)) (Q159701,P2176,c(Q8386))
[ANSWER]
['Q2450598', 'P2176', {'concept': 'Q8386'}] ['Q2450598', 'P2176', {'concept': 'Q8386'}] ['Q159701', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?m WHERE { resource:Q2450598 property:P2176 ?m . ?m rdf:type ontology:Q8386 }
infective endocarditis infective endocarditis glaucoma
Did you mean infective endocarditis ?
infective endocarditis
['infective endocarditis', 'drug used for treatment', {'concept': 'drug'}] ['infective endocarditis', 'drug used for treatment', {'concept': 'drug'}] ['glaucoma', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?m WHERE { resource:infective_endocarditis property:drug_used_for_treatment ?m . ?m rdf:type ontology:drug }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2450598,P2176,c(Q8386))
['Q2450598', 'P2176', {'concept': 'Q8386'}]
['infective endocarditis', 'drug used for treatment', {'concept': 'drug'}]
[]
Q418725 Q1638852 Q244150
SYSTEM
Oxacillin, Nafcillin, Ampicillin
Q418725 Q1638852 Q425152 Q415739 Q192717 Q244150 Q424027
(Q2450598,P2176,c(Q8386))
action filter_type
action find
entity Q2450598
relation P2176
type Q8386
[ANSWERS] are used as an antidote for that health problem
['Q2450598', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?m WHERE { resource:Q2450598 property:P2176 ?m . ?m rdf:type ontology:Q8386 }
Oxacillin Nafcillin Imipenem Cefazolin Streptomycin Ampicillin Vancomycin
Oxacillin, Nafcillin and Ampicillin are used as an antidote for that health problem
Oxacillin Nafcillin Ampicillin
action filter_type
action find
entity infective endocarditis
relation drug used for treatment
type drug
['infective endocarditis', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?m WHERE { resource:infective_endocarditis property:drug_used_for_treatment ?m . ?m rdf:type ontology:drug }
[]