Simple Question (Direct)
Simple Question
Q1947717
P7
Q502895
USER
Who is the brother of Prince Christian of Waldeck and Pyrmont ?
(Q1947717,P7,c(Q502895))
action filter_type
action find
entity Q1947717
relation P7
type Q502895
['Q1947717', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q1947717 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Prince Christian of Waldeck and Pyrmont
action filter_type
action find
entity Prince Christian of Waldeck and Pyrmont
relation brother
type common name
['Prince Christian of Waldeck and Pyrmont', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Prince_Christian_of_Waldeck_and_Pyrmont property:brother ?j . ?j rdf:type ontology:common_name }
[]
common name
Q694108
SYSTEM
Karl August, Prince of Waldeck and Pyrmont
Q694108
(Q1947717,P7,c(Q502895))
action filter_type
action find
entity Q1947717
relation P7
type Q502895
The brother of Prince Christian of Waldeck and Pyrmont is Prince [ANSWER]
['Q1947717', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q1947717 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Karl August, Prince of Waldeck and Pyrmont
The brother of Prince Christian of Waldeck and Pyrmont is Prince Karl August, Prince of Waldeck and Pyrmont
Karl August, Prince of Waldeck and Pyrmont
action filter_type
action find
entity Prince Christian of Waldeck and Pyrmont
relation brother
type common name
['Prince Christian of Waldeck and Pyrmont', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Prince_Christian_of_Waldeck_and_Pyrmont property:brother ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1947717
P40
Q502895
USER
Who have Prince Christian of Waldeck and Pyrmont as an offspring ?
(c(Q502895),P40,Q1947717)
action filter_type
action find_reverse
entity Q1947717
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1947717']
SELECT DISTINCT ?f WHERE { ?f property:P40 resource:Q1947717 . ?f rdf:type ontology:Q502895 }
Prince Christian of Waldeck and Pyrmont
action filter_type
action find_reverse
entity Prince Christian of Waldeck and Pyrmont
relation child
type common name
[{'concept': 'common name'}, 'child', 'Prince Christian of Waldeck and Pyrmont']
SELECT DISTINCT ?f WHERE { ?f property:child resource:Prince_Christian_of_Waldeck_and_Pyrmont . ?f rdf:type ontology:common_name }
[]
common name
Q68257 Q21169800
SYSTEM
Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont, Louise of Zweibrücken-Birkenfeld
Q68257 Q21169800
(c(Q502895),P40,Q1947717)
action filter_type
action find_reverse
entity Q1947717
relation P40
type Q502895
[ANSWERS] have Prince Christian of Waldeck and Pyrmont as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q1947717']
SELECT DISTINCT ?f WHERE { ?f property:P40 resource:Q1947717 . ?f rdf:type ontology:Q502895 }
Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont Louise of Zweibrücken-Birkenfeld
Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont and Louise of Zweibrücken-Birkenfeld have Prince Christian of Waldeck and Pyrmont as an offspring
Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont Louise of Zweibrücken-Birkenfeld
action filter_type
action find_reverse
entity Prince Christian of Waldeck and Pyrmont
relation child
type common name
[{'concept': 'common name'}, 'child', 'Prince Christian of Waldeck and Pyrmont']
SELECT DISTINCT ?f WHERE { ?f property:child resource:Prince_Christian_of_Waldeck_and_Pyrmont . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q68257 Q21169800
P40
Q502895
USER
Who have Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont and Louise of Zweibrücken-Birkenfeld as a child ?
(c(Q502895),P40,Q68257) (c(Q502895),P40,Q21169800)
action union
action filter_type
action find_reverse
entity Q68257
relation P40
type Q502895
action filter_type
action find_reverse
entity Q21169800
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q68257'] [{'concept': 'Q502895'}, 'P40', 'Q21169800']
SELECT DISTINCT ?p WHERE { VALUES ( ?k ) { ( resource:Q68257 ) ( resource:Q21169800 ) } . ?p property:P40 ?k }
Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont Louise of Zweibrücken-Birkenfeld
action union
action filter_type
action find_reverse
entity Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont
relation child
type common name
action filter_type
action find_reverse
entity Louise of Zweibrücken-Birkenfeld
relation child
type common name
[{'concept': 'common name'}, 'child', 'Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont'] [{'concept': 'common name'}, 'child', 'Louise of Zweibrücken-Birkenfeld']
SELECT DISTINCT ?p WHERE { VALUES ( ?k ) { ( resource:Friedrich_Anton_Ulrich,_Prince_of_Waldeck_and_Pyrmont ) ( resource:Louise_of_Zweibrücken-Birkenfeld ) } . ?p property:child ?k }
[]
common name
Q73308 Q65139
SYSTEM
Christian Louis, Count of Waldeck, Christian II, Count Palatine of Zweibrücken-Birkenfeld
Q73308 Q65139
(c(Q502895),P40,Q68257) (c(Q502895),P40,Q21169800)
action union
action filter_type
action find_reverse
entity Q68257
relation P40
type Q502895
action filter_type
action find_reverse
entity Q21169800
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q68257'] [{'concept': 'Q502895'}, 'P40', 'Q21169800']
SELECT DISTINCT ?p WHERE { VALUES ( ?k ) { ( resource:Q68257 ) ( resource:Q21169800 ) } . ?p property:P40 ?k }
Christian Louis, Count of Waldeck Christian II, Count Palatine of Zweibrücken-Birkenfeld
Christian Louis, Count of Waldeck and Christian II, Count Palatine of Zweibrücken-Birkenfeld have Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont and Louise of Zweibrücken-Birkenfeld as a child
Christian Louis, Count of Waldeck Christian II, Count Palatine of Zweibrücken-Birkenfeld
action union
action filter_type
action find_reverse
entity Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont
relation child
type common name
action filter_type
action find_reverse
entity Louise of Zweibrücken-Birkenfeld
relation child
type common name
[{'concept': 'common name'}, 'child', 'Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont'] [{'concept': 'common name'}, 'child', 'Louise of Zweibrücken-Birkenfeld']
SELECT DISTINCT ?p WHERE { VALUES ( ?k ) { ( resource:Friedrich_Anton_Ulrich,_Prince_of_Waldeck_and_Pyrmont ) ( resource:Louise_of_Zweibrücken-Birkenfeld ) } . ?p property:child ?k }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q73308 Q65139
P22
Q502895
USER
Who are the offspring of Christian Louis, Count of Waldeck and Christian II, Count Palatine of Zweibrücken-Birkenfeld ?
(c(Q502895),P22,Q73308) (c(Q502895),P22,Q65139)
action union
action filter_type
action find_reverse
entity Q73308
relation P22
type Q502895
action filter_type
action find_reverse
entity Q65139
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q73308'] [{'concept': 'Q502895'}, 'P22', 'Q65139']
SELECT DISTINCT ?v WHERE { ?v property:P22 ?q . VALUES ( ?q ) { ( resource:Q73308 ) ( resource:Q65139 ) } }
Christian Louis, Count of Waldeck Christian II, Count Palatine of Zweibrücken-Birkenfeld
action union
action filter_type
action find_reverse
entity Christian Louis, Count of Waldeck
relation father
type common name
action filter_type
action find_reverse
entity Christian II, Count Palatine of Zweibrücken-Birkenfeld
relation father
type common name
[{'concept': 'common name'}, 'father', 'Christian Louis, Count of Waldeck'] [{'concept': 'common name'}, 'father', 'Christian II, Count Palatine of Zweibrücken-Birkenfeld']
SELECT DISTINCT ?v WHERE { ?v property:father ?q . VALUES ( ?q ) { ( resource:Christian_Louis,_Count_of_Waldeck ) ( resource:Christian_II,_Count_Palatine_of_Zweibrücken-Birkenfeld ) } }
[]
common name
Q61966 Q68257 Q21169800
SYSTEM
Christian III, Count Palatine of Zweibrücken, Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont, Louise of Zweibrücken-Birkenfeld
Q68257 Q104900 Q88594 Q21169800 Q61966
(c(Q502895),P22,Q73308) (c(Q502895),P22,Q65139)
action union
action filter_type
action find_reverse
entity Q73308
relation P22
type Q502895
action filter_type
action find_reverse
entity Q65139
relation P22
type Q502895
The offspring of Christian Louis , Count of Waldeck and Christian II , Count Palatine of Zweibrücken-Birkenfeld are [ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q73308'] [{'concept': 'Q502895'}, 'P22', 'Q65139']
SELECT DISTINCT ?v WHERE { ?v property:P22 ?q . VALUES ( ?q ) { ( resource:Q73308 ) ( resource:Q65139 ) } }
Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont Josias I. Countess Palatine Magdalena Claudia of Zweibrücken-Birkenfeld-Bischweiler Louise of Zweibrücken-Birkenfeld Christian III, Count Palatine of Zweibrücken
The offspring of Christian Louis , Count of Waldeck and Christian II , Count Palatine of Zweibrücken-Birkenfeld are Christian III, Count Palatine of Zweibrücken, Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont and Louise of Zweibrücken-Birkenfeld
Christian III, Count Palatine of Zweibrücken Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont Louise of Zweibrücken-Birkenfeld
action union
action filter_type
action find_reverse
entity Christian Louis, Count of Waldeck
relation father
type common name
action filter_type
action find_reverse
entity Christian II, Count Palatine of Zweibrücken-Birkenfeld
relation father
type common name
[{'concept': 'common name'}, 'father', 'Christian Louis, Count of Waldeck'] [{'concept': 'common name'}, 'father', 'Christian II, Count Palatine of Zweibrücken-Birkenfeld']
SELECT DISTINCT ?v WHERE { ?v property:father ?q . VALUES ( ?q ) { ( resource:Christian_Louis,_Count_of_Waldeck ) ( resource:Christian_II,_Count_Palatine_of_Zweibrücken-Birkenfeld ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21169800
P25
Q502895
USER
Who are the offspring of that one ?
(c(Q502895),P25,Q21169800)
action filter_type
action find_reverse
entity Q21169800
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q21169800']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P25 resource:Q21169800 }
Louise of Zweibrücken-Birkenfeld
action filter_type
action find_reverse
entity Louise of Zweibrücken-Birkenfeld
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Louise of Zweibrücken-Birkenfeld']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:mother resource:Louise_of_Zweibrücken-Birkenfeld }
[]
common name
Clarification for simple ques.
Q21169800
SYSTEM
Did you mean Louise of Zweibrücken-Birkenfeld ?
Q61966 Q68257 Q21169800
(c(Q502895),P25,Q61966) (c(Q502895),P25,Q68257) (c(Q502895),P25,Q21169800)
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q61966'] [{'concept': 'Q502895'}, 'P25', 'Q68257'] [{'concept': 'Q502895'}, 'P25', 'Q21169800']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P25 resource:Q21169800 }
Christian III, Count Palatine of Zweibrücken Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont Louise of Zweibrücken-Birkenfeld
Did you mean Louise of Zweibrücken-Birkenfeld ?
Louise of Zweibrücken-Birkenfeld
[{'concept': 'common name'}, 'mother', 'Christian III, Count Palatine of Zweibrücken'] [{'concept': 'common name'}, 'mother', 'Friedrich Anton Ulrich, Prince of Waldeck and Pyrmont'] [{'concept': 'common name'}, 'mother', 'Louise of Zweibrücken-Birkenfeld']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:mother resource:Louise_of_Zweibrücken-Birkenfeld }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P25,Q21169800)
[{'concept': 'Q502895'}, 'P25', 'Q21169800']
[{'concept': 'common name'}, 'mother', 'Louise of Zweibrücken-Birkenfeld']
[]
Q694108 Q1947717
SYSTEM
Karl August, Prince of Waldeck and Pyrmont, Prince Christian of Waldeck and Pyrmont
Q694108 Q1947717
(c(Q502895),P25,Q21169800)
action filter_type
action find_reverse
entity Q21169800
relation P25
type Q502895
The offspring of that one are Prince [ANSWERS]
[{'concept': 'Q502895'}, 'P25', 'Q21169800']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P25 resource:Q21169800 }
Karl August, Prince of Waldeck and Pyrmont Prince Christian of Waldeck and Pyrmont
The offspring of that one are Prince Karl August, Prince of Waldeck and Pyrmont and Prince Christian of Waldeck and Pyrmont
Karl August, Prince of Waldeck and Pyrmont Prince Christian of Waldeck and Pyrmont
action filter_type
action find_reverse
entity Louise of Zweibrücken-Birkenfeld
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Louise of Zweibrücken-Birkenfeld']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:mother resource:Louise_of_Zweibrücken-Birkenfeld }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1072997
P40
Q502895
USER
Do Miklós Ybl have those ones as a child ?
(Q1072997,P40,Q694108) (Q1072997,P40,Q1947717)
action is_in
entity prev_answer
action find
entity Q1072997
relation P40
['Q1072997', 'P40', 'Q694108'] ['Q1072997', 'P40', 'Q1947717']
ASK WHERE { resource:Q1072997 property:P40 ?s . VALUES ( ?s ) { ( resource:Q694108 ) ( resource:Q1947717 ) } }
Miklós Ybl
action is_in
entity prev_answer
action find
entity Miklós Ybl
relation child
['Miklós Ybl', 'child', 'Karl August, Prince of Waldeck and Pyrmont'] ['Miklós Ybl', 'child', 'Prince Christian of Waldeck and Pyrmont']
ASK WHERE { resource:Miklós_Ybl property:child ?s . VALUES ( ?s ) { ( resource:Karl_August,_Prince_of_Waldeck_and_Pyrmont ) ( resource:Prince_Christian_of_Waldeck_and_Pyrmont ) } }
[]
common name
SYSTEM
NO
(Q1072997,P40,Q694108) (Q1072997,P40,Q1947717)
action is_in
entity prev_answer
action find
entity Q1072997
relation P40
[ANSWER]
['Q1072997', 'P40', 'Q694108'] ['Q1072997', 'P40', 'Q1947717']
ASK WHERE { resource:Q1072997 property:P40 ?s . VALUES ( ?s ) { ( resource:Q694108 ) ( resource:Q1947717 ) } }
No
action is_in
entity prev_answer
action find
entity Miklós Ybl
relation child
['Miklós Ybl', 'child', 'Karl August, Prince of Waldeck and Pyrmont'] ['Miklós Ybl', 'child', 'Prince Christian of Waldeck and Pyrmont']
ASK WHERE { resource:Miklós_Ybl property:child ?s . VALUES ( ?s ) { ( resource:Karl_August,_Prince_of_Waldeck_and_Pyrmont ) ( resource:Prince_Christian_of_Waldeck_and_Pyrmont ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3743799
P21
Q290
USER
What is the sex of Canute, Duke of Estonia ?
(Q3743799,P21,c(Q290))
action filter_type
action find
entity Q3743799
relation P21
type Q290
['Q3743799', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q3743799 property:P21 ?o }
Canute, Duke of Estonia
action filter_type
action find
entity Canute, Duke of Estonia
relation gender
type sex
['Canute, Duke of Estonia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Canute,_Duke_of_Estonia property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3743799,P21,c(Q290))
action filter_type
action find
entity Q3743799
relation P21
type Q290
The sex of Canute , Duke of Estonia is the [ANSWER]
['Q3743799', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q3743799 property:P21 ?o }
male
The sex of Canute , Duke of Estonia is the male
male
action filter_type
action find
entity Canute, Duke of Estonia
relation gender
type sex
['Canute, Duke of Estonia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Canute,_Duke_of_Estonia property:gender ?o }
[]