Simple Question (Direct)
Simple Question
Q2052520
P1196
Q1931388
USER
What manner did Myrtle Stedman die ?
(Q2052520,P1196,c(Q1931388))
action filter_type
action find
entity Q2052520
relation P1196
type Q1931388
['Q2052520', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?x WHERE { resource:Q2052520 property:P1196 ?x . ?x rdf:type ontology:Q1931388 }
Myrtle Stedman
action filter_type
action find
entity Myrtle Stedman
relation manner of death
type cause of death
['Myrtle Stedman', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?x WHERE { resource:Myrtle_Stedman property:manner_of_death ?x . ?x rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q2052520,P1196,c(Q1931388))
action filter_type
action find
entity Q2052520
relation P1196
type Q1931388
Myrtle Stedman died of [ANSWER]
['Q2052520', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?x WHERE { resource:Q2052520 property:P1196 ?x . ?x rdf:type ontology:Q1931388 }
natural causes
Myrtle Stedman died of natural causes
natural causes
action filter_type
action find
entity Myrtle Stedman
relation manner of death
type cause of death
['Myrtle Stedman', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?x WHERE { resource:Myrtle_Stedman property:manner_of_death ?x . ?x rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2052520
P509
Q2057971
USER
What lead to the death of that person ?
(Q3739104,P509,c(Q2057971))
action filter_type
action find
entity Q2052520
relation P509
type Q2057971
['Q3739104', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?t WHERE { resource:Q2052520 property:P509 ?t . ?t rdf:type ontology:Q2057971 }
Myrtle Stedman
action filter_type
action find
entity Myrtle Stedman
relation cause of death
type health problem
['natural causes', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?t WHERE { resource:Myrtle_Stedman property:cause_of_death ?t . ?t rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q3739104,P509,c(Q2057971))
action filter_type
action find
entity Q2052520
relation P509
type Q2057971
[ANSWER] lead to the death of that person
['Q3739104', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?t WHERE { resource:Q2052520 property:P509 ?t . ?t rdf:type ontology:Q2057971 }
myocardial infarction
Myocardial infarction lead to the death of that person
myocardial infarction
action filter_type
action find
entity Myrtle Stedman
relation cause of death
type health problem
['natural causes', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?t WHERE { resource:Myrtle_Stedman property:cause_of_death ?t . ?t rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2052520
P27
Q15617994
USER
How many administrative territories are the native countriesof Myrtle Stedman ?
(Q2052520,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2052520
relation P27
type Q15617994
['Q2052520', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q2052520 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Myrtle Stedman
action count
action filter_type
action find
entity Myrtle Stedman
relation country of citizenship
type designation for an administrative territorial entity
['Myrtle Stedman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Myrtle_Stedman property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q2052520,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2052520
relation P27
type Q15617994
[ANSWER]
['Q2052520', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q2052520 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Myrtle Stedman
relation country of citizenship
type designation for an administrative territorial entity
['Myrtle Stedman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Myrtle_Stedman property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2375792
Q15617994
USER
And how about Muriel Hermine?
(Q2375792,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2375792
relation P27
type Q15617994
['Q2375792', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Q2375792 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Muriel Hermine
action count
action filter_type
action find
entity Muriel Hermine
relation country of citizenship
type designation for an administrative territorial entity
['Muriel Hermine', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Muriel_Hermine property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q2375792,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2375792
relation P27
type Q15617994
[ANSWER]
['Q2375792', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Q2375792 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Muriel Hermine
relation country of citizenship
type designation for an administrative territorial entity
['Muriel Hermine', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Muriel_Hermine property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q2057971 Q7189713
USER
Which physiological conditions do exactly 1 health problem lead to ?
(c(Q7189713),P828,c(Q2057971))
action equal
action find_tuple_counts
relation P828
type Q7189713
type Q2057971
value 1
[{'concept': 'Q7189713'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?z ) WHERE { ?c property:P828 ?i . ?i rdf:type ontology:Q2057971 . ?c rdf:type ontology:Q7189713 } GROUP BY ?c } . FILTER ( ?z = 1 ) }
action equal
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 ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?z ) WHERE { ?c property:has_cause ?i . ?i rdf:type ontology:health_problem . ?c rdf:type ontology:physiological_condition } GROUP BY ?c } . FILTER ( ?z = 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 equal
action find_tuple_counts
relation P828
type Q7189713
type Q2057971
value 1
Exactly 1 health problem lead to the [ANSWERS]
[{'concept': 'Q7189713'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?z ) WHERE { ?c property:P828 ?i . ?i rdf:type ontology:Q2057971 . ?c rdf:type ontology:Q7189713 } GROUP BY ?c } . FILTER ( ?z = 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
Exactly 1 health problem lead to the Janeway lesion, Roth's spot and Haab's striae
Janeway lesion Roth's spot Haab's striae
action equal
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 ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?z ) WHERE { ?c property:has_cause ?i . ?i rdf:type ontology:health_problem . ?c rdf:type ontology:physiological_condition } GROUP BY ?c } . FILTER ( ?z = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7370380
P138
Q502895
USER
Which person is the origin of that physiological condition ?
(Q7370380,P138,c(Q502895))
action filter_type
action find
entity Q7370380
relation P138
type Q502895
['Q7370380', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q7370380 property:P138 ?q . ?q rdf:type ontology:Q502895 }
Roth's spot
action filter_type
action find
entity Roth's spot
relation named after
type common name
["Roth's spot", 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Roth's_spot property:named_after ?q . ?q rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q18347891
SYSTEM
Did you mean Haab's striae ?
Q1149382 Q7370380 Q18347891
(Q1149382,P138,c(Q502895)) (Q7370380,P138,c(Q502895)) (Q18347891,P138,c(Q502895))
[ANSWER]
['Q1149382', 'P138', {'concept': 'Q502895'}] ['Q7370380', 'P138', {'concept': 'Q502895'}] ['Q18347891', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q7370380 property:P138 ?q . ?q rdf:type ontology:Q502895 }
Janeway lesion Roth's spot Haab's striae
Did you mean Haab's striae ?
Haab's striae
['Janeway lesion', 'named after', {'concept': 'common name'}] ["Roth's spot", 'named after', {'concept': 'common name'}] ["Haab's striae", 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Roth's_spot property:named_after ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Roth's spot. Could you tell me the answer for that?
(Q7370380,P138,c(Q502895))
Q7370380
['Q7370380', 'P138', {'concept': 'Q502895'}]
["Roth's spot", 'named after', {'concept': 'common name'}]
[]
Q121444
SYSTEM
Moritz Roth
Q121444
(Q7370380,P138,c(Q502895))
action filter_type
action find
entity Q7370380
relation P138
type Q502895
[ANSWER] is the origin of that physiological condition
['Q7370380', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q7370380 property:P138 ?q . ?q rdf:type ontology:Q502895 }
Moritz Roth
Moritz Roth is the origin of that physiological condition
Moritz Roth
action filter_type
action find
entity Roth's spot
relation named after
type common name
["Roth's spot", 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Roth's_spot property:named_after ?q . ?q rdf:type ontology:common_name }
[]