Simple Question (Direct)
Simple Question
Q380868
P7
Q502895
USER
Which people are the brothers of Emilie of Saxony ?
(Q380868,P7,c(Q502895))
action filter_type
action find
entity Q380868
relation P7
type Q502895
['Q380868', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q380868 property:P7 ?n . ?n rdf:type ontology:Q502895 }
Emilie of Saxony
action filter_type
action find
entity Emilie of Saxony
relation brother
type common name
['Emilie of Saxony', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Emilie_of_Saxony property:brother ?n . ?n rdf:type ontology:common_name }
[]
common name
Q2275266 Q435016 Q317710
SYSTEM
Severinus of Saxony, Augustus, Elector of Saxony, Maurice, Elector of Saxony
Q2275266 Q435016 Q317710
(Q380868,P7,c(Q502895))
action filter_type
action find
entity Q380868
relation P7
type Q502895
[ANSWERS]
['Q380868', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q380868 property:P7 ?n . ?n rdf:type ontology:Q502895 }
Severinus of Saxony Augustus, Elector of Saxony Maurice, Elector of Saxony
Severinus of Saxony, Augustus, Elector of Saxony and Maurice, Elector of Saxony are the brothers of Emilie of Saxony
Severinus of Saxony Augustus, Elector of Saxony Maurice, Elector of Saxony
action filter_type
action find
entity Emilie of Saxony
relation brother
type common name
['Emilie of Saxony', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Emilie_of_Saxony property:brother ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2275266 Q435016 Q317710
P21
Q290
USER
Which sexes do Severinus of Saxony, Augustus, Elector of Saxony and Maurice, Elector of Saxony possess ?
(Q2275266,P21,c(Q290)) (Q435016,P21,c(Q290)) (Q317710,P21,c(Q290))
action union
action filter_type
action find
entity Q2275266
relation P21
type Q290
action filter_type
action find
entity Q435016
relation P21
type Q290
action filter_type
action find
entity Q317710
relation P21
type Q290
['Q2275266', 'P21', {'concept': 'Q290'}] ['Q435016', 'P21', {'concept': 'Q290'}] ['Q317710', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?w ) { ( resource:Q2275266 ) ( resource:Q435016 ) } . ?w property:P21 ?o }
Severinus of Saxony Augustus, Elector of Saxony Maurice, Elector of Saxony
action union
action filter_type
action find
entity Severinus of Saxony
relation gender
type sex
action filter_type
action find
entity Augustus, Elector of Saxony
relation gender
type sex
action filter_type
action find
entity Maurice, Elector of Saxony
relation gender
type sex
['Severinus of Saxony', 'gender', {'concept': 'sex'}] ['Augustus, Elector of Saxony', 'gender', {'concept': 'sex'}] ['Maurice, Elector of Saxony', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?w ) { ( resource:Severinus_of_Saxony ) ( resource:Augustus,_Elector_of_Saxony ) } . ?w property:gender ?o }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q2275266,P21,c(Q290)) (Q435016,P21,c(Q290)) (Q317710,P21,c(Q290))
action union
action filter_type
action find
entity Q2275266
relation P21
type Q290
action filter_type
action find
entity Q435016
relation P21
type Q290
action filter_type
action find
entity Q317710
relation P21
type Q290
Severinus of Saxony , Augustus , Elector of Saxony and Maurice , Elector of Saxony possess [ANSWER], [ANSWER] and [ANSWER]
['Q2275266', 'P21', {'concept': 'Q290'}] ['Q435016', 'P21', {'concept': 'Q290'}] ['Q317710', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?w ) { ( resource:Q2275266 ) ( resource:Q435016 ) } . ?w property:P21 ?o }
male male male
Severinus of Saxony , Augustus , Elector of Saxony and Maurice , Elector of Saxony possess male, male and male
male male male
action union
action filter_type
action find
entity Severinus of Saxony
relation gender
type sex
action filter_type
action find
entity Augustus, Elector of Saxony
relation gender
type sex
action filter_type
action find
entity Maurice, Elector of Saxony
relation gender
type sex
['Severinus of Saxony', 'gender', {'concept': 'sex'}] ['Augustus, Elector of Saxony', 'gender', {'concept': 'sex'}] ['Maurice, Elector of Saxony', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?w ) { ( resource:Severinus_of_Saxony ) ( resource:Augustus,_Elector_of_Saxony ) } . ?w property:gender ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q435016
P112
Q2668072
USER
Which collections were started by Augustus, Elector of Saxony ?
(c(Q2668072),P112,Q435016)
action filter_type
action find_reverse
entity Q435016
relation P112
type Q2668072
[{'concept': 'Q2668072'}, 'P112', 'Q435016']
SELECT DISTINCT ?d WHERE { ?d property:P112 resource:Q435016 . ?d rdf:type ontology:Q2668072 }
Augustus, Elector of Saxony
action filter_type
action find_reverse
entity Augustus, Elector of Saxony
relation founder
type collection
[{'concept': 'collection'}, 'founder', 'Augustus, Elector of Saxony']
SELECT DISTINCT ?d WHERE { ?d property:founder resource:Augustus,_Elector_of_Saxony . ?d rdf:type ontology:collection }
[]
collection
Q869690 Q321088
SYSTEM
Skulpturensammlung, Mathematisch-Physikalischer Salon
Q869690 Q321088
(c(Q2668072),P112,Q435016)
action filter_type
action find_reverse
entity Q435016
relation P112
type Q2668072
[ANSWERS] were started by Augustus, Elector of Saxony
[{'concept': 'Q2668072'}, 'P112', 'Q435016']
SELECT DISTINCT ?d WHERE { ?d property:P112 resource:Q435016 . ?d rdf:type ontology:Q2668072 }
Skulpturensammlung Mathematisch-Physikalischer Salon
Skulpturensammlung and Mathematisch-Physikalischer Salon were started by Augustus, Elector of Saxony
Skulpturensammlung Mathematisch-Physikalischer Salon
action filter_type
action find_reverse
entity Augustus, Elector of Saxony
relation founder
type collection
[{'concept': 'collection'}, 'founder', 'Augustus, Elector of Saxony']
SELECT DISTINCT ?d WHERE { ?d property:founder resource:Augustus,_Elector_of_Saxony . ?d rdf:type ontology:collection }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q435016
P39
Q12737077
USER
What was the position held by that person ?
(Q869690,P39,c(Q12737077)) (Q321088,P39,c(Q12737077))
action filter_type
action find
entity Q435016
relation P39
type Q12737077
['Q869690', 'P39', {'concept': 'Q12737077'}] ['Q321088', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q435016 property:P39 ?s }
Augustus, Elector of Saxony
action filter_type
action find
entity Augustus, Elector of Saxony
relation position held
type occupation
['Skulpturensammlung', 'position held', {'concept': 'occupation'}] ['Mathematisch-Physikalischer Salon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Augustus,_Elector_of_Saxony property:position_held ?s }
[]
occupation
Q22722
SYSTEM
prince-elector
Q22722
(Q869690,P39,c(Q12737077)) (Q321088,P39,c(Q12737077))
action filter_type
action find
entity Q435016
relation P39
type Q12737077
The position held by that person was a [ANSWER]
['Q869690', 'P39', {'concept': 'Q12737077'}] ['Q321088', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q435016 property:P39 ?s }
prince-elector
The position held by that person was a prince-elector
prince-elector
action filter_type
action find
entity Augustus, Elector of Saxony
relation position held
type occupation
['Skulpturensammlung', 'position held', {'concept': 'occupation'}] ['Mathematisch-Physikalischer Salon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Augustus,_Elector_of_Saxony property:position_held ?s }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q22722 Q686599
P39
Q502895
USER
Was Heinz Lindner responsible for occupying the position of that occupation ?
(Q686599,P39,Q22722)
action is_in
entity Q686599
action find
entity Q22722
relation P39
['Q686599', 'P39', 'Q22722']
ASK WHERE { resource:Q22722 property:P39 resource:Q686599 }
prince-elector Heinz Lindner
action is_in
entity Heinz Lindner
action find
entity prince-elector
relation position held
['Heinz Lindner', 'position held', 'prince-elector']
ASK WHERE { resource:prince-elector property:position_held resource:Heinz_Lindner }
[]
common name
SYSTEM
NO
(Q686599,P39,Q22722)
action is_in
entity Q686599
action find
entity Q22722
relation P39
[ANSWER]
['Q686599', 'P39', 'Q22722']
ASK WHERE { resource:Q22722 property:P39 resource:Q686599 }
No
action is_in
entity Heinz Lindner
action find
entity prince-elector
relation position held
['Heinz Lindner', 'position held', 'prince-elector']
ASK WHERE { resource:prince-elector property:position_held resource:Heinz_Lindner }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q435016
P112
Q2668072 Q7743
USER
How many collections or homes were founded by Augustus, Elector of Saxony ?
(c(Q2668072),P112,Q435016) (c(Q7743),P112,Q435016)
action count
action union
action filter_type
action find_reverse
entity Q435016
relation P112
type Q2668072
action filter_type
action find_reverse
entity Q435016
relation P112
type Q7743
[{'concept': 'Q2668072'}, 'P112', 'Q435016'] [{'concept': 'Q7743'}, 'P112', 'Q435016']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2668072 ) ( ontology:Q7743 ) } }
Augustus, Elector of Saxony
action count
action union
action filter_type
action find_reverse
entity Augustus, Elector of Saxony
relation founder
type collection
action filter_type
action find_reverse
entity Augustus, Elector of Saxony
relation founder
type home
[{'concept': 'collection'}, 'founder', 'Augustus, Elector of Saxony'] [{'concept': 'home'}, 'founder', 'Augustus, Elector of Saxony']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:collection ) ( ontology:home ) } }
[]
collection home
SYSTEM
3
Q929837 Q869690 Q321088
(c(Q2668072),P112,Q435016) (c(Q7743),P112,Q435016)
action count
action union
action filter_type
action find_reverse
entity Q435016
relation P112
type Q2668072
action filter_type
action find_reverse
entity Q435016
relation P112
type Q7743
[ANSWER]
[{'concept': 'Q2668072'}, 'P112', 'Q435016'] [{'concept': 'Q7743'}, 'P112', 'Q435016']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2668072 ) ( ontology:Q7743 ) } }
Augustusburg Hunting Lodge Skulpturensammlung Mathematisch-Physikalischer Salon
3
action count
action union
action filter_type
action find_reverse
entity Augustus, Elector of Saxony
relation founder
type collection
action filter_type
action find_reverse
entity Augustus, Elector of Saxony
relation founder
type home
[{'concept': 'collection'}, 'founder', 'Augustus, Elector of Saxony'] [{'concept': 'home'}, 'founder', 'Augustus, Elector of Saxony']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:collection ) ( ontology:home ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q435016
P40
Q502895
USER
Which people are children of Augustus, Elector of Saxony ?
(Q435016,P40,c(Q502895))
action filter_type
action find
entity Q435016
relation P40
type Q502895
['Q435016', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q435016 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Augustus, Elector of Saxony
action filter_type
action find
entity Augustus, Elector of Saxony
relation child
type common name
['Augustus, Elector of Saxony', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Augustus,_Elector_of_Saxony property:child ?k . ?k rdf:type ontology:common_name }
[]
common name
Q705358 Q1246340 Q1330491
SYSTEM
Christian I, Elector of Saxony, Dorothea of Saxony, Elisabeth of Saxony
Q705358 Q100737 Q1330491 Q563913 Q1246340
(Q435016,P40,c(Q502895))
action filter_type
action find
entity Q435016
relation P40
type Q502895
[ANSWERS] are children of Augustus, Elector of Saxony
['Q435016', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q435016 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Christian I, Elector of Saxony Alexander von Sachsen Elisabeth of Saxony Anna of Saxony Dorothea of Saxony
Christian I, Elector of Saxony, Dorothea of Saxony and Elisabeth of Saxony are children of Augustus, Elector of Saxony
Christian I, Elector of Saxony Dorothea of Saxony Elisabeth of Saxony
action filter_type
action find
entity Augustus, Elector of Saxony
relation child
type common name
['Augustus, Elector of Saxony', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Augustus,_Elector_of_Saxony property:child ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q705358
P22
Q502895
USER
Which people have Christian I, Elector of Saxony as dad ?
(c(Q502895),P22,Q705358)
action filter_type
action find_reverse
entity Q705358
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q705358']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q705358 . ?o rdf:type ontology:Q502895 }
Christian I, Elector of Saxony
action filter_type
action find_reverse
entity Christian I, Elector of Saxony
relation father
type common name
[{'concept': 'common name'}, 'father', 'Christian I, Elector of Saxony']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Christian_I,_Elector_of_Saxony . ?o rdf:type ontology:common_name }
[]
common name
Q366652 Q695210 Q108883
SYSTEM
John George I, Elector of Saxony, Christian II, Elector of Saxony, August of Saxony
Q526474 Q108883 Q695210 Q366652 Q2302923
(c(Q502895),P22,Q705358)
action filter_type
action find_reverse
entity Q705358
relation P22
type Q502895
[ANSWERS] have Christian I, Elector of Saxony as dad
[{'concept': 'Q502895'}, 'P22', 'Q705358']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q705358 . ?o rdf:type ontology:Q502895 }
Dorothea, Abbess of Quedlinburg August of Saxony Christian II, Elector of Saxony John George I, Elector of Saxony Sophie of Saxony, Duchess of Pomerania
John George I, Elector of Saxony, Christian II, Elector of Saxony and August of Saxony have Christian I, Elector of Saxony as dad
John George I, Elector of Saxony Christian II, Elector of Saxony August of Saxony
action filter_type
action find_reverse
entity Christian I, Elector of Saxony
relation father
type common name
[{'concept': 'common name'}, 'father', 'Christian I, Elector of Saxony']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Christian_I,_Elector_of_Saxony . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q366652 Q695210 Q108883
P26
Q502895
USER
Which people have those ones as spouse ?
(c(Q502895),P26,Q366652) (c(Q502895),P26,Q695210) (c(Q502895),P26,Q108883)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q366652'] [{'concept': 'Q502895'}, 'P26', 'Q695210'] [{'concept': 'Q502895'}, 'P26', 'Q108883']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?n property:P26 ?u . VALUES ( ?n ) { ( resource:Q526474 ) ( resource:Q108883 ) ( resource:Q695210 ) } }
John George I, Elector of Saxony Christian II, Elector of Saxony August of Saxony
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'John George I, Elector of Saxony'] [{'concept': 'common name'}, 'spouse', 'Christian II, Elector of Saxony'] [{'concept': 'common name'}, 'spouse', 'August of Saxony']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?n property:spouse ?u . VALUES ( ?n ) { ( resource:Dorothea,_Abbess_of_Quedlinburg ) ( resource:August_of_Saxony ) ( resource:Christian_II,_Elector_of_Saxony ) } }
[]
common name
Q261901 Q91542 Q542744
SYSTEM
Duchess Magdalene Sibylle of Prussia, Elisabeth of Brunswick-Wolfenbüttel, Duchess of Saxe-Altenburg, Sibylle Elisabeth of Württemberg
Q261901 Q542744 Q452932 Q91542
(c(Q502895),P26,Q366652) (c(Q502895),P26,Q695210) (c(Q502895),P26,Q108883)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS] have those ones as spouse
[{'concept': 'Q502895'}, 'P26', 'Q366652'] [{'concept': 'Q502895'}, 'P26', 'Q695210'] [{'concept': 'Q502895'}, 'P26', 'Q108883']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?n property:P26 ?u . VALUES ( ?n ) { ( resource:Q526474 ) ( resource:Q108883 ) ( resource:Q695210 ) } }
Duchess Magdalene Sibylle of Prussia Sibylle Elisabeth of Württemberg Hedwig of Denmark Elisabeth of Brunswick-Wolfenbüttel, Duchess of Saxe-Altenburg
Duchess Magdalene Sibylle of Prussia, Elisabeth of Brunswick-Wolfenbüttel, Duchess of Saxe-Altenburg and Sibylle Elisabeth of Württemberg have those ones as spouse
Duchess Magdalene Sibylle of Prussia Elisabeth of Brunswick-Wolfenbüttel, Duchess of Saxe-Altenburg Sibylle Elisabeth of Württemberg
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'John George I, Elector of Saxony'] [{'concept': 'common name'}, 'spouse', 'Christian II, Elector of Saxony'] [{'concept': 'common name'}, 'spouse', 'August of Saxony']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?n property:spouse ?u . VALUES ( ?n ) { ( resource:Dorothea,_Abbess_of_Quedlinburg ) ( resource:August_of_Saxony ) ( resource:Christian_II,_Elector_of_Saxony ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q261901
P25
Q502895
USER
Who are the offspring of Duchess Magdalene Sibylle of Prussia ?
(c(Q502895),P25,Q261901)
action filter_type
action find_reverse
entity Q261901
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q261901']
SELECT DISTINCT ?b WHERE { ?b property:P25 resource:Q261901 . ?b rdf:type ontology:Q502895 }
Duchess Magdalene Sibylle of Prussia
action filter_type
action find_reverse
entity Duchess Magdalene Sibylle of Prussia
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Duchess Magdalene Sibylle of Prussia']
SELECT DISTINCT ?b WHERE { ?b property:mother resource:Duchess_Magdalene_Sibylle_of_Prussia . ?b rdf:type ontology:common_name }
[]
common name
Q680131 Q265712 Q258501
SYSTEM
Augustus, Duke of Saxe-Weissenfels, Duchess Marie Elisabeth of Saxony, Sophia Eleonore of Saxony
Q565445 Q265712 Q241191 Q68262 Q505548 Q258501 Q680131
(c(Q502895),P25,Q261901)
action filter_type
action find_reverse
entity Q261901
relation P25
type Q502895
The offspring of Duchess Magdalene Sibylle of Prussia are Frederick [ANSWERS]
[{'concept': 'Q502895'}, 'P25', 'Q261901']
SELECT DISTINCT ?b WHERE { ?b property:P25 resource:Q261901 . ?b rdf:type ontology:Q502895 }
Maurice, Duke of Saxe-Zeitz Duchess Marie Elisabeth of Saxony Magdalene Sibylle of Saxony Christian I, Duke of Saxe-Merseburg John George II, Elector of Saxony Sophia Eleonore of Saxony Augustus, Duke of Saxe-Weissenfels
The offspring of Duchess Magdalene Sibylle of Prussia are Frederick Augustus, Duke of Saxe-Weissenfels, Duchess Marie Elisabeth of Saxony and Sophia Eleonore of Saxony
Augustus, Duke of Saxe-Weissenfels Duchess Marie Elisabeth of Saxony Sophia Eleonore of Saxony
action filter_type
action find_reverse
entity Duchess Magdalene Sibylle of Prussia
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Duchess Magdalene Sibylle of Prussia']
SELECT DISTINCT ?b WHERE { ?b property:mother resource:Duchess_Magdalene_Sibylle_of_Prussia . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q680131 Q265712 Q258501
P26
Q502895
USER
Which people are married to those ones ?
(c(Q502895),P26,Q680131) (c(Q502895),P26,Q265712) (c(Q502895),P26,Q258501)
action filter_type
action find_reverse
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q680131'] [{'concept': 'Q502895'}, 'P26', 'Q265712'] [{'concept': 'Q502895'}, 'P26', 'Q258501']
SELECT DISTINCT ?l WHERE { ?l property:P26 ?f . ?l rdf:type ontology:Q502895 . VALUES ( ?f ) { ( resource:Q565445 ) ( resource:Q265712 ) ( resource:Q241191 ) } }
Augustus, Duke of Saxe-Weissenfels Duchess Marie Elisabeth of Saxony Sophia Eleonore of Saxony
action filter_type
action find_reverse
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Augustus, Duke of Saxe-Weissenfels'] [{'concept': 'common name'}, 'spouse', 'Duchess Marie Elisabeth of Saxony'] [{'concept': 'common name'}, 'spouse', 'Sophia Eleonore of Saxony']
SELECT DISTINCT ?l WHERE { ?l property:spouse ?f . ?l rdf:type ontology:common_name . VALUES ( ?f ) { ( resource:Maurice,_Duke_of_Saxe-Zeitz ) ( resource:Duchess_Marie_Elisabeth_of_Saxony ) ( resource:Magdalene_Sibylle_of_Saxony ) } }
[]
common name
Q61360 Q267354 Q468567
SYSTEM
Frederick III, Duke of Holstein-Gottorp, George II, Landgrave of Hesse-Darmstadt, Anna Maria of Mecklenburg-Schwerin
Q468567 Q18216871 Q61360 Q267354
(c(Q502895),P26,Q680131) (c(Q502895),P26,Q265712) (c(Q502895),P26,Q258501)
action filter_type
action find_reverse
entity prev_answer
relation P26
type Q502895
[ANSWERS] are married to those ones
[{'concept': 'Q502895'}, 'P26', 'Q680131'] [{'concept': 'Q502895'}, 'P26', 'Q265712'] [{'concept': 'Q502895'}, 'P26', 'Q258501']
SELECT DISTINCT ?l WHERE { ?l property:P26 ?f . ?l rdf:type ontology:Q502895 . VALUES ( ?f ) { ( resource:Q565445 ) ( resource:Q265712 ) ( resource:Q241191 ) } }
Anna Maria of Mecklenburg-Schwerin Johanna Walpurgis of Leiningen-Westerburg Frederick III, Duke of Holstein-Gottorp George II, Landgrave of Hesse-Darmstadt
Frederick III, Duke of Holstein-Gottorp, George II, Landgrave of Hesse-Darmstadt and Anna Maria of Mecklenburg-Schwerin are married to those ones
Frederick III, Duke of Holstein-Gottorp George II, Landgrave of Hesse-Darmstadt Anna Maria of Mecklenburg-Schwerin
action filter_type
action find_reverse
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Augustus, Duke of Saxe-Weissenfels'] [{'concept': 'common name'}, 'spouse', 'Duchess Marie Elisabeth of Saxony'] [{'concept': 'common name'}, 'spouse', 'Sophia Eleonore of Saxony']
SELECT DISTINCT ?l WHERE { ?l property:spouse ?f . ?l rdf:type ontology:common_name . VALUES ( ?f ) { ( resource:Maurice,_Duke_of_Saxe-Zeitz ) ( resource:Duchess_Marie_Elisabeth_of_Saxony ) ( resource:Magdalene_Sibylle_of_Saxony ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61360
P108
Q502895
USER
Which person works for Frederick III, Duke of Holstein-Gottorp ?
(c(Q502895),P108,Q61360)
action filter_type
action find_reverse
entity Q61360
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q61360']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P108 resource:Q61360 }
Frederick III, Duke of Holstein-Gottorp
action filter_type
action find_reverse
entity Frederick III, Duke of Holstein-Gottorp
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Frederick III, Duke of Holstein-Gottorp']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:employer resource:Frederick_III,_Duke_of_Holstein-Gottorp }
[]
common name
Q21545572
SYSTEM
Heinrich Lindenbrog
Q21545572
(c(Q502895),P108,Q61360)
action filter_type
action find_reverse
entity Q61360
relation P108
type Q502895
[ANSWER] works for Frederick III, Duke of Holstein-Gottorp
[{'concept': 'Q502895'}, 'P108', 'Q61360']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P108 resource:Q61360 }
Heinrich Lindenbrog
Heinrich Lindenbrog works for Frederick III, Duke of Holstein-Gottorp
Heinrich Lindenbrog
action filter_type
action find_reverse
entity Frederick III, Duke of Holstein-Gottorp
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Frederick III, Duke of Holstein-Gottorp']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:employer resource:Frederick_III,_Duke_of_Holstein-Gottorp }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21545572
P19
Q486972
USER
Which human settlement is the birthplace of that person ?
(Q21545572,P19,c(Q486972))
action filter_type
action find
entity Q21545572
relation P19
type Q486972
['Q21545572', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { resource:Q21545572 property:P19 ?b . ?b rdf:type ontology:Q486972 }
Heinrich Lindenbrog
action filter_type
action find
entity Heinrich Lindenbrog
relation place of birth
type human settlement
['Heinrich Lindenbrog', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { resource:Heinrich_Lindenbrog property:place_of_birth ?b . ?b rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q21545572,P19,c(Q486972))
action filter_type
action find
entity Q21545572
relation P19
type Q486972
[ANSWER] is the birthplace of that person
['Q21545572', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { resource:Q21545572 property:P19 ?b . ?b rdf:type ontology:Q486972 }
Hamburg
Hamburg is the birthplace of that person
Hamburg
action filter_type
action find
entity Heinrich Lindenbrog
relation place of birth
type human settlement
['Heinrich Lindenbrog', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { resource:Heinrich_Lindenbrog property:place_of_birth ?b . ?b rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61360
P463
Q15911314
USER
Which organization was Frederick III, Duke of Holstein-Gottorp a member of ?
(Q61360,P463,c(Q15911314))
action filter_type
action find
entity Q61360
relation P463
type Q15911314
['Q61360', 'P463', {'concept': 'Q15911314'}]
SELECT DISTINCT ?u WHERE { resource:Q61360 property:P463 ?u . ?u rdf:type ontology:Q15911314 }
Frederick III, Duke of Holstein-Gottorp
action filter_type
action find
entity Frederick III, Duke of Holstein-Gottorp
relation member of
type association
['Frederick III, Duke of Holstein-Gottorp', 'member of', {'concept': 'association'}]
SELECT DISTINCT ?u WHERE { resource:Frederick_III,_Duke_of_Holstein-Gottorp property:member_of ?u . ?u rdf:type ontology:association }
[]
association
Q559186
SYSTEM
Fruitbearing Society
Q559186
(Q61360,P463,c(Q15911314))
action filter_type
action find
entity Q61360
relation P463
type Q15911314
[ANSWER] was Frederick III, Duke of Holstein-Gottorp a member of
['Q61360', 'P463', {'concept': 'Q15911314'}]
SELECT DISTINCT ?u WHERE { resource:Q61360 property:P463 ?u . ?u rdf:type ontology:Q15911314 }
Fruitbearing Society
Fruitbearing Society was Frederick III, Duke of Holstein-Gottorp a member of
Fruitbearing Society
action filter_type
action find
entity Frederick III, Duke of Holstein-Gottorp
relation member of
type association
['Frederick III, Duke of Holstein-Gottorp', 'member of', {'concept': 'association'}]
SELECT DISTINCT ?u WHERE { resource:Frederick_III,_Duke_of_Holstein-Gottorp property:member_of ?u . ?u rdf:type ontology:association }
[]