Simple Question (Direct)
Simple Question
Q230238
P119
Q44539
USER
Which temple is the place of burial of Astrid of Sweden ?
(Q230238,P119,c(Q44539))
action filter_type
action find
entity Q230238
relation P119
type Q44539
['Q230238', 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ?z WHERE { resource:Q230238 property:P119 ?z . ?z rdf:type ontology:Q44539 }
Astrid of Sweden
action filter_type
action find
entity Astrid of Sweden
relation place of burial
type temple
['Astrid of Sweden', 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ?z WHERE { resource:Astrid_of_Sweden property:place_of_burial ?z . ?z rdf:type ontology:temple }
[]
temple
Q1547264
SYSTEM
Church of Our Lady of Laeken
Q1547264
(Q230238,P119,c(Q44539))
action filter_type
action find
entity Q230238
relation P119
type Q44539
[ANSWER] is the place of burial of Astrid of Sweden
['Q230238', 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ?z WHERE { resource:Q230238 property:P119 ?z . ?z rdf:type ontology:Q44539 }
Church of Our Lady of Laeken
Church of Our Lady of Laeken is the place of burial of Astrid of Sweden
Church of Our Lady of Laeken
action filter_type
action find
entity Astrid of Sweden
relation place of burial
type temple
['Astrid of Sweden', 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ?z WHERE { resource:Astrid_of_Sweden property:place_of_burial ?z . ?z rdf:type ontology:temple }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1547264
P84
Q502895
USER
Who is the designer of that temple ?
(Q1547264,P84,c(Q502895))
action filter_type
action find
entity Q1547264
relation P84
type Q502895
['Q1547264', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1547264 property:P84 ?p . ?p rdf:type ontology:Q502895 }
Church of Our Lady of Laeken
action filter_type
action find
entity Church of Our Lady of Laeken
relation architect
type common name
['Church of Our Lady of Laeken', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Church_of_Our_Lady_of_Laeken property:architect ?p . ?p rdf:type ontology:common_name }
[]
common name
Q740717
SYSTEM
Joseph Poelaert
Q740717
(Q1547264,P84,c(Q502895))
action filter_type
action find
entity Q1547264
relation P84
type Q502895
The designer of that temple is [ANSWER]
['Q1547264', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1547264 property:P84 ?p . ?p rdf:type ontology:Q502895 }
Joseph Poelaert
The designer of that temple is Joseph Poelaert
Joseph Poelaert
action filter_type
action find
entity Church of Our Lady of Laeken
relation architect
type common name
['Church of Our Lady of Laeken', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Church_of_Our_Lady_of_Laeken property:architect ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q740717
P166
Q618779
USER
Which award was that person awarded with ?
(Q740717,P166,c(Q618779))
action filter_type
action find
entity Q740717
relation P166
type Q618779
['Q740717', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q618779 . resource:Q740717 property:P166 ?m }
Joseph Poelaert
action filter_type
action find
entity Joseph Poelaert
relation award received
type award
['Joseph Poelaert', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:award . resource:Joseph_Poelaert property:award_received ?m }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q740717,P166,c(Q618779))
action filter_type
action find
entity Q740717
relation P166
type Q618779
That person was awarded a [ANSWER]
['Q740717', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q618779 . resource:Q740717 property:P166 ?m }
Knight of the Legion of Honour
That person was awarded a Knight of the Legion of Honour
Knight of the Legion of Honour
action filter_type
action find
entity Joseph Poelaert
relation award received
type award
['Joseph Poelaert', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:award . resource:Joseph_Poelaert property:award_received ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q740717
P84
Q41176 Q44539
USER
How many buildings or temples were designed by Joseph Poelaert ?
(c(Q41176),P84,Q740717) (c(Q44539),P84,Q740717)
action count
action union
action filter_type
action find_reverse
entity Q740717
relation P84
type Q41176
action filter_type
action find_reverse
entity Q740717
relation P84
type Q44539
[{'concept': 'Q41176'}, 'P84', 'Q740717'] [{'concept': 'Q44539'}, 'P84', 'Q740717']
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { ?f property:P84 resource:Q740717 . ?f rdf:type ontology:Q44539 } UNION { ?f property:P84 resource:Q740717 . ?f rdf:type ontology:Q41176 } }
Joseph Poelaert
action count
action union
action filter_type
action find_reverse
entity Joseph Poelaert
relation architect
type building
action filter_type
action find_reverse
entity Joseph Poelaert
relation architect
type temple
[{'concept': 'building'}, 'architect', 'Joseph Poelaert'] [{'concept': 'temple'}, 'architect', 'Joseph Poelaert']
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { ?f property:architect resource:Joseph_Poelaert . ?f rdf:type ontology:temple } UNION { ?f property:architect resource:Joseph_Poelaert . ?f rdf:type ontology:building } }
[]
building temple
SYSTEM
2
Q850537 Q1547264
(c(Q41176),P84,Q740717) (c(Q44539),P84,Q740717)
action count
action union
action filter_type
action find_reverse
entity Q740717
relation P84
type Q41176
action filter_type
action find_reverse
entity Q740717
relation P84
type Q44539
[ANSWER]
[{'concept': 'Q41176'}, 'P84', 'Q740717'] [{'concept': 'Q44539'}, 'P84', 'Q740717']
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { ?f property:P84 resource:Q740717 . ?f rdf:type ontology:Q44539 } UNION { ?f property:P84 resource:Q740717 . ?f rdf:type ontology:Q41176 } }
Law Courts of Brussels Church of Our Lady of Laeken
2
action count
action union
action filter_type
action find_reverse
entity Joseph Poelaert
relation architect
type building
action filter_type
action find_reverse
entity Joseph Poelaert
relation architect
type temple
[{'concept': 'building'}, 'architect', 'Joseph Poelaert'] [{'concept': 'temple'}, 'architect', 'Joseph Poelaert']
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { ?f property:architect resource:Joseph_Poelaert . ?f rdf:type ontology:temple } UNION { ?f property:architect resource:Joseph_Poelaert . ?f rdf:type ontology:building } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q12049845
P417
Q502895 Q1445650 Q44539
USER
Which temples have lesser number of people and holidays as their patron saint than Rotunda of St. Lawrence ?
(c(Q44539),P417,c(Q502895)|c(Q1445650))
action less
action union
action find_tuple_counts
relation P417
type Q44539
type Q502895
action find_tuple_counts
relation P417
type Q44539
type Q1445650
action count
action filter_multi_types
action find
entity Q12049845
relation P417
type Q502895
type Q1445650
[{'concept': 'Q44539'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?f ) WHERE { { ?e property:P417 ?l . ?e rdf:type ontology:Q44539 . ?l rdf:type ontology:Q502895 } UNION { ?e property:P417 ?l . ?l rdf:type ontology:Q1445650 . ?e rdf:type ontology:Q44539 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { VALUES ( ?y ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?s rdf:type ?y } . resource:Q12049845 property:P417 ?s } } . FILTER ( ?f < ?w ) }
Rotunda of St. Lawrence
action less
action union
action find_tuple_counts
relation patron saint
type temple
type common name
action find_tuple_counts
relation patron saint
type temple
type holiday
action count
action filter_multi_types
action find
entity Rotunda of St. Lawrence
relation patron saint
type common name
type holiday
[{'concept': 'temple'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?f ) WHERE { { ?e property:patron_saint ?l . ?e rdf:type ontology:temple . ?l rdf:type ontology:common_name } UNION { ?e property:patron_saint ?l . ?l rdf:type ontology:holiday . ?e rdf:type ontology:temple } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { VALUES ( ?y ) { ( ontology:common_name ) ( ontology:holiday ) } . ?s rdf:type ?y } . resource:Rotunda_of_St._Lawrence property:patron_saint ?s } } . FILTER ( ?f < ?w ) }
[]
common name holiday temple
Q2320695 Q1378300 Q13408
SYSTEM
St. Maria Rosenkranz, St. Maria unter dem Kreuz, Church of the Holy Spirit
Q5399375 Q14690684 Q1350517 Q12354031 Q3508403 Q1296613 Q6837273 Q1296599 Q12030533 Q11062142 Q3508668 Q10495618 Q1235287 Q1742720 Q4178500 Q997310 Q1147877 Q21241889 Q3503833 Q21011849 Q2320642 Q19831118 Q12030398 Q1076174 Q19620842 Q6777740 Q23712161 Q376474 Q2320940 Q26215729 Q860816 Q15680598 Q17977 Q5909345 Q2321586 Q2320695 Q11021479 Q1076187 Q5118068 Q7110847 Q8408440 Q3669965 Q2282608 Q2053374 Q20162582 Q792584 Q6405216 Q1378300 Q1503199 Q3673393 Q493133 Q3506865 Q25467582 Q1453427 Q2983495 Q4425938 Q2025940 Q12031112 Q15360527 Q1110116 Q24758939 Q21011895 Q9167722 Q3585503 Q3896981 Q2322936 Q13408 Q20046303 Q12030463 Q918999 Q5685318 Q17522033 Q19656074 Q11774967 Q5994328 Q5886247 Q923595 Q21011855 Q18662908 Q21977581 Q526047 Q17282 Q17288 Q45058 Q1137391 Q4785575 Q869513 Q1448845 Q1110107 Q19827843 Q21011839 Q20119867 Q1908197 Q4867402 Q17438 Q2177355 Q427340 Q23712173 Q2320742 Q1527610 Q7110754 Q1742717
(c(Q44539),P417,c(Q502895)|c(Q1445650))
action less
action union
action find_tuple_counts
relation P417
type Q44539
type Q502895
action find_tuple_counts
relation P417
type Q44539
type Q1445650
action count
action filter_multi_types
action find
entity Q12049845
relation P417
type Q502895
type Q1445650
[ANSWERS] have lesser number of people and holidays as their patron saint than Rotunda of St. Lawrence
[{'concept': 'Q44539'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?f ) WHERE { { ?e property:P417 ?l . ?e rdf:type ontology:Q44539 . ?l rdf:type ontology:Q502895 } UNION { ?e property:P417 ?l . ?l rdf:type ontology:Q1445650 . ?e rdf:type ontology:Q44539 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { VALUES ( ?y ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?s rdf:type ?y } . resource:Q12049845 property:P417 ?s } } . FILTER ( ?f < ?w ) }
Kirkkonummi Church Immaculate Conception Catholic Church Maria-Obhut-Kirche Church of the Nativity of the Virgin Mary in Mezőkovácsháza Church of Saint Michael the Archangel in Prague Saint Michael Church, Sopron Church of Saint Michael Saint Micael Church, Budapest District V Church of the Holy Spirit Basilica of the Visitation Church of Our Lady of the Snows Finström Church Piarist Church (Kecskemét) Church of Our Lady of the Snow (Prague) Church of the Holy Spirit Church of the Whites Church of the Archangels Michael and Gabriel Church of the Assumption (Žatec) Church of Saints Cyril and Methodius Church of the Nativity of Christ St. Maria Hilfe der Christen Church of Our Lady (Klášterec nad Ohří) Church of the Nativity of the Blessed Virgin Mary Presentation of Virgin Mary Church Holy Spirit Church, Remetekertváros Martyrs' Shrine Saint Michael church in Corjeuți St. Michael Chapel St. Mariä Empfängnis Bărăția church in Câmpulung Orsanmichele Église Notre-Dame de Vétheuil Church of the Holy Spirit Our Lady of Fatima Church St. Michael St. Maria Rosenkranz Saint Michael Church in Príkra Church of Saint Michael Church of the Virgin Mary Our Lady of Lourdes Catholic Church kaple Panny Marie (Stožec) San Fermo Maggiore Church of the Holy Spirit in Old Town, Prague kostel svatého Šimona a Judy (Praha) Church of the Immaculate Conception (Velké Heraltice) Franciscan Church, Szolnok Our Lady of Fatima Church St. Maria unter dem Kreuz Church of Our Lady Victorious Santa Maria Consolatrice al Tiburtino Matthias Church San Michele in Borgo Our Lady of Mercy Church, Gomba Church of Our Lady before Týn Church of Our Lady across the river Dijle Saint Michael's Cathedral, Sochi Church of the Assumption of the Virgin Mary kostel svatého Šimona a Judy (Radostice) Wähner's chapel Church of the Nativity of the Virgin Mary in Máriaremete Holy Family church Church of the Theotokos of Smolensk Basilica of the Visitation of the Virgin Mary Alajärvi Church Church of Sancti Spiritus St. Pius X. Church of the Holy Spirit Church of the Nativity of the Virgin Mary (Klášter Hradiště nad Jizerou) Church of the Sacred Heart of Our Lord Sankt Sakrament Our Lady of Fatima Church Christuskirche Heilig-Kreuz-Kirche (Neuwied) kostel svatého Michaela archanděla (Bohdanovice) Igreja do Imaculado Coração de Maria Holy Spirit Church St. Michael's Church Transfiguration Cathedral Honkilahti Church Wooden church in Cotul Morii Basilica of the Holy Apostles Church of the Holy Spirit Church of the Holy Spirit Church of the Nativity of the Virgin Mary Santa Maria in Trastevere Archangel Michael's Church Santa Maria del Popolo St. Maria in den Benden Church of the Nativity of the Virgin Mary in Gyöngyöspata Church of the Assumption of the Virgin Mary (Konojedy) Church of Elias the Prophet Kostel Panny Marie Sedmibolestné a Povýšení svatého Kříže na Cvilíně Mater Dolorosa Basilica of the Assumption Church of the Holy Spirit Sacro Cuore di Gesù a Castro Pretorio St-Gervais-et-St-Protais Saint Michael church in Hlina St. Maria vom Frieden St. Michael's Church in Jircháře Our Lady of Annunciation Parish Church of Our Lady on the Lawn
St. Maria Rosenkranz, St. Maria unter dem Kreuz and Church of the Holy Spirit have lesser number of people and holidays as their patron saint than Rotunda of St. Lawrence
St. Maria Rosenkranz St. Maria unter dem Kreuz Church of the Holy Spirit
action less
action union
action find_tuple_counts
relation patron saint
type temple
type common name
action find_tuple_counts
relation patron saint
type temple
type holiday
action count
action filter_multi_types
action find
entity Rotunda of St. Lawrence
relation patron saint
type common name
type holiday
[{'concept': 'temple'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?f ) WHERE { { ?e property:patron_saint ?l . ?e rdf:type ontology:temple . ?l rdf:type ontology:common_name } UNION { ?e property:patron_saint ?l . ?l rdf:type ontology:holiday . ?e rdf:type ontology:temple } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { VALUES ( ?y ) { ( ontology:common_name ) ( ontology:holiday ) } . ?s rdf:type ?y } . resource:Rotunda_of_St._Lawrence property:patron_saint ?s } } . FILTER ( ?f < ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1133543
P417
Q502895 Q1445650 Q44539
USER
And what about Ducal Rotunda of the Virgin Mary and St Catherine?
(c(Q44539),P417,c(Q502895)|c(Q1445650))
action less
action union
action find_tuple_counts
relation P417
type Q44539
type Q502895
action find_tuple_counts
relation P417
type Q44539
type Q1445650
action count
action filter_multi_types
action find
entity Q1133543
relation P417
type Q502895
type Q1445650
[{'concept': 'Q44539'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?v WHERE { VALUES ( ?x ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?l rdf:type ?x } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q1133543 property:P417 ?f . { { ?f rdf:type ontology:Q1445650 } UNION { ?f rdf:type ontology:Q502895 } } } } . FILTER ( ?z < ?n ) }
Ducal Rotunda of the Virgin Mary and St Catherine
action less
action union
action find_tuple_counts
relation patron saint
type temple
type common name
action find_tuple_counts
relation patron saint
type temple
type holiday
action count
action filter_multi_types
action find
entity Ducal Rotunda of the Virgin Mary and St Catherine
relation patron saint
type common name
type holiday
[{'concept': 'temple'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?v WHERE { VALUES ( ?x ) { ( ontology:common_name ) ( ontology:holiday ) } . ?l rdf:type ?x } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Ducal_Rotunda_of_the_Virgin_Mary_and_St_Catherine property:patron_saint ?f . { { ?f rdf:type ontology:holiday } UNION { ?f rdf:type ontology:common_name } } } } . FILTER ( ?z < ?n ) }
[]
common name holiday temple
Q2320695 Q1378300 Q13408
SYSTEM
St. Maria Rosenkranz, St. Maria unter dem Kreuz, Church of the Holy Spirit
Q5399375 Q14690684 Q1350517 Q12354031 Q3508403 Q1296613 Q6837273 Q1296599 Q12030533 Q11062142 Q3508668 Q10495618 Q1235287 Q1742720 Q4178500 Q997310 Q1147877 Q21241889 Q3503833 Q21011849 Q2320642 Q19831118 Q12030398 Q1076174 Q19620842 Q6777740 Q23712161 Q376474 Q2320940 Q26215729 Q860816 Q15680598 Q17977 Q5909345 Q2321586 Q2320695 Q11021479 Q1076187 Q5118068 Q7110847 Q8408440 Q3669965 Q2282608 Q2053374 Q20162582 Q792584 Q6405216 Q1378300 Q1503199 Q3673393 Q493133 Q3506865 Q25467582 Q1453427 Q2983495 Q4425938 Q2025940 Q12031112 Q15360527 Q1110116 Q24758939 Q21011895 Q9167722 Q3585503 Q3896981 Q2322936 Q13408 Q20046303 Q12030463 Q918999 Q5685318 Q17522033 Q19656074 Q11774967 Q5994328 Q5886247 Q923595 Q21011855 Q18662908 Q21977581 Q526047 Q17282 Q17288 Q45058 Q1137391 Q4785575 Q869513 Q1448845 Q1110107 Q19827843 Q21011839 Q20119867 Q1908197 Q4867402 Q17438 Q2177355 Q427340 Q23712173 Q2320742 Q1527610 Q7110754 Q1742717
(c(Q44539),P417,c(Q502895)|c(Q1445650))
action less
action union
action find_tuple_counts
relation P417
type Q44539
type Q502895
action find_tuple_counts
relation P417
type Q44539
type Q1445650
action count
action filter_multi_types
action find
entity Q1133543
relation P417
type Q502895
type Q1445650
[ANSWERS]
[{'concept': 'Q44539'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?v WHERE { VALUES ( ?x ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?l rdf:type ?x } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q1133543 property:P417 ?f . { { ?f rdf:type ontology:Q1445650 } UNION { ?f rdf:type ontology:Q502895 } } } } . FILTER ( ?z < ?n ) }
Kirkkonummi Church Immaculate Conception Catholic Church Maria-Obhut-Kirche Church of the Nativity of the Virgin Mary in Mezőkovácsháza Church of Saint Michael the Archangel in Prague Saint Michael Church, Sopron Church of Saint Michael Saint Micael Church, Budapest District V Church of the Holy Spirit Basilica of the Visitation Church of Our Lady of the Snows Finström Church Piarist Church (Kecskemét) Church of Our Lady of the Snow (Prague) Church of the Holy Spirit Church of the Whites Church of the Archangels Michael and Gabriel Church of the Assumption (Žatec) Church of Saints Cyril and Methodius Church of the Nativity of Christ St. Maria Hilfe der Christen Church of Our Lady (Klášterec nad Ohří) Church of the Nativity of the Blessed Virgin Mary Presentation of Virgin Mary Church Holy Spirit Church, Remetekertváros Martyrs' Shrine Saint Michael church in Corjeuți St. Michael Chapel St. Mariä Empfängnis Bărăția church in Câmpulung Orsanmichele Église Notre-Dame de Vétheuil Church of the Holy Spirit Our Lady of Fatima Church St. Michael St. Maria Rosenkranz Saint Michael Church in Príkra Church of Saint Michael Church of the Virgin Mary Our Lady of Lourdes Catholic Church kaple Panny Marie (Stožec) San Fermo Maggiore Church of the Holy Spirit in Old Town, Prague kostel svatého Šimona a Judy (Praha) Church of the Immaculate Conception (Velké Heraltice) Franciscan Church, Szolnok Our Lady of Fatima Church St. Maria unter dem Kreuz Church of Our Lady Victorious Santa Maria Consolatrice al Tiburtino Matthias Church San Michele in Borgo Our Lady of Mercy Church, Gomba Church of Our Lady before Týn Church of Our Lady across the river Dijle Saint Michael's Cathedral, Sochi Church of the Assumption of the Virgin Mary kostel svatého Šimona a Judy (Radostice) Wähner's chapel Church of the Nativity of the Virgin Mary in Máriaremete Holy Family church Church of the Theotokos of Smolensk Basilica of the Visitation of the Virgin Mary Alajärvi Church Church of Sancti Spiritus St. Pius X. Church of the Holy Spirit Church of the Nativity of the Virgin Mary (Klášter Hradiště nad Jizerou) Church of the Sacred Heart of Our Lord Sankt Sakrament Our Lady of Fatima Church Christuskirche Heilig-Kreuz-Kirche (Neuwied) kostel svatého Michaela archanděla (Bohdanovice) Igreja do Imaculado Coração de Maria Holy Spirit Church St. Michael's Church Transfiguration Cathedral Honkilahti Church Wooden church in Cotul Morii Basilica of the Holy Apostles Church of the Holy Spirit Church of the Holy Spirit Church of the Nativity of the Virgin Mary Santa Maria in Trastevere Archangel Michael's Church Santa Maria del Popolo St. Maria in den Benden Church of the Nativity of the Virgin Mary in Gyöngyöspata Church of the Assumption of the Virgin Mary (Konojedy) Church of Elias the Prophet Kostel Panny Marie Sedmibolestné a Povýšení svatého Kříže na Cvilíně Mater Dolorosa Basilica of the Assumption Church of the Holy Spirit Sacro Cuore di Gesù a Castro Pretorio St-Gervais-et-St-Protais Saint Michael church in Hlina St. Maria vom Frieden St. Michael's Church in Jircháře Our Lady of Annunciation Parish Church of Our Lady on the Lawn
St. Maria Rosenkranz St. Maria unter dem Kreuz Church of the Holy Spirit
action less
action union
action find_tuple_counts
relation patron saint
type temple
type common name
action find_tuple_counts
relation patron saint
type temple
type holiday
action count
action filter_multi_types
action find
entity Ducal Rotunda of the Virgin Mary and St Catherine
relation patron saint
type common name
type holiday
[{'concept': 'temple'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?v WHERE { VALUES ( ?x ) { ( ontology:common_name ) ( ontology:holiday ) } . ?l rdf:type ?x } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Ducal_Rotunda_of_the_Virgin_Mary_and_St_Catherine property:patron_saint ?f . { { ?f rdf:type ontology:holiday } UNION { ?f rdf:type ontology:common_name } } } } . FILTER ( ?z < ?n ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P88
Q502895 Q1107656 Q15850590
USER
Which people commissioned min number of gardens and theatrical genres ?
(c(Q1107656)|c(Q15850590),P88,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q1107656
action find_reverse_tuple_counts
relation P88
type Q502895
type Q15850590
[[{'concept': 'Q1107656'}, {'concept': 'Q15850590'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?g ) { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:Q1107656 ) ( ontology:Q15850590 ) } } GROUP BY ?d } } . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?c ) WHERE { VALUES ( ?x ) { ( ontology:Q15850590 ) ( ontology:Q1107656 ) } . ?r rdf:type ?x } GROUP BY ?o } . FILTER ( ?c = ?g ) }
action argmin
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type garden
action find_reverse_tuple_counts
relation commissioned by
type common name
type theatrical genre
[[{'concept': 'garden'}, {'concept': 'theatrical genre'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?g ) { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:garden ) ( ontology:theatrical_genre ) } } GROUP BY ?d } } . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?c ) WHERE { VALUES ( ?x ) { ( ontology:theatrical_genre ) ( ontology:garden ) } . ?r rdf:type ?x } GROUP BY ?o } . FILTER ( ?c = ?g ) }
[]
common name garden theatrical genre
Q937 Q517 Q316654
SYSTEM
Albert Einstein, Napoleon, Emperor Saga
Q314384 Q21583236 Q128019 Q1679943 Q312637 Q67281 Q16029902 Q18546605 Q3388274 Q2597227 Q34417 Q5007 Q15118669 Q316736 Q646191 Q8423 Q48544 Q48547 Q1434742 Q1869372 Q7758 Q1790464 Q7750 Q36234 Q5482808 Q1391982 Q1699250 Q66112 Q658756 Q83672 Q214207 Q1261435 Q2960520 Q459684 Q337630 Q7811659 Q4444804 Q12591 Q2663888 Q923438 Q1397788 Q2854144 Q8019380 Q6260307 Q5602471 Q170398 Q163514 Q41834 Q2161266 Q143319 Q63502 Q16328562 Q937 Q3180455 Q979358 Q506415 Q1360930 Q2138565 Q7790099 Q2002136 Q130221 Q44139 Q3158324 Q95946 Q348183 Q13422636 Q5344847 Q978999 Q114424 Q169305 Q19635621 Q18526360 Q5052103 Q935329 Q2976800 Q448169 Q5973918 Q2573414 Q335489 Q99915 Q938624 Q3291384 Q560746 Q230677 Q130822 Q60568 Q152245 Q535618 Q1408805 Q318089 Q157812 Q18175809 Q702308 Q127318 Q452570 Q3553429 Q57628 Q96499 Q205779 Q299663 Q1419 Q358348 Q20875 Q289527 Q349243 Q44961 Q5542604 Q33550 Q37594 Q150726 Q1523 Q650906 Q32500 Q273849 Q545140 Q19660038 Q2714587 Q38200 Q21583204 Q788163 Q691894 Q164823 Q5481257 Q182021 Q2113530 Q2033868 Q1871840 Q2094034 Q170863 Q344454 Q60438 Q3768246 Q168261 Q443559 Q336990 Q9439 Q37134 Q3678126 Q209579 Q211513 Q71578 Q7742 Q437543 Q15839391 Q7296915 Q487488 Q38370 Q2976709 Q3765384 Q4725780 Q115738 Q15454222 Q3022849 Q140106 Q83680 Q192958 Q1395822 Q16004457 Q6228322 Q236853 Q152782 Q2615527 Q5498834 Q2082616 Q7788054 Q244852 Q434252 Q49237 Q153815 Q8032483 Q3340360 Q183226 Q36788 Q298877 Q2129556 Q3428813 Q506933 Q170467 Q3381859 Q151173 Q5576725 Q297194 Q6853636 Q8343904 Q3784903 Q2507378 Q257286 Q114749 Q6292807 Q129857 Q737533 Q2381189 Q158504 Q470978 Q6897746 Q8005725 Q2871482 Q81506 Q534683 Q178004 Q6376590 Q83159 Q1088180 Q19403561 Q177854 Q74936 Q7732 Q760909 Q5379610 Q201143 Q7738 Q152727 Q29179 Q57206 Q435501 Q593626 Q1399 Q102140 Q36620 Q16846394 Q1396340 Q378483 Q188346 Q101266 Q2542756 Q65933 Q167782 Q3524371 Q3132908 Q21529483 Q974863 Q691402 Q351339 Q334108 Q51056 Q53437 Q8743 Q378870 Q52927 Q8019995 Q452580 Q869981 Q19930898 Q86957 Q311879 Q15927253 Q2400568 Q60936 Q1542046 Q795117 Q434730 Q44361 Q7771 Q188971 Q343576 Q541300 Q316110 Q460215 Q3262230 Q3802446 Q18507655 Q77233 Q3817341 Q3766950 Q8474 Q131552 Q16011488 Q152229 Q213533 Q708011 Q134588 Q41919 Q436117 Q131706 Q65351 Q2565824 Q3048093 Q2271150 Q61307 Q715054 Q1414020 Q95563 Q349267 Q43107 Q128664 Q520493 Q10382335 Q171185 Q316654 Q1066012 Q1379797 Q157781 Q930796 Q1002546 Q3159990 Q222390 Q587283 Q450160 Q717289 Q149062 Q2149954 Q458688 Q6224954 Q1233361 Q783595 Q2483541 Q336580 Q3261400 Q168691 Q160353 Q2607550 Q969797 Q2714575 Q8008060 Q82823 Q8012806 Q5703335 Q24278767 Q3635399 Q105378 Q3048511 Q1377579 Q591851 Q3340239 Q102605 Q2644136 Q6138693 Q7526169 Q335667 Q1557363 Q540802 Q231764 Q5928444 Q346761 Q153586 Q2768005 Q338480 Q19837 Q590218 Q2935138 Q586063 Q267483 Q250732 Q2298732 Q298892 Q7324802 Q23691658 Q19853482 Q354309 Q16745596 Q1897093 Q62594 Q289104 Q104190 Q2551650 Q538960 Q740642 Q196055 Q111354 Q54022 Q1213943 Q26702 Q465269 Q366066 Q132692 Q19973598 Q36450 Q1048333 Q517 Q921075 Q53457 Q1527009 Q130734 Q711845 Q922667 Q1354579 Q395635 Q233224 Q321492 Q18572555 Q365823 Q37085 Q62673 Q971215 Q7343203 Q130834 Q1289992 Q336657 Q1385734 Q12971 Q3351435 Q6861922 Q692291 Q23647555 Q57180 Q170348 Q932200 Q20741624 Q80516 Q2389145 Q968484 Q215086 Q4889906 Q299675 Q704506 Q8597 Q731799 Q23688963 Q1405 Q969770 Q7259727 Q3742116 Q10975505 Q692189 Q127010 Q289149 Q187447 Q25690 Q729743 Q137934 Q329753 Q255809 Q47595
(c(Q1107656)|c(Q15850590),P88,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q1107656
action find_reverse_tuple_counts
relation P88
type Q502895
type Q15850590
[ANSWERS] commissioned min number of gardens and theatrical genres
[[{'concept': 'Q1107656'}, {'concept': 'Q15850590'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?g ) { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:Q1107656 ) ( ontology:Q15850590 ) } } GROUP BY ?d } } . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?c ) WHERE { VALUES ( ?x ) { ( ontology:Q15850590 ) ( ontology:Q1107656 ) } . ?r rdf:type ?x } GROUP BY ?o } . FILTER ( ?c = ?g ) }
Huey Long Metello Vari Pius VI James Pourtales-Gorgier Curzio Malaparte Friedrich Karl von Schönborn Julius Drewe John Johnson Pigello Portinari Sikandar Lodi Philip II of Spain Emperor Daozong of Liao Jean de Sedano Pierre Louis Jean Casimir de Blacas Junius Annius Bassus Cyrus the Great Cosimo de' Medici Cosimo I de' Medici, Grand Duke of Tuscany Ludwig Schneller Alfred Mosselman Charles X of France Krzysztof Wojciechowski Louis XVIII of France Charles III of Spain Francis Willoughby Robbie Ross John Banister Siegfried Bing Alof de Wignacourt Shah Jahan William Steinway Sunenphaa Charles de Beauvau, Prince of Beauvau Kunigunde of Bohemia George Howard, 9th Earl of Carlisle Tobias Rustat Leicester Stanhope, 5th Earl of Harrington Nebuchadnezzar II Jan Gildemeester John Petty, 2nd Marquess of Lansdowne Guidobaldo II della Rovere, Duke of Urbino Antoine Le Viste William Thompson Walters John Tayloe III Gustaf Carlberg William I of Württemberg Sixtus IV Romanos IV Diogenes Rodolphe d'Erlanger Bhupinder Singh of Patiala Charles II, Duke of Brunswick Leonidas Deligiorgis Albert Einstein Johan Sederholm Roger de Montgomerie, 1st Earl of Shrewsbury Francesco I d'Este, Duke of Modena Ernst von Stubenrauch Nicolae Crețulescu Thomas Gold Appleton Gheorghe Grigore Cantacuzino Frederick II, Holy Roman Emperor Georges Petit Jacques Bordier Ferdinand Mülhens Louis Philippe I, Duke of Orléans Willy Bleissem Edward Phelips Pierre-Hector Coullié Franz Joseph von Dietrichstein Urban IV Gábor Patachich Alessandro Scaglia Catharine Lorillard Wolfe Francesco I Gonzaga Claude-Marius Vaïsse Alva Belmont Ture Malmgren Wilhelm Jacob Wimpf Abu Yaqub Yusuf Jakob Heller Margaret of Burgundy, Dauphine of France Mariano Guadalupe Vallejo Constantijn Huygens Madame du Barry William IV of the United Kingdom William V, Duke of Bavaria Albert, Prince Consort Sophie de Marbois-Lebrun, Duchess of Plaisance John II of Glymes Anselm Franz, 2nd Prince of Thurn and Taxis Frederick III of Denmark Giorgio Contarini Bernward of Hildesheim George III of Great Britain Scipione Borghese Asdrubale Mattei Maximilian II Emanuel, Elector of Bavaria Christoph Franz von Hutten Camillo Borghese, 6th Prince of Sulmona Piero di Cosimo de' Medici Vespasian Bartolommeo Bandinelli Edward VII Étienne Chevalier Seiwa Charles Theodore, Elector of Bavaria George Moore Frederick II of Prussia William I of England Maximilian I, Holy Roman Emperor Ramesses II Giovanni della Casa Charles V André Le Nôtre Peter II, Duke of Brittany Benedek Himfy Girvan Yuddha Bikram Shah Deva John Thynne Pietro Paolo Castellani Mary Curzon, Baroness Curzon of Kedleston Pietro Aldobrandini Girolamo Savonarola Francis Hay, 9th Earl of Erroll Marie de' Medici William Bingham Sir Richard Wallace, 1st Baronet Louis Mantin Edward Woyniłłowicz Clement VI Charles de Rémusat Ferdinand Maria, Elector of Bavaria Giovanni Tornabuoni Ptolemy I Soter Elizabeth Sprague Coolidge Abu Inan Faris Queen Victoria Frederick William III of Prussia Ciriaco Mattei Victor Amadeus II of Sardinia Sergei Diaghilev Johannes Noviforensis Louis XIV of France Paolo Giovio Dittmar Finkler Rawal Jaisal Anatoly Nikolaievich Demidov, 1st Prince of San Donato Henry VIII Claude-François de Montboissier de Canillac de Beaufort Gregorio Correr Alice Claypoole Gwynne Suzanne Curchod Josef Neven DuMont Denis O'Brien Francesco Maria del Monte Sher Shah Suri Carlo Gesualdo Francesco del Giocondo Jonathan Tyers John D. Spreckels Ludovico Sforza Caroline Bonaparte Pieter van Ruijven Frederick Tatham Thomas Percy, 1st Earl of Worcester Thomas Burgh of Gainsborough Gediminas Mihailo Obrenović III Leo X Princess Margaret, Countess of Snowdon Woodbury Langdon Nicholas Girod Charles IV of Spain Abd al-Malik ibn Marwan Giuliano de' Medici Ralph de Cromwell, 3rd Baron Cromwell Larz Anderson Halil Şerif Paşa Philip V of Spain Phyllis Lambert Joachim Murat Wandalin Puslovsky Valdemar I of Denmark Nicholas III of Saint Omer Anatole Bartholoni Henry Percy, 5th Earl of Northumberland Walter Buller Meagan Good Ahmed I José Luis Munárriz Francis I of France Louis XIII of France James Beaton Clement of Ohrid Alaungpaya Mona von Bismarck William Borthwick, 1st Lord Borthwick Auguste de Morlhon Charles I of England Francesco Barberini Marcian Katheryn of Berain Clement VII Niccolò Ridolfi Alfons Mauser Lorenzo de' Medici William Hayley Louis XVI of France August Belmont, Jr. Enrico degli Scrovegni Anne of Brittany Louis XV of France Frederick William, Elector of Brandenburg Francisco Franco Maximilian I, Elector of Bavaria Federico da Montefeltro Isabella d'Este Niccolò Machiavelli Henry II of England Tycho Brahe Idia William Hastings, 1st Baron Hastings Taejo of Joseon Alfonso I d'Este, Duke of Ferrara Innocent X Odoardo Farnese Sophia Dorothea of Schleswig-Holstein-Sonderburg-Glücksburg Charles V of France Thierry Le Jeune Henry Le Tonnelier de Breteuil Atalanta Baglioni George Burt Philip IV of Spain Lincoln Kirstein John Ward, 1st Earl of Dudley Franz Joseph I of Austria Augustus II the Strong Thomas Edison Daniele Barbaro Charles XIV John of Sweden William Ward, 1st Earl of Dudley Vincenzo Gonzaga, Duke of Mantua Jakob Meyer zum Hasen Peter de Salis Johann Philipp Franz von Schönborn Herodes Atticus Maurice Aubry Nikolaas Rockox William IV, Duke of Bavaria Wilhelm Girardet Christian Louis de Montmorency-Luxembourg Gabriel García Moreno Ludwig I of Bavaria Louis Philippe I Jean-Baptiste Colbert Eugene Allen Gilmore Quintino Sella Manuel de Godoy, Prince of the Peace Charles I, Duke of Savoy Louis Phélypeaux, marquis de La Vrillière Iseppo da Porto John Pratt Frederick III, Elector of Saxony Taddeo Barberini Giovanni Carandente Suleiman the Magnificent Catherine of Medici Charles Marcotte d'Argenteuil Frederick William II of Prussia Karl August, Grand Duke of Saxe-Weimar-Eisenach Jean-Antoine Chaptal Nicholas V George Frederick, Margrave of Brandenburg-Ansbach Redfield Proctor, Jr. Maria Theresa of Austria Paul Cassirer Cees van der Leeuw Edmund Dummer Louis-Joseph Papineau Ulla Schmidt Borso d'Este, Duke of Ferrara Filippo di Piero Strozzi Johann Schweikhard von Kronberg Uda Diocletian Wilfrid Laurier Michael Tilson Thomas Tiago Gregório Homem da Costa Noronha Ivan III of Russia Emperor Saga Charles Saatchi Leonello d'Este, Marquis of Ferrara Christian VIII of Denmark Jean Le Maingre Margaret of Foix Jacques Seligmann David Garrick Antoine de Paule Marjorie Merriweather Post Claude-Philibert Barthelot, comte de Rambuteau Samuel Morton Peto Antonius Triest Prince Ferdinand Philippe, Duke of Orléans John Campbell, 1st Baron Cawdor Jean-François Cail Diego Gelmírez Giovanni Michiel Gerald Grosvenor, 6th Duke of Westminster Louis Raphaël Cahen d'Anvers Victor Emmanuel II of Savoy Theodosius II Aleksander Michał Sapieha Guidobaldo da Montefeltro Rana Bahadur Shah William Duff, 1st Earl Fife Johan Frederik Classen William Imrie Helen Vincent, Viscountess D'Abernon Jacob Trip Bartolomeo Panciatichi Henry the Lion Edward Francis Hutton Konstantin von Kaufman Ralph von Merle Nicolas de Launay Paul II Pieter van Os James Mackay, 1st Earl of Inchcape Sir Charles Asgill, 1st Baronet Henry Bathurst, 2nd Earl Bathurst Herbert W. Liaunig Frederick III, Prince of Salm-Kyrburg Sophie Amalie of Brunswick-Lüneburg Robert John Thornton John, Duke of Berry Christian IV of Denmark Mahmud Begada Nicolas Rolin Steve Jobs Ferenc Esterházy Camillo Francesco Maria Pamphili Antoine-Adolphe Dupuch Catherine of Brandenburg-Küstrin John Linnell Sante Bentivoglio Philip the Bold Richard Clough Elizabeth Ilive Anna van Ewsum William Cecil, 1st Baron Burghley Jacopo Pesaro Marie-Alain Couturier Charles III Philip, Elector Palatine Piero Soderini Robert Walpole Alberto d'Este, Marquis of Ferrara Tommaso dei Cavalieri Nicolas de Neufville de Villeroy Edward James August Julius Albert Borsig Stanisław Leszczyński Karl Heinrich von Hornstein Cardinal Richelieu Uluç Ali Reis John Flaxman Gregory XV Gubert Abraham von Salis Catherine II of Russia Cassiano dal Pozzo Napoleon René de Birague Casimir III the Great Albert von Bardewik Nicholas I of Russia Marcantonio Barbaro James Mayer de Rothschild Kazimierz Leon Sapieha Agostino Chigi Gemmei John Maurice, Prince of Nassau-Siegen Charles Ireland Adolphe Stoclet Solomon Klaus von Dohnanyi Catulle Mendès Robert Cromek Francis I of Austria Chavundaraya Alexander Hamilton, 10th Duke of Hamilton Francesco Pisani Leopold I Olivier Voutier Nicholas II of Saint Omer Charles I, Duke of Bourbon Thomas Butts Frederick William IV of Prussia Paul Wittgenstein Federico II Gonzaga, Duke of Mantua Vincenzo Natoli Julius II Bogdan Petriceicu Hasdeu Mikołaj Krzysztof "the Orphan" Radziwiłł Clemens August of Bavaria Benno C. Schmidt, Jr. Francesco I de' Medici, Grand Duke of Tuscany Michał Kazimierz Ogiński Akbar Giovanni Ricci Joseph Thomas Augustus Ludovico III Gonzaga, Marquis of Mantua Pulteney Malcolm Felice Brancacci Li Yuanying Guillaume de Menthonay Sir Thomas Metcalfe, 4th Baronet Étienne François, duc de Choiseul Pablo Escobar John Russell, 6th Duke of Bedford Georges d'Amboise Abbot Suger Daigo Roxelana Alfonso X of Castile
Albert Einstein, Napoleon and Emperor Saga commissioned min number of gardens and theatrical genres
Albert Einstein Napoleon Emperor Saga
action argmin
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type garden
action find_reverse_tuple_counts
relation commissioned by
type common name
type theatrical genre
[[{'concept': 'garden'}, {'concept': 'theatrical genre'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?g ) { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?i ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:garden ) ( ontology:theatrical_genre ) } } GROUP BY ?d } } . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?c ) WHERE { VALUES ( ?x ) { ( ontology:theatrical_genre ) ( ontology:garden ) } . ?r rdf:type ?x } GROUP BY ?o } . FILTER ( ?c = ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q230238
P25
Q502895
USER
Who was the mother of Astrid of Sweden ?
(Q230238,P25,c(Q502895))
action filter_type
action find
entity Q230238
relation P25
type Q502895
['Q230238', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q230238 property:P25 ?w . ?w rdf:type ontology:Q502895 }
Astrid of Sweden
action filter_type
action find
entity Astrid of Sweden
relation mother
type common name
['Astrid of Sweden', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Astrid_of_Sweden property:mother ?w . ?w rdf:type ontology:common_name }
[]
common name
Q234033
SYSTEM
Princess Ingeborg of Denmark
Q234033
(Q230238,P25,c(Q502895))
action filter_type
action find
entity Q230238
relation P25
type Q502895
The mother of Astrid of Sweden was the [ANSWER]
['Q230238', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q230238 property:P25 ?w . ?w rdf:type ontology:Q502895 }
Princess Ingeborg of Denmark
The mother of Astrid of Sweden was the Princess Ingeborg of Denmark
Princess Ingeborg of Denmark
action filter_type
action find
entity Astrid of Sweden
relation mother
type common name
['Astrid of Sweden', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Astrid_of_Sweden property:mother ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q234033
P9
Q502895
USER
Which people have that one as their sibling ?
(c(Q502895),P9,Q234033)
action filter_type
action find_reverse
entity Q234033
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q234033']
SELECT DISTINCT ?c WHERE { ?c property:P9 resource:Q234033 . ?c rdf:type ontology:Q502895 }
Princess Ingeborg of Denmark
action filter_type
action find_reverse
entity Princess Ingeborg of Denmark
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Princess Ingeborg of Denmark']
SELECT DISTINCT ?c WHERE { ?c property:sister resource:Princess_Ingeborg_of_Denmark . ?c rdf:type ontology:common_name }
[]
common name
Q154927 Q156617 Q1799886
SYSTEM
Haakon VII of Norway, Christian X of Denmark, Prince Harald of Denmark
Q619062 Q1799886 Q972656 Q2305942 Q156617 Q154927 Q701099
(c(Q502895),P9,Q234033)
action filter_type
action find_reverse
entity Q234033
relation P9
type Q502895
[ANSWERS] have that one as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q234033']
SELECT DISTINCT ?c WHERE { ?c property:P9 resource:Q234033 . ?c rdf:type ontology:Q502895 }
Princess Thyra of Denmark Prince Harald of Denmark Princess Dagmar of Denmark Princess Louise of Denmark Christian X of Denmark Haakon VII of Norway Prince Gustav of Denmark
Haakon VII of Norway, Christian X of Denmark and Prince Harald of Denmark have that one as their sibling
Haakon VII of Norway Christian X of Denmark Prince Harald of Denmark
action filter_type
action find_reverse
entity Princess Ingeborg of Denmark
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Princess Ingeborg of Denmark']
SELECT DISTINCT ?c WHERE { ?c property:sister resource:Princess_Ingeborg_of_Denmark . ?c rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1799886
P40
Q502895
USER
Who have that one as a child ?
(c(Q502895),P40,Q1799886)
action filter_type
action find_reverse
entity Q1799886
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1799886']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q1799886 . ?c rdf:type ontology:Q502895 }
Prince Harald of Denmark
action filter_type
action find_reverse
entity Prince Harald of Denmark
relation child
type common name
[{'concept': 'common name'}, 'child', 'Prince Harald of Denmark']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Prince_Harald_of_Denmark . ?c rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1799886
SYSTEM
Did you mean Prince Harald of Denmark ?
Q154927 Q156617 Q1799886
(c(Q502895),P40,Q154927) (c(Q502895),P40,Q156617) (c(Q502895),P40,Q1799886)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q154927'] [{'concept': 'Q502895'}, 'P40', 'Q156617'] [{'concept': 'Q502895'}, 'P40', 'Q1799886']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q1799886 . ?c rdf:type ontology:Q502895 }
Haakon VII of Norway Christian X of Denmark Prince Harald of Denmark
Did you mean Prince Harald of Denmark ?
Prince Harald of Denmark
[{'concept': 'common name'}, 'child', 'Haakon VII of Norway'] [{'concept': 'common name'}, 'child', 'Christian X of Denmark'] [{'concept': 'common name'}, 'child', 'Prince Harald of Denmark']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Prince_Harald_of_Denmark . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P40,Q1799886)
[{'concept': 'Q502895'}, 'P40', 'Q1799886']
[{'concept': 'common name'}, 'child', 'Prince Harald of Denmark']
[]
Q152756 Q232402
SYSTEM
Frederick VIII of Denmark, Louise of Sweden
Q152756 Q232402
(c(Q502895),P40,Q1799886)
action filter_type
action find_reverse
entity Q1799886
relation P40
type Q502895
[ANSWERS] have that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q1799886']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q1799886 . ?c rdf:type ontology:Q502895 }
Frederick VIII of Denmark Louise of Sweden
Frederick VIII of Denmark and Louise of Sweden have that one as a child
Frederick VIII of Denmark Louise of Sweden
action filter_type
action find_reverse
entity Prince Harald of Denmark
relation child
type common name
[{'concept': 'common name'}, 'child', 'Prince Harald of Denmark']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Prince_Harald_of_Denmark . ?c rdf:type ontology:common_name }
[]