Simple Question (Direct)
Simple Question
Q565815
P7
Q502895
USER
Who has Frederick III, Landgrave of Hesse-Homburg as their brother ?
(Q565815,P7,c(Q502895))
action filter_type
action find
entity Q565815
relation P7
type Q502895
['Q565815', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q565815 property:P7 ?e . ?e rdf:type ontology:Q502895 }
Frederick III, Landgrave of Hesse-Homburg
action filter_type
action find
entity Frederick III, Landgrave of Hesse-Homburg
relation brother
type common name
['Frederick III, Landgrave of Hesse-Homburg', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Frederick_III,_Landgrave_of_Hesse-Homburg property:brother ?e . ?e rdf:type ontology:common_name }
[]
common name
Q175620
SYSTEM
Casimir William of Hesse-Homburg
Q175620
(Q565815,P7,c(Q502895))
action filter_type
action find
entity Q565815
relation P7
type Q502895
[ANSWER] has Frederick III, Landgrave of Hesse-Homburg as their brother
['Q565815', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q565815 property:P7 ?e . ?e rdf:type ontology:Q502895 }
Casimir William of Hesse-Homburg
Casimir William of Hesse-Homburg has Frederick III, Landgrave of Hesse-Homburg as their brother
Casimir William of Hesse-Homburg
action filter_type
action find
entity Frederick III, Landgrave of Hesse-Homburg
relation brother
type common name
['Frederick III, Landgrave of Hesse-Homburg', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Frederick_III,_Landgrave_of_Hesse-Homburg property:brother ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q175620
P22
Q502895
USER
Which person has that one as a parent ?
(c(Q502895),P22,Q175620)
action filter_type
action find_reverse
entity Q175620
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q175620']
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q175620 . ?v rdf:type ontology:Q502895 }
Casimir William of Hesse-Homburg
action filter_type
action find_reverse
entity Casimir William of Hesse-Homburg
relation father
type common name
[{'concept': 'common name'}, 'father', 'Casimir William of Hesse-Homburg']
SELECT DISTINCT ?v WHERE { ?v property:father resource:Casimir_William_of_Hesse-Homburg . ?v rdf:type ontology:common_name }
[]
common name
Q529539
SYSTEM
Frederick IV, Landgrave of Hesse-Homburg
Q529539
(c(Q502895),P22,Q175620)
action filter_type
action find_reverse
entity Q175620
relation P22
type Q502895
[ANSWER] has that one as a parent
[{'concept': 'Q502895'}, 'P22', 'Q175620']
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q175620 . ?v rdf:type ontology:Q502895 }
Frederick IV, Landgrave of Hesse-Homburg
Frederick IV, Landgrave of Hesse-Homburg has that one as a parent
Frederick IV, Landgrave of Hesse-Homburg
action filter_type
action find_reverse
entity Casimir William of Hesse-Homburg
relation father
type common name
[{'concept': 'common name'}, 'father', 'Casimir William of Hesse-Homburg']
SELECT DISTINCT ?v WHERE { ?v property:father resource:Casimir_William_of_Hesse-Homburg . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q565815
P40
Q502895
USER
Who have Frederick III, Landgrave of Hesse-Homburg as a child ?
(c(Q502895),P40,Q565815)
action filter_type
action find_reverse
entity Q565815
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q565815']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P40 resource:Q565815 }
Frederick III, Landgrave of Hesse-Homburg
action filter_type
action find_reverse
entity Frederick III, Landgrave of Hesse-Homburg
relation child
type common name
[{'concept': 'common name'}, 'child', 'Frederick III, Landgrave of Hesse-Homburg']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:child resource:Frederick_III,_Landgrave_of_Hesse-Homburg }
[]
common name
Q560753 Q69504
SYSTEM
Frederick II, Landgrave of Hesse-Homburg, Louise Elisabeth of Courland
Q560753 Q69504
(c(Q502895),P40,Q565815)
action filter_type
action find_reverse
entity Q565815
relation P40
type Q502895
[ANSWERS] have Frederick III, Landgrave of Hesse-Homburg as a child
[{'concept': 'Q502895'}, 'P40', 'Q565815']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P40 resource:Q565815 }
Frederick II, Landgrave of Hesse-Homburg Louise Elisabeth of Courland
Frederick II, Landgrave of Hesse-Homburg and Louise Elisabeth of Courland have Frederick III, Landgrave of Hesse-Homburg as a child
Frederick II, Landgrave of Hesse-Homburg Louise Elisabeth of Courland
action filter_type
action find_reverse
entity Frederick III, Landgrave of Hesse-Homburg
relation child
type common name
[{'concept': 'common name'}, 'child', 'Frederick III, Landgrave of Hesse-Homburg']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:child resource:Frederick_III,_Landgrave_of_Hesse-Homburg }
[]
Clarification
Simple Question|Single Entity|Indirect
Q69504
P140
Q874405
USER
What is the religious affiliation of that person ?
(Q69504,P140,c(Q874405))
action filter_type
action find
entity Q69504
relation P140
type Q874405
['Q69504', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { resource:Q69504 property:P140 ?a . ?a rdf:type ontology:Q874405 }
Louise Elisabeth of Courland
action filter_type
action find
entity Louise Elisabeth of Courland
relation religion
type social group
['Louise Elisabeth of Courland', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { resource:Louise_Elisabeth_of_Courland property:religion ?a . ?a rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q560753
SYSTEM
Did you mean Frederick II, Landgrave of Hesse-Homburg ?
Q560753 Q69504
(Q560753,P140,c(Q874405)) (Q69504,P140,c(Q874405))
[ANSWER]
['Q560753', 'P140', {'concept': 'Q874405'}] ['Q69504', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { resource:Q69504 property:P140 ?a . ?a rdf:type ontology:Q874405 }
Frederick II, Landgrave of Hesse-Homburg Louise Elisabeth of Courland
Did you mean Frederick II, Landgrave of Hesse-Homburg ?
Frederick II, Landgrave of Hesse-Homburg
['Frederick II, Landgrave of Hesse-Homburg', 'religion', {'concept': 'social group'}] ['Louise Elisabeth of Courland', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { resource:Louise_Elisabeth_of_Courland property:religion ?a . ?a rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
No, I meant Louise Elisabeth of Courland. Could you tell me the answer for that?
(Q69504,P140,c(Q874405))
Q69504
['Q69504', 'P140', {'concept': 'Q874405'}]
['Louise Elisabeth of Courland', 'religion', {'concept': 'social group'}]
[]
Q23540
SYSTEM
Protestantism
Q23540
(Q69504,P140,c(Q874405))
action filter_type
action find
entity Q69504
relation P140
type Q874405
The religious affiliation of that person is a [ANSWER]
['Q69504', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { resource:Q69504 property:P140 ?a . ?a rdf:type ontology:Q874405 }
Protestantism
The religious affiliation of that person is a Protestantism
Protestantism
action filter_type
action find
entity Louise Elisabeth of Courland
relation religion
type social group
['Louise Elisabeth of Courland', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { resource:Louise_Elisabeth_of_Courland property:religion ?a . ?a rdf:type ontology:social_group }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q660359
P1441
Q2342494 Q838948 Q502895
USER
How many people are featured in greater number of collectables and works of art than Cecco Angiolieri ?
(c(Q502895),P1441,c(Q2342494)|c(Q838948))
action count
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action count
action filter_multi_types
action find
entity Q660359
relation P1441
type Q2342494
type Q838948
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q838948'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q660359 property:P1441 ?x . { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?o > ?t ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?f WHERE { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?v rdf:type ?e } GROUP BY ?f } }
Cecco Angiolieri
action count
action greater
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type work of art
action count
action filter_multi_types
action find
entity Cecco Angiolieri
relation present in work
type collectable
type work of art
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'work of art'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Cecco_Angiolieri property:present_in_work ?x . { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:collectable ) } } } } . FILTER ( ?o > ?t ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?f WHERE { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?v rdf:type ?e } GROUP BY ?f } }
[]
collectable work of art common name
SYSTEM
6
Q23885172 Q9077 Q25858050 Q37085 Q26721185 Q9181
(c(Q502895),P1441,c(Q2342494)|c(Q838948))
action count
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action count
action filter_multi_types
action find
entity Q660359
relation P1441
type Q2342494
type Q838948
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q838948'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q660359 property:P1441 ?x . { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?o > ?t ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?f WHERE { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?v rdf:type ?e } GROUP BY ?f } }
Victor Petit Moses Helen Kingsleigh Solomon Lena Gogan Abraham
6
action count
action greater
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type work of art
action count
action filter_multi_types
action find
entity Cecco Angiolieri
relation present in work
type collectable
type work of art
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'work of art'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Cecco_Angiolieri property:present_in_work ?x . { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:collectable ) } } } } . FILTER ( ?o > ?t ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?f WHERE { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?v rdf:type ?e } GROUP BY ?f } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q477527
P1441
Q2342494 Q838948 Q502895
USER
And what about Amram?
(c(Q502895),P1441,c(Q2342494)|c(Q838948))
action count
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action count
action filter_multi_types
action find
entity Q477527
relation P1441
type Q2342494
type Q838948
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q838948'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?p WHERE { VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?e rdf:type ?j } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q477527 property:P1441 ?u . { { ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q2342494 } } } } . FILTER ( ?a > ?x ) }
Amram
action count
action greater
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type work of art
action count
action filter_multi_types
action find
entity Amram
relation present in work
type collectable
type work of art
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'work of art'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?p WHERE { VALUES ( ?j ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?e rdf:type ?j } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Amram property:present_in_work ?u . { { ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:collectable } } } } . FILTER ( ?a > ?x ) }
[]
collectable work of art common name
SYSTEM
83
Q660359 Q23885172 Q232525 Q24579400 Q24624067 Q160116 Q785349 Q3858588 Q4154984 Q3343834 Q24577230 Q494455 Q185801 Q6239779 Q34428 Q24622402 Q20656752 Q1353836 Q294192 Q19975705 Q25885222 Q134646 Q181538 Q24623408 Q9077 Q3778878 Q1348720 Q24624893 Q1396131 Q716237 Q41370 Q2124082 Q24625686 Q315276 Q3148218 Q24577318 Q24625326 Q25858050 Q26858752 Q24633210 Q3745274 Q3867479 Q19348839 Q1093885 Q1346246 Q3010053 Q164889 Q24625073 Q27621044 Q24623579 Q366070 Q270438 Q1341779 Q37085 Q972487 Q313395 Q8581 Q24577238 Q24632700 Q24626363 Q24633126 Q3658171 Q4804479 Q26721185 Q24623790 Q2296791 Q200947 Q24083251 Q9181 Q25923184 Q312311 Q169329 Q302322 Q3761044 Q76721 Q26858995 Q283466 Q9441 Q372783 Q16006746 Q24626010 Q26858919 Q1227361
(c(Q502895),P1441,c(Q2342494)|c(Q838948))
action count
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action count
action filter_multi_types
action find
entity Q477527
relation P1441
type Q2342494
type Q838948
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q838948'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?p WHERE { VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?e rdf:type ?j } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q477527 property:P1441 ?u . { { ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q2342494 } } } } . FILTER ( ?a > ?x ) }
Cecco Angiolieri Victor Petit Theodelinda Jebidiah Farnsworth Bea Hansen Alexander III Cangrande I della Scala Mino da San Quirico Kai Darab Norman Winther Harriet Mutesi Orville Wright Mikhail Kutuzov John Hooper Philip Frank Fauteux Bernard C. Webber Hrothgar Guy of Lusignan Daniel Webster Cluff James Harcourt Boniface VIII Rudolf Abel Eldon Hanan Moses Guglielmo Borsiere Guy de Montfort, Count of Nola Raymond Sybert Wilbur Wright Song Jiang David Azzo VIII d'Este, Marquis of Ferrara Andy Fitzgerald Agilulf Ignacy Przybyszewski Sara Katende Miriam Webber Helen Kingsleigh Sarah Katende George "Tiny" Myers Filippo Minutolo Musciatto Franzesi Salammbô Hathi Johnny Ringo Céleste de Chateaubriand Manfred, King of Sicily Richard Livesey Davy Brown Wallace Quirey George William Russell Charles of Valois Kai Lohrasp Solomon Buonamico Buffalmacco Authari Saladin Robert Katende John Stello Mel Gouthro Donald Bangs Phiona Mutesi Ash Vasudevan Lena Gogan D.A. Brown Molly Bloom Ahmad ibn Fadlan Stan the Man Abraham Elizabeth Ham Peter III of Aragon Conrad of Montferrat Calandrino Geri Spini Godfrey of Bouillon Aloysius Kyazze Roger of Lauria Gautama Buddha Adrian Cronauer James B. Donovan Ervin Maske Hope Katende John of Procida
83
action count
action greater
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type work of art
action count
action filter_multi_types
action find
entity Amram
relation present in work
type collectable
type work of art
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'work of art'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?p WHERE { VALUES ( ?j ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?e rdf:type ?j } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Amram property:present_in_work ?u . { { ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:collectable } } } } . FILTER ( ?a > ?x ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q560753
P22
Q502895
USER
How many people are the offspring of Frederick II, Landgrave of Hesse-Homburg ?
(c(Q502895),P22,Q560753)
action count
action filter_type
action find_reverse
entity Q560753
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q560753']
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ontology:Q502895 . ?l property:P22 resource:Q560753 }
Frederick II, Landgrave of Hesse-Homburg
action count
action filter_type
action find_reverse
entity Frederick II, Landgrave of Hesse-Homburg
relation father
type common name
[{'concept': 'common name'}, 'father', 'Frederick II, Landgrave of Hesse-Homburg']
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ontology:common_name . ?l property:father resource:Frederick_II,_Landgrave_of_Hesse-Homburg }
[]
common name
SYSTEM
5
Q175620 Q1266379 Q328606 Q1593375 Q565815
(c(Q502895),P22,Q560753)
action count
action filter_type
action find_reverse
entity Q560753
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q560753']
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ontology:Q502895 . ?l property:P22 resource:Q560753 }
Casimir William of Hesse-Homburg Eleonore Margarete of Hesse-Homburg Charlotte of Hesse-Homburg Hedwig Luise of Hesse-Homburg Frederick III, Landgrave of Hesse-Homburg
5
action count
action filter_type
action find_reverse
entity Frederick II, Landgrave of Hesse-Homburg
relation father
type common name
[{'concept': 'common name'}, 'father', 'Frederick II, Landgrave of Hesse-Homburg']
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ontology:common_name . ?l property:father resource:Frederick_II,_Landgrave_of_Hesse-Homburg }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q560753
P26
Q502895
USER
Which people have Frederick II, Landgrave of Hesse-Homburg as spouse ?
(c(Q502895),P26,Q560753)
action filter_type
action find
entity Q560753
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q560753']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q560753 property:P26 ?z }
Frederick II, Landgrave of Hesse-Homburg
action filter_type
action find
entity Frederick II, Landgrave of Hesse-Homburg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Frederick II, Landgrave of Hesse-Homburg']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Frederick_II,_Landgrave_of_Hesse-Homburg property:spouse ?z }
[]
common name
Q526343 Q69504
SYSTEM
Margareta Brahe, Louise Elisabeth of Courland
Q526343 Q69504
(c(Q502895),P26,Q560753)
action filter_type
action find
entity Q560753
relation P26
type Q502895
[ANSWERS] have Frederick II, Landgrave of Hesse-Homburg as spouse
[{'concept': 'Q502895'}, 'P26', 'Q560753']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q560753 property:P26 ?z }
Margareta Brahe Louise Elisabeth of Courland
Margareta Brahe and Louise Elisabeth of Courland have Frederick II, Landgrave of Hesse-Homburg as spouse
Margareta Brahe Louise Elisabeth of Courland
action filter_type
action find
entity Frederick II, Landgrave of Hesse-Homburg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Frederick II, Landgrave of Hesse-Homburg']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Frederick_II,_Landgrave_of_Hesse-Homburg property:spouse ?z }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q526343 Q69504
P40
Q502895
USER
Which people have those ones as an offspring ?
(c(Q502895),P40,Q526343) (c(Q502895),P40,Q69504)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q526343'] [{'concept': 'Q502895'}, 'P40', 'Q69504']
SELECT DISTINCT ?x WHERE { ?x property:P40 ?r . VALUES ( ?r ) { ( resource:Q526343 ) ( resource:Q69504 ) } . ?x rdf:type ontology:Q502895 }
Margareta Brahe Louise Elisabeth of Courland
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Margareta Brahe'] [{'concept': 'common name'}, 'child', 'Louise Elisabeth of Courland']
SELECT DISTINCT ?x WHERE { ?x property:child ?r . VALUES ( ?r ) { ( resource:Margareta_Brahe ) ( resource:Louise_Elisabeth_of_Courland ) } . ?x rdf:type ontology:common_name }
[]
common name
Q5584469 Q433010 Q313191
SYSTEM
Abraham Pedersson Brahe, Margravine Louise Charlotte of Brandenburg, Jacob Kettler
Q5584469 Q433010 Q313191
(c(Q502895),P40,Q526343) (c(Q502895),P40,Q69504)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWERS] have those ones as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q526343'] [{'concept': 'Q502895'}, 'P40', 'Q69504']
SELECT DISTINCT ?x WHERE { ?x property:P40 ?r . VALUES ( ?r ) { ( resource:Q526343 ) ( resource:Q69504 ) } . ?x rdf:type ontology:Q502895 }
Abraham Pedersson Brahe Margravine Louise Charlotte of Brandenburg Jacob Kettler
Abraham Pedersson Brahe, Margravine Louise Charlotte of Brandenburg and Jacob Kettler have those ones as an offspring
Abraham Pedersson Brahe Margravine Louise Charlotte of Brandenburg Jacob Kettler
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Margareta Brahe'] [{'concept': 'common name'}, 'child', 'Louise Elisabeth of Courland']
SELECT DISTINCT ?x WHERE { ?x property:child ?r . VALUES ( ?r ) { ( resource:Margareta_Brahe ) ( resource:Louise_Elisabeth_of_Courland ) } . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5584469 Q433010 Q313191
P25
Q502895
USER
Who were the mother of Abraham Pedersson Brahe, Margravine Louise Charlotte of Brandenburg and Jacob Kettler ?
(Q5584469,P25,c(Q502895)) (Q433010,P25,c(Q502895)) (Q313191,P25,c(Q502895))
action union
action filter_type
action find
entity Q5584469
relation P25
type Q502895
action filter_type
action find
entity Q433010
relation P25
type Q502895
action filter_type
action find
entity Q313191
relation P25
type Q502895
['Q5584469', 'P25', {'concept': 'Q502895'}] ['Q433010', 'P25', {'concept': 'Q502895'}] ['Q313191', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?c property:P25 ?b . VALUES ( ?c ) { ( resource:Q433010 ) ( resource:Q5584469 ) } }
Abraham Pedersson Brahe Margravine Louise Charlotte of Brandenburg Jacob Kettler
action union
action filter_type
action find
entity Abraham Pedersson Brahe
relation mother
type common name
action filter_type
action find
entity Margravine Louise Charlotte of Brandenburg
relation mother
type common name
action filter_type
action find
entity Jacob Kettler
relation mother
type common name
['Abraham Pedersson Brahe', 'mother', {'concept': 'common name'}] ['Margravine Louise Charlotte of Brandenburg', 'mother', {'concept': 'common name'}] ['Jacob Kettler', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?c property:mother ?b . VALUES ( ?c ) { ( resource:Margravine_Louise_Charlotte_of_Brandenburg ) ( resource:Abraham_Pedersson_Brahe ) } }
[]
common name
Q18274268 Q61819 Q1573442
SYSTEM
Beata Stenbock, Elizabeth Charlotte of the Palatinate, Duchess Sophie of Prussia
Q18274268 Q61819 Q1573442
(Q5584469,P25,c(Q502895)) (Q433010,P25,c(Q502895)) (Q313191,P25,c(Q502895))
action union
action filter_type
action find
entity Q5584469
relation P25
type Q502895
action filter_type
action find
entity Q433010
relation P25
type Q502895
action filter_type
action find
entity Q313191
relation P25
type Q502895
The mother of Abraham Pedersson Brahe , Margravine Louise Charlotte of Brandenburg and Jacob Kettler were born [ANSWERS]
['Q5584469', 'P25', {'concept': 'Q502895'}] ['Q433010', 'P25', {'concept': 'Q502895'}] ['Q313191', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?c property:P25 ?b . VALUES ( ?c ) { ( resource:Q433010 ) ( resource:Q5584469 ) } }
Beata Stenbock Elizabeth Charlotte of the Palatinate Duchess Sophie of Prussia
The mother of Abraham Pedersson Brahe , Margravine Louise Charlotte of Brandenburg and Jacob Kettler were born Beata Stenbock, Elizabeth Charlotte of the Palatinate and Duchess Sophie of Prussia
Beata Stenbock Elizabeth Charlotte of the Palatinate Duchess Sophie of Prussia
action union
action filter_type
action find
entity Abraham Pedersson Brahe
relation mother
type common name
action filter_type
action find
entity Margravine Louise Charlotte of Brandenburg
relation mother
type common name
action filter_type
action find
entity Jacob Kettler
relation mother
type common name
['Abraham Pedersson Brahe', 'mother', {'concept': 'common name'}] ['Margravine Louise Charlotte of Brandenburg', 'mother', {'concept': 'common name'}] ['Jacob Kettler', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?c property:mother ?b . VALUES ( ?c ) { ( resource:Margravine_Louise_Charlotte_of_Brandenburg ) ( resource:Abraham_Pedersson_Brahe ) } }
[]