Simple Question (Direct)
Simple Question
Q4979210
P106
Q12737077
USER
What is the job of Bruno Fontes da Mota ?
(Q4979210,P106,c(Q12737077))
action filter_type
action find
entity Q4979210
relation P106
type Q12737077
['Q4979210', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q4979210 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Bruno Fontes da Mota
action filter_type
action find
entity Bruno Fontes da Mota
relation occupation
type occupation
['Bruno Fontes da Mota', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Bruno_Fontes_da_Mota property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4979210,P106,c(Q12737077))
action filter_type
action find
entity Q4979210
relation P106
type Q12737077
The job of Bruno Fontes da Mota is an [ANSWER]
['Q4979210', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q4979210 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
association football player
The job of Bruno Fontes da Mota is an association football player
association football player
action filter_type
action find
entity Bruno Fontes da Mota
relation occupation
type occupation
['Bruno Fontes da Mota', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Bruno_Fontes_da_Mota property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4979210
P641
Q349
USER
Which sport was that person a part of ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q4979210
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q4979210 property:P641 ?e . ?e rdf:type ontology:Q349 }
Bruno Fontes da Mota
action filter_type
action find
entity Bruno Fontes da Mota
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Bruno_Fontes_da_Mota property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q4979210
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q4979210 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Bruno Fontes da Mota
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Bruno_Fontes_da_Mota property:sport ?e . ?e rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q44248
P417
Q502895 Q12737077
USER
Which people are the patron saint of approximately the same number of occupations as Jerome ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q44248
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Q44248 property:P417 ?d . ?d rdf:type ontology:Q502895 } } . FILTER ( ?i = ?w ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:P417 ?b . ?b rdf:type ontology:Q502895 . ?z rdf:type ontology:Q12737077 } GROUP BY ?b } }
Jerome
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Jerome
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Jerome property:patron_saint ?d . ?d rdf:type ontology:common_name } } . FILTER ( ?i = ?w ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:patron_saint ?b . ?b rdf:type ontology:common_name . ?z rdf:type ontology:occupation } GROUP BY ?b } }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q44248
relation P417
type Q502895
[ANSWERS] are the patron saint of approximately the same number of occupations as Jerome
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Q44248 property:P417 ?d . ?d rdf:type ontology:Q502895 } } . FILTER ( ?i = ?w ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:P417 ?b . ?b rdf:type ontology:Q502895 . ?z rdf:type ontology:Q12737077 } GROUP BY ?b } }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
Isidore of Seville, Catherine of Siena and Jerome are the patron saint of approximately the same number of occupations as Jerome
Isidore of Seville Catherine of Siena Jerome
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Jerome
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Jerome property:patron_saint ?d . ?d rdf:type ontology:common_name } } . FILTER ( ?i = ?w ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:patron_saint ?b . ?b rdf:type ontology:common_name . ?z rdf:type ontology:occupation } GROUP BY ?b } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q170164
P417
Q502895 Q12737077
USER
And also tell me about Helena of Constantinople?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q170164
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:P417 ?f . ?f rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l rdf:type ontology:Q502895 . resource:Q170164 property:P417 ?l } } . FILTER ( ?r = ?c ) }
Helena of Constantinople
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Helena of Constantinople
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:patron_saint ?f . ?f rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l rdf:type ontology:common_name . resource:Helena_of_Constantinople property:patron_saint ?l } } . FILTER ( ?r = ?c ) }
[]
common name occupation
Q9438 Q60059 Q44281
SYSTEM
Thomas Aquinas, Albertus Magnus, Ignatius of Loyola
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q170164
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:P417 ?f . ?f rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l rdf:type ontology:Q502895 . resource:Q170164 property:P417 ?l } } . FILTER ( ?r = ?c ) }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
Thomas Aquinas Albertus Magnus Ignatius of Loyola
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Helena of Constantinople
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:patron_saint ?f . ?f rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l rdf:type ontology:common_name . resource:Helena_of_Constantinople property:patron_saint ?l } } . FILTER ( ?r = ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q44269 Q229190
P138
Q16970
USER
Which churches are named after Catherine of Siena or Saint Nicholas ?
OR((c(Q16970),P138,Q229190), (c(Q16970),P138,Q44269))
action filter_type
action union
action find_reverse
entity Q229190
relation P138
action find_reverse
entity Q44269
relation P138
type Q16970
{'OR': [[{'concept': 'Q16970'}, 'P138', 'Q229190'], [{'concept': 'Q16970'}, 'P138', 'Q44269']]}
SELECT DISTINCT ?e WHERE { { ?e property:P138 ?a . VALUES ( ?a ) { ( resource:Q229190 ) ( resource:Q44269 ) } } . ?e rdf:type ontology:Q16970 }
Saint Nicholas Catherine of Siena
action filter_type
action union
action find_reverse
entity Catherine of Siena
relation named after
action find_reverse
entity Saint Nicholas
relation named after
type church
{'OR': [[{'concept': 'church'}, 'named after', 'Catherine of Siena'], [{'concept': 'church'}, 'named after', 'Saint Nicholas']]}
SELECT DISTINCT ?e WHERE { { ?e property:named_after ?a . VALUES ( ?a ) { ( resource:Catherine_of_Siena ) ( resource:Saint_Nicholas ) } } . ?e rdf:type ontology:church }
[]
church
Q18631033 Q535980 Q1234917 Q1736196 Q1736186 Q680931 Q749677 Q829483 Q18028079 Q3790872
SYSTEM
Some of them are St. Nikolaus, Saint Nicholas Concathedral, Saint Nicholas Orthodox church in Almaty, San Nicola di Bari Cathedral, Cathedral of Our Lady Assumed into Heaven and St Nicholas, Galway, Fribourg Cathedral, Noto Cathedral, Budeşti Josani church, St. Nikolaus, Cathedral of Saint Nicholas
Q1907145 Q872119 Q513023 Q2082710 Q1736200 Q1236564 Q749677 Q3790872 Q1736186 Q21281696 Q2083128 Q18028081 Q18028083 Q1133075 Q18202199 Q2942405 Q829483 Q541202 Q694286 Q2322036 Q17592516 Q18028079 Q17592514 Q276553 Q18683481 Q5429578 Q17592519 Q680931 Q738015 Q3916007 Q18631034 Q18631035 Q1736196 Q18631033 Q17251222 Q16855655 Q1637128 Q1234917 Q535980 Q474599 Q324769 Q3585407
OR((c(Q16970),P138,Q229190), (c(Q16970),P138,Q44269))
action filter_type
action union
action find_reverse
entity Q229190
relation P138
action find_reverse
entity Q44269
relation P138
type Q16970
[ANSWERS] are named after Catherine of Siena or Saint Nicholas
{'OR': [[{'concept': 'Q16970'}, 'P138', 'Q229190'], [{'concept': 'Q16970'}, 'P138', 'Q44269']]}
SELECT DISTINCT ?e WHERE { { ?e property:P138 ?a . VALUES ( ?a ) { ( resource:Q229190 ) ( resource:Q44269 ) } } . ?e rdf:type ontology:Q16970 }
St. Nicholas Roman Catholic Cathedral, Kiev Saint Nicholas church Feldkirch Cathedral of Trani St. Nicholas' Church, Inzersdorf Newcastle Cathedral Ljubljana Cathedral Noto Cathedral Cathedral of Saint Nicholas Cathedral of Our Lady Assumed into Heaven and St Nicholas, Galway Nicolai Church Pfarrkirche St. Nikolaus St. Nikolaus St. Nikolaus Storkyrkan St. Nikolaus Concatedral de San Nicolás, Alicante Budeşti Josani church Saint Nicholas Cathedral St. Nicholas Church, Leipzig St. Nikolaus in Königsfeld St. Nikolaus St. Nikolaus St. Nikolaus Boyana Church Pfarrkirche (Großebersdorf) Novo Mesto Cathedral St. Nikolaus Fribourg Cathedral Helsinki Cathedral Lübeck Cathedral St. Nikolaus St. Nikolaus San Nicola di Bari Cathedral St. Nikolaus St. Nikolaus (Warching) Saint Nicholas parish church St. Nicholas Naval Cathedral, St. Petersburg Saint Nicholas Orthodox church in Almaty Saint Nicholas Concathedral Juditten Church Russian church Santa Caterina da Siena a Via Giulia
St. Nikolaus, Saint Nicholas Concathedral, Saint Nicholas Orthodox church in Almaty, San Nicola di Bari Cathedral, Cathedral of Our Lady Assumed into Heaven and St Nicholas, Galway, Fribourg Cathedral, Noto Cathedral, Budeşti Josani church, St. Nikolaus and Cathedral of Saint Nicholas are named after Catherine of Siena or Saint Nicholas
St. Nikolaus Saint Nicholas Concathedral Saint Nicholas Orthodox church in Almaty San Nicola di Bari Cathedral Cathedral of Our Lady Assumed into Heaven and St Nicholas, Galway Fribourg Cathedral Noto Cathedral Budeşti Josani church St. Nikolaus Cathedral of Saint Nicholas
action filter_type
action union
action find_reverse
entity Catherine of Siena
relation named after
action find_reverse
entity Saint Nicholas
relation named after
type church
{'OR': [[{'concept': 'church'}, 'named after', 'Catherine of Siena'], [{'concept': 'church'}, 'named after', 'Saint Nicholas']]}
SELECT DISTINCT ?e WHERE { { ?e property:named_after ?a . VALUES ( ?a ) { ( resource:Catherine_of_Siena ) ( resource:Saint_Nicholas ) } } . ?e rdf:type ontology:church }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12354006
P417
Q1445650 Q502895 Q16970
USER
How many churches have adopted approximately the same number of holidays or people as their patron saint as Saint Emeric Church in Badacsonytomaj ?
(c(Q16970),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q16970
type Q1445650
action find_tuple_counts
relation P417
type Q16970
type Q502895
action count
action filter_multi_types
action find
entity Q12354006
relation P417
type Q1445650
type Q502895
[{'concept': 'Q16970'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?g ) WHERE { VALUES ( ?t ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?a rdf:type ?t } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q12354006 property:P417 ?w . { VALUES ( ?n ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?w rdf:type ?n } } } . FILTER ( ?g = ?x ) }
Saint Emeric Church in Badacsonytomaj
action count
action approx
action union
action find_tuple_counts
relation patron saint
type church
type holiday
action find_tuple_counts
relation patron saint
type church
type common name
action count
action filter_multi_types
action find
entity Saint Emeric Church in Badacsonytomaj
relation patron saint
type holiday
type common name
[{'concept': 'church'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?g ) WHERE { VALUES ( ?t ) { ( ontology:holiday ) ( ontology:common_name ) } . ?a rdf:type ?t } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Saint_Emeric_Church_in_Badacsonytomaj property:patron_saint ?w . { VALUES ( ?n ) { ( ontology:holiday ) ( ontology:common_name ) } . ?w rdf:type ?n } } } . FILTER ( ?g = ?x ) }
[]
holiday common name church
SYSTEM
147
Q2942927 Q18288367 Q569428 Q22720 Q17592509 Q17592467 Q1160413 Q2617274 Q18011474 Q1086358 Q12354023 Q20478672 Q1296233 Q19309758 Q17592514 Q20478415 Q17592510 Q641447 Q2088363 Q20479842 Q568214 Q770458 Q638519 Q279402 Q3670118 Q12354030 Q18202203 Q18028099 Q1736160 Q693869 Q12350456 Q715099 Q1450280 Q17496222 Q21189410 Q31204 Q2225340 Q184407 Q1124051 Q20478883 Q1048587 Q1493222 Q3790872 Q20478966 Q17278606 Q19364191 Q43282 Q18202199 Q18287950 Q17662962 Q464437 Q20479643 Q26907430 Q739366 Q207985 Q20478555 Q1758749 Q852606 Q2561189 Q17662892 Q338665 Q1296368 Q2942510 Q14943786 Q26935191 Q408847 Q17614328 Q94744 Q20478524 Q666960 Q17561181 Q1415669 Q18028045 Q18028044 Q21525871 Q1062101 Q586471 Q11737349 Q987211 Q1107406 Q1603677 Q937290 Q1107408 Q20479897 Q12354066 Q2091893 Q2411716 Q764251 Q2942772 Q20478584 Q20067763 Q654904 Q18333522 Q20480580 Q20479807 Q1774485 Q22691575 Q20479888 Q18130877 Q17614265 Q12354072 Q1236564 Q603289 Q2668017 Q23365744 Q489014 Q906753 Q18515916 Q1037844 Q18286751 Q3395146 Q20436021 Q1296408 Q20479978 Q1636756 Q20480060 Q5949 Q12354009 Q12354008 Q2737833 Q5943 Q12354006 Q2268666 Q17278642 Q5429578 Q19984103 Q167017 Q18028079 Q573881 Q20439328 Q17278662 Q910211 Q19799294 Q1499188 Q12786853 Q2942303 Q17606582 Q1076146 Q17592485 Q17592482 Q12354014 Q18155878 Q17592489 Q20480107 Q634112 Q12345556 Q12097186
(c(Q16970),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q16970
type Q1445650
action find_tuple_counts
relation P417
type Q16970
type Q502895
action count
action filter_multi_types
action find
entity Q12354006
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q16970'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?g ) WHERE { VALUES ( ?t ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?a rdf:type ?t } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q12354006 property:P417 ?w . { VALUES ( ?n ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?w rdf:type ?n } } } . FILTER ( ?g = ?x ) }
Saint Stefan Cathedral St. Martin St. Elisabeth Cathedral Speyer Cathedral St. Martin St. Antonius Abbey church of St James (Lébény) Maribor Cathedral Klein St. Arnold (Arnoldsweiler) St. Rumbold's Cathedral Roman Catholic Church in Kőszegdoroszló Saint Lawrence church in Pásztó Saint Anne Church St. Martin (Trier) St. Nikolaus Saint John the Baptist church in Szár St. Martin St. George's Cathedral, Addis Ababa St. Stephen's Cathedral, Litoměřice Saint Joseph Church, Békásmegyer-Ófalu Alexander Nevsky Cathedral, Tallinn Alexander Nevsky Cathedral Wawel Cathedral Brunswick Cathedral Church of St. Francis Xavier in Garbatella Saint Martin Church in Ólmod St. Mauritius St. Vitus St. Francis Xavier Cathedral Augustinian Church Saint Roch Church Abbey church of St George (Ják) St. Catherine's Cathedral, Alexandria Saint John the Baptist church in Balatonederics Saint Francis of Assisi Church, Szendrő St. Henry's Cathedral St Clement's Church, Moscow Saint Denis Basilica Cathedral of St. Bartholomew Saint Stephen of Hungary church in Újpest-Kertváros St. John the Baptist Cathedral Alexander Nevsky Cathedral, Paris Cathedral of Saint Nicholas Our Lady Church, Tapolca Roman Catholic Church in Bük Our Lady Church, Pilisvörösvár Alexander Nevsky Cathedral St. Nikolaus St. Margareta St. Agatha (Mersch) Alexander Nevsky Memorial Church Saint Elizabeth of Hungary Church, Alsó-Víziváros St Ninian's Cathedral Cathedral of Saint Lawrence Bourges Cathedral Saint Anne church in Kapuvár Church of St. Clement of Ohrid Saint Paul Church (Bač) Agde Cathedral St. Martinus (Kirchberg) St. Stephen's Basilica Saint Ignatius of Loyola Church, Esztergom-Víziváros St Teresa of Avila Cathedral St. Josef Saint Joseph Cathedral Karlskirche St. Martinus (Stetternich) Albi Cathedral Saint Lawrence Church in Szentlőrinc Mainz Cathedral St. Martin Vác Cathedral St. Gereon St. Gereon collégiale Saint-Georges de Vendôme St. George's Cathedral Meaux Cathedral Cathedral of Martin of Tours, Mukacheve Dömötör Tower Castle church in Szentendre Alexander Nevsky Cathedral, Yalta St. Anne's Church, Vilnius Saint John the Baptist Church, Felsőszölnök Saint Ladislaus Church in Aszófő Saint Nicholas Church in Csepreg Alexander Nevsky Cathedral Rio de Janeiro Cathedral Church of Annunciation, Alsószölnök Cathedral of Saint-Jérôme Saint Francis of Assisi church in Vértesboglár Saint Martin church St. James's Cathedral, Riga St. Dionysius Saint Lawrence Church, Nagylózs Saint Anthony of Padua Church in Nemesgulács St. George's Cathedral, Lviv Saint Anne Church, Rátka Saint Ladislaus Church, Aszaló Pfarrkirche St. Martin (Aldenhoven) St. Stephanus (Selgersdorf) Saint Roch Church (Szigetvár) Ljubljana Cathedral Alexander Nevsky Cathedral, Novosibirsk St. Alexander Nevsky Church Church of the Annunciation in Marcali Sens Cathedral Saint Stephen of Hungary Church, Diósgyőr-Vasgyár St. Martin's Parish Church Saint Martin Church (Hollókő) St. Ursula Cathedral of St. John the Baptist St.Stephen King of Hungary Church Chicago Saint Stephen Church in Makó Saint Nicholas Church, Kerkaszentmiklós, Tornyiszentmiklós Chesme Church Saint Stephen of Hungary Church (Fajsz) St. Vitus Cathedral Saint Emeric Cistercian Church in Budapest 11 Saint Emeric Church in Hajós Toulouse Cathedral St. Stephen's Cathedral Saint Emeric Church in Badacsonytomaj Saint Wenceslas Cathedral All Saints Church in Kőszegszerdahely Novo Mesto Cathedral Saint Martin Church (Balatonudvari) Alexander Nevsky Cathedral, Belgrade St. Nikolaus Basilica of San Lorenzo Saint Emeric Church, Tóváros, Tata Saint Giles Church in Peresznye Wrocław Cathedral Saint Stephen of Hungary Church, Passaic, New Jersey Catania Cathedral St. Bartholomew's Parish Church Cathedral of Saint Anthony of Padua Saint Pancratius Church (Bettenhoven) Cathedral of St Nicholas, České Budějovice St. Jakobus St. Gereon Saint Ignatius of Loyola Church and jesuit monastery in Vörösberény (Balatonalmádi) Saint John the Baptist Church (Siersdorf) St. Johann Baptist Our Lady church in Nagytétény Church of Saint Lazarus, Larnaca Our Lady Basilica, Máriabesnyő Saint Anne Rotuna, Horiany
147
action count
action approx
action union
action find_tuple_counts
relation patron saint
type church
type holiday
action find_tuple_counts
relation patron saint
type church
type common name
action count
action filter_multi_types
action find
entity Saint Emeric Church in Badacsonytomaj
relation patron saint
type holiday
type common name
[{'concept': 'church'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?g ) WHERE { VALUES ( ?t ) { ( ontology:holiday ) ( ontology:common_name ) } . ?a rdf:type ?t } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Saint_Emeric_Church_in_Badacsonytomaj property:patron_saint ?w . { VALUES ( ?n ) { ( ontology:holiday ) ( ontology:common_name ) } . ?w rdf:type ?n } } } . FILTER ( ?g = ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1253424
P417
Q1445650 Q502895 Q16970
USER
And how about Saint Michael Church in Zalaszentmihályfa?
(c(Q16970),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q16970
type Q1445650
action find_tuple_counts
relation P417
type Q16970
type Q502895
action count
action filter_multi_types
action find
entity Q1253424
relation P417
type Q1445650
type Q502895
[{'concept': 'Q16970'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { FILTER ( ?h = ?q ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:Q1445650 } UNION { ?k rdf:type ontology:Q502895 } } . resource:Q1253424 property:P417 ?k } } . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?h ) WHERE { { ?c property:P417 ?y . ?c rdf:type ontology:Q16970 . ?y rdf:type ontology:Q1445650 } UNION { ?c property:P417 ?y . ?c rdf:type ontology:Q16970 . ?y rdf:type ontology:Q502895 } } GROUP BY ?c } }
Saint Michael Church in Zalaszentmihályfa
action count
action approx
action union
action find_tuple_counts
relation patron saint
type church
type holiday
action find_tuple_counts
relation patron saint
type church
type common name
action count
action filter_multi_types
action find
entity Saint Michael Church in Zalaszentmihályfa
relation patron saint
type holiday
type common name
[{'concept': 'church'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { FILTER ( ?h = ?q ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:holiday } UNION { ?k rdf:type ontology:common_name } } . resource:Saint_Michael_Church_in_Zalaszentmihályfa property:patron_saint ?k } } . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?h ) WHERE { { ?c property:patron_saint ?y . ?c rdf:type ontology:church . ?y rdf:type ontology:holiday } UNION { ?c property:patron_saint ?y . ?c rdf:type ontology:church . ?y rdf:type ontology:common_name } } GROUP BY ?c } }
[]
holiday common name church
SYSTEM
67
Q16540837 Q12354080 Q583323 Q2088381 Q20480002 Q12354026 Q1295423 Q1031577 Q644568 Q19758780 Q17592516 Q1129045 Q17622249 Q20479759 Q1296618 Q8342804 Q20478480 Q5052324 Q463335 Q1253429 Q27058320 Q17662848 Q1736223 Q1253424 Q20480023 Q18572668 Q1296609 Q5901 Q956163 Q18889320 Q1256753 Q12354049 Q1138070 Q12030291 Q12815039 Q1462247 Q12354100 Q1105556 Q1252482 Q17488072 Q12354056 Q20478448 Q20479715 Q18028049 Q167231 Q17662745 Q248589 Q12354061 Q18365745 Q12354083 Q7918986 Q1736175 Q12030415 Q21702839 Q1296945 Q167193 Q855383 Q12722107 Q17496595 Q20478514 Q12354054 Q20478798 Q18071788 Q18216785 Q158324 Q16365771 Q154215
(c(Q16970),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q16970
type Q1445650
action find_tuple_counts
relation P417
type Q16970
type Q502895
action count
action filter_multi_types
action find
entity Q1253424
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q16970'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { FILTER ( ?h = ?q ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:Q1445650 } UNION { ?k rdf:type ontology:Q502895 } } . resource:Q1253424 property:P417 ?k } } . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?h ) WHERE { { ?c property:P417 ?y . ?c rdf:type ontology:Q16970 . ?y rdf:type ontology:Q1445650 } UNION { ?c property:P417 ?y . ?c rdf:type ontology:Q16970 . ?y rdf:type ontology:Q502895 } } GROUP BY ?c } }
Church of the Visitation in Újlak Holy Trinity Church, Bősárkány Cathedral of the Visitation Notre Dame d'Afrique Church of the Holy Spirit Hévíz Church of the Nativity of the Virgin Mary, Csepel Franciscan Church, Szeged-Alsóváros Church of the Nativity of the Virgin Mary in Görcsöny Holy Cross Church in Berhida Church of the Nativity of the Virgin Mary (Jászapáti) St. Nikolaus Polish church in Kőbánya St. Rochus (Jülich) Church of the Nativity of the Virgin Mary (Kiskunmajsa) Saint Michael Church, Tar Cathedral Basilica of the Sacred Heart, Newark, New Jersey Our Lady of the Snow church in Nagykökényes cathedral of Our Lady of Fatima University Church of St Mary the Virgin (Budapest) Holy Cross Church (Klárafalva) Our Lady of the Stone Church (Kaszásdűlő) St. Philippus und Jakobus (Güsten) Soissons Cathedral Saint Michael Church in Zalaszentmihályfa Holy Trinity Church, Törökszentmiklós St. Mary Church Saint Michael Church, Hegykő Cathedral of Our Lady Ss. Cyril and Methodius Cathedral Sacred Heart Basilica, Zagreb Medieval church in Kővágószőlős Exaltation of the Holy Cross Church,  Bácsalmás Coventry Cathedral Church of St. Michael the Archangel Holy Trinity Church in Káposztásmegyer Our Lady of Hungary Church, Szolnok Church of the Visitation, Adony Sacred Heart Church, Domony Our Lady of Hungary Church, Rákospalota St. Michael (Kelz) Exaltation of the Holy Cross Church (Tata) Sacred Heart Church, Csorna Christ the King Church (Naszály) St. Hubertus St. Mary's Cathedral St. Philippus und Jakobus (Broich) St. Michael's Cathedral Saint Michael church in Babót Saint Servatius Church (Kückhoven) Holy Trinity Church (Kocs) Cathedral of the Holy Spirit Carcassonne Cathedral Church of the Visitation of Our Lady Category:Mary Magdalene Church in Felsőörs Holy Trinity Church, Aszód Frauenkirche Greek Catholic Cathedral in Búza Square Wooden church in Bunești, Hunedoara Holy Trinity Church (Kapolcs) Our Lady of Good Counsel Church in Alpár Roman Catholic church and Esterházy Mausoleum in Nagyganna, Ganna Holy Trinity church in Mihályi Christ the King church in Balatonfüred Baclayon Church St. Michael's Church St. Mariä Himmelfahrt Saint Peter in Chains Cathedral
67
action count
action approx
action union
action find_tuple_counts
relation patron saint
type church
type holiday
action find_tuple_counts
relation patron saint
type church
type common name
action count
action filter_multi_types
action find
entity Saint Michael Church in Zalaszentmihályfa
relation patron saint
type holiday
type common name
[{'concept': 'church'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { FILTER ( ?h = ?q ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:holiday } UNION { ?k rdf:type ontology:common_name } } . resource:Saint_Michael_Church_in_Zalaszentmihályfa property:patron_saint ?k } } . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?h ) WHERE { { ?c property:patron_saint ?y . ?c rdf:type ontology:church . ?y rdf:type ontology:holiday } UNION { ?c property:patron_saint ?y . ?c rdf:type ontology:church . ?y rdf:type ontology:common_name } } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3790872
P1435
Q2065736
USER
Which cultural property represents the heritage status given to Cathedral of Saint Nicholas ?
(Q3790872,P1435,c(Q2065736))
action filter_type
action find
entity Q3790872
relation P1435
type Q2065736
['Q3790872', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?s WHERE { resource:Q3790872 property:P1435 ?s . ?s rdf:type ontology:Q2065736 }
Cathedral of Saint Nicholas
action filter_type
action find
entity Cathedral of Saint Nicholas
relation heritage status
type cultural property
['Cathedral of Saint Nicholas', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?s WHERE { resource:Cathedral_of_Saint_Nicholas property:heritage_status ?s . ?s rdf:type ontology:cultural_property }
[]
cultural property
Q18363639
SYSTEM
monument of local significance
Q18363639
(Q3790872,P1435,c(Q2065736))
action filter_type
action find
entity Q3790872
relation P1435
type Q2065736
As [ANSWER] represents the heritage status given to Cathedral of Saint Nicholas
['Q3790872', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?s WHERE { resource:Q3790872 property:P1435 ?s . ?s rdf:type ontology:Q2065736 }
monument of local significance
As monument of local significance represents the heritage status given to Cathedral of Saint Nicholas
monument of local significance
action filter_type
action find
entity Cathedral of Saint Nicholas
relation heritage status
type cultural property
['Cathedral of Saint Nicholas', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?s WHERE { resource:Cathedral_of_Saint_Nicholas property:heritage_status ?s . ?s rdf:type ontology:cultural_property }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1164888
Q2065736
USER
And also tell me about Sandsfoot Castle?
(Q1164888,P1435,c(Q2065736))
action filter_type
action find
entity Q1164888
relation P1435
type Q2065736
['Q1164888', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2065736 . resource:Q1164888 property:P1435 ?s }
Sandsfoot Castle
action filter_type
action find
entity Sandsfoot Castle
relation heritage status
type cultural property
['Sandsfoot Castle', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:cultural_property . resource:Sandsfoot_Castle property:heritage_status ?s }
[]
cultural property
Q219538
SYSTEM
scheduled monument
Q219538
(Q1164888,P1435,c(Q2065736))
action filter_type
action find
entity Q1164888
relation P1435
type Q2065736
[ANSWER]
['Q1164888', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2065736 . resource:Q1164888 property:P1435 ?s }
scheduled monument
scheduled monument
action filter_type
action find
entity Sandsfoot Castle
relation heritage status
type cultural property
['Sandsfoot Castle', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:cultural_property . resource:Sandsfoot_Castle property:heritage_status ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1164888
P17
Q15617994
USER
Which administrative territory does Sandsfoot Castle belong to ?
(Q1164888,P17,c(Q15617994))
action filter_type
action find
entity Q1164888
relation P17
type Q15617994
['Q1164888', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1164888 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Sandsfoot Castle
action filter_type
action find
entity Sandsfoot Castle
relation country
type designation for an administrative territorial entity
['Sandsfoot Castle', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Sandsfoot_Castle property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1164888,P17,c(Q15617994))
action filter_type
action find
entity Q1164888
relation P17
type Q15617994
Sandsfoot Castle belongs to [ANSWER]
['Q1164888', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1164888 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
United Kingdom
Sandsfoot Castle belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Sandsfoot Castle
relation country
type designation for an administrative territorial entity
['Sandsfoot Castle', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Sandsfoot_Castle property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1164888
P127
Q502895
USER
Which person does Sandsfoot Castle belong to ?
(Q1164888,P127,c(Q502895))
action filter_type
action find
entity Q1164888
relation P127
type Q502895
['Q1164888', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1164888 property:P127 ?a . ?a rdf:type ontology:Q502895 }
Sandsfoot Castle
action filter_type
action find
entity Sandsfoot Castle
relation owned by
type common name
['Sandsfoot Castle', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Sandsfoot_Castle property:owned_by ?a . ?a rdf:type ontology:common_name }
[]
common name
Q38370
SYSTEM
Henry VIII
Q38370
(Q1164888,P127,c(Q502895))
action filter_type
action find
entity Q1164888
relation P127
type Q502895
Sandsfoot Castle belongs to [ANSWER]
['Q1164888', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1164888 property:P127 ?a . ?a rdf:type ontology:Q502895 }
Henry VIII
Sandsfoot Castle belongs to Henry VIII
Henry VIII
action filter_type
action find
entity Sandsfoot Castle
relation owned by
type common name
['Sandsfoot Castle', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Sandsfoot_Castle property:owned_by ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6973820
Q502895
USER
And how about National Intelligencer?
(Q6973820,P127,c(Q502895))
action filter_type
action find
entity Q6973820
relation P127
type Q502895
['Q6973820', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q6973820 property:P127 ?y . ?y rdf:type ontology:Q502895 }
National Intelligencer
action filter_type
action find
entity National Intelligencer
relation owned by
type common name
['National Intelligencer', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:National_Intelligencer property:owned_by ?y . ?y rdf:type ontology:common_name }
[]
common name
Q7411638
SYSTEM
Samuel Harrison Smith
Q7411638
(Q6973820,P127,c(Q502895))
action filter_type
action find
entity Q6973820
relation P127
type Q502895
[ANSWER]
['Q6973820', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q6973820 property:P127 ?y . ?y rdf:type ontology:Q502895 }
Samuel Harrison Smith
Samuel Harrison Smith
action filter_type
action find
entity National Intelligencer
relation owned by
type common name
['National Intelligencer', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:National_Intelligencer property:owned_by ?y . ?y rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7411638 Q16859111
P26
Q502895
USER
Is Margaret Bayard Smith the life partner of Samuel Harrison Smith ?
(Q7411638,P26,Q16859111)
action is_in
entity Q16859111
action find
entity Q7411638
relation P26
['Q7411638', 'P26', 'Q16859111']
ASK WHERE { resource:Q7411638 property:P26 resource:Q16859111 }
Samuel Harrison Smith Margaret Bayard Smith
action is_in
entity Margaret Bayard Smith
action find
entity Samuel Harrison Smith
relation spouse
['Samuel Harrison Smith', 'spouse', 'Margaret Bayard Smith']
ASK WHERE { resource:Samuel_Harrison_Smith property:spouse resource:Margaret_Bayard_Smith }
[]
common name
SYSTEM
YES
(Q7411638,P26,Q16859111)
action is_in
entity Q16859111
action find
entity Q7411638
relation P26
[ANSWER]
['Q7411638', 'P26', 'Q16859111']
ASK WHERE { resource:Q7411638 property:P26 resource:Q16859111 }
Yes
action is_in
entity Margaret Bayard Smith
action find
entity Samuel Harrison Smith
relation spouse
['Samuel Harrison Smith', 'spouse', 'Margaret Bayard Smith']
ASK WHERE { resource:Samuel_Harrison_Smith property:spouse resource:Margaret_Bayard_Smith }
[]