Simple Question (Direct)
Simple Question
Q586877
P25
Q502895
USER
Which female person was the parent of Antoine Philippe, Duke of Montpensier ?
(Q586877,P25,c(Q502895))
action filter_type
action find
entity Q586877
relation P25
type Q502895
['Q586877', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q586877 property:P25 ?i . ?i rdf:type ontology:Q502895 }
Antoine Philippe, Duke of Montpensier
action filter_type
action find
entity Antoine Philippe, Duke of Montpensier
relation mother
type common name
['Antoine Philippe, Duke of Montpensier', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Antoine_Philippe,_Duke_of_Montpensier property:mother ?i . ?i rdf:type ontology:common_name }
[]
common name
Q233888
SYSTEM
Louise Marie Adélaïde de Bourbon
Q233888
(Q586877,P25,c(Q502895))
action filter_type
action find
entity Q586877
relation P25
type Q502895
[ANSWER] was the parent of Antoine Philippe, Duke of Montpensier
['Q586877', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q586877 property:P25 ?i . ?i rdf:type ontology:Q502895 }
Louise Marie Adélaïde de Bourbon
Louise Marie Adélaïde de Bourbon was the parent of Antoine Philippe, Duke of Montpensier
Louise Marie Adélaïde de Bourbon
action filter_type
action find
entity Antoine Philippe, Duke of Montpensier
relation mother
type common name
['Antoine Philippe, Duke of Montpensier', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Antoine_Philippe,_Duke_of_Montpensier property:mother ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q233888
P53
Q13417114
USER
What dynasty does that person belong to ?
(Q233888,P53,c(Q13417114))
action filter_type
action find
entity Q233888
relation P53
type Q13417114
['Q233888', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q13417114 . resource:Q233888 property:P53 ?q }
Louise Marie Adélaïde de Bourbon
action filter_type
action find
entity Louise Marie Adélaïde de Bourbon
relation noble family
type noble family
['Louise Marie Adélaïde de Bourbon', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:noble_family . resource:Louise_Marie_Adélaïde_de_Bourbon property:noble_family ?q }
[]
noble family
Q58389
SYSTEM
House of Bourbon
Q58389
(Q233888,P53,c(Q13417114))
action filter_type
action find
entity Q233888
relation P53
type Q13417114
That person belongs to [ANSWER]
['Q233888', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q13417114 . resource:Q233888 property:P53 ?q }
House of Bourbon
That person belongs to House of Bourbon
House of Bourbon
action filter_type
action find
entity Louise Marie Adélaïde de Bourbon
relation noble family
type noble family
['Louise Marie Adélaïde de Bourbon', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:noble_family . resource:Louise_Marie_Adélaïde_de_Bourbon property:noble_family ?q }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q313427 Q233888
P53
Q13417114
USER
Or Ivan Asen II of Bulgaria?
OR((Q233888,P53,c(Q13417114)), (Q313427,P53,c(Q13417114)))
action filter_type
action union
action find
entity Q233888
relation P53
action find
entity Q313427
relation P53
type Q13417114
{'OR': [['Q233888', 'P53', {'concept': 'Q13417114'}], ['Q313427', 'P53', {'concept': 'Q13417114'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q233888 property:P53 ?r } UNION { resource:Q313427 property:P53 ?r } } . ?r rdf:type ontology:Q13417114 }
Ivan Asen II of Bulgaria Louise Marie Adélaïde de Bourbon
action filter_type
action union
action find
entity Louise Marie Adélaïde de Bourbon
relation noble family
action find
entity Ivan Asen II of Bulgaria
relation noble family
type noble family
{'OR': [['Louise Marie Adélaïde de Bourbon', 'noble family', {'concept': 'noble family'}], ['Ivan Asen II of Bulgaria', 'noble family', {'concept': 'noble family'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Louise_Marie_Adélaïde_de_Bourbon property:noble_family ?r } UNION { resource:Ivan_Asen_II_of_Bulgaria property:noble_family ?r } } . ?r rdf:type ontology:noble_family }
[]
noble family
Q1401314 Q58389
SYSTEM
Asen dynasty, House of Bourbon
Q1401314 Q58389
OR((Q233888,P53,c(Q13417114)), (Q313427,P53,c(Q13417114)))
action filter_type
action union
action find
entity Q233888
relation P53
action find
entity Q313427
relation P53
type Q13417114
[ANSWERS]
{'OR': [['Q233888', 'P53', {'concept': 'Q13417114'}], ['Q313427', 'P53', {'concept': 'Q13417114'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q233888 property:P53 ?r } UNION { resource:Q313427 property:P53 ?r } } . ?r rdf:type ontology:Q13417114 }
Asen dynasty House of Bourbon
Asen dynasty House of Bourbon
action filter_type
action union
action find
entity Louise Marie Adélaïde de Bourbon
relation noble family
action find
entity Ivan Asen II of Bulgaria
relation noble family
type noble family
{'OR': [['Louise Marie Adélaïde de Bourbon', 'noble family', {'concept': 'noble family'}], ['Ivan Asen II of Bulgaria', 'noble family', {'concept': 'noble family'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Louise_Marie_Adélaïde_de_Bourbon property:noble_family ?r } UNION { resource:Ivan_Asen_II_of_Bulgaria property:noble_family ?r } } . ?r rdf:type ontology:noble_family }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1401314 Q58389
P53
Q502895
USER
Which people belong to Asen dynasty and House of Bourbon ?
(c(Q502895),P53,Q1401314) (c(Q502895),P53,Q58389)
action union
action filter_type
action find_reverse
entity Q1401314
relation P53
type Q502895
action filter_type
action find_reverse
entity Q58389
relation P53
type Q502895
[{'concept': 'Q502895'}, 'P53', 'Q1401314'] [{'concept': 'Q502895'}, 'P53', 'Q58389']
SELECT DISTINCT ?t WHERE { { ?t property:P53 resource:Q58389 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P53 resource:Q1401314 . ?t rdf:type ontology:Q502895 } }
Asen dynasty House of Bourbon
action union
action filter_type
action find_reverse
entity Asen dynasty
relation noble family
type common name
action filter_type
action find_reverse
entity House of Bourbon
relation noble family
type common name
[{'concept': 'common name'}, 'noble family', 'Asen dynasty'] [{'concept': 'common name'}, 'noble family', 'House of Bourbon']
SELECT DISTINCT ?t WHERE { { ?t property:noble_family resource:House_of_Bourbon . ?t rdf:type ontology:common_name } UNION { ?t property:noble_family resource:Asen_dynasty . ?t rdf:type ontology:common_name } }
[]
common name
Q164504 Q936976 Q448174
SYSTEM
Maria Theresa of Naples and Sicily, Henry IV of France, Louis Alexandre, Count of Toulouse
Q905368 Q574542 Q435990 Q748091 Q313427 Q459489 Q229854 Q590472 Q269586 Q6671424 Q234045 Q268349 Q1465751 Q3016528 Q21112094 Q3840450 Q256663 Q266309 Q2603865 Q57623 Q1151372 Q1996080 Q2465289 Q3897173 Q1083398 Q578007 Q1852540 Q448174 Q222606 Q3062292 Q465844 Q231794 Q1333222 Q1850305 Q272005 Q767925 Q14451 Q164504 Q518846 Q518879 Q2584497 Q3659899 Q2701191 Q793147 Q3081964 Q2458094 Q635436 Q242575 Q16154236 Q3847609 Q206223 Q1477174 Q234941 Q218879 Q361117 Q4992850 Q3291860 Q268652 Q619598 Q237165 Q984647 Q3759868 Q292205 Q1406351 Q16854044 Q704310 Q242421 Q949712 Q3086287 Q2874980 Q1125007 Q2636618 Q2620087 Q538645 Q211673 Q464674 Q2860000 Q230566 Q5858359 Q129179 Q235128 Q233196 Q464657 Q4006506 Q692291 Q232180 Q254986 Q936976 Q233888 Q234405 Q444668 Q317929 Q1999326 Q2908958 Q4992733 Q343990 Q240580 Q536615 Q4992758 Q4992752 Q466300 Q237832 Q1189979 Q452284 Q201589 Q2290508 Q233587 Q236566 Q536033 Q274732 Q21096210 Q721680 Q255389 Q604419 Q2635204 Q2624237 Q2556465 Q2961032 Q439014 Q269493 Q240311 Q3190405 Q696039 Q1943652 Q2324276 Q2412713 Q1051072 Q1872174 Q1841457 Q2669753 Q232488 Q268365 Q976797 Q229826 Q444087 Q1318372 Q240397 Q310837 Q4992747 Q7732 Q7738 Q240267 Q565401 Q6781037 Q272513 Q7758 Q2432279 Q462892
(c(Q502895),P53,Q1401314) (c(Q502895),P53,Q58389)
action union
action filter_type
action find_reverse
entity Q1401314
relation P53
type Q502895
action filter_type
action find_reverse
entity Q58389
relation P53
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P53', 'Q1401314'] [{'concept': 'Q502895'}, 'P53', 'Q58389']
SELECT DISTINCT ?t WHERE { { ?t property:P53 resource:Q58389 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P53 resource:Q1401314 . ?t rdf:type ontology:Q502895 } }
Peter IV of Bulgaria Kira Maria Asenina of Bulgaria Maria Asenina of Bulgaria Ivan Asen I of Bulgaria Ivan Asen II of Bulgaria Kaliman I of Bulgaria Maria Luisa of Parma Louis Auguste, Prince of Dombes Beatrice of Bourbon, Queen of Bohemia Louise Adélaïde de Bourbon Maria Theresa of Austria, Queen of the Two Sicilies Marguerite Louise d'Orléans Louis Antoine, Duke of Angoulême Archambaud II of Bourbon Beatrix of Clermont Louise Françoise de Bourbon, Mademoiselle du Maine Anne Geneviève de Bourbon Robert, Count of Clermont Infanta Mariana Victoria of Portugal Duchess Maria Anna Victoria of Bavaria Princess Sophie of France Eleanor of Bourbon-La Marche Princess Maria Immaculata of Bourbon-Two Sicilies Prince Pasquale, Count of Bari Christine Marie of France Louis Armand II, Prince of Conti Archimbald of Bourbon Louis Alexandre, Count of Toulouse Louis Antoine, Duke of Enghien Francisco de Paula de Borbón y Castellví Armand de Bourbon, Prince of Conti Joanna of Bourbon Infante Alfonso, Duke of Calabria Prince Carlo, Duke of Castro Anne Marie Martinozzi Louis Charles, Count of Eu Maria Cristina of Savoy Maria Theresa of Naples and Sicily Alfonso, Prince of Asturias Prince Carlos of Bourbon-Two Sicilies Infanta Maria Cristina of Spain Carlo, Duke of Calabria Infante Enrique, Duke of Seville Aymon II of Bourbon Francisco de Paula de Bourbon Archambaud IV of Bourbon Charlotte de Bourbon, Queen of Cyprus Suzanne, Duchess of Bourbon Prince Antonio, Count of Lecce Infanta Maria de las Mercedes of Spain Francis II of the Two Sicilies Prince Louis, Count of Trani Princess Luisa of Naples and Sicily Mercedes of Orléans Louis Auguste, Duke of Maine Prince Alberto of Naples and Sicily Maria Henrietta of Naples and Sicily Catherine de Bourbon Princess Alexandra of Luxembourg Infanta Margarita, Duchess of Soria Nicolas Henri, Duke of Orléans Prince Januarius, Count of Caltagirone Marguerite de Bourbon Infante Philip, Duke of Calabria Maria Isabelle of Naples and Sicily Infante Alfonso of Spain Infanta María de la Paz of Spain Louis Armand I, Prince of Conti Francisco Borbón y de la Torre Aymon de Bourbon Princess Maria Antonia of Parma Princess Louise of France Éléonore de Bourbon Louis François Joseph, Prince of Conti Princess Maria Annunciata of Bourbon-Two Sicilies François Louis, Prince of Conti Archambaud I of Bourbon Maria Christina of the Two Sicilies Infante Philip Peter Gabriel of Spain Mercedes, Princess of Asturias Princess María de las Mercedes of Bourbon-Two Sicilies Maria Isabella of Spain Charles Ferdinand, Duke of Berry Princess Urraca of Bourbon-Two Sicilies Charles I, Duke of Bourbon Louise Élisabeth d'Orléans Blanche of Bourbon Henry IV of France Louise Marie Adélaïde de Bourbon Princess Maria Antonia of Naples and Sicily Peter I, Duke of Bourbon Charles, Duke of Berry Aymon I of Bourbon Archambaud III of Bourbon Maria Anna of Naples and Sicily Ferdinand, Duke of Parma Infanta Pilar, Duchess of Badajoz Louis I, Duke of Bourbon Prince Giuseppe of Naples and Sicily Prince Gennaro of Naples and Sicily Isabella of Bourbon Princess Marie Adélaïde of France Princess Victoire of France Lucia Migliaccio Queen Letizia of Spain Prince Ferdinand Pius, Duke of Calabria Maria Luisa of Spain, Duchess of Lucca Louise Marie Thérèse d'Artois Charles, Duke of Vendôme Elisabeth of France Marie de Bourbon Peter II, Duke of Bourbon Infanta Maria Teresa of Spain Infanta Maria Josefa of Spain Princess Maria de los Dolores of Bourbon-Two Sicilies Princess Maria di Grazia of Bourbon-Two Sicilies Princess Marie Zéphyrine of France Charlotte Louise de Rohan Prince Alfonso, Count of Caserta Infanta Beatriz of Spain Infanta Eulalia of Spain Archambaud VI of Bourbon Louis Jean Marie de Bourbon, Duke of Penthièvre Prince Ranieri, Duke of Castro Prince Ferdinand, Duke of Castro Infanta Maria Cristina of Spain Princess Thérèse of France Princess Louise Marie of France Louise Élisabeth de Bourbon Aymar of Bourbon Maria Isabel of Portugal Infanta Amelia Philippina of Spain Infanta María Amalia of Spain Maria Luisa of Spain Henri Jules, Prince of Condé Princess Anne Élisabeth of France Infanta Luisa Fernanda, Duchess of Montpensier Louis, Grand Condé Princess Maria Cristina Amelia of Naples and Sicily Louis XVI of France Louis XV of France Isabella, Princess of Asturias Princess Henriette of France Mary of Bourbon Princess Maria Teresa of Bourbon-Two Sicilies Charles X of France Philippe, Duke of Anjou Infante Francisco de Paula of Spain
Maria Theresa of Naples and Sicily, Henry IV of France and Louis Alexandre, Count of Toulouse belong to Asen dynasty and House of Bourbon
Maria Theresa of Naples and Sicily Henry IV of France Louis Alexandre, Count of Toulouse
action union
action filter_type
action find_reverse
entity Asen dynasty
relation noble family
type common name
action filter_type
action find_reverse
entity House of Bourbon
relation noble family
type common name
[{'concept': 'common name'}, 'noble family', 'Asen dynasty'] [{'concept': 'common name'}, 'noble family', 'House of Bourbon']
SELECT DISTINCT ?t WHERE { { ?t property:noble_family resource:House_of_Bourbon . ?t rdf:type ontology:common_name } UNION { ?t property:noble_family resource:Asen_dynasty . ?t rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q586877
P40
Q502895
USER
Who have Antoine Philippe, Duke of Montpensier as an offspring ?
(c(Q502895),P40,Q586877)
action filter_type
action find_reverse
entity Q586877
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q586877']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q586877 . ?x rdf:type ontology:Q502895 }
Antoine Philippe, Duke of Montpensier
action filter_type
action find_reverse
entity Antoine Philippe, Duke of Montpensier
relation child
type common name
[{'concept': 'common name'}, 'child', 'Antoine Philippe, Duke of Montpensier']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Antoine_Philippe,_Duke_of_Montpensier . ?x rdf:type ontology:common_name }
[]
common name
Q311637 Q233888
SYSTEM
Louis Philippe II, Duke of Orléans, Louise Marie Adélaïde de Bourbon
Q311637 Q233888
(c(Q502895),P40,Q586877)
action filter_type
action find_reverse
entity Q586877
relation P40
type Q502895
[ANSWERS] have Antoine Philippe, Duke of Montpensier as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q586877']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q586877 . ?x rdf:type ontology:Q502895 }
Louis Philippe II, Duke of Orléans Louise Marie Adélaïde de Bourbon
Louis Philippe II, Duke of Orléans and Louise Marie Adélaïde de Bourbon have Antoine Philippe, Duke of Montpensier as an offspring
Louis Philippe II, Duke of Orléans Louise Marie Adélaïde de Bourbon
action filter_type
action find_reverse
entity Antoine Philippe, Duke of Montpensier
relation child
type common name
[{'concept': 'common name'}, 'child', 'Antoine Philippe, Duke of Montpensier']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Antoine_Philippe,_Duke_of_Montpensier . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q311637 Q233888
P26
Q502895
USER
Who are the spouse of those ones ?
(c(Q502895),P26,Q311637) (c(Q502895),P26,Q233888)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q311637'] [{'concept': 'Q502895'}, 'P26', 'Q233888']
SELECT DISTINCT ?y WHERE { ?k property:P26 ?y . ?y rdf:type ontology:Q502895 . VALUES ( ?k ) { ( resource:Q311637 ) ( resource:Q233888 ) } }
Louis Philippe II, Duke of Orléans Louise Marie Adélaïde de Bourbon
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Louis Philippe II, Duke of Orléans'] [{'concept': 'common name'}, 'spouse', 'Louise Marie Adélaïde de Bourbon']
SELECT DISTINCT ?y WHERE { ?k property:spouse ?y . ?y rdf:type ontology:common_name . VALUES ( ?k ) { ( resource:Louis_Philippe_II,_Duke_of_Orléans ) ( resource:Louise_Marie_Adélaïde_de_Bourbon ) } }
[]
common name
Q233888 Q311637
SYSTEM
Louise Marie Adélaïde de Bourbon, Louis Philippe II, Duke of Orléans
Q233888 Q311637
(c(Q502895),P26,Q311637) (c(Q502895),P26,Q233888)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q311637'] [{'concept': 'Q502895'}, 'P26', 'Q233888']
SELECT DISTINCT ?y WHERE { ?k property:P26 ?y . ?y rdf:type ontology:Q502895 . VALUES ( ?k ) { ( resource:Q311637 ) ( resource:Q233888 ) } }
Louise Marie Adélaïde de Bourbon Louis Philippe II, Duke of Orléans
The spouse of those ones are Princess Louise Marie Adélaïde de Bourbon and Louis Philippe II, Duke of Orléans
Louise Marie Adélaïde de Bourbon Louis Philippe II, Duke of Orléans
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Louis Philippe II, Duke of Orléans'] [{'concept': 'common name'}, 'spouse', 'Louise Marie Adélaïde de Bourbon']
SELECT DISTINCT ?y WHERE { ?k property:spouse ?y . ?y rdf:type ontology:common_name . VALUES ( ?k ) { ( resource:Louis_Philippe_II,_Duke_of_Orléans ) ( resource:Louise_Marie_Adélaïde_de_Bourbon ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q936976
P7
Q502895
USER
Who has Henry IV of France as their sibling ?
(c(Q502895),P7,Q936976)
action filter_type
action find_reverse
entity Q936976
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q936976']
SELECT DISTINCT ?j WHERE { ?j property:P7 resource:Q936976 . ?j rdf:type ontology:Q502895 }
Henry IV of France
action filter_type
action find_reverse
entity Henry IV of France
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Henry IV of France']
SELECT DISTINCT ?j WHERE { ?j property:brother resource:Henry_IV_of_France . ?j rdf:type ontology:common_name }
[]
common name
Q268652
SYSTEM
Catherine de Bourbon
Q268652
(c(Q502895),P7,Q936976)
action filter_type
action find_reverse
entity Q936976
relation P7
type Q502895
[ANSWER] has Henry IV of France as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q936976']
SELECT DISTINCT ?j WHERE { ?j property:P7 resource:Q936976 . ?j rdf:type ontology:Q502895 }
Catherine de Bourbon
Catherine de Bourbon has Henry IV of France as their sibling
Catherine de Bourbon
action filter_type
action find_reverse
entity Henry IV of France
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Henry IV of France']
SELECT DISTINCT ?j WHERE { ?j property:brother resource:Henry_IV_of_France . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q936976
P451
Q502895
USER
Which person had Henry IV of France as their girlfriend ?
(c(Q502895),P451,Q936976)
action filter_type
action find
entity Q936976
relation P451
type Q502895
[{'concept': 'Q502895'}, 'P451', 'Q936976']
SELECT DISTINCT ?t WHERE { resource:Q936976 property:P451 ?t . ?t rdf:type ontology:Q502895 }
Henry IV of France
action filter_type
action find
entity Henry IV of France
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Henry IV of France']
SELECT DISTINCT ?t WHERE { resource:Henry_IV_of_France property:partner ?t . ?t rdf:type ontology:common_name }
[]
common name
Q234911
SYSTEM
Gabrielle d'Estrées
Q234911
(c(Q502895),P451,Q936976)
action filter_type
action find
entity Q936976
relation P451
type Q502895
[ANSWER] had Henry IV of France as their girlfriend
[{'concept': 'Q502895'}, 'P451', 'Q936976']
SELECT DISTINCT ?t WHERE { resource:Q936976 property:P451 ?t . ?t rdf:type ontology:Q502895 }
Gabrielle d'Estrées
Gabrielle d'Estrées had Henry IV of France as their girlfriend
Gabrielle d'Estrées
action filter_type
action find
entity Henry IV of France
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Henry IV of France']
SELECT DISTINCT ?t WHERE { resource:Henry_IV_of_France property:partner ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q234911
P9
Q502895
USER
Which person has that one as their sibling ?
(c(Q502895),P9,Q234911)
action filter_type
action find_reverse
entity Q234911
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q234911']
SELECT DISTINCT ?e WHERE { ?e property:P9 resource:Q234911 . ?e rdf:type ontology:Q502895 }
Gabrielle d'Estrées
action filter_type
action find_reverse
entity Gabrielle d'Estrées
relation sister
type common name
[{'concept': 'common name'}, 'sister', "Gabrielle d'Estrées"]
SELECT DISTINCT ?e WHERE { ?e property:sister resource:Gabrielle_d'Estrées . ?e rdf:type ontology:common_name }
[]
common name
Q557026
SYSTEM
François Annibal d'Estrées
Q557026
(c(Q502895),P9,Q234911)
action filter_type
action find_reverse
entity Q234911
relation P9
type Q502895
[ANSWER] has that one as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q234911']
SELECT DISTINCT ?e WHERE { ?e property:P9 resource:Q234911 . ?e rdf:type ontology:Q502895 }
François Annibal d'Estrées
François Annibal d'Estrées has that one as their sibling
François Annibal d'Estrées
action filter_type
action find_reverse
entity Gabrielle d'Estrées
relation sister
type common name
[{'concept': 'common name'}, 'sister', "Gabrielle d'Estrées"]
SELECT DISTINCT ?e WHERE { ?e property:sister resource:Gabrielle_d'Estrées . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q311637
P22
Q502895
USER
Which people have Louis Philippe II, Duke of Orléans as a parent ?
(c(Q502895),P22,Q311637)
action filter_type
action find_reverse
entity Q311637
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q311637']
SELECT DISTINCT ?y WHERE { ?y property:P22 resource:Q311637 . ?y rdf:type ontology:Q502895 }
Louis Philippe II, Duke of Orléans
action filter_type
action find_reverse
entity Louis Philippe II, Duke of Orléans
relation father
type common name
[{'concept': 'common name'}, 'father', 'Louis Philippe II, Duke of Orléans']
SELECT DISTINCT ?y WHERE { ?y property:father resource:Louis_Philippe_II,_Duke_of_Orléans . ?y rdf:type ontology:common_name }
[]
common name
Q7771 Q586877 Q1376566
SYSTEM
Louis Philippe I, Antoine Philippe, Duke of Montpensier, Louis Charles, Count of Beaujolais
Q7771 Q3361768 Q586877 Q2884794 Q269995 Q2388536 Q1376566
(c(Q502895),P22,Q311637)
action filter_type
action find_reverse
entity Q311637
relation P22
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q311637']
SELECT DISTINCT ?y WHERE { ?y property:P22 resource:Q311637 . ?y rdf:type ontology:Q502895 }
Louis Philippe I Lady Edward FitzGerald Antoine Philippe, Duke of Montpensier Baronne de Sternberg Princess Adélaïde of Orléans Victor Leclerc de Buffon Louis Charles, Count of Beaujolais
Louis Philippe I, Antoine Philippe, Duke of Montpensier and Louis Charles, Count of Beaujolais have Louis Philippe II, Duke of Orléans as a parent
Louis Philippe I Antoine Philippe, Duke of Montpensier Louis Charles, Count of Beaujolais
action filter_type
action find_reverse
entity Louis Philippe II, Duke of Orléans
relation father
type common name
[{'concept': 'common name'}, 'father', 'Louis Philippe II, Duke of Orléans']
SELECT DISTINCT ?y WHERE { ?y property:father resource:Louis_Philippe_II,_Duke_of_Orléans . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7771 Q586877 Q1376566
P7
Q502895
USER
Who are those ones a brother of ?
(c(Q502895),P7,Q7771) (c(Q502895),P7,Q586877) (c(Q502895),P7,Q1376566)
action filter_type
action find_reverse
entity prev_answer
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q7771'] [{'concept': 'Q502895'}, 'P7', 'Q586877'] [{'concept': 'Q502895'}, 'P7', 'Q1376566']
SELECT DISTINCT ?h WHERE { VALUES ( ?d ) { ( resource:Q7771 ) ( resource:Q3361768 ) ( resource:Q586877 ) } . ?h rdf:type ontology:Q502895 . ?h property:P7 ?d }
Louis Philippe I Antoine Philippe, Duke of Montpensier Louis Charles, Count of Beaujolais
action filter_type
action find_reverse
entity prev_answer
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Louis Philippe I'] [{'concept': 'common name'}, 'brother', 'Antoine Philippe, Duke of Montpensier'] [{'concept': 'common name'}, 'brother', 'Louis Charles, Count of Beaujolais']
SELECT DISTINCT ?h WHERE { VALUES ( ?d ) { ( resource:Louis_Philippe_I ) ( resource:Lady_Edward_FitzGerald ) ( resource:Antoine_Philippe,_Duke_of_Montpensier ) } . ?h rdf:type ontology:common_name . ?h property:brother ?d }
[]
common name
Q7771 Q7771 Q586877
SYSTEM
Antoine Philippe, Duke of Montpensier for 3rd, Louis Philippe I for 1st, 2nd
Q1376566 Q586877 Q2884794 Q269995 Q7771 Q1376566 Q2884794 Q269995 Q7771 Q586877 Q2884794 Q269995
(c(Q502895),P7,Q7771) (c(Q502895),P7,Q586877) (c(Q502895),P7,Q1376566)
action filter_type
action find_reverse
entity prev_answer
relation P7
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q7771'] [{'concept': 'Q502895'}, 'P7', 'Q586877'] [{'concept': 'Q502895'}, 'P7', 'Q1376566']
SELECT DISTINCT ?h WHERE { VALUES ( ?d ) { ( resource:Q7771 ) ( resource:Q3361768 ) ( resource:Q586877 ) } . ?h rdf:type ontology:Q502895 . ?h property:P7 ?d }
Louis Charles, Count of Beaujolais Antoine Philippe, Duke of Montpensier Baronne de Sternberg Princess Adélaïde of Orléans Louis Philippe I Louis Charles, Count of Beaujolais Baronne de Sternberg Princess Adélaïde of Orléans Louis Philippe I Antoine Philippe, Duke of Montpensier Baronne de Sternberg Princess Adélaïde of Orléans
Those ones a brother of are King Louis Philippe I, Louis Philippe I and Antoine Philippe, Duke of Montpensier
Louis Philippe I Louis Philippe I Antoine Philippe, Duke of Montpensier
action filter_type
action find_reverse
entity prev_answer
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Louis Philippe I'] [{'concept': 'common name'}, 'brother', 'Antoine Philippe, Duke of Montpensier'] [{'concept': 'common name'}, 'brother', 'Louis Charles, Count of Beaujolais']
SELECT DISTINCT ?h WHERE { VALUES ( ?d ) { ( resource:Louis_Philippe_I ) ( resource:Lady_Edward_FitzGerald ) ( resource:Antoine_Philippe,_Duke_of_Montpensier ) } . ?h rdf:type ontology:common_name . ?h property:brother ?d }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7771
P119
Q44539
USER
Which temple is the place of burial of that person ?
(Q7771,P119,c(Q44539))
action filter_type
action find
entity Q7771
relation P119
type Q44539
['Q7771', 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ?b WHERE { resource:Q7771 property:P119 ?b . ?b rdf:type ontology:Q44539 }
Louis Philippe I
action filter_type
action find
entity Louis Philippe I
relation place of burial
type temple
['Louis Philippe I', 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ?b WHERE { resource:Louis_Philippe_I property:place_of_burial ?b . ?b rdf:type ontology:temple }
[]
temple
Clarification for simple ques.
Q586877
SYSTEM
Did you mean Antoine Philippe, Duke of Montpensier ?
Q7771 Q7771 Q586877
(Q7771,P119,c(Q44539)) (Q7771,P119,c(Q44539)) (Q586877,P119,c(Q44539))
[ANSWER]
['Q7771', 'P119', {'concept': 'Q44539'}] ['Q7771', 'P119', {'concept': 'Q44539'}] ['Q586877', 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ?b WHERE { resource:Q7771 property:P119 ?b . ?b rdf:type ontology:Q44539 }
Louis Philippe I Louis Philippe I Antoine Philippe, Duke of Montpensier
Did you mean Antoine Philippe, Duke of Montpensier ?
Antoine Philippe, Duke of Montpensier
['Louis Philippe I', 'place of burial', {'concept': 'temple'}] ['Louis Philippe I', 'place of burial', {'concept': 'temple'}] ['Antoine Philippe, Duke of Montpensier', 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ?b WHERE { resource:Louis_Philippe_I property:place_of_burial ?b . ?b rdf:type ontology:temple }
[]
Simple Question (Coreferenced)
USER
No, I meant Louis Philippe I. Could you tell me the answer for that?
(Q7771,P119,c(Q44539))
Q7771
['Q7771', 'P119', {'concept': 'Q44539'}]
['Louis Philippe I', 'place of burial', {'concept': 'temple'}]
[]
Q736211
SYSTEM
Chapelle royale de Dreux
Q736211
(Q7771,P119,c(Q44539))
action filter_type
action find
entity Q7771
relation P119
type Q44539
[ANSWER] is the place of burial of that person
['Q7771', 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ?b WHERE { resource:Q7771 property:P119 ?b . ?b rdf:type ontology:Q44539 }
Chapelle royale de Dreux
Chapelle royale de Dreux is the place of burial of that person
Chapelle royale de Dreux
action filter_type
action find
entity Louis Philippe I
relation place of burial
type temple
['Louis Philippe I', 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ?b WHERE { resource:Louis_Philippe_I property:place_of_burial ?b . ?b rdf:type ontology:temple }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P119
Q44539 Q502895
USER
Which temples are the tombs of greater number of people than that temple ?
(c(Q502895),P119,c(Q44539))
action greater
action find_reverse_tuple_counts
relation P119
type Q44539
type Q502895
action count
action filter_type
action find
entity Q736211
relation P119
type Q44539
[{'concept': 'Q502895'}, 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:P119 ?h . ?h rdf:type ontology:Q44539 . ?n rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q736211 property:P119 ?y . ?y rdf:type ontology:Q44539 } } . FILTER ( ?s > ?q ) }
action greater
action find_reverse_tuple_counts
relation place of burial
type temple
type common name
action count
action filter_type
action find
entity Chapelle royale de Dreux
relation place of burial
type temple
[{'concept': 'common name'}, 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:place_of_burial ?h . ?h rdf:type ontology:temple . ?n rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Chapelle_royale_de_Dreux property:place_of_burial ?y . ?y rdf:type ontology:temple } } . FILTER ( ?s > ?q ) }
[]
temple common name
Q188856
SYSTEM
Panthéon
Q188856
(c(Q502895),P119,c(Q44539))
action greater
action find_reverse_tuple_counts
relation P119
type Q44539
type Q502895
action count
action filter_type
action find
entity Q736211
relation P119
type Q44539
[ANSWER] is the tombs of greater number of people than that temple
[{'concept': 'Q502895'}, 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:P119 ?h . ?h rdf:type ontology:Q44539 . ?n rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q736211 property:P119 ?y . ?y rdf:type ontology:Q44539 } } . FILTER ( ?s > ?q ) }
Panthéon
Panthéon is the tombs of greater number of people than that temple
Panthéon
action greater
action find_reverse_tuple_counts
relation place of burial
type temple
type common name
action count
action filter_type
action find
entity Chapelle royale de Dreux
relation place of burial
type temple
[{'concept': 'common name'}, 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:place_of_burial ?h . ?h rdf:type ontology:temple . ?n rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Chapelle_royale_de_Dreux property:place_of_burial ?y . ?y rdf:type ontology:temple } } . FILTER ( ?s > ?q ) }
[]