Simple Question (Direct)
Simple Question
Q504792
P9
Q502895
USER
Who are Rudolph III of Burgundy a sibling of ?
(Q504792,P9,c(Q502895))
action filter_type
action find
entity Q504792
relation P9
type Q502895
['Q504792', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q504792 property:P9 ?k . ?k rdf:type ontology:Q502895 }
Rudolph III of Burgundy
action filter_type
action find
entity Rudolph III of Burgundy
relation sister
type common name
['Rudolph III of Burgundy', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Rudolph_III_of_Burgundy property:sister ?k . ?k rdf:type ontology:common_name }
[]
common name
Q232522 Q3448444 Q254389
SYSTEM
Bertha of Burgundy, Gerberga of Burgundy, Gisela of Burgundy
Q232522 Q3448444 Q254389
(Q504792,P9,c(Q502895))
action filter_type
action find
entity Q504792
relation P9
type Q502895
[ANSWERS] are Rudolph III of Burgundy a sibling of
['Q504792', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q504792 property:P9 ?k . ?k rdf:type ontology:Q502895 }
Bertha of Burgundy Gerberga of Burgundy Gisela of Burgundy
Bertha of Burgundy, Gerberga of Burgundy and Gisela of Burgundy are Rudolph III of Burgundy a sibling of
Bertha of Burgundy Gerberga of Burgundy Gisela of Burgundy
action filter_type
action find
entity Rudolph III of Burgundy
relation sister
type common name
['Rudolph III of Burgundy', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Rudolph_III_of_Burgundy property:sister ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q232522 Q3448444 Q254389
P9
Q502895
USER
Which people are the sisters of those ones ?
(Q232522,P9,c(Q502895)) (Q3448444,P9,c(Q502895)) (Q254389,P9,c(Q502895))
action filter_type
action find
entity prev_answer
relation P9
type Q502895
['Q232522', 'P9', {'concept': 'Q502895'}] ['Q3448444', 'P9', {'concept': 'Q502895'}] ['Q254389', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . VALUES ( ?c ) { ( resource:Q232522 ) ( resource:Q3448444 ) ( resource:Q254389 ) } . ?c property:P9 ?m }
Bertha of Burgundy Gerberga of Burgundy Gisela of Burgundy
action filter_type
action find
entity prev_answer
relation sister
type common name
['Bertha of Burgundy', 'sister', {'concept': 'common name'}] ['Gerberga of Burgundy', 'sister', {'concept': 'common name'}] ['Gisela of Burgundy', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . VALUES ( ?c ) { ( resource:Bertha_of_Burgundy ) ( resource:Gerberga_of_Burgundy ) ( resource:Gisela_of_Burgundy ) } . ?c property:sister ?m }
[]
common name
Q232522 Q232522 Q254389
SYSTEM
Bertha of Burgundy for 1st, 2nd, Gisela of Burgundy for 3rd
Q3448444 Q254389 Q232522 Q254389 Q3448444 Q232522
(Q232522,P9,c(Q502895)) (Q3448444,P9,c(Q502895)) (Q254389,P9,c(Q502895))
action filter_type
action find
entity prev_answer
relation P9
type Q502895
[ANSWERS]
['Q232522', 'P9', {'concept': 'Q502895'}] ['Q3448444', 'P9', {'concept': 'Q502895'}] ['Q254389', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . VALUES ( ?c ) { ( resource:Q232522 ) ( resource:Q3448444 ) ( resource:Q254389 ) } . ?c property:P9 ?m }
Gerberga of Burgundy Gisela of Burgundy Bertha of Burgundy Gisela of Burgundy Gerberga of Burgundy Bertha of Burgundy
Bertha of Burgundy, Bertha of Burgundy and Gisela of Burgundy are the sisters of those ones
Bertha of Burgundy Bertha of Burgundy Gisela of Burgundy
action filter_type
action find
entity prev_answer
relation sister
type common name
['Bertha of Burgundy', 'sister', {'concept': 'common name'}] ['Gerberga of Burgundy', 'sister', {'concept': 'common name'}] ['Gisela of Burgundy', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . VALUES ( ?c ) { ( resource:Bertha_of_Burgundy ) ( resource:Gerberga_of_Burgundy ) ( resource:Gisela_of_Burgundy ) } . ?c property:sister ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q504792
P7
Q502895
USER
Who have Rudolph III of Burgundy as their sibling ?
(c(Q502895),P7,Q504792)
action filter_type
action find_reverse
entity Q504792
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q504792']
SELECT DISTINCT ?z WHERE { ?z property:P7 resource:Q504792 . ?z rdf:type ontology:Q502895 }
Rudolph III of Burgundy
action filter_type
action find_reverse
entity Rudolph III of Burgundy
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Rudolph III of Burgundy']
SELECT DISTINCT ?z WHERE { ?z property:brother resource:Rudolph_III_of_Burgundy . ?z rdf:type ontology:common_name }
[]
common name
Q232522 Q254389 Q3448444
SYSTEM
Bertha of Burgundy, Gisela of Burgundy, Gerberga of Burgundy
Q2928306 Q3448444 Q232522 Q254389
(c(Q502895),P7,Q504792)
action filter_type
action find_reverse
entity Q504792
relation P7
type Q502895
[ANSWERS] have Rudolph III of Burgundy as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q504792']
SELECT DISTINCT ?z WHERE { ?z property:P7 resource:Q504792 . ?z rdf:type ontology:Q502895 }
Burchard II de Lyon Gerberga of Burgundy Bertha of Burgundy Gisela of Burgundy
Bertha of Burgundy, Gisela of Burgundy and Gerberga of Burgundy have Rudolph III of Burgundy as their sibling
Bertha of Burgundy Gisela of Burgundy Gerberga of Burgundy
action filter_type
action find_reverse
entity Rudolph III of Burgundy
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Rudolph III of Burgundy']
SELECT DISTINCT ?z WHERE { ?z property:brother resource:Rudolph_III_of_Burgundy . ?z rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q254389
P40
Q502895
USER
Whose child are that one ?
(c(Q502895),P40,Q254389)
action filter_type
action find_reverse
entity Q254389
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q254389']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q254389 . ?k rdf:type ontology:Q502895 }
Gisela of Burgundy
action filter_type
action find_reverse
entity Gisela of Burgundy
relation child
type common name
[{'concept': 'common name'}, 'child', 'Gisela of Burgundy']
SELECT DISTINCT ?k WHERE { ?k property:child resource:Gisela_of_Burgundy . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q232522
SYSTEM
Did you mean Bertha of Burgundy ?
Q232522 Q254389 Q3448444
(c(Q502895),P40,Q232522) (c(Q502895),P40,Q254389) (c(Q502895),P40,Q3448444)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q232522'] [{'concept': 'Q502895'}, 'P40', 'Q254389'] [{'concept': 'Q502895'}, 'P40', 'Q3448444']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q254389 . ?k rdf:type ontology:Q502895 }
Bertha of Burgundy Gisela of Burgundy Gerberga of Burgundy
Did you mean Bertha of Burgundy ?
Bertha of Burgundy
[{'concept': 'common name'}, 'child', 'Bertha of Burgundy'] [{'concept': 'common name'}, 'child', 'Gisela of Burgundy'] [{'concept': 'common name'}, 'child', 'Gerberga of Burgundy']
SELECT DISTINCT ?k WHERE { ?k property:child resource:Gisela_of_Burgundy . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Gisela of Burgundy. Could you tell me the answer for that?
(c(Q502895),P40,Q254389)
Q254389
[{'concept': 'Q502895'}, 'P40', 'Q254389']
[{'concept': 'common name'}, 'child', 'Gisela of Burgundy']
[]
Q18338286 Q506442
SYSTEM
Adelaide of Bellay, Conrad I of Burgundy
Q18338286 Q506442
(c(Q502895),P40,Q254389)
action filter_type
action find_reverse
entity Q254389
relation P40
type Q502895
[ANSWERS] are that one
[{'concept': 'Q502895'}, 'P40', 'Q254389']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q254389 . ?k rdf:type ontology:Q502895 }
Adelaide of Bellay Conrad I of Burgundy
Adelaide of Bellay and Conrad I of Burgundy are that one
Adelaide of Bellay Conrad I of Burgundy
action filter_type
action find_reverse
entity Gisela of Burgundy
relation child
type common name
[{'concept': 'common name'}, 'child', 'Gisela of Burgundy']
SELECT DISTINCT ?k WHERE { ?k property:child resource:Gisela_of_Burgundy . ?k rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4143942 Q254389
P161 P22
Q502895
USER
Which people were the father of Gisela of Burgundy or are in Ordeal by Innocence ?
OR((Q254389,P22,c(Q502895)), (Q4143942,P161,c(Q502895)))
action filter_type
action union
action find
entity Q254389
relation P22
action find
entity Q4143942
relation P161
type Q502895
{'OR': [['Q254389', 'P22', {'concept': 'Q502895'}], ['Q4143942', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . { { resource:Q254389 property:P22 ?q } UNION { resource:Q4143942 property:P161 ?q } } }
Ordeal by Innocence Gisela of Burgundy
action filter_type
action union
action find
entity Gisela of Burgundy
relation father
action find
entity Ordeal by Innocence
relation cast member
type common name
{'OR': [['Gisela of Burgundy', 'father', {'concept': 'common name'}], ['Ordeal by Innocence', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . { { resource:Gisela_of_Burgundy property:father ?q } UNION { resource:Ordeal_by_Innocence property:cast_member ?q } } }
[]
common name
Q231187 Q103784 Q168721 Q3381355 Q190523 Q506442 Q234141 Q2851506 Q2941278 Q530676
SYSTEM
Some of them are Sarah Miles, Donald Sutherland, Faye Dunaway, Phoebe Nicholls, Christopher Plummer, Conrad I of Burgundy, Ian McShane, Annette Crosbie, Cassie Stuart, Brian Glover
Q168721 Q103784 Q3381355 Q861490 Q190523 Q231187 Q234141 Q2851506 Q506442 Q2941278 Q530676
OR((Q254389,P22,c(Q502895)), (Q4143942,P161,c(Q502895)))
action filter_type
action union
action find
entity Q254389
relation P22
action find
entity Q4143942
relation P161
type Q502895
[ANSWERS] were the father of Gisela of Burgundy or are in Ordeal by Innocence
{'OR': [['Q254389', 'P22', {'concept': 'Q502895'}], ['Q4143942', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . { { resource:Q254389 property:P22 ?q } UNION { resource:Q4143942 property:P161 ?q } } }
Faye Dunaway Donald Sutherland Phoebe Nicholls Michael Maloney Christopher Plummer Sarah Miles Ian McShane Annette Crosbie Conrad I of Burgundy Cassie Stuart Brian Glover
Sarah Miles, Donald Sutherland, Faye Dunaway, Phoebe Nicholls, Christopher Plummer, Conrad I of Burgundy, Ian McShane, Annette Crosbie, Cassie Stuart and Brian Glover were the father of Gisela of Burgundy or are in Ordeal by Innocence
Sarah Miles Donald Sutherland Faye Dunaway Phoebe Nicholls Christopher Plummer Conrad I of Burgundy Ian McShane Annette Crosbie Cassie Stuart Brian Glover
action filter_type
action union
action find
entity Gisela of Burgundy
relation father
action find
entity Ordeal by Innocence
relation cast member
type common name
{'OR': [['Gisela of Burgundy', 'father', {'concept': 'common name'}], ['Ordeal by Innocence', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . { { resource:Gisela_of_Burgundy property:father ?q } UNION { resource:Ordeal_by_Innocence property:cast_member ?q } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5640337 Q3448444
P40
Q502895
USER
Which people have Gerberga of Burgundy or Leoncio Alonso González de Gregorio, 22nd Duke of Medina Sidonia as an offspring ?
OR((c(Q502895),P40,Q3448444), (c(Q502895),P40,Q5640337))
action filter_type
action union
action find_reverse
entity Q3448444
relation P40
action find_reverse
entity Q5640337
relation P40
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q3448444'], [{'concept': 'Q502895'}, 'P40', 'Q5640337']]}
SELECT DISTINCT ?o WHERE { { { ?o property:P40 resource:Q3448444 } UNION { ?o property:P40 resource:Q5640337 } } . ?o rdf:type ontology:Q502895 }
Leoncio Alonso González de Gregorio, 22nd Duke of Medina Sidonia Gerberga of Burgundy
action filter_type
action union
action find_reverse
entity Gerberga of Burgundy
relation child
action find_reverse
entity Leoncio Alonso González de Gregorio, 22nd Duke of Medina Sidonia
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Gerberga of Burgundy'], [{'concept': 'common name'}, 'child', 'Leoncio Alonso González de Gregorio, 22nd Duke of Medina Sidonia']]}
SELECT DISTINCT ?o WHERE { { { ?o property:child resource:Gerberga_of_Burgundy } UNION { ?o property:child resource:Leoncio_Alonso_González_de_Gregorio,_22nd_Duke_of_Medina_Sidonia } } . ?o rdf:type ontology:common_name }
[]
common name
Q442262 Q3053247 Q506442
SYSTEM
Luisa Isabel Álvarez de Toledo, 21st Duchess of Medina Sidonia, Matilda of France, Conrad I of Burgundy
Q442262 Q3053247 Q506442
OR((c(Q502895),P40,Q3448444), (c(Q502895),P40,Q5640337))
action filter_type
action union
action find_reverse
entity Q3448444
relation P40
action find_reverse
entity Q5640337
relation P40
type Q502895
[ANSWERS] have Gerberga of Burgundy or Leoncio Alonso González de Gregorio, 22nd Duke of Medina Sidonia as an offspring
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q3448444'], [{'concept': 'Q502895'}, 'P40', 'Q5640337']]}
SELECT DISTINCT ?o WHERE { { { ?o property:P40 resource:Q3448444 } UNION { ?o property:P40 resource:Q5640337 } } . ?o rdf:type ontology:Q502895 }
Luisa Isabel Álvarez de Toledo, 21st Duchess of Medina Sidonia Matilda of France Conrad I of Burgundy
Luisa Isabel Álvarez de Toledo, 21st Duchess of Medina Sidonia, Matilda of France and Conrad I of Burgundy have Gerberga of Burgundy or Leoncio Alonso González de Gregorio, 22nd Duke of Medina Sidonia as an offspring
Luisa Isabel Álvarez de Toledo, 21st Duchess of Medina Sidonia Matilda of France Conrad I of Burgundy
action filter_type
action union
action find_reverse
entity Gerberga of Burgundy
relation child
action find_reverse
entity Leoncio Alonso González de Gregorio, 22nd Duke of Medina Sidonia
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Gerberga of Burgundy'], [{'concept': 'common name'}, 'child', 'Leoncio Alonso González de Gregorio, 22nd Duke of Medina Sidonia']]}
SELECT DISTINCT ?o WHERE { { { ?o property:child resource:Gerberga_of_Burgundy } UNION { ?o property:child resource:Leoncio_Alonso_González_de_Gregorio,_22nd_Duke_of_Medina_Sidonia } } . ?o rdf:type ontology:common_name }
[]