Simple Question (Direct)
Simple Question
Q705522
P26
Q502895
USER
Which person is the life partner of Hiroyuki Sanada ?
(Q705522,P26,c(Q502895))
action filter_type
action find
entity Q705522
relation P26
type Q502895
['Q705522', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q705522 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Hiroyuki Sanada
action filter_type
action find
entity Hiroyuki Sanada
relation spouse
type common name
['Hiroyuki Sanada', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Hiroyuki_Sanada property:spouse ?o . ?o rdf:type ontology:common_name }
[]
common name
Q11496977
SYSTEM
Satomi Tezuka
Q11496977
(Q705522,P26,c(Q502895))
action filter_type
action find
entity Q705522
relation P26
type Q502895
[ANSWER] is the life partner of Hiroyuki Sanada
['Q705522', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q705522 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Satomi Tezuka
Satomi Tezuka is the life partner of Hiroyuki Sanada
Satomi Tezuka
action filter_type
action find
entity Hiroyuki Sanada
relation spouse
type common name
['Hiroyuki Sanada', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Hiroyuki_Sanada property:spouse ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11496977
P161
Q15416
USER
Which television program does that person star in ?
(c(Q15416),P161,Q11496977)
action filter_type
action find_reverse
entity Q11496977
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q11496977']
SELECT DISTINCT ?e WHERE { ?e property:P161 resource:Q11496977 . ?e rdf:type ontology:Q15416 }
Satomi Tezuka
action filter_type
action find_reverse
entity Satomi Tezuka
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Satomi Tezuka']
SELECT DISTINCT ?e WHERE { ?e property:cast_member resource:Satomi_Tezuka . ?e rdf:type ontology:television_program }
[]
television program
Q11325984
SYSTEM
Haikara-san
Q11325984
(c(Q15416),P161,Q11496977)
action filter_type
action find_reverse
entity Q11496977
relation P161
type Q15416
That person stars in [ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q11496977']
SELECT DISTINCT ?e WHERE { ?e property:P161 resource:Q11496977 . ?e rdf:type ontology:Q15416 }
Haikara-san
That person stars in Haikara-san
Haikara-san
action filter_type
action find_reverse
entity Satomi Tezuka
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Satomi Tezuka']
SELECT DISTINCT ?e WHERE { ?e property:cast_member resource:Satomi_Tezuka . ?e rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q705522
P166
Q2003221
USER
What was awarded to Hiroyuki Sanada ?
(Q705522,P166,c(Q2003221))
action filter_type
action find
entity Q705522
relation P166
type Q2003221
['Q705522', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2003221 . resource:Q705522 property:P166 ?j }
Hiroyuki Sanada
action filter_type
action find
entity Hiroyuki Sanada
relation award received
type chivalric order
['Hiroyuki Sanada', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:chivalric_order . resource:Hiroyuki_Sanada property:award_received ?j }
[]
chivalric order
Q12201526
SYSTEM
Member of the Order of the British Empire
Q12201526
(Q705522,P166,c(Q2003221))
action filter_type
action find
entity Q705522
relation P166
type Q2003221
Japan [ANSWER] was awarded to Hiroyuki Sanada
['Q705522', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2003221 . resource:Q705522 property:P166 ?j }
Member of the Order of the British Empire
Japan Member of the Order of the British Empire was awarded to Hiroyuki Sanada
Member of the Order of the British Empire
action filter_type
action find
entity Hiroyuki Sanada
relation award received
type chivalric order
['Hiroyuki Sanada', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:chivalric_order . resource:Hiroyuki_Sanada property:award_received ?j }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q12201526 Q934531
P166
Q502895
USER
Was Martyn Williams honoured with that chivalric order ?
(Q934531,P166,Q12201526)
action is_in
entity Q12201526
action find
entity Q934531
relation P166
['Q934531', 'P166', 'Q12201526']
ASK WHERE { resource:Q934531 property:P166 resource:Q12201526 }
Member of the Order of the British Empire Martyn Williams
action is_in
entity Member of the Order of the British Empire
action find
entity Martyn Williams
relation award received
['Martyn Williams', 'award received', 'Member of the Order of the British Empire']
ASK WHERE { resource:Martyn_Williams property:award_received resource:Member_of_the_Order_of_the_British_Empire }
[]
common name
SYSTEM
YES
(Q934531,P166,Q12201526)
action is_in
entity Q12201526
action find
entity Q934531
relation P166
[ANSWER]
['Q934531', 'P166', 'Q12201526']
ASK WHERE { resource:Q934531 property:P166 resource:Q12201526 }
Yes
action is_in
entity Member of the Order of the British Empire
action find
entity Martyn Williams
relation award received
['Martyn Williams', 'award received', 'Member of the Order of the British Empire']
ASK WHERE { resource:Martyn_Williams property:award_received resource:Member_of_the_Order_of_the_British_Empire }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q11496977 Q17
P27
Q15617994
USER
Is Satomi Tezuka a civilian of Japan ?
(Q11496977,P27,Q17)
action is_in
entity Q17
action find
entity Q11496977
relation P27
['Q11496977', 'P27', 'Q17']
ASK WHERE { resource:Q11496977 property:P27 resource:Q17 }
Satomi Tezuka Japan
action is_in
entity Japan
action find
entity Satomi Tezuka
relation country of citizenship
['Satomi Tezuka', 'country of citizenship', 'Japan']
ASK WHERE { resource:Satomi_Tezuka property:country_of_citizenship resource:Japan }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q11496977,P27,Q17)
action is_in
entity Q17
action find
entity Q11496977
relation P27
[ANSWER]
['Q11496977', 'P27', 'Q17']
ASK WHERE { resource:Q11496977 property:P27 resource:Q17 }
Yes
action is_in
entity Japan
action find
entity Satomi Tezuka
relation country of citizenship
['Satomi Tezuka', 'country of citizenship', 'Japan']
ASK WHERE { resource:Satomi_Tezuka property:country_of_citizenship resource:Japan }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12201526
P17
Q15617994
USER
Which administrative territory does Member of the Order of the British Empire belong to ?
(Q12201526,P17,c(Q15617994))
action filter_type
action find
entity Q12201526
relation P17
type Q15617994
['Q12201526', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q12201526 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Member of the Order of the British Empire
action filter_type
action find
entity Member of the Order of the British Empire
relation country
type designation for an administrative territorial entity
['Member of the Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Member_of_the_Order_of_the_British_Empire property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q12201526,P17,c(Q15617994))
action filter_type
action find
entity Q12201526
relation P17
type Q15617994
Member of the Order of the British Empire belongs to the [ANSWER]
['Q12201526', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q12201526 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
United Kingdom
Member of the Order of the British Empire belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity Member of the Order of the British Empire
relation country
type designation for an administrative territorial entity
['Member of the Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Member_of_the_Order_of_the_British_Empire property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P108
Q502895
USER
Which people work for that administrative territory ?
(c(Q502895),P108,Q145)
action filter_type
action find_reverse
entity Q145
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q145']
SELECT DISTINCT ?q WHERE { ?q property:P108 resource:Q145 . ?q rdf:type ontology:Q502895 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United Kingdom']
SELECT DISTINCT ?q WHERE { ?q property:employer resource:United_Kingdom . ?q rdf:type ontology:common_name }
[]
common name
Q131733 Q2261240 Q110869
SYSTEM
Henry Cavendish, William Hume-Rothery, William Lassell
Q131733 Q2261240 Q110869
(c(Q502895),P108,Q145)
action filter_type
action find_reverse
entity Q145
relation P108
type Q502895
[ANSWERS] work for that administrative territory
[{'concept': 'Q502895'}, 'P108', 'Q145']
SELECT DISTINCT ?q WHERE { ?q property:P108 resource:Q145 . ?q rdf:type ontology:Q502895 }
Henry Cavendish William Hume-Rothery William Lassell
Henry Cavendish, William Hume-Rothery and William Lassell work for that administrative territory
Henry Cavendish William Hume-Rothery William Lassell
action filter_type
action find_reverse
entity United Kingdom
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United Kingdom']
SELECT DISTINCT ?q WHERE { ?q property:employer resource:United_Kingdom . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q340653 Q145
P47 P530
Q15617994
USER
Which administrative territories have diplomatic relationships with United Kingdom or have a shared border with Badesi ?
OR((Q145,P530,c(Q15617994)), (Q340653,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q145
relation P530
action find
entity Q340653
relation P47
type Q15617994
{'OR': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q340653', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q145 property:P530 ?t } UNION { resource:Q340653 property:P47 ?t } } . ?t rdf:type ontology:Q15617994 }
Badesi United Kingdom
action filter_type
action union
action find
entity United Kingdom
relation diplomatic relation
action find
entity Badesi
relation shares border with
type designation for an administrative territorial entity
{'OR': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Badesi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:United_Kingdom property:diplomatic_relation ?t } UNION { resource:Badesi property:shares_border_with ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q805 Q341096 Q801 Q155 Q37 Q403 Q391735 Q38 Q391723
SYSTEM
France, Yemen, Trinità d'Agultu e Vignola, Israel, Brazil, Lithuania, Serbia, Viddalba, Italy, Valledoria
Q142 Q805 Q341096 Q801 Q155 Q37 Q403 Q391735 Q38 Q391723
OR((Q145,P530,c(Q15617994)), (Q340653,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q145
relation P530
action find
entity Q340653
relation P47
type Q15617994
[ANSWERS] have diplomatic relationships with United Kingdom or have a shared border with Badesi
{'OR': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q340653', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q145 property:P530 ?t } UNION { resource:Q340653 property:P47 ?t } } . ?t rdf:type ontology:Q15617994 }
France Yemen Trinità d'Agultu e Vignola Israel Brazil Lithuania Serbia Viddalba Italy Valledoria
France, Yemen, Trinità d'Agultu e Vignola, Israel, Brazil, Lithuania, Serbia, Viddalba, Italy and Valledoria have diplomatic relationships with United Kingdom or have a shared border with Badesi
France Yemen Trinità d'Agultu e Vignola Israel Brazil Lithuania Serbia Viddalba Italy Valledoria
action filter_type
action union
action find
entity United Kingdom
relation diplomatic relation
action find
entity Badesi
relation shares border with
type designation for an administrative territorial entity
{'OR': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Badesi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:United_Kingdom property:diplomatic_relation ?t } UNION { resource:Badesi property:shares_border_with ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q155
P361
Q2221906
USER
Which geographic locations are that administrative territory a part of ?
(Q155,P361,c(Q2221906))
action filter_type
action find
entity Q155
relation P361
type Q2221906
['Q155', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2221906 . resource:Q155 property:P361 ?k }
Brazil
action filter_type
action find
entity Brazil
relation part of
type geographic location
['Brazil', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:geographic_location . resource:Brazil property:part_of ?k }
[]
geographic location
Clarification for simple ques.
Q403
SYSTEM
Did you mean Serbia ?
Q142 Q805 Q341096 Q801 Q155 Q37 Q403 Q391735 Q38 Q391723
(Q142,P361,c(Q2221906)) (Q805,P361,c(Q2221906)) (Q341096,P361,c(Q2221906)) (Q801,P361,c(Q2221906)) (Q155,P361,c(Q2221906)) (Q37,P361,c(Q2221906)) (Q403,P361,c(Q2221906)) (Q391735,P361,c(Q2221906)) (Q38,P361,c(Q2221906)) (Q391723,P361,c(Q2221906))
[ANSWER]
['Q142', 'P361', {'concept': 'Q2221906'}] ['Q805', 'P361', {'concept': 'Q2221906'}] ['Q341096', 'P361', {'concept': 'Q2221906'}] ['Q801', 'P361', {'concept': 'Q2221906'}] ['Q155', 'P361', {'concept': 'Q2221906'}] ['Q37', 'P361', {'concept': 'Q2221906'}] ['Q403', 'P361', {'concept': 'Q2221906'}] ['Q391735', 'P361', {'concept': 'Q2221906'}] ['Q38', 'P361', {'concept': 'Q2221906'}] ['Q391723', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2221906 . resource:Q155 property:P361 ?k }
France Yemen Trinità d'Agultu e Vignola Israel Brazil Lithuania Serbia Viddalba Italy Valledoria
Did you mean Serbia ?
Serbia
['France', 'part of', {'concept': 'geographic location'}] ['Yemen', 'part of', {'concept': 'geographic location'}] ["Trinità d'Agultu e Vignola", 'part of', {'concept': 'geographic location'}] ['Israel', 'part of', {'concept': 'geographic location'}] ['Brazil', 'part of', {'concept': 'geographic location'}] ['Lithuania', 'part of', {'concept': 'geographic location'}] ['Serbia', 'part of', {'concept': 'geographic location'}] ['Viddalba', 'part of', {'concept': 'geographic location'}] ['Italy', 'part of', {'concept': 'geographic location'}] ['Valledoria', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:geographic_location . resource:Brazil property:part_of ?k }
[]
Simple Question (Coreferenced)
USER
No, I meant Brazil. Could you tell me the answer for that?
(Q155,P361,c(Q2221906))
Q155
['Q155', 'P361', {'concept': 'Q2221906'}]
['Brazil', 'part of', {'concept': 'geographic location'}]
[]
Q12585 Q236118
SYSTEM
Latin America, Southern Cone
Q12585 Q236118
(Q155,P361,c(Q2221906))
action filter_type
action find
entity Q155
relation P361
type Q2221906
[ANSWERS] are that administrative territory a part of
['Q155', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2221906 . resource:Q155 property:P361 ?k }
Latin America Southern Cone
Latin America and Southern Cone are that administrative territory a part of
Latin America Southern Cone
action filter_type
action find
entity Brazil
relation part of
type geographic location
['Brazil', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:geographic_location . resource:Brazil property:part_of ?k }
[]