Simple Question (Direct)
Simple Question
Q235818
P26
Q502895
USER
Who is the spouse of Princess Maria Immaculata of Bourbon-Two Sicilies ?
(Q235818,P26,c(Q502895))
action filter_type
action find
entity Q235818
relation P26
type Q502895
['Q235818', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q235818 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Princess Maria Immaculata of Bourbon-Two Sicilies
action filter_type
action find
entity Princess Maria Immaculata of Bourbon-Two Sicilies
relation spouse
type common name
['Princess Maria Immaculata of Bourbon-Two Sicilies', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Princess_Maria_Immaculata_of_Bourbon-Two_Sicilies property:spouse ?n . ?n rdf:type ontology:common_name }
[]
common name
Q503177
SYSTEM
Archduke Karl Salvator of Austria
Q503177
(Q235818,P26,c(Q502895))
action filter_type
action find
entity Q235818
relation P26
type Q502895
The spouse of Princess Maria Immaculata of Bourbon-Two Sicilies is the [ANSWER]
['Q235818', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q235818 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Archduke Karl Salvator of Austria
The spouse of Princess Maria Immaculata of Bourbon-Two Sicilies is the Archduke Karl Salvator of Austria
Archduke Karl Salvator of Austria
action filter_type
action find
entity Princess Maria Immaculata of Bourbon-Two Sicilies
relation spouse
type common name
['Princess Maria Immaculata of Bourbon-Two Sicilies', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Princess_Maria_Immaculata_of_Bourbon-Two_Sicilies property:spouse ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q235818
P25
Q502895
USER
Who are the offspring of Princess Maria Immaculata of Bourbon-Two Sicilies ?
(c(Q502895),P25,Q235818)
action filter_type
action find_reverse
entity Q235818
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q235818']
SELECT DISTINCT ?v WHERE { ?v property:P25 resource:Q235818 . ?v rdf:type ontology:Q502895 }
Princess Maria Immaculata of Bourbon-Two Sicilies
action filter_type
action find_reverse
entity Princess Maria Immaculata of Bourbon-Two Sicilies
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Princess Maria Immaculata of Bourbon-Two Sicilies']
SELECT DISTINCT ?v WHERE { ?v property:mother resource:Princess_Maria_Immaculata_of_Bourbon-Two_Sicilies . ?v rdf:type ontology:common_name }
[]
common name
Q698051 Q78536 Q256701
SYSTEM
Archduke Leopold Salvator of Austria, Archduke Franz Salvator of Austria, Archduchess Maria Theresa of Austria
Q78536 Q261372 Q698051 Q256701 Q952114
(c(Q502895),P25,Q235818)
action filter_type
action find_reverse
entity Q235818
relation P25
type Q502895
The offspring of Princess Maria Immaculata of Bourbon-Two Sicilies are the [ANSWERS]
[{'concept': 'Q502895'}, 'P25', 'Q235818']
SELECT DISTINCT ?v WHERE { ?v property:P25 resource:Q235818 . ?v rdf:type ontology:Q502895 }
Archduke Franz Salvator of Austria Archduchess Karoline Marie of Austria Archduke Leopold Salvator of Austria Archduchess Maria Theresa of Austria Archduchess Maria Immakulata of Austria
The offspring of Princess Maria Immaculata of Bourbon-Two Sicilies are the Archduke Leopold Salvator of Austria, Archduke Franz Salvator of Austria and Archduchess Maria Theresa of Austria
Archduke Leopold Salvator of Austria Archduke Franz Salvator of Austria Archduchess Maria Theresa of Austria
action filter_type
action find_reverse
entity Princess Maria Immaculata of Bourbon-Two Sicilies
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Princess Maria Immaculata of Bourbon-Two Sicilies']
SELECT DISTINCT ?v WHERE { ?v property:mother resource:Princess_Maria_Immaculata_of_Bourbon-Two_Sicilies . ?v rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q256701
P19
Q2221906
USER
Which geographic location was that person born at ?
(Q256701,P19,c(Q2221906))
action filter_type
action find
entity Q256701
relation P19
type Q2221906
['Q256701', 'P19', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { resource:Q256701 property:P19 ?q . ?q rdf:type ontology:Q2221906 }
Archduchess Maria Theresa of Austria
action filter_type
action find
entity Archduchess Maria Theresa of Austria
relation place of birth
type geographic location
['Archduchess Maria Theresa of Austria', 'place of birth', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { resource:Archduchess_Maria_Theresa_of_Austria property:place_of_birth ?q . ?q rdf:type ontology:geographic_location }
[]
geographic location
Clarification for simple ques.
Q698051
SYSTEM
Did you mean Archduke Leopold Salvator of Austria ?
Q698051 Q78536 Q256701
(Q698051,P19,c(Q2221906)) (Q78536,P19,c(Q2221906)) (Q256701,P19,c(Q2221906))
[ANSWER]
['Q698051', 'P19', {'concept': 'Q2221906'}] ['Q78536', 'P19', {'concept': 'Q2221906'}] ['Q256701', 'P19', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { resource:Q256701 property:P19 ?q . ?q rdf:type ontology:Q2221906 }
Archduke Leopold Salvator of Austria Archduke Franz Salvator of Austria Archduchess Maria Theresa of Austria
Did you mean Archduke Leopold Salvator of Austria ?
Archduke Leopold Salvator of Austria
['Archduke Leopold Salvator of Austria', 'place of birth', {'concept': 'geographic location'}] ['Archduke Franz Salvator of Austria', 'place of birth', {'concept': 'geographic location'}] ['Archduchess Maria Theresa of Austria', 'place of birth', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { resource:Archduchess_Maria_Theresa_of_Austria property:place_of_birth ?q . ?q rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
USER
No, I meant Archduchess Maria Theresa of Austria. Could you tell me the answer for that?
(Q256701,P19,c(Q2221906))
Q256701
['Q256701', 'P19', {'concept': 'Q2221906'}]
['Archduchess Maria Theresa of Austria', 'place of birth', {'concept': 'geographic location'}]
[]
Q39193
SYSTEM
Bohemia
Q39193
(Q256701,P19,c(Q2221906))
action filter_type
action find
entity Q256701
relation P19
type Q2221906
That person was born in [ANSWER]
['Q256701', 'P19', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { resource:Q256701 property:P19 ?q . ?q rdf:type ontology:Q2221906 }
Bohemia
That person was born in Bohemia
Bohemia
action filter_type
action find
entity Archduchess Maria Theresa of Austria
relation place of birth
type geographic location
['Archduchess Maria Theresa of Austria', 'place of birth', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { resource:Archduchess_Maria_Theresa_of_Austria property:place_of_birth ?q . ?q rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q256701 Q5994
P26
Q502895
USER
How many people are married to Archduchess Maria Theresa of Austria or piano ?
(c(Q502895),P26,Q256701) (c(Q502895),P26,Q5994)
action count
action union
action filter_type
action find_reverse
entity Q256701
relation P26
type Q502895
action filter_type
action find_reverse
entity Q5994
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q256701'] [{'concept': 'Q502895'}, 'P26', 'Q5994']
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { ?c property:P26 resource:Q256701 . ?c rdf:type ontology:Q502895 } UNION { ?c property:P26 resource:Q5994 . ?c rdf:type ontology:Q502895 } }
Archduchess Maria Theresa of Austria piano
action count
action union
action filter_type
action find_reverse
entity Archduchess Maria Theresa of Austria
relation spouse
type common name
action filter_type
action find_reverse
entity piano
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Archduchess Maria Theresa of Austria'] [{'concept': 'common name'}, 'spouse', 'piano']
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { ?c property:spouse resource:Archduchess_Maria_Theresa_of_Austria . ?c rdf:type ontology:common_name } UNION { ?c property:spouse resource:piano . ?c rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q78541 Q3161739
(c(Q502895),P26,Q256701) (c(Q502895),P26,Q5994)
action count
action union
action filter_type
action find_reverse
entity Q256701
relation P26
type Q502895
action filter_type
action find_reverse
entity Q5994
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q256701'] [{'concept': 'Q502895'}, 'P26', 'Q5994']
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { ?c property:P26 resource:Q256701 . ?c rdf:type ontology:Q502895 } UNION { ?c property:P26 resource:Q5994 . ?c rdf:type ontology:Q502895 } }
Archduke Charles Stephen of Austria Jan Páleníček
2
action count
action union
action filter_type
action find_reverse
entity Archduchess Maria Theresa of Austria
relation spouse
type common name
action filter_type
action find_reverse
entity piano
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Archduchess Maria Theresa of Austria'] [{'concept': 'common name'}, 'spouse', 'piano']
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { ?c property:spouse resource:Archduchess_Maria_Theresa_of_Austria . ?c rdf:type ontology:common_name } UNION { ?c property:spouse resource:piano . ?c rdf:type ontology:common_name } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q18530220
P248
Q2342494 Q1752346 Q502895
USER
How many people have been referred in greater number of collectables and assemblies than John Campbell ?
(c(Q502895),P248,c(Q2342494)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P248
type Q502895
type Q2342494
action find_tuple_counts
relation P248
type Q502895
type Q1752346
action count
action filter_multi_types
action find
entity Q18530220
relation P248
type Q2342494
type Q1752346
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q2342494'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?p WHERE { { ?p property:P248 ?c . ?p rdf:type ontology:Q502895 . ?c rdf:type ontology:Q1752346 } UNION { ?p property:P248 ?c . ?c rdf:type ontology:Q2342494 . ?p rdf:type ontology:Q502895 } } GROUP BY ?p } . FILTER ( ?e > ?a ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q18530220 property:P248 ?n . { VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q1752346 ) } . ?n rdf:type ?w } } } }
John Campbell
action count
action greater
action union
action find_tuple_counts
relation stated in
type common name
type collectable
action find_tuple_counts
relation stated in
type common name
type assembly
action count
action filter_multi_types
action find
entity John Campbell
relation stated in
type collectable
type assembly
[{'concept': 'common name'}, 'stated in', [{'concept': 'collectable'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?p WHERE { { ?p property:stated_in ?c . ?p rdf:type ontology:common_name . ?c rdf:type ontology:assembly } UNION { ?p property:stated_in ?c . ?c rdf:type ontology:collectable . ?p rdf:type ontology:common_name } } GROUP BY ?p } . FILTER ( ?e > ?a ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:John_Campbell property:stated_in ?n . { VALUES ( ?w ) { ( ontology:collectable ) ( ontology:assembly ) } . ?n rdf:type ?w } } } }
[]
collectable assembly common name
SYSTEM
22
Q7342716 Q6237321 Q16859511 Q6249883 Q6236088 Q22936292 Q11035229 Q6249873 Q6255172 Q16908903 Q8018837 Q6145020 Q15999511 Q15990337 Q16850547 Q16059754 Q8020387 Q15452052 Q5537315 Q5241196 Q5233462 Q6262700
(c(Q502895),P248,c(Q2342494)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P248
type Q502895
type Q2342494
action find_tuple_counts
relation P248
type Q502895
type Q1752346
action count
action filter_multi_types
action find
entity Q18530220
relation P248
type Q2342494
type Q1752346
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q2342494'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?p WHERE { { ?p property:P248 ?c . ?p rdf:type ontology:Q502895 . ?c rdf:type ontology:Q1752346 } UNION { ?p property:P248 ?c . ?c rdf:type ontology:Q2342494 . ?p rdf:type ontology:Q502895 } } GROUP BY ?p } . FILTER ( ?e > ?a ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q18530220 property:P248 ?n . { VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q1752346 ) } . ?n rdf:type ?w } } } }
Robert Campbell John Hall John Robinson John Murphy John Gray Gilles De Haes John Carter John Murphy John Roberts William Walker William Stewart James Walker William Robinson James Walker John Martin James Brown William Williams John Rogers George Brown David Wilson David Evans John Walker
22
action count
action greater
action union
action find_tuple_counts
relation stated in
type common name
type collectable
action find_tuple_counts
relation stated in
type common name
type assembly
action count
action filter_multi_types
action find
entity John Campbell
relation stated in
type collectable
type assembly
[{'concept': 'common name'}, 'stated in', [{'concept': 'collectable'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?p WHERE { { ?p property:stated_in ?c . ?p rdf:type ontology:common_name . ?c rdf:type ontology:assembly } UNION { ?p property:stated_in ?c . ?c rdf:type ontology:collectable . ?p rdf:type ontology:common_name } } GROUP BY ?p } . FILTER ( ?e > ?a ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:John_Campbell property:stated_in ?n . { VALUES ( ?w ) { ( ontology:collectable ) ( ontology:assembly ) } . ?n rdf:type ?w } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q698051
P9
Q502895
USER
How many people have Archduke Leopold Salvator of Austria as thier sibling ?
(Q698051,P9,c(Q502895))
action count
action filter_type
action find
entity Q698051
relation P9
type Q502895
['Q698051', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q698051 property:P9 ?i . ?i rdf:type ontology:Q502895 }
Archduke Leopold Salvator of Austria
action count
action filter_type
action find
entity Archduke Leopold Salvator of Austria
relation sister
type common name
['Archduke Leopold Salvator of Austria', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Archduke_Leopold_Salvator_of_Austria property:sister ?i . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q952114 Q261372 Q256701
(Q698051,P9,c(Q502895))
action count
action filter_type
action find
entity Q698051
relation P9
type Q502895
[ANSWER]
['Q698051', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q698051 property:P9 ?i . ?i rdf:type ontology:Q502895 }
Archduchess Maria Immakulata of Austria Archduchess Karoline Marie of Austria Archduchess Maria Theresa of Austria
3
action count
action filter_type
action find
entity Archduke Leopold Salvator of Austria
relation sister
type common name
['Archduke Leopold Salvator of Austria', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Archduke_Leopold_Salvator_of_Austria property:sister ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q911334
Q502895
USER
And also tell me about Tokugawa Masako?
(Q911334,P9,c(Q502895))
action count
action filter_type
action find
entity Q911334
relation P9
type Q502895
['Q911334', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Q911334 property:P9 ?k . ?k rdf:type ontology:Q502895 }
Tokugawa Masako
action count
action filter_type
action find
entity Tokugawa Masako
relation sister
type common name
['Tokugawa Masako', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Tokugawa_Masako property:sister ?k . ?k rdf:type ontology:common_name }
[]
common name
SYSTEM
4
(Q911334,P9,c(Q502895))
action count
action filter_type
action find
entity Q911334
relation P9
type Q502895
[ANSWER]
['Q911334', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Q911334 property:P9 ?k . ?k rdf:type ontology:Q502895 }
4
action count
action filter_type
action find
entity Tokugawa Masako
relation sister
type common name
['Tokugawa Masako', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Tokugawa_Masako property:sister ?k . ?k rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q698051
P21 P7
Q502895
USER
Which people have Archduke Leopold Salvator of Austria as their brother and have female as the sex ?
AND((c(Q502895),P7,Q698051), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q698051
relation P7
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q698051'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P7 resource:Q698051 . ?v property:P21 resource:Q6581072 }
female Archduke Leopold Salvator of Austria
action filter_type
action intersection
action find_reverse
entity Archduke Leopold Salvator of Austria
relation brother
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Archduke Leopold Salvator of Austria'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:brother resource:Archduke_Leopold_Salvator_of_Austria . ?v property:gender resource:female }
[]
common name
Q952114 Q261372 Q256701
SYSTEM
Archduchess Maria Immakulata of Austria, Archduchess Karoline Marie of Austria, Archduchess Maria Theresa of Austria
Q952114 Q261372 Q256701
AND((c(Q502895),P7,Q698051), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q698051
relation P7
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] have Archduke Leopold Salvator of Austria as their brother and have female as the sex
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q698051'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P7 resource:Q698051 . ?v property:P21 resource:Q6581072 }
Archduchess Maria Immakulata of Austria Archduchess Karoline Marie of Austria Archduchess Maria Theresa of Austria
Archduchess Maria Immakulata of Austria, Archduchess Karoline Marie of Austria and Archduchess Maria Theresa of Austria have Archduke Leopold Salvator of Austria as their brother and have female as the sex
Archduchess Maria Immakulata of Austria Archduchess Karoline Marie of Austria Archduchess Maria Theresa of Austria
action filter_type
action intersection
action find_reverse
entity Archduke Leopold Salvator of Austria
relation brother
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Archduke Leopold Salvator of Austria'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:brother resource:Archduke_Leopold_Salvator_of_Austria . ?v property:gender resource:female }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q952114 Q261372 Q256701
P26
Q502895
USER
Which people are married to those ones ?
(c(Q502895),P26,Q952114) (c(Q502895),P26,Q261372) (c(Q502895),P26,Q256701)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q952114'] [{'concept': 'Q502895'}, 'P26', 'Q261372'] [{'concept': 'Q502895'}, 'P26', 'Q256701']
SELECT DISTINCT ?p WHERE { ?g property:P26 ?p . VALUES ( ?g ) { ( resource:Q952114 ) ( resource:Q261372 ) ( resource:Q256701 ) } . ?p rdf:type ontology:Q502895 }
Archduchess Maria Immakulata of Austria Archduchess Karoline Marie of Austria Archduchess Maria Theresa of Austria
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Archduchess Maria Immakulata of Austria'] [{'concept': 'common name'}, 'spouse', 'Archduchess Karoline Marie of Austria'] [{'concept': 'common name'}, 'spouse', 'Archduchess Maria Theresa of Austria']
SELECT DISTINCT ?p WHERE { ?g property:spouse ?p . VALUES ( ?g ) { ( resource:Archduchess_Maria_Immakulata_of_Austria ) ( resource:Archduchess_Karoline_Marie_of_Austria ) ( resource:Archduchess_Maria_Theresa_of_Austria ) } . ?p rdf:type ontology:common_name }
[]
common name
Q585884 Q684735 Q78541
SYSTEM
Duke Robert of Württemberg, Prince August Leopold of Saxe-Coburg-Kohary, Archduke Charles Stephen of Austria
Q585884 Q684735 Q78541
(c(Q502895),P26,Q952114) (c(Q502895),P26,Q261372) (c(Q502895),P26,Q256701)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS] are married to those ones
[{'concept': 'Q502895'}, 'P26', 'Q952114'] [{'concept': 'Q502895'}, 'P26', 'Q261372'] [{'concept': 'Q502895'}, 'P26', 'Q256701']
SELECT DISTINCT ?p WHERE { ?g property:P26 ?p . VALUES ( ?g ) { ( resource:Q952114 ) ( resource:Q261372 ) ( resource:Q256701 ) } . ?p rdf:type ontology:Q502895 }
Duke Robert of Württemberg Prince August Leopold of Saxe-Coburg-Kohary Archduke Charles Stephen of Austria
Duke Robert of Württemberg, Prince August Leopold of Saxe-Coburg-Kohary and Archduke Charles Stephen of Austria are married to those ones
Duke Robert of Württemberg Prince August Leopold of Saxe-Coburg-Kohary Archduke Charles Stephen of Austria
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Archduchess Maria Immakulata of Austria'] [{'concept': 'common name'}, 'spouse', 'Archduchess Karoline Marie of Austria'] [{'concept': 'common name'}, 'spouse', 'Archduchess Maria Theresa of Austria']
SELECT DISTINCT ?p WHERE { ?g property:spouse ?p . VALUES ( ?g ) { ( resource:Archduchess_Maria_Immakulata_of_Austria ) ( resource:Archduchess_Karoline_Marie_of_Austria ) ( resource:Archduchess_Maria_Theresa_of_Austria ) } . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q261372
P40
Q502895
USER
Who have Archduchess Karoline Marie of Austria as an offspring ?
(c(Q502895),P40,Q261372)
action filter_type
action find_reverse
entity Q261372
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q261372']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P40 resource:Q261372 }
Archduchess Karoline Marie of Austria
action filter_type
action find_reverse
entity Archduchess Karoline Marie of Austria
relation child
type common name
[{'concept': 'common name'}, 'child', 'Archduchess Karoline Marie of Austria']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:child resource:Archduchess_Karoline_Marie_of_Austria }
[]
common name
Q235818 Q503177
SYSTEM
Princess Maria Immaculata of Bourbon-Two Sicilies, Archduke Karl Salvator of Austria
Q235818 Q503177
(c(Q502895),P40,Q261372)
action filter_type
action find_reverse
entity Q261372
relation P40
type Q502895
[ANSWERS] have Archduchess Karoline Marie of Austria as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q261372']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P40 resource:Q261372 }
Princess Maria Immaculata of Bourbon-Two Sicilies Archduke Karl Salvator of Austria
Princess Maria Immaculata of Bourbon-Two Sicilies and Archduke Karl Salvator of Austria have Archduchess Karoline Marie of Austria as an offspring
Princess Maria Immaculata of Bourbon-Two Sicilies Archduke Karl Salvator of Austria
action filter_type
action find_reverse
entity Archduchess Karoline Marie of Austria
relation child
type common name
[{'concept': 'common name'}, 'child', 'Archduchess Karoline Marie of Austria']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:child resource:Archduchess_Karoline_Marie_of_Austria }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q698051
P22
Q502895
USER
Which people have Archduke Leopold Salvator of Austria as father ?
(c(Q502895),P22,Q698051)
action filter_type
action find_reverse
entity Q698051
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q698051']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q698051 . ?b rdf:type ontology:Q502895 }
Archduke Leopold Salvator of Austria
action filter_type
action find_reverse
entity Archduke Leopold Salvator of Austria
relation father
type common name
[{'concept': 'common name'}, 'father', 'Archduke Leopold Salvator of Austria']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Archduke_Leopold_Salvator_of_Austria . ?b rdf:type ontology:common_name }
[]
common name
Q369516 Q570491 Q4785876
SYSTEM
Archduke Anton of Austria, Archduke Karl Pius of Austria, Prince of Tuscany, Archduke Leopold of Austria, Prince of Tuscany
Q4785876 Q369516 Q1447541 Q17363712 Q16007047 Q570491 Q16030095 Q16007607 Q16011617 Q17403633
(c(Q502895),P22,Q698051)
action filter_type
action find_reverse
entity Q698051
relation P22
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q698051']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q698051 . ?b rdf:type ontology:Q502895 }
Archduke Leopold of Austria, Prince of Tuscany Archduke Anton of Austria Archduke Franz Josef of Austria Maria Antonia of Austria Archduchess Immaculata of Austria Archduke Karl Pius of Austria, Prince of Tuscany Archduke Rainer of Austria Archduchess Dolores of Austria Archduchess Margaretha of Austria Archduchess Assunta of Austria
Archduke Anton of Austria, Archduke Karl Pius of Austria, Prince of Tuscany and Archduke Leopold of Austria, Prince of Tuscany have Archduke Leopold Salvator of Austria as father
Archduke Anton of Austria Archduke Karl Pius of Austria, Prince of Tuscany Archduke Leopold of Austria, Prince of Tuscany
action filter_type
action find_reverse
entity Archduke Leopold Salvator of Austria
relation father
type common name
[{'concept': 'common name'}, 'father', 'Archduke Leopold Salvator of Austria']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Archduke_Leopold_Salvator_of_Austria . ?b rdf:type ontology:common_name }
[]