Simple Question (Direct)
Simple Question
Q3784997
P26
Q502895
USER
Who are married to Henry Somerset, 2nd Earl of Worcester ?
(Q3784997,P26,c(Q502895))
action filter_type
action find
entity Q3784997
relation P26
type Q502895
['Q3784997', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q3784997 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Henry Somerset, 2nd Earl of Worcester
action filter_type
action find
entity Henry Somerset, 2nd Earl of Worcester
relation spouse
type common name
['Henry Somerset, 2nd Earl of Worcester', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Henry_Somerset,_2nd_Earl_of_Worcester property:spouse ?e . ?e rdf:type ontology:common_name }
[]
common name
Q5363526 Q6485588
SYSTEM
Elizabeth Somerset, Countess of Worcester, Margaret Courtenay, Baroness Herbert
Q5363526 Q6485588
(Q3784997,P26,c(Q502895))
action filter_type
action find
entity Q3784997
relation P26
type Q502895
[ANSWERS]
['Q3784997', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q3784997 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Elizabeth Somerset, Countess of Worcester Margaret Courtenay, Baroness Herbert
And Elizabeth Somerset, Countess of Worcester and Margaret Courtenay, Baroness Herbert are married to Henry Somerset, 2nd Earl of Worcester
Elizabeth Somerset, Countess of Worcester Margaret Courtenay, Baroness Herbert
action filter_type
action find
entity Henry Somerset, 2nd Earl of Worcester
relation spouse
type common name
['Henry Somerset, 2nd Earl of Worcester', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Henry_Somerset,_2nd_Earl_of_Worcester property:spouse ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3784997
P7
Q502895
USER
Which person has Henry Somerset, 2nd Earl of Worcester as their brother ?
(c(Q502895),P7,Q3784997)
action filter_type
action find_reverse
entity Q3784997
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q3784997']
SELECT DISTINCT ?g WHERE { ?g property:P7 resource:Q3784997 . ?g rdf:type ontology:Q502895 }
Henry Somerset, 2nd Earl of Worcester
action filter_type
action find_reverse
entity Henry Somerset, 2nd Earl of Worcester
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Henry Somerset, 2nd Earl of Worcester']
SELECT DISTINCT ?g WHERE { ?g property:brother resource:Henry_Somerset,_2nd_Earl_of_Worcester . ?g rdf:type ontology:common_name }
[]
common name
Q6485520
SYSTEM
Mary Grey, Baroness Grey de Wilton
Q6485520
(c(Q502895),P7,Q3784997)
action filter_type
action find_reverse
entity Q3784997
relation P7
type Q502895
[ANSWER] has Henry Somerset, 2nd Earl of Worcester as their brother
[{'concept': 'Q502895'}, 'P7', 'Q3784997']
SELECT DISTINCT ?g WHERE { ?g property:P7 resource:Q3784997 . ?g rdf:type ontology:Q502895 }
Mary Grey, Baroness Grey de Wilton
Mary Grey, Baroness Grey de Wilton has Henry Somerset, 2nd Earl of Worcester as their brother
Mary Grey, Baroness Grey de Wilton
action filter_type
action find_reverse
entity Henry Somerset, 2nd Earl of Worcester
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Henry Somerset, 2nd Earl of Worcester']
SELECT DISTINCT ?g WHERE { ?g property:brother resource:Henry_Somerset,_2nd_Earl_of_Worcester . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6485520
P9
Q502895
USER
Which person has that one as their sibling ?
(c(Q502895),P9,Q6485520)
action filter_type
action find_reverse
entity Q6485520
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q6485520']
SELECT DISTINCT ?b WHERE { ?b property:P9 resource:Q6485520 . ?b rdf:type ontology:Q502895 }
Mary Grey, Baroness Grey de Wilton
action filter_type
action find_reverse
entity Mary Grey, Baroness Grey de Wilton
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Mary Grey, Baroness Grey de Wilton']
SELECT DISTINCT ?b WHERE { ?b property:sister resource:Mary_Grey,_Baroness_Grey_de_Wilton . ?b rdf:type ontology:common_name }
[]
common name
Q3784997
SYSTEM
Henry Somerset, 2nd Earl of Worcester
Q3784997
(c(Q502895),P9,Q6485520)
action filter_type
action find_reverse
entity Q6485520
relation P9
type Q502895
[ANSWER] has that one as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q6485520']
SELECT DISTINCT ?b WHERE { ?b property:P9 resource:Q6485520 . ?b rdf:type ontology:Q502895 }
Henry Somerset, 2nd Earl of Worcester
Henry Somerset, 2nd Earl of Worcester has that one as their sibling
Henry Somerset, 2nd Earl of Worcester
action filter_type
action find_reverse
entity Mary Grey, Baroness Grey de Wilton
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Mary Grey, Baroness Grey de Wilton']
SELECT DISTINCT ?b WHERE { ?b property:sister resource:Mary_Grey,_Baroness_Grey_de_Wilton . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3784997
P22
Q502895
USER
Who have that one as a father ?
(c(Q502895),P22,Q3784997)
action filter_type
action find_reverse
entity Q3784997
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q3784997']
SELECT DISTINCT ?d WHERE { ?d property:P22 resource:Q3784997 . ?d rdf:type ontology:Q502895 }
Henry Somerset, 2nd Earl of Worcester
action filter_type
action find_reverse
entity Henry Somerset, 2nd Earl of Worcester
relation father
type common name
[{'concept': 'common name'}, 'father', 'Henry Somerset, 2nd Earl of Worcester']
SELECT DISTINCT ?d WHERE { ?d property:father resource:Henry_Somerset,_2nd_Earl_of_Worcester . ?d rdf:type ontology:common_name }
[]
common name
Q4020153 Q6485877 Q6485846
SYSTEM
William Somerset, 3rd Earl of Worcester, Lucy Somerset, Baroness Latimer, Thomas Somerset
Q6485846 Q4768808 Q4020153 Q6485877
(c(Q502895),P22,Q3784997)
action filter_type
action find_reverse
entity Q3784997
relation P22
type Q502895
[ANSWERS] have that one as a father
[{'concept': 'Q502895'}, 'P22', 'Q3784997']
SELECT DISTINCT ?d WHERE { ?d property:P22 resource:Q3784997 . ?d rdf:type ontology:Q502895 }
Thomas Somerset Anne Somerset, Countess of Northumberland William Somerset, 3rd Earl of Worcester Lucy Somerset, Baroness Latimer
William Somerset, 3rd Earl of Worcester, Lucy Somerset, Baroness Latimer and Thomas Somerset have that one as a father
William Somerset, 3rd Earl of Worcester Lucy Somerset, Baroness Latimer Thomas Somerset
action filter_type
action find_reverse
entity Henry Somerset, 2nd Earl of Worcester
relation father
type common name
[{'concept': 'common name'}, 'father', 'Henry Somerset, 2nd Earl of Worcester']
SELECT DISTINCT ?d WHERE { ?d property:father resource:Henry_Somerset,_2nd_Earl_of_Worcester . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4020153 Q6485877 Q6485846
P40
Q502895
USER
Which people have those ones as an offspring ?
(c(Q502895),P40,Q4020153) (c(Q502895),P40,Q6485877) (c(Q502895),P40,Q6485846)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q4020153'] [{'concept': 'Q502895'}, 'P40', 'Q6485877'] [{'concept': 'Q502895'}, 'P40', 'Q6485846']
SELECT DISTINCT ?a WHERE { ?a property:P40 ?z . ?a rdf:type ontology:Q502895 . VALUES ( ?z ) { ( resource:Q6485846 ) ( resource:Q4768808 ) ( resource:Q4020153 ) } }
William Somerset, 3rd Earl of Worcester Lucy Somerset, Baroness Latimer Thomas Somerset
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'William Somerset, 3rd Earl of Worcester'] [{'concept': 'common name'}, 'child', 'Lucy Somerset, Baroness Latimer'] [{'concept': 'common name'}, 'child', 'Thomas Somerset']
SELECT DISTINCT ?a WHERE { ?a property:child ?z . ?a rdf:type ontology:common_name . VALUES ( ?z ) { ( resource:Thomas_Somerset ) ( resource:Anne_Somerset,_Countess_of_Northumberland ) ( resource:William_Somerset,_3rd_Earl_of_Worcester ) } }
[]
common name
Q3784997 Q3784997 Q3784997
SYSTEM
Henry Somerset, 2nd Earl of Worcester
Q3784997 Q5363526 Q3784997 Q5363526 Q3784997 Q5363526
(c(Q502895),P40,Q4020153) (c(Q502895),P40,Q6485877) (c(Q502895),P40,Q6485846)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWERS], [ANSWERS] and [ANSWERS] have those ones as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q4020153'] [{'concept': 'Q502895'}, 'P40', 'Q6485877'] [{'concept': 'Q502895'}, 'P40', 'Q6485846']
SELECT DISTINCT ?a WHERE { ?a property:P40 ?z . ?a rdf:type ontology:Q502895 . VALUES ( ?z ) { ( resource:Q6485846 ) ( resource:Q4768808 ) ( resource:Q4020153 ) } }
Henry Somerset, 2nd Earl of Worcester Elizabeth Somerset, Countess of Worcester Henry Somerset, 2nd Earl of Worcester Elizabeth Somerset, Countess of Worcester Henry Somerset, 2nd Earl of Worcester Elizabeth Somerset, Countess of Worcester
Henry Somerset, 2nd Earl of Worcester, Henry Somerset, 2nd Earl of Worcester and Henry Somerset, 2nd Earl of Worcester have those ones as an offspring
Henry Somerset, 2nd Earl of Worcester Henry Somerset, 2nd Earl of Worcester Henry Somerset, 2nd Earl of Worcester
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'William Somerset, 3rd Earl of Worcester'] [{'concept': 'common name'}, 'child', 'Lucy Somerset, Baroness Latimer'] [{'concept': 'common name'}, 'child', 'Thomas Somerset']
SELECT DISTINCT ?a WHERE { ?a property:child ?z . ?a rdf:type ontology:common_name . VALUES ( ?z ) { ( resource:Thomas_Somerset ) ( resource:Anne_Somerset,_Countess_of_Northumberland ) ( resource:William_Somerset,_3rd_Earl_of_Worcester ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4020153
P25
Q502895
USER
Which female person has a child named William Somerset, 3rd Earl of Worcester ?
(Q4020153,P25,c(Q502895))
action filter_type
action find
entity Q4020153
relation P25
type Q502895
['Q4020153', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q4020153 property:P25 ?d . ?d rdf:type ontology:Q502895 }
William Somerset, 3rd Earl of Worcester
action filter_type
action find
entity William Somerset, 3rd Earl of Worcester
relation mother
type common name
['William Somerset, 3rd Earl of Worcester', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:William_Somerset,_3rd_Earl_of_Worcester property:mother ?d . ?d rdf:type ontology:common_name }
[]
common name
Q5363526
SYSTEM
Elizabeth Somerset, Countess of Worcester
Q5363526
(Q4020153,P25,c(Q502895))
action filter_type
action find
entity Q4020153
relation P25
type Q502895
And [ANSWER] has a child named William Somerset, 3rd Earl of Worcester
['Q4020153', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q4020153 property:P25 ?d . ?d rdf:type ontology:Q502895 }
Elizabeth Somerset, Countess of Worcester
And Elizabeth Somerset, Countess of Worcester has a child named William Somerset, 3rd Earl of Worcester
Elizabeth Somerset, Countess of Worcester
action filter_type
action find
entity William Somerset, 3rd Earl of Worcester
relation mother
type common name
['William Somerset, 3rd Earl of Worcester', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:William_Somerset,_3rd_Earl_of_Worcester property:mother ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4219759
Q502895
USER
And also tell me about Kesang Choden Wangchuck?
(Q4219759,P25,c(Q502895))
action filter_type
action find
entity Q4219759
relation P25
type Q502895
['Q4219759', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q4219759 property:P25 ?z . ?z rdf:type ontology:Q502895 }
Kesang Choden Wangchuck
action filter_type
action find
entity Kesang Choden Wangchuck
relation mother
type common name
['Kesang Choden Wangchuck', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Kesang_Choden_Wangchuck property:mother ?z . ?z rdf:type ontology:common_name }
[]
common name
Q2564773
SYSTEM
Tshering Pem Wangchuck
Q2564773
(Q4219759,P25,c(Q502895))
action filter_type
action find
entity Q4219759
relation P25
type Q502895
[ANSWER]
['Q4219759', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q4219759 property:P25 ?z . ?z rdf:type ontology:Q502895 }
Tshering Pem Wangchuck
Tshering Pem Wangchuck
action filter_type
action find
entity Kesang Choden Wangchuck
relation mother
type common name
['Kesang Choden Wangchuck', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Kesang_Choden_Wangchuck property:mother ?z . ?z rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2564773 Q3624500 Q10861550
P26
Q502895
USER
Is Tshering Pem Wangchuck the life partner of Arturo Bocci and Zuzana Mikušová ?
(Q2564773,P26,Q3624500) (Q2564773,P26,Q10861550)
action is_in
entity Q2564773
action intersection
action find_reverse
entity Q3624500
relation P26
action find_reverse
entity Q10861550
relation P26
['Q2564773', 'P26', 'Q3624500'] ['Q2564773', 'P26', 'Q10861550']
ASK WHERE { resource:Q2564773 property:P26 resource:Q3624500 . resource:Q2564773 property:P26 resource:Q10861550 }
Tshering Pem Wangchuck Arturo Bocci Zuzana Mikušová
action is_in
entity Tshering Pem Wangchuck
action intersection
action find_reverse
entity Arturo Bocci
relation spouse
action find_reverse
entity Zuzana Mikušová
relation spouse
['Tshering Pem Wangchuck', 'spouse', 'Arturo Bocci'] ['Tshering Pem Wangchuck', 'spouse', 'Zuzana Mikušová']
ASK WHERE { resource:Tshering_Pem_Wangchuck property:spouse resource:Arturo_Bocci . resource:Tshering_Pem_Wangchuck property:spouse resource:Zuzana_Mikušová }
[]
common name
SYSTEM
NO
(Q2564773,P26,Q3624500) (Q2564773,P26,Q10861550)
action is_in
entity Q2564773
action intersection
action find_reverse
entity Q3624500
relation P26
action find_reverse
entity Q10861550
relation P26
[ANSWER]
['Q2564773', 'P26', 'Q3624500'] ['Q2564773', 'P26', 'Q10861550']
ASK WHERE { resource:Q2564773 property:P26 resource:Q3624500 . resource:Q2564773 property:P26 resource:Q10861550 }
No
action is_in
entity Tshering Pem Wangchuck
action intersection
action find_reverse
entity Arturo Bocci
relation spouse
action find_reverse
entity Zuzana Mikušová
relation spouse
['Tshering Pem Wangchuck', 'spouse', 'Arturo Bocci'] ['Tshering Pem Wangchuck', 'spouse', 'Zuzana Mikušová']
ASK WHERE { resource:Tshering_Pem_Wangchuck property:spouse resource:Arturo_Bocci . resource:Tshering_Pem_Wangchuck property:spouse resource:Zuzana_Mikušová }
[]