Simple Question (Direct)
Simple Question
Q11531918
P136
Q151885
USER
What can be considered as category for Hiroaki Matsuzawa ?
(Q11531918,P136,c(Q151885))
action filter_type
action find
entity Q11531918
relation P136
type Q151885
['Q11531918', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { resource:Q11531918 property:P136 ?e . ?e rdf:type ontology:Q151885 }
Hiroaki Matsuzawa
action filter_type
action find
entity Hiroaki Matsuzawa
relation genre
type concept
['Hiroaki Matsuzawa', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { resource:Hiroaki_Matsuzawa property:genre ?e . ?e rdf:type ontology:concept }
[]
concept
Q11399
SYSTEM
rock music
Q11399
(Q11531918,P136,c(Q151885))
action filter_type
action find
entity Q11531918
relation P136
type Q151885
In [ANSWER] can be considered as category for Hiroaki Matsuzawa
['Q11531918', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { resource:Q11531918 property:P136 ?e . ?e rdf:type ontology:Q151885 }
rock music
In rock music can be considered as category for Hiroaki Matsuzawa
rock music
action filter_type
action find
entity Hiroaki Matsuzawa
relation genre
type concept
['Hiroaki Matsuzawa', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { resource:Hiroaki_Matsuzawa property:genre ?e . ?e rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11531918
P509
Q2057971
USER
How did that person die ?
(Q11399,P509,c(Q2057971))
action filter_type
action find
entity Q11531918
relation P509
type Q2057971
['Q11399', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { resource:Q11531918 property:P509 ?m . ?m rdf:type ontology:Q2057971 }
Hiroaki Matsuzawa
action filter_type
action find
entity Hiroaki Matsuzawa
relation cause of death
type health problem
['rock music', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { resource:Hiroaki_Matsuzawa property:cause_of_death ?m . ?m rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q11399,P509,c(Q2057971))
action filter_type
action find
entity Q11531918
relation P509
type Q2057971
That person died of [ANSWER]
['Q11399', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { resource:Q11531918 property:P509 ?m . ?m rdf:type ontology:Q2057971 }
myocardial infarction
That person died of myocardial infarction
myocardial infarction
action filter_type
action find
entity Hiroaki Matsuzawa
relation cause of death
type health problem
['rock music', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { resource:Hiroaki_Matsuzawa property:cause_of_death ?m . ?m rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11531918
P1196
Q1931388
USER
What manner did Hiroaki Matsuzawa die ?
(Q11531918,P1196,c(Q1931388))
action filter_type
action find
entity Q11531918
relation P1196
type Q1931388
['Q11531918', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1931388 . resource:Q11531918 property:P1196 ?o }
Hiroaki Matsuzawa
action filter_type
action find
entity Hiroaki Matsuzawa
relation manner of death
type cause of death
['Hiroaki Matsuzawa', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:cause_of_death . resource:Hiroaki_Matsuzawa property:manner_of_death ?o }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q11531918,P1196,c(Q1931388))
action filter_type
action find
entity Q11531918
relation P1196
type Q1931388
Hiroaki Matsuzawa died of [ANSWER]
['Q11531918', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1931388 . resource:Q11531918 property:P1196 ?o }
natural causes
Hiroaki Matsuzawa died of natural causes
natural causes
action filter_type
action find
entity Hiroaki Matsuzawa
relation manner of death
type cause of death
['Hiroaki Matsuzawa', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:cause_of_death . resource:Hiroaki_Matsuzawa property:manner_of_death ?o }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q321275 Q11531918
P27
Q15617994
USER
Which administrative territories are Hiroaki Matsuzawa or Jón Sigurðsson an inhabitant of ?
OR((Q11531918,P27,c(Q15617994)), (Q321275,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11531918
relation P27
action find
entity Q321275
relation P27
type Q15617994
{'OR': [['Q11531918', 'P27', {'concept': 'Q15617994'}], ['Q321275', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { VALUES ( ?f ) { ( resource:Q11531918 ) ( resource:Q321275 ) } . ?f property:P27 ?n } }
Jón Sigurðsson Hiroaki Matsuzawa
action filter_type
action union
action find
entity Hiroaki Matsuzawa
relation country of citizenship
action find
entity Jón Sigurðsson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hiroaki Matsuzawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jón Sigurðsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?f ) { ( resource:Hiroaki_Matsuzawa ) ( resource:Jón_Sigurðsson ) } . ?f property:country_of_citizenship ?n } }
[]
designation for an administrative territorial entity
Q17 Q189
SYSTEM
Japan, Iceland
Q17 Q189
OR((Q11531918,P27,c(Q15617994)), (Q321275,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11531918
relation P27
action find
entity Q321275
relation P27
type Q15617994
[ANSWERS] are Hiroaki Matsuzawa or Jón Sigurðsson an inhabitant of
{'OR': [['Q11531918', 'P27', {'concept': 'Q15617994'}], ['Q321275', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { VALUES ( ?f ) { ( resource:Q11531918 ) ( resource:Q321275 ) } . ?f property:P27 ?n } }
Japan Iceland
Japan and Iceland are Hiroaki Matsuzawa or Jón Sigurðsson an inhabitant of
Japan Iceland
action filter_type
action union
action find
entity Hiroaki Matsuzawa
relation country of citizenship
action find
entity Jón Sigurðsson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hiroaki Matsuzawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jón Sigurðsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?f ) { ( resource:Hiroaki_Matsuzawa ) ( resource:Jón_Sigurðsson ) } . ?f property:country_of_citizenship ?n } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17 Q189
P1313
Q12737077
USER
Which occupations serve as the political office that are fulfilled by the head of the government of those administrative territories ?
(Q17,P1313,c(Q12737077)) (Q189,P1313,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P1313
type Q12737077
['Q17', 'P1313', {'concept': 'Q12737077'}] ['Q189', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?h ) { ( resource:Q17 ) ( resource:Q189 ) } . ?o rdf:type ontology:Q12737077 . ?h property:P1313 ?o }
Japan Iceland
action filter_type
action find
entity prev_answer
relation office held by head of government
type occupation
['Japan', 'office held by head of government', {'concept': 'occupation'}] ['Iceland', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?h ) { ( resource:Japan ) ( resource:Iceland ) } . ?o rdf:type ontology:occupation . ?h property:office_held_by_head_of_government ?o }
[]
occupation
Q274948 Q19190022
SYSTEM
Prime Minister of Japan, Prime Minister of Iceland
Q274948 Q19190022
(Q17,P1313,c(Q12737077)) (Q189,P1313,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P1313
type Q12737077
[ANSWERS] serve as the political office that are fulfilled by the head of the government of those administrative territories
['Q17', 'P1313', {'concept': 'Q12737077'}] ['Q189', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?h ) { ( resource:Q17 ) ( resource:Q189 ) } . ?o rdf:type ontology:Q12737077 . ?h property:P1313 ?o }
Prime Minister of Japan Prime Minister of Iceland
Prime Minister of Japan and Prime Minister of Iceland serve as the political office that are fulfilled by the head of the government of those administrative territories
Prime Minister of Japan Prime Minister of Iceland
action filter_type
action find
entity prev_answer
relation office held by head of government
type occupation
['Japan', 'office held by head of government', {'concept': 'occupation'}] ['Iceland', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?h ) { ( resource:Japan ) ( resource:Iceland ) } . ?o rdf:type ontology:occupation . ?h property:office_held_by_head_of_government ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q321275
P21
Q290
USER
Which sex does Jón Sigurðsson have ?
(Q321275,P21,c(Q290))
action filter_type
action find
entity Q321275
relation P21
type Q290
['Q321275', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q321275 property:P21 ?x . ?x rdf:type ontology:Q290 }
Jón Sigurðsson
action filter_type
action find
entity Jón Sigurðsson
relation gender
type sex
['Jón Sigurðsson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Jón_Sigurðsson property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q321275,P21,c(Q290))
action filter_type
action find
entity Q321275
relation P21
type Q290
Jón Sigurðsson has a [ANSWER]
['Q321275', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q321275 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
Jón Sigurðsson has a male
male
action filter_type
action find
entity Jón Sigurðsson
relation gender
type sex
['Jón Sigurðsson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Jón_Sigurðsson property:gender ?x . ?x rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q6390414
P21
Q502895
USER
Does Kenneth MacLean Glazier, Sr. have the gender as that sex ?
(Q6390414,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q6390414
relation P21
['Q6390414', 'P21', 'Q6581097']
ASK WHERE { resource:Q6390414 property:P21 resource:Q6581097 }
male Kenneth MacLean Glazier, Sr.
action is_in
entity male
action find
entity Kenneth MacLean Glazier, Sr.
relation gender
['Kenneth MacLean Glazier, Sr.', 'gender', 'male']
ASK WHERE { resource:Kenneth_MacLean_Glazier,_Sr. property:gender resource:male }
[]
common name
SYSTEM
YES
(Q6390414,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q6390414
relation P21
[ANSWER]
['Q6390414', 'P21', 'Q6581097']
ASK WHERE { resource:Q6390414 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Kenneth MacLean Glazier, Sr.
relation gender
['Kenneth MacLean Glazier, Sr.', 'gender', 'male']
ASK WHERE { resource:Kenneth_MacLean_Glazier,_Sr. property:gender resource:male }
[]