Simple Question (Direct)
Simple Question
Q557026
P22
Q502895
USER
Which male person was the parent of François Annibal d'Estrées ?
(Q557026,P22,c(Q502895))
action filter_type
action find
entity Q557026
relation P22
type Q502895
['Q557026', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q557026 property:P22 ?p . ?p rdf:type ontology:Q502895 }
François Annibal d'Estrées
action filter_type
action find
entity François Annibal d'Estrées
relation father
type common name
["François Annibal d'Estrées", 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:François_Annibal_d'Estrées property:father ?p . ?p rdf:type ontology:common_name }
[]
common name
Q2856832
SYSTEM
Antoine d'Estrées
Q2856832
(Q557026,P22,c(Q502895))
action filter_type
action find
entity Q557026
relation P22
type Q502895
De [ANSWER] was the parent of François Annibal d'Estrées
['Q557026', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q557026 property:P22 ?p . ?p rdf:type ontology:Q502895 }
Antoine d'Estrées
De Antoine d'Estrées was the parent of François Annibal d'Estrées
Antoine d'Estrées
action filter_type
action find
entity François Annibal d'Estrées
relation father
type common name
["François Annibal d'Estrées", 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:François_Annibal_d'Estrées property:father ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2856832
P40
Q502895
USER
Which people are children of that one ?
(Q2856832,P40,c(Q502895))
action filter_type
action find
entity Q2856832
relation P40
type Q502895
['Q2856832', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q2856832 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Antoine d'Estrées
action filter_type
action find
entity Antoine d'Estrées
relation child
type common name
["Antoine d'Estrées", 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Antoine_d'Estrées property:child ?w . ?w rdf:type ontology:common_name }
[]
common name
Q557026 Q234911
SYSTEM
François Annibal d'Estrées, Gabrielle d'Estrées
Q557026 Q234911
(Q2856832,P40,c(Q502895))
action filter_type
action find
entity Q2856832
relation P40
type Q502895
[ANSWERS] are children of that one
['Q2856832', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q2856832 property:P40 ?w . ?w rdf:type ontology:Q502895 }
François Annibal d'Estrées Gabrielle d'Estrées
François Annibal d'Estrées and Gabrielle d'Estrées are children of that one
François Annibal d'Estrées Gabrielle d'Estrées
action filter_type
action find
entity Antoine d'Estrées
relation child
type common name
["Antoine d'Estrées", 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Antoine_d'Estrées property:child ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q557026 Q234911
P40
Q502895
USER
Who have those ones as a child ?
(c(Q502895),P40,Q557026) (c(Q502895),P40,Q234911)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q557026'] [{'concept': 'Q502895'}, 'P40', 'Q234911']
SELECT DISTINCT ?u WHERE { VALUES ( ?w ) { ( resource:Q557026 ) ( resource:Q234911 ) } . ?u property:P40 ?w . ?u rdf:type ontology:Q502895 }
François Annibal d'Estrées Gabrielle d'Estrées
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', "François Annibal d'Estrées"] [{'concept': 'common name'}, 'child', "Gabrielle d'Estrées"]
SELECT DISTINCT ?u WHERE { VALUES ( ?w ) { ( resource:François_Annibal_d'Estrées ) ( resource:Gabrielle_d'Estrées ) } . ?u property:child ?w . ?u rdf:type ontology:common_name }
[]
common name
Q2856832 Q2856832 Q3086390
SYSTEM
Antoine d'Estrées for 1st, 2nd, Françoise Babou de La Bourdaisière for 3rd
Q3086390 Q2856832 Q3086390 Q2856832
(c(Q502895),P40,Q557026) (c(Q502895),P40,Q234911)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q557026'] [{'concept': 'Q502895'}, 'P40', 'Q234911']
SELECT DISTINCT ?u WHERE { VALUES ( ?w ) { ( resource:Q557026 ) ( resource:Q234911 ) } . ?u property:P40 ?w . ?u rdf:type ontology:Q502895 }
Françoise Babou de La Bourdaisière Antoine d'Estrées Françoise Babou de La Bourdaisière Antoine d'Estrées
Antoine d'Estrées, Antoine d'Estrées and Françoise Babou de La Bourdaisière have those ones as a child
Antoine d'Estrées Antoine d'Estrées Françoise Babou de La Bourdaisière
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', "François Annibal d'Estrées"] [{'concept': 'common name'}, 'child', "Gabrielle d'Estrées"]
SELECT DISTINCT ?u WHERE { VALUES ( ?w ) { ( resource:François_Annibal_d'Estrées ) ( resource:Gabrielle_d'Estrées ) } . ?u property:child ?w . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q234911
P451
Q502895
USER
Who has Gabrielle d'Estrées as their relationship partner ?
(c(Q502895),P451,Q234911)
action filter_type
action find
entity Q234911
relation P451
type Q502895
[{'concept': 'Q502895'}, 'P451', 'Q234911']
SELECT DISTINCT ?d WHERE { resource:Q234911 property:P451 ?d . ?d rdf:type ontology:Q502895 }
Gabrielle d'Estrées
action filter_type
action find
entity Gabrielle d'Estrées
relation partner
type common name
[{'concept': 'common name'}, 'partner', "Gabrielle d'Estrées"]
SELECT DISTINCT ?d WHERE { resource:Gabrielle_d'Estrées property:partner ?d . ?d rdf:type ontology:common_name }
[]
common name
Q936976
SYSTEM
Henry IV of France
Q936976
(c(Q502895),P451,Q234911)
action filter_type
action find
entity Q234911
relation P451
type Q502895
[ANSWER] has Gabrielle d'Estrées as their relationship partner
[{'concept': 'Q502895'}, 'P451', 'Q234911']
SELECT DISTINCT ?d WHERE { resource:Q234911 property:P451 ?d . ?d rdf:type ontology:Q502895 }
Henry IV of France
Henry IV of France has Gabrielle d'Estrées as their relationship partner
Henry IV of France
action filter_type
action find
entity Gabrielle d'Estrées
relation partner
type common name
[{'concept': 'common name'}, 'partner', "Gabrielle d'Estrées"]
SELECT DISTINCT ?d WHERE { resource:Gabrielle_d'Estrées property:partner ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q234911
P97
Q4164871
USER
What was the noble title held by Gabrielle d'Estrées ?
(Q234911,P97,c(Q4164871))
action filter_type
action find
entity Q234911
relation P97
type Q4164871
['Q234911', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?f WHERE { resource:Q234911 property:P97 ?f . ?f rdf:type ontology:Q4164871 }
Gabrielle d'Estrées
action filter_type
action find
entity Gabrielle d'Estrées
relation noble title
type position
["Gabrielle d'Estrées", 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?f WHERE { resource:Gabrielle_d'Estrées property:noble_title ?f . ?f rdf:type ontology:position }
[]
position
Q166886
SYSTEM
duke
Q166886
(Q234911,P97,c(Q4164871))
action filter_type
action find
entity Q234911
relation P97
type Q4164871
The noble title held by Gabrielle d' Estrées was [ANSWER]
['Q234911', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?f WHERE { resource:Q234911 property:P97 ?f . ?f rdf:type ontology:Q4164871 }
duke
The noble title held by Gabrielle d' Estrées was duke
duke
action filter_type
action find
entity Gabrielle d'Estrées
relation noble title
type position
["Gabrielle d'Estrées", 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?f WHERE { resource:Gabrielle_d'Estrées property:noble_title ?f . ?f rdf:type ontology:position }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q215064
Q4164871
USER
And what about Heinrich LXVII, Prince Reuss Younger Line?
(Q215064,P97,c(Q4164871))
action filter_type
action find
entity Q215064
relation P97
type Q4164871
['Q215064', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?g WHERE { resource:Q215064 property:P97 ?g . ?g rdf:type ontology:Q4164871 }
Heinrich LXVII, Prince Reuss Younger Line
action filter_type
action find
entity Heinrich LXVII, Prince Reuss Younger Line
relation noble title
type position
['Heinrich LXVII, Prince Reuss Younger Line', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?g WHERE { resource:Heinrich_LXVII,_Prince_Reuss_Younger_Line property:noble_title ?g . ?g rdf:type ontology:position }
[]
position
Q18244
SYSTEM
Fürst
Q18244
(Q215064,P97,c(Q4164871))
action filter_type
action find
entity Q215064
relation P97
type Q4164871
[ANSWER]
['Q215064', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?g WHERE { resource:Q215064 property:P97 ?g . ?g rdf:type ontology:Q4164871 }
Fürst
Fürst
action filter_type
action find
entity Heinrich LXVII, Prince Reuss Younger Line
relation noble title
type position
['Heinrich LXVII, Prince Reuss Younger Line', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?g WHERE { resource:Heinrich_LXVII,_Prince_Reuss_Younger_Line property:noble_title ?g . ?g rdf:type ontology:position }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3068
P1001
Q15617994 Q4164871
USER
Which administrative territories come under the jurisdiction of greater number of positions than Loire-Atlantique ?
(c(Q4164871),P1001,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action count
action filter_type
action find
entity Q3068
relation P1001
type Q15617994
[{'concept': 'Q4164871'}, 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:P1001 ?y . ?y rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q4164871 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Q3068 property:P1001 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?i > ?b ) }
Loire-Atlantique
action greater
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action count
action filter_type
action find
entity Loire-Atlantique
relation applies to jurisdiction
type designation for an administrative territorial entity
[{'concept': 'position'}, 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:applies_to_jurisdiction ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:position } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Loire-Atlantique property:applies_to_jurisdiction ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i > ?b ) }
[]
designation for an administrative territorial entity position
Q38 Q30 Q159
SYSTEM
Italy, United States of America, Russia
Q142 Q145 Q148 Q189 Q31 Q37 Q837 Q213 Q258 Q45 Q159 Q41 Q4628 Q822 Q33 Q30 Q36 Q38 Q233 Q20 Q27 Q184 Q1904 Q223 Q229 Q191 Q212 Q211 Q214 Q154547 Q833 Q836 Q29 Q1231
(c(Q4164871),P1001,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action count
action filter_type
action find
entity Q3068
relation P1001
type Q15617994
[ANSWERS] come under the jurisdiction of greater number of positions than Loire-Atlantique
[{'concept': 'Q4164871'}, 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:P1001 ?y . ?y rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q4164871 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Q3068 property:P1001 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?i > ?b ) }
France United Kingdom People's Republic of China Iceland Belgium Lithuania Nepal Czech Republic South Africa Portugal Russia Greece Faroe Islands Lebanon Finland United States of America Poland Italy Malta Norway Ireland Belarus Ontario Greenland Cyprus Estonia Ukraine Latvia Slovakia duchy Malaysia Myanmar Spain Kosovo Region
Italy, United States of America and Russia come under the jurisdiction of greater number of positions than Loire-Atlantique
Italy United States of America Russia
action greater
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action count
action filter_type
action find
entity Loire-Atlantique
relation applies to jurisdiction
type designation for an administrative territorial entity
[{'concept': 'position'}, 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:applies_to_jurisdiction ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:position } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Loire-Atlantique property:applies_to_jurisdiction ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i > ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic relations with atmost 61 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 61
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?i <= 61 ) . { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?i ) WHERE { ?s property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } GROUP BY ?s } }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 61
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?i <= 61 ) . { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?i ) WHERE { ?s property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } GROUP BY ?s } }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 61
[ANSWERS] have diplomatic relations with atmost 61 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?i <= 61 ) . { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?i ) WHERE { ?s property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } GROUP BY ?s } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relations with atmost 61 administrative territories
Denmark Canada Austria
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 61
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?i <= 61 ) . { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?i ) WHERE { ?s property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } GROUP BY ?s } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q936976
P21 P22
Q502895
USER
Which people have Henry IV of France as a father and are a male ?
AND((c(Q502895),P22,Q936976), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q936976
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q936976'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P22 resource:Q936976 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
male Henry IV of France
action filter_type
action intersection
action find_reverse
entity Henry IV of France
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Henry IV of France'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:father resource:Henry_IV_of_France . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]
common name
Q303843 Q737533 Q321434 Q2364464 Q526731 Q984647 Q644635
SYSTEM
César, Duke of Vendôme, Louis XIII of France, Henri, Duke of Verneuil, Alexandre de Vendôme, Antoine de Bourbon, Nicolas Henri, Duke of Orléans, Gaston, Duke of Orléans
Q303843 Q737533 Q321434 Q2364464 Q526731 Q984647 Q644635
AND((c(Q502895),P22,Q936976), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q936976
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q936976'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P22 resource:Q936976 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
César, Duke of Vendôme Louis XIII of France Henri, Duke of Verneuil Alexandre de Vendôme Antoine de Bourbon Nicolas Henri, Duke of Orléans Gaston, Duke of Orléans
César, Duke of Vendôme, Louis XIII of France, Henri, Duke of Verneuil, Alexandre de Vendôme, Antoine de Bourbon, Nicolas Henri, Duke of Orléans and Gaston, Duke of Orléans have Henry IV of France as a father and are a male
César, Duke of Vendôme Louis XIII of France Henri, Duke of Verneuil Alexandre de Vendôme Antoine de Bourbon Nicolas Henri, Duke of Orléans Gaston, Duke of Orléans
action filter_type
action intersection
action find_reverse
entity Henry IV of France
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Henry IV of France'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:father resource:Henry_IV_of_France . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P40
Q502895
USER
How many people have that person as an offspring ?
(c(Q502895),P40,Q526731)
[{'concept': 'Q502895'}, 'P40', 'Q526731']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q23038905 resource:Q526731 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'child', 'Antoine de Bourbon']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:child resource:Antoine_de_Bourbon . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q526731
SYSTEM
Did you mean Antoine de Bourbon ?
(c(Q502895),P40,Q303843) (c(Q502895),P40,Q737533) (c(Q502895),P40,Q321434) (c(Q502895),P40,Q2364464) (c(Q502895),P40,Q526731) (c(Q502895),P40,Q984647) (c(Q502895),P40,Q644635)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q303843'] [{'concept': 'Q502895'}, 'P40', 'Q737533'] [{'concept': 'Q502895'}, 'P40', 'Q321434'] [{'concept': 'Q502895'}, 'P40', 'Q2364464'] [{'concept': 'Q502895'}, 'P40', 'Q526731'] [{'concept': 'Q502895'}, 'P40', 'Q984647'] [{'concept': 'Q502895'}, 'P40', 'Q644635']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q23038905 resource:Q526731 . ?z rdf:type ontology:Q502895 }
Did you mean Antoine de Bourbon ?
Antoine de Bourbon
[{'concept': 'common name'}, 'child', 'César, Duke of Vendôme'] [{'concept': 'common name'}, 'child', 'Louis XIII of France'] [{'concept': 'common name'}, 'child', 'Henri, Duke of Verneuil'] [{'concept': 'common name'}, 'child', 'Alexandre de Vendôme'] [{'concept': 'common name'}, 'child', 'Antoine de Bourbon'] [{'concept': 'common name'}, 'child', 'Nicolas Henri, Duke of Orléans'] [{'concept': 'common name'}, 'child', 'Gaston, Duke of Orléans']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:child resource:Antoine_de_Bourbon . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P40,Q526731)
[{'concept': 'Q502895'}, 'P40', 'Q526731']
[{'concept': 'common name'}, 'child', 'Antoine de Bourbon']
[]
SYSTEM
1
Q936976
(c(Q502895),P40,Q526731)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q526731']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q23038905 resource:Q526731 . ?z rdf:type ontology:Q502895 }
Henry IV of France
1
[{'concept': 'common name'}, 'child', 'Antoine de Bourbon']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:child resource:Antoine_de_Bourbon . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q234911
P25 P21
Q502895
USER
Which people have Gabrielle d'Estrées as mother and have male as the sex ?
AND((c(Q502895),P25,Q234911), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q234911
relation P25
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P25', 'Q234911'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P25 resource:Q234911 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
male Gabrielle d'Estrées
action filter_type
action intersection
action find_reverse
entity Gabrielle d'Estrées
relation mother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'mother', "Gabrielle d'Estrées"], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:mother resource:Gabrielle_d'Estrées . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
common name
Q303843
SYSTEM
César, Duke of Vendôme
Q303843
AND((c(Q502895),P25,Q234911), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q234911
relation P25
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Gabrielle d'Estrées as mother and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P25', 'Q234911'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P25 resource:Q234911 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
César, Duke of Vendôme
César, Duke of Vendôme have Gabrielle d'Estrées as mother and have male as the sex
César, Duke of Vendôme
action filter_type
action intersection
action find_reverse
entity Gabrielle d'Estrées
relation mother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'mother', "Gabrielle d'Estrées"], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:mother resource:Gabrielle_d'Estrées . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q303843
P802
Q502895
USER
Which person was a pupil of that one ?
(c(Q502895),P802,Q303843)
action filter_type
action find_reverse
entity Q303843
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q303843']
SELECT DISTINCT ?w WHERE { ?w property:P802 resource:Q303843 . ?w rdf:type ontology:Q502895 }
César, Duke of Vendôme
action filter_type
action find_reverse
entity César, Duke of Vendôme
relation student
type common name
[{'concept': 'common name'}, 'student', 'César, Duke of Vendôme']
SELECT DISTINCT ?w WHERE { ?w property:student resource:César,_Duke_of_Vendôme . ?w rdf:type ontology:common_name }
[]
common name
Q3340840
SYSTEM
Nicolas Vauquelin des Yveteaux
Q3340840
(c(Q502895),P802,Q303843)
action filter_type
action find_reverse
entity Q303843
relation P802
type Q502895
[ANSWER] was a pupil of that one
[{'concept': 'Q502895'}, 'P802', 'Q303843']
SELECT DISTINCT ?w WHERE { ?w property:P802 resource:Q303843 . ?w rdf:type ontology:Q502895 }
Nicolas Vauquelin des Yveteaux
Nicolas Vauquelin des Yveteaux was a pupil of that one
Nicolas Vauquelin des Yveteaux
action filter_type
action find_reverse
entity César, Duke of Vendôme
relation student
type common name
[{'concept': 'common name'}, 'student', 'César, Duke of Vendôme']
SELECT DISTINCT ?w WHERE { ?w property:student resource:César,_Duke_of_Vendôme . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3340840
P1066
Q502895
USER
Who is a pupil of that one ?
(c(Q502895),P1066,Q3340840)
action filter_type
action find_reverse
entity Q3340840
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q3340840']
SELECT DISTINCT ?t WHERE { ?t property:P1066 resource:Q3340840 . ?t rdf:type ontology:Q502895 }
Nicolas Vauquelin des Yveteaux
action filter_type
action find_reverse
entity Nicolas Vauquelin des Yveteaux
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Nicolas Vauquelin des Yveteaux']
SELECT DISTINCT ?t WHERE { ?t property:student_of resource:Nicolas_Vauquelin_des_Yveteaux . ?t rdf:type ontology:common_name }
[]
common name
Q303843
SYSTEM
César, Duke of Vendôme
Q303843
(c(Q502895),P1066,Q3340840)
action filter_type
action find_reverse
entity Q3340840
relation P1066
type Q502895
A pupil of that one is Louis [ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q3340840']
SELECT DISTINCT ?t WHERE { ?t property:P1066 resource:Q3340840 . ?t rdf:type ontology:Q502895 }
César, Duke of Vendôme
A pupil of that one is Louis César, Duke of Vendôme
César, Duke of Vendôme
action filter_type
action find_reverse
entity Nicolas Vauquelin des Yveteaux
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Nicolas Vauquelin des Yveteaux']
SELECT DISTINCT ?t WHERE { ?t property:student_of resource:Nicolas_Vauquelin_des_Yveteaux . ?t rdf:type ontology:common_name }
[]