Simple Question (Direct)
Simple Question
Q565401
P140
Q879146
USER
Which Christian denomination does Princess Henriette of France correspond to ?
(Q565401,P140,c(Q879146))
action filter_type
action find
entity Q565401
relation P140
type Q879146
['Q565401', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?i WHERE { resource:Q565401 property:P140 ?i . ?i rdf:type ontology:Q879146 }
Princess Henriette of France
action filter_type
action find
entity Princess Henriette of France
relation religion
type Christian denomination
['Princess Henriette of France', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?i WHERE { resource:Princess_Henriette_of_France property:religion ?i . ?i rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q565401,P140,c(Q879146))
action filter_type
action find
entity Q565401
relation P140
type Q879146
Princess Henriette of France corresponds au [ANSWER]
['Q565401', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?i WHERE { resource:Q565401 property:P140 ?i . ?i rdf:type ontology:Q879146 }
Roman Catholic Church
Princess Henriette of France corresponds au Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Princess Henriette of France
relation religion
type Christian denomination
['Princess Henriette of France', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?i WHERE { resource:Princess_Henriette_of_France property:religion ?i . ?i rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q565401
P9
Q502895
USER
Who had Princess Henriette of France as their sibling ?
(c(Q502895),P9,Q565401)
action filter_type
action find_reverse
entity Q565401
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q565401']
SELECT DISTINCT ?k WHERE { ?k property:P9 resource:Q565401 . ?k rdf:type ontology:Q502895 }
Princess Henriette of France
action filter_type
action find_reverse
entity Princess Henriette of France
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Princess Henriette of France']
SELECT DISTINCT ?k WHERE { ?k property:sister resource:Princess_Henriette_of_France . ?k rdf:type ontology:common_name }
[]
common name
Q1127464 Q1872174 Q230868
SYSTEM
Louis, Dauphin of France, Princess Louise Marie of France, Louise Élisabeth of France
Q2432279 Q1051072 Q230868 Q237832 Q1872174 Q1127464 Q1151372 Q2636618 Q2960721 Q1189979
(c(Q502895),P9,Q565401)
action filter_type
action find_reverse
entity Q565401
relation P9
type Q502895
[ANSWERS] had Princess Henriette of France as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q565401']
SELECT DISTINCT ?k WHERE { ?k property:P9 resource:Q565401 . ?k rdf:type ontology:Q502895 }
Philippe, Duke of Anjou Princess Thérèse of France Louise Élisabeth of France Princess Marie Adélaïde of France Princess Louise Marie of France Louis, Dauphin of France Princess Sophie of France Princess Louise of France Charles de Vintimille Princess Victoire of France
Louis, Dauphin of France, Princess Louise Marie of France and Louise Élisabeth of France had Princess Henriette of France as their sibling
Louis, Dauphin of France Princess Louise Marie of France Louise Élisabeth of France
action filter_type
action find_reverse
entity Princess Henriette of France
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Princess Henriette of France']
SELECT DISTINCT ?k WHERE { ?k property:sister resource:Princess_Henriette_of_France . ?k rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1872174
P40
Q502895
USER
Which people have that one as a child ?
(c(Q502895),P40,Q1872174)
action filter_type
action find_reverse
entity Q1872174
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1872174']
SELECT DISTINCT ?l WHERE { ?l property:P40 resource:Q1872174 . ?l rdf:type ontology:Q502895 }
Princess Louise Marie of France
action filter_type
action find_reverse
entity Princess Louise Marie of France
relation child
type common name
[{'concept': 'common name'}, 'child', 'Princess Louise Marie of France']
SELECT DISTINCT ?l WHERE { ?l property:child resource:Princess_Louise_Marie_of_France . ?l rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1872174
SYSTEM
Did you mean Princess Louise Marie of France ?
Q1127464 Q1872174 Q230868
(c(Q502895),P40,Q1127464) (c(Q502895),P40,Q1872174) (c(Q502895),P40,Q230868)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q1127464'] [{'concept': 'Q502895'}, 'P40', 'Q1872174'] [{'concept': 'Q502895'}, 'P40', 'Q230868']
SELECT DISTINCT ?l WHERE { ?l property:P40 resource:Q1872174 . ?l rdf:type ontology:Q502895 }
Louis, Dauphin of France Princess Louise Marie of France Louise Élisabeth of France
Did you mean Princess Louise Marie of France ?
Princess Louise Marie of France
[{'concept': 'common name'}, 'child', 'Louis, Dauphin of France'] [{'concept': 'common name'}, 'child', 'Princess Louise Marie of France'] [{'concept': 'common name'}, 'child', 'Louise Élisabeth of France']
SELECT DISTINCT ?l WHERE { ?l property:child resource:Princess_Louise_Marie_of_France . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P40,Q1872174)
[{'concept': 'Q502895'}, 'P40', 'Q1872174']
[{'concept': 'common name'}, 'child', 'Princess Louise Marie of France']
[]
Q231674 Q7738
SYSTEM
Marie Leszczyńska, Louis XV of France
Q231674 Q7738
(c(Q502895),P40,Q1872174)
action filter_type
action find_reverse
entity Q1872174
relation P40
type Q502895
[ANSWERS] have that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q1872174']
SELECT DISTINCT ?l WHERE { ?l property:P40 resource:Q1872174 . ?l rdf:type ontology:Q502895 }
Marie Leszczyńska Louis XV of France
Marie Leszczyńska and Louis XV of France have that one as a child
Marie Leszczyńska Louis XV of France
action filter_type
action find_reverse
entity Princess Louise Marie of France
relation child
type common name
[{'concept': 'common name'}, 'child', 'Princess Louise Marie of France']
SELECT DISTINCT ?l WHERE { ?l property:child resource:Princess_Louise_Marie_of_France . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q231674 Q7738
P26
Q502895
USER
Who are married to those ones ?
(c(Q502895),P26,Q231674) (c(Q502895),P26,Q7738)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q231674'] [{'concept': 'Q502895'}, 'P26', 'Q7738']
SELECT DISTINCT ?z WHERE { ?u property:P26 ?z . VALUES ( ?u ) { ( resource:Q231674 ) ( resource:Q7738 ) } . ?z rdf:type ontology:Q502895 }
Marie Leszczyńska Louis XV of France
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Marie Leszczyńska'] [{'concept': 'common name'}, 'spouse', 'Louis XV of France']
SELECT DISTINCT ?z WHERE { ?u property:spouse ?z . VALUES ( ?u ) { ( resource:Marie_Leszczyńska ) ( resource:Louis_XV_of_France ) } . ?z rdf:type ontology:common_name }
[]
common name
Q7738 Q231674
SYSTEM
Louis XV of France, Marie Leszczyńska
Q7738 Q231674
(c(Q502895),P26,Q231674) (c(Q502895),P26,Q7738)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS] are married to those ones
[{'concept': 'Q502895'}, 'P26', 'Q231674'] [{'concept': 'Q502895'}, 'P26', 'Q7738']
SELECT DISTINCT ?z WHERE { ?u property:P26 ?z . VALUES ( ?u ) { ( resource:Q231674 ) ( resource:Q7738 ) } . ?z rdf:type ontology:Q502895 }
Louis XV of France Marie Leszczyńska
Louis XV of France and Marie Leszczyńska are married to those ones
Louis XV of France Marie Leszczyńska
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Marie Leszczyńska'] [{'concept': 'common name'}, 'spouse', 'Louis XV of France']
SELECT DISTINCT ?z WHERE { ?u property:spouse ?z . VALUES ( ?u ) { ( resource:Marie_Leszczyńska ) ( resource:Louis_XV_of_France ) } . ?z rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q231674
P40
Q502895
USER
Who have that one as an offspring ?
(c(Q502895),P40,Q231674)
action filter_type
action find_reverse
entity Q231674
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q231674']
SELECT DISTINCT ?b WHERE { ?b property:P40 resource:Q231674 . ?b rdf:type ontology:Q502895 }
Marie Leszczyńska
action filter_type
action find_reverse
entity Marie Leszczyńska
relation child
type common name
[{'concept': 'common name'}, 'child', 'Marie Leszczyńska']
SELECT DISTINCT ?b WHERE { ?b property:child resource:Marie_Leszczyńska . ?b rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q231674
SYSTEM
Did you mean Marie Leszczyńska ?
Q7738 Q231674
(c(Q502895),P40,Q7738) (c(Q502895),P40,Q231674)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q7738'] [{'concept': 'Q502895'}, 'P40', 'Q231674']
SELECT DISTINCT ?b WHERE { ?b property:P40 resource:Q231674 . ?b rdf:type ontology:Q502895 }
Louis XV of France Marie Leszczyńska
Did you mean Marie Leszczyńska ?
Marie Leszczyńska
[{'concept': 'common name'}, 'child', 'Louis XV of France'] [{'concept': 'common name'}, 'child', 'Marie Leszczyńska']
SELECT DISTINCT ?b WHERE { ?b property:child resource:Marie_Leszczyńska . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P40,Q231674)
[{'concept': 'Q502895'}, 'P40', 'Q231674']
[{'concept': 'common name'}, 'child', 'Marie Leszczyńska']
[]
Q54022 Q240272
SYSTEM
Stanisław Leszczyński, Catherine Opalińska
Q54022 Q240272
(c(Q502895),P40,Q231674)
action filter_type
action find_reverse
entity Q231674
relation P40
type Q502895
[ANSWERS] have that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q231674']
SELECT DISTINCT ?b WHERE { ?b property:P40 resource:Q231674 . ?b rdf:type ontology:Q502895 }
Stanisław Leszczyński Catherine Opalińska
Stanisław Leszczyński and Catherine Opalińska have that one as an offspring
Stanisław Leszczyński Catherine Opalińska
action filter_type
action find_reverse
entity Marie Leszczyńska
relation child
type common name
[{'concept': 'common name'}, 'child', 'Marie Leszczyńska']
SELECT DISTINCT ?b WHERE { ?b property:child resource:Marie_Leszczyńska . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q54022
P40
Q502895
USER
How many people are children of Stanisław Leszczyński ?
(Q54022,P40,c(Q502895))
action count
action filter_type
action find
entity Q54022
relation P40
type Q502895
['Q54022', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Q54022 property:P40 ?d . ?d rdf:type ontology:Q502895 }
Stanisław Leszczyński
action count
action filter_type
action find
entity Stanisław Leszczyński
relation child
type common name
['Stanisław Leszczyński', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Stanisław_Leszczyński property:child ?d . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q231674 Q289039
(Q54022,P40,c(Q502895))
action count
action filter_type
action find
entity Q54022
relation P40
type Q502895
[ANSWER]
['Q54022', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Q54022 property:P40 ?d . ?d rdf:type ontology:Q502895 }
Marie Leszczyńska Anna Leszczyńska
2
action count
action filter_type
action find
entity Stanisław Leszczyński
relation child
type common name
['Stanisław Leszczyński', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Stanisław_Leszczyński property:child ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q54022
P22
Q502895
USER
Which people have Stanisław Leszczyński as dad ?
(c(Q502895),P22,Q54022)
action filter_type
action find_reverse
entity Q54022
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q54022']
SELECT DISTINCT ?g WHERE { ?g property:P22 resource:Q54022 . ?g rdf:type ontology:Q502895 }
Stanisław Leszczyński
action filter_type
action find_reverse
entity Stanisław Leszczyński
relation father
type common name
[{'concept': 'common name'}, 'father', 'Stanisław Leszczyński']
SELECT DISTINCT ?g WHERE { ?g property:father resource:Stanisław_Leszczyński . ?g rdf:type ontology:common_name }
[]
common name
Q231674 Q289039
SYSTEM
Marie Leszczyńska, Anna Leszczyńska
Q231674 Q289039
(c(Q502895),P22,Q54022)
action filter_type
action find_reverse
entity Q54022
relation P22
type Q502895
[ANSWERS] have Stanisław Leszczyński as dad
[{'concept': 'Q502895'}, 'P22', 'Q54022']
SELECT DISTINCT ?g WHERE { ?g property:P22 resource:Q54022 . ?g rdf:type ontology:Q502895 }
Marie Leszczyńska Anna Leszczyńska
Marie Leszczyńska and Anna Leszczyńska have Stanisław Leszczyński as dad
Marie Leszczyńska Anna Leszczyńska
action filter_type
action find_reverse
entity Stanisław Leszczyński
relation father
type common name
[{'concept': 'common name'}, 'father', 'Stanisław Leszczyński']
SELECT DISTINCT ?g WHERE { ?g property:father resource:Stanisław_Leszczyński . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q231674
P25
Q502895
USER
Which people have Marie Leszczyńska as a parent ?
(c(Q502895),P25,Q231674)
action filter_type
action find_reverse
entity Q231674
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q231674']
SELECT DISTINCT ?e WHERE { ?e property:P25 resource:Q231674 . ?e rdf:type ontology:Q502895 }
Marie Leszczyńska
action filter_type
action find_reverse
entity Marie Leszczyńska
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Marie Leszczyńska']
SELECT DISTINCT ?e WHERE { ?e property:mother resource:Marie_Leszczyńska . ?e rdf:type ontology:common_name }
[]
common name
Q1127464 Q1872174 Q230868
SYSTEM
Louis, Dauphin of France, Princess Louise Marie of France, Louise Élisabeth of France
Q2432279 Q1051072 Q230868 Q237832 Q1872174 Q1127464 Q1151372 Q565401 Q2636618 Q1189979
(c(Q502895),P25,Q231674)
action filter_type
action find_reverse
entity Q231674
relation P25
type Q502895
[ANSWERS] have Marie Leszczyńska as a parent
[{'concept': 'Q502895'}, 'P25', 'Q231674']
SELECT DISTINCT ?e WHERE { ?e property:P25 resource:Q231674 . ?e rdf:type ontology:Q502895 }
Philippe, Duke of Anjou Princess Thérèse of France Louise Élisabeth of France Princess Marie Adélaïde of France Princess Louise Marie of France Louis, Dauphin of France Princess Sophie of France Princess Henriette of France Princess Louise of France Princess Victoire of France
Louis, Dauphin of France, Princess Louise Marie of France and Louise Élisabeth of France have Marie Leszczyńska as a parent
Louis, Dauphin of France Princess Louise Marie of France Louise Élisabeth of France
action filter_type
action find_reverse
entity Marie Leszczyńska
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Marie Leszczyńska']
SELECT DISTINCT ?e WHERE { ?e property:mother resource:Marie_Leszczyńska . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1127464
P7
Q502895
USER
Which people have Louis, Dauphin of France as their brother ?
(c(Q502895),P7,Q1127464)
action filter_type
action find_reverse
entity Q1127464
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q1127464']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P7 resource:Q1127464 }
Louis, Dauphin of France
action filter_type
action find_reverse
entity Louis, Dauphin of France
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Louis, Dauphin of France']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:brother resource:Louis,_Dauphin_of_France }
[]
common name
Q1872174 Q230868 Q565401
SYSTEM
Princess Louise Marie of France, Louise Élisabeth of France, Princess Henriette of France
Q2432279 Q2636618 Q230868 Q237832 Q1872174 Q1151372 Q565401 Q1051072 Q2960721 Q1189979
(c(Q502895),P7,Q1127464)
action filter_type
action find_reverse
entity Q1127464
relation P7
type Q502895
[ANSWERS] have Louis, Dauphin of France as their brother
[{'concept': 'Q502895'}, 'P7', 'Q1127464']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P7 resource:Q1127464 }
Philippe, Duke of Anjou Princess Louise of France Louise Élisabeth of France Princess Marie Adélaïde of France Princess Louise Marie of France Princess Sophie of France Princess Henriette of France Princess Thérèse of France Charles de Vintimille Princess Victoire of France
Princess Louise Marie of France, Louise Élisabeth of France and Princess Henriette of France have Louis, Dauphin of France as their brother
Princess Louise Marie of France Louise Élisabeth of France Princess Henriette of France
action filter_type
action find_reverse
entity Louis, Dauphin of France
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Louis, Dauphin of France']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:brother resource:Louis,_Dauphin_of_France }
[]