Simple Question (Direct)
Simple Question
Q15695053
P106
Q12737077
USER
What are the professions of Gun Bergman ?
(Q15695053,P106,c(Q12737077))
action filter_type
action find
entity Q15695053
relation P106
type Q12737077
['Q15695053', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q15695053 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Gun Bergman
action filter_type
action find
entity Gun Bergman
relation occupation
type occupation
['Gun Bergman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Gun_Bergman property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q1930187 Q333634
SYSTEM
journalist, translator
Q1930187 Q333634
(Q15695053,P106,c(Q12737077))
action filter_type
action find
entity Q15695053
relation P106
type Q12737077
The professions of Gun Bergman are a [ANSWERS]
['Q15695053', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q15695053 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
journalist translator
The professions of Gun Bergman are a journalist and translator
journalist translator
action filter_type
action find
entity Gun Bergman
relation occupation
type occupation
['Gun Bergman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Gun_Bergman property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1930187 Q333634
P101
Q502895
USER
Who works in the domain of those occupations ?
(c(Q502895),P101,Q1930187) (c(Q502895),P101,Q333634)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1930187'] [{'concept': 'Q502895'}, 'P101', 'Q333634']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . VALUES ( ?h ) { ( resource:Q1930187 ) ( resource:Q333634 ) } . ?f property:P101 ?h }
journalist translator
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'journalist'] [{'concept': 'common name'}, 'field of work', 'translator']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . VALUES ( ?h ) { ( resource:journalist ) ( resource:translator ) } . ?f property:field_of_work ?h }
[]
common name
Q102139 Q15114765 Q709844
SYSTEM
Margrethe II of Denmark, Erich Preuß, Finn Gustavsen
Q15114765 Q709844 Q4296874 Q102139
(c(Q502895),P101,Q1930187) (c(Q502895),P101,Q333634)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] work in the domain of those occupations
[{'concept': 'Q502895'}, 'P101', 'Q1930187'] [{'concept': 'Q502895'}, 'P101', 'Q333634']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . VALUES ( ?h ) { ( resource:Q1930187 ) ( resource:Q333634 ) } . ?f property:P101 ?h }
Erich Preuß Finn Gustavsen Vasley Mitta Margrethe II of Denmark
Margrethe II of Denmark, Erich Preuß and Finn Gustavsen work in the domain of those occupations
Margrethe II of Denmark Erich Preuß Finn Gustavsen
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'journalist'] [{'concept': 'common name'}, 'field of work', 'translator']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . VALUES ( ?h ) { ( resource:journalist ) ( resource:translator ) } . ?f property:field_of_work ?h }
[]
Clarification
Simple Question|Single Entity|Indirect
Q102139
P140
Q879146
USER
Which Christian denomination is the religion of that person ?
(Q102139,P140,c(Q879146))
action filter_type
action find
entity Q102139
relation P140
type Q879146
['Q102139', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q879146 . resource:Q102139 property:P140 ?g }
Margrethe II of Denmark
action filter_type
action find
entity Margrethe II of Denmark
relation religion
type Christian denomination
['Margrethe II of Denmark', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Christian_denomination . resource:Margrethe_II_of_Denmark property:religion ?g }
[]
Christian denomination
Clarification for simple ques.
Q709844
SYSTEM
Did you mean Finn Gustavsen ?
Q102139 Q15114765 Q709844
(Q102139,P140,c(Q879146)) (Q15114765,P140,c(Q879146)) (Q709844,P140,c(Q879146))
[ANSWER]
['Q102139', 'P140', {'concept': 'Q879146'}] ['Q15114765', 'P140', {'concept': 'Q879146'}] ['Q709844', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q879146 . resource:Q102139 property:P140 ?g }
Margrethe II of Denmark Erich Preuß Finn Gustavsen
Did you mean Finn Gustavsen ?
Finn Gustavsen
['Margrethe II of Denmark', 'religion', {'concept': 'Christian denomination'}] ['Erich Preuß', 'religion', {'concept': 'Christian denomination'}] ['Finn Gustavsen', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Christian_denomination . resource:Margrethe_II_of_Denmark property:religion ?g }
[]
Simple Question (Coreferenced)
USER
No, I meant Margrethe II of Denmark. Could you tell me the answer for that?
(Q102139,P140,c(Q879146))
Q102139
['Q102139', 'P140', {'concept': 'Q879146'}]
['Margrethe II of Denmark', 'religion', {'concept': 'Christian denomination'}]
[]
Q855585
SYSTEM
Church of Denmark
Q855585
(Q102139,P140,c(Q879146))
action filter_type
action find
entity Q102139
relation P140
type Q879146
The [ANSWER] is the religion of that person
['Q102139', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q879146 . resource:Q102139 property:P140 ?g }
Church of Denmark
The Church of Denmark is the religion of that person
Church of Denmark
action filter_type
action find
entity Margrethe II of Denmark
relation religion
type Christian denomination
['Margrethe II of Denmark', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Christian_denomination . resource:Margrethe_II_of_Denmark property:religion ?g }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q975227
P361
Q879146 Q44539
USER
Which temples are parts of around the same number of Christian denominations as Mōtsū-ji ?
(c(Q44539),P361,c(Q879146))
action approx
action find_tuple_counts
relation P361
type Q44539
type Q879146
action count
action filter_type
action find
entity Q975227
relation P361
type Q44539
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?s ) WHERE { ?n property:P361 ?g . ?g rdf:type ontology:Q879146 . ?n rdf:type ontology:Q44539 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Q975227 property:P361 ?h . ?h rdf:type ontology:Q44539 } } . FILTER ( ?s = ?w ) }
Mōtsū-ji
action approx
action find_tuple_counts
relation part of
type temple
type Christian denomination
action count
action filter_type
action find
entity Mōtsū-ji
relation part of
type temple
[{'concept': 'temple'}, 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?s ) WHERE { ?n property:part_of ?g . ?g rdf:type ontology:Christian_denomination . ?n rdf:type ontology:temple } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Mōtsū-ji property:part_of ?h . ?h rdf:type ontology:temple } } . FILTER ( ?s = ?w ) }
[]
Christian denomination temple
Q2244573 Q972612 Q901259
SYSTEM
Mannheim Palace Church, Fredrik Church, Trinity Church
Q840462 Q2263779 Q3053075 Q901259 Q51175 Q15848627 Q810125 Q17351044 Q839048 Q11682913 Q7590972 Q391123 Q20006899 Q917195 Q1579525 Q7591258 Q1380329 Q1437065 Q7698713 Q4689854 Q2445615 Q1380324 Q1380325 Q7594235 Q2796994 Q7887212 Q7885714 Q333984 Q20006229 Q257473 Q20729913 Q1741668 Q3581157 Q990908 Q1584774 Q1504317 Q4505318 Q188404 Q632379 Q2422298 Q1609658 Q15881981 Q1650229 Q17741109 Q18519657 Q7401248 Q756824 Q16899626 Q686773 Q17986825 Q913185 Q7698605 Q2031836 Q793909 Q3434033 Q7595295 Q1812874 Q1380308 Q18920636 Q683988 Q823412 Q3507968 Q1588443 Q2585020 Q7591030 Q134140 Q1380332 Q501103 Q461397 Q22340883 Q1823915 Q837991 Q3635787 Q2887029 Q3635780 Q1380431 Q2322413 Q11746101 Q1306397 Q15261136 Q1157535 Q11062142 Q7586696 Q7829929 Q10671642 Q1310703 Q1449217 Q12030590 Q19853497 Q7842767 Q1110116 Q5073119 Q44615 Q43473 Q3440162 Q3673855 Q16540894 Q1070863 Q701619 Q2237369 Q1046403 Q3583529 Q819742 Q3582124 Q489820 Q3983262 Q1344099 Q501110 Q2137131 Q1589509 Q1674736 Q914611 Q977148 Q1351209 Q5452655 Q564520 Q7567382 Q18881432 Q20828343 Q2067282 Q6916758 Q2350368 Q3929505 Q61094 Q564199 Q2195513 Q26833927 Q2322732 Q730019 Q1464908 Q1088552 Q2660525 Q972612 Q21079381 Q6761339 Q3349998 Q1089275 Q1957564 Q3580174 Q20827655 Q661752 Q1380359 Q5452692 Q7110847 Q1380352 Q4905109 Q1380357 Q460367 Q1147957 Q598352 Q1380300 Q21072448 Q6379539 Q5117988 Q18011136 Q1348249 Q12786801 Q2977602 Q42798 Q1742795 Q973175 Q3538054 Q2244573 Q1450786 Q587371 Q1504607 Q3585489 Q3585169 Q1380883 Q334303 Q1784984 Q962846 Q10288 Q2191998 Q3582582 Q1516753 Q7592661 Q2366708 Q1321240 Q20587513 Q221716 Q1380437 Q3395771 Q2248633 Q1597350 Q2660144 Q9007519 Q261932 Q3012169 Q7588678 Q1380421 Q242741 Q270983 Q26262654 Q12786811 Q3581409 Q4867409 Q688472 Q5117224 Q877183 Q2750095 Q17389965 Q20671434 Q1163620 Q7593024 Q2470882 Q20827637 Q6275400 Q7309968 Q3580214 Q7960239 Q2065592 Q3897006 Q1336340 Q1380404 Q3056346 Q1698950 Q665154 Q7887581 Q906752 Q1290206 Q317557 Q23820282 Q1306513 Q592923 Q458821 Q499285 Q3581582 Q7401986 Q17529320 Q12499932 Q1510389 Q5121641 Q1370053 Q1278218 Q1568660 Q1683898 Q4729500 Q737441 Q3279646 Q384813 Q7591098 Q3816575 Q7723025 Q3657362 Q3582374 Q15989666 Q571958 Q1537162 Q10748583 Q1742707 Q2336343 Q319841 Q2949709 Q776727 Q1556016 Q18200481 Q501072 Q7700879 Q3487981 Q7307495 Q1112125 Q2160663 Q841207 Q3580898 Q1380394 Q7842679 Q15881984 Q975227 Q1380390 Q23009312 Q2207317 Q1742784 Q1246842 Q5591113 Q5452256 Q1337817 Q6146203 Q1584841 Q16448761 Q588555 Q5911123 Q1380310 Q20730718 Q7594455 Q1380413 Q1256487 Q1380319
(c(Q44539),P361,c(Q879146))
action approx
action find_tuple_counts
relation P361
type Q44539
type Q879146
action count
action filter_type
action find
entity Q975227
relation P361
type Q44539
[ANSWERS] are parts of around the same number of Christian denominations as Mōtsū-ji
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?s ) WHERE { ?n property:P361 ?g . ?g rdf:type ontology:Q879146 . ?n rdf:type ontology:Q44539 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Q975227 property:P361 ?h . ?h rdf:type ontology:Q44539 } } . FILTER ( ?s = ?w ) }
St Martin's Church Second Baptist Church Church of St Martin, Callosa de Segura Trinity Church Basilica of Santa Maria Novella St. Mauritius Basilica and Shrine of Our Lady of Perpetual Help Madhavaperumal temple Zhenguo Temple Santa Maria de Cóll St. Patrick's Parish and Buildings Basilica of Bom Jesus Sainte-Jeanne-de-Chantal Church Enryaku-ji St. Hripsime St. Paul Lutheran Church Evangelical Church St. George's Basilica Temple of Asclepius, Epidauros African Meeting House Pancha Rathas Evangelical Church Evangelical Church St Mary's, Studley Royal Paoay Church Unitarian Universalist Church of Buffalo Union Grange Hall Grande-Sauve Abbey église Saint-Pierre de Châtillon-sur-Seine Ginkaku-ji Trinity Lutheran Church Kimpusen-ji St. Casimir Parish, South Bend Saint-Nicolas-de-Tolentin church Church of the Acheiropoietos Church of Saint Nicholas Orphanos Saint Peter's church Puning Temple Imperial Palace of Goslar The Hanging Church St. Peter und Paul Sint-Barbarakerk Church of Panagia Chalkeon Priory Church of St Seiriol église Saint-Martial de Bazens Saint Francis De Sales Catholic Church Temple of Hephaestus St. Thomas Synagogue Aula Palatina Bhimeswara temple, Draksharama St. Barbara's Church, Kutná Hora Temple Jacob Eastern Orthodox church San Damiano St. Saviour Church St Peter's Church, Tabley San Miguel de Lillo Evangelical Church Penitent Magdalene Church in Simaság Old Temple of Athena St Margaret's Church Eglise Saint-Etienne (ancienne) Sant Feliu de Barruera Fudarakusan-ji St. Paul's Catholic Church Abu Simbel temples Evangelical Church Church of San Francisco Bad Doberan Minster Annunciation Parish Church (Nova Gorica) Basilica of Our Lady Shuanglin Temple Upper Basilica of San Francesco d'Assisi St. Peter's Basilica Lower Basilica of San Francesco Evangelical Church St. Paul's Episcopal Church filial church Precinct of Amun-Re Øye church Daigo-ji Basilica of the Visitation St. Agatha's Episcopal Church Town Clock Church Royal Chapel Evangelical Church Arian Baptistry Church of Saint Anne église Notre-Dame-de-l'Assomption de Belmont-sur-Rance Trinity Episcopal Church Church of the Nativity of the Virgin Mary in Máriaremete Chapel of the Resurrection Foguang Temple Angkor Wat quarta capella Santa Maria della Misericordia Saint Catherine of Alexandria Church, Tabán Kōfuku-ji Church of the Teutonic Order subsidiary church Tō-ji Church of Saint-Pierre-Apôtre, Montreal Church of Peace Saint-Joachim de Pointe-Claire Church Seokguram Temple of Juno, Agrigento Evangelical Church Church of Tenaún Protestant Church Weiach Santa Eulàlia d'Erill la Vall Protestant Church in Brusio City Church of Bremgarten La Nativitat de Durro Hokki-ji First Church Congregational Great St. Martin Church South Granville Congregational Church Iglesia de la Torrecilla Moravian Memorial Church San Julián de los Prados Most Holy Redeemer Church Our-Lady Ter Hooyen Nieuwe Kerk van het Hoogzand van Oostermeer Byōdō-in Church of the Redeemer Church of Saint John the Baptist (Pijnacker) iglesia de San Francisco Javier St. Peter and Paul Church Hagios Demetrios Basilica of St. Martin, Tours Catholic church Miagao Church Fredrik Church Temple of Jupiter Maria Lanakila Catholic Church Oka-dera Nageshvara Jyotirlinga ecclesia media Erskine and American United Church St. Thomas Reformed Church All Saints' Church Evangelical Church First Church of Christ, Scientist Our Lady of Lourdes Catholic Church Evangelical Church Big Bethel AME Church Evangelical Church Tōdai-ji Church of Prophet Elijah St. Maria im Kapitol Evangelical Church Convent church Neuwerk Kawaiahaʻo Church Church of the Mediator église Saint-Jacques-le-Majeur de Courcelles Rinnō-ji Our Lady of Help Church Sint-Mauritiuskerk Borobudur Church of the Holy Apostles Tōshōdai-ji Notre-Dame-des-Victoires, Quebec City Mannheim Palace Church Saint Gayane Church Ryōan-ji Church of Saint Panteleimon Covenanter Church, Grand Pré, Nova Scotia St. Mary Roman Catholic Church Protestant church Rüdinghausen St Augustine's Abbey Santa Maria Maddalena dei Pazzi Vlatadon Monastery Parthenon Church of the Assumption of Our Lady and Saint John the Baptist Saint-Martin Church (Le Cateau) Saihō-ji St Beuno's Church, Aberffraw St. Joseph, Leiden Old North Church Capel Pen-rhiw Kiyomizu-dera Evangelical Church Basilica of Santa Maria Shoghakat Church Old West Church Chūson-ji Santa María de Cardet Hōryū-ji Daishō-in St. John's Episcopal Church Evangelical Church Erechtheion Kinkaku-ji Emmanuel Church Church of the Annunciation Saint-Eustache Church Basilica of the Immaculate Conception Jesuit Church Church of St. Francis of Assisi St Nicholas Church Dubrovnik Synagogue Sint-Nicolaaskerk St. John the Baptist Church of Hosios David St Eleth's Church, Amlwch San Pablo Frederick Lutheran Church Jonesborough United Methodist Church Reid Memorial Presbyterian Church Notre-Dame-de-Lorette Church Waiola Church Church of San Juan Bautista Collegiate church of Santa María Evangelical Church evangelical Church Pawon Johanniskirche Santa Cristina de Lena United Church, The Chapel on the Hill Reformed Church in Diósgyőr-Vasgyár Evangelical Church parish church Category:Saint Nicholas' church in Bogdana San Agustin Church Igreja de Santo António Stadtkirche Wittenberg Geghard St. George's Anglican Church Saint Patrick's Church Church of St Hydroc St. Marien Sanctuary of Atotonilco Circular Congregational Church Odilo Chapel Santa Maria de Taüll Hagia Sophia, Thessaloniki Putuo Zongcheng Temple All Saints Church Roman Temple of Évora Reformed church of Schipluiden Temple of Athena Nike St. Paul's Episcopal Church Sint-Lambertuskerk Church of the Visitation Pellegrini chapel Saint-Louis Church, Rouen Worship wooden architecture (17th-18th centuries) in Paliessie Church of Saint Maurice St. Lambert Buddhist temple in Vietnam Münster Schaffhausen St. Leonard's Church, Zoutleeuw Luxor Temple Hover Church St. Procopius Basilica in Třebíč St. Martin Chapel Nazrey African Methodist Episcopal Church Church of Santa María de Loreto Tenth Presbyterian Church St. Giles' Church (Prague) Reformed Church of Tappan Church of Saint Simeon Stylites Church of Colònia Güell Heraion of Samos Saint-André-de-Kamouraska Church Evangelical Church Trinity Church on the Green Sint-Bavokerk Mōtsū-ji Evangelical Church St. John's Anglican Church ecclesia integra Church of Saint Catherine, Thessaloniki Santa María del Naranjo Grace Episcopal Church First African Baptist Church Evangelical Church Jamestown Church Rotunda St. Michael Church, Odessa, Marazliyivska Street St. Joseph's Church, Le Havre San Pedro Church Evangelical Church Moreland Lutheran Church St Mary's Church, Whitegate evangelical Church Baptistry of Neon Evangelical Church
Mannheim Palace Church, Fredrik Church and Trinity Church are parts of around the same number of Christian denominations as Mōtsū-ji
Mannheim Palace Church Fredrik Church Trinity Church
action approx
action find_tuple_counts
relation part of
type temple
type Christian denomination
action count
action filter_type
action find
entity Mōtsū-ji
relation part of
type temple
[{'concept': 'temple'}, 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?s ) WHERE { ?n property:part_of ?g . ?g rdf:type ontology:Christian_denomination . ?n rdf:type ontology:temple } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Mōtsū-ji property:part_of ?h . ?h rdf:type ontology:temple } } . FILTER ( ?s = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q7401986
P361
Q879146 Q44539
USER
And how about Saint Patrick's Church?
(c(Q44539),P361,c(Q879146))
action approx
action find_tuple_counts
relation P361
type Q44539
type Q879146
action count
action filter_type
action find
entity Q7401986
relation P361
type Q44539
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?r ) WHERE { ?o property:P361 ?n . ?n rdf:type ontology:Q879146 . ?o rdf:type ontology:Q44539 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:Q44539 . resource:Q7401986 property:P361 ?g } } . FILTER ( ?r = ?j ) }
Saint Patrick's Church
action approx
action find_tuple_counts
relation part of
type temple
type Christian denomination
action count
action filter_type
action find
entity Saint Patrick's Church
relation part of
type temple
[{'concept': 'temple'}, 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?r ) WHERE { ?o property:part_of ?n . ?n rdf:type ontology:Christian_denomination . ?o rdf:type ontology:temple } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:temple . resource:Saint_Patrick's_Church property:part_of ?g } } . FILTER ( ?r = ?j ) }
[]
Christian denomination temple
Q2244573 Q972612 Q901259
SYSTEM
Mannheim Palace Church, Fredrik Church, Trinity Church
Q840462 Q2263779 Q3053075 Q901259 Q51175 Q15848627 Q810125 Q17351044 Q839048 Q11682913 Q7590972 Q391123 Q20006899 Q917195 Q1579525 Q7591258 Q1380329 Q1437065 Q7698713 Q4689854 Q2445615 Q1380324 Q1380325 Q7594235 Q2796994 Q7887212 Q7885714 Q333984 Q20006229 Q257473 Q20729913 Q1741668 Q3581157 Q990908 Q1584774 Q1504317 Q4505318 Q188404 Q632379 Q2422298 Q1609658 Q15881981 Q1650229 Q17741109 Q18519657 Q7401248 Q756824 Q16899626 Q686773 Q17986825 Q913185 Q7698605 Q2031836 Q793909 Q3434033 Q7595295 Q1812874 Q1380308 Q18920636 Q683988 Q823412 Q3507968 Q1588443 Q2585020 Q7591030 Q134140 Q1380332 Q501103 Q461397 Q22340883 Q1823915 Q837991 Q3635787 Q2887029 Q3635780 Q1380431 Q2322413 Q11746101 Q1306397 Q15261136 Q1157535 Q11062142 Q7586696 Q7829929 Q10671642 Q1310703 Q1449217 Q12030590 Q19853497 Q7842767 Q1110116 Q5073119 Q44615 Q43473 Q3440162 Q3673855 Q16540894 Q1070863 Q701619 Q2237369 Q1046403 Q3583529 Q819742 Q3582124 Q489820 Q3983262 Q1344099 Q501110 Q2137131 Q1589509 Q1674736 Q914611 Q977148 Q1351209 Q5452655 Q564520 Q7567382 Q18881432 Q20828343 Q2067282 Q6916758 Q2350368 Q3929505 Q61094 Q564199 Q2195513 Q26833927 Q2322732 Q730019 Q1464908 Q1088552 Q2660525 Q972612 Q21079381 Q6761339 Q3349998 Q1089275 Q1957564 Q3580174 Q20827655 Q661752 Q1380359 Q5452692 Q7110847 Q1380352 Q4905109 Q1380357 Q460367 Q1147957 Q598352 Q1380300 Q21072448 Q6379539 Q5117988 Q18011136 Q1348249 Q12786801 Q2977602 Q42798 Q1742795 Q973175 Q3538054 Q2244573 Q1450786 Q587371 Q1504607 Q3585489 Q3585169 Q1380883 Q334303 Q1784984 Q962846 Q10288 Q2191998 Q3582582 Q1516753 Q7592661 Q2366708 Q1321240 Q20587513 Q221716 Q1380437 Q3395771 Q2248633 Q1597350 Q2660144 Q9007519 Q261932 Q3012169 Q7588678 Q1380421 Q242741 Q270983 Q26262654 Q12786811 Q3581409 Q4867409 Q688472 Q5117224 Q877183 Q2750095 Q17389965 Q20671434 Q1163620 Q7593024 Q2470882 Q20827637 Q6275400 Q7309968 Q3580214 Q7960239 Q2065592 Q3897006 Q1336340 Q1380404 Q3056346 Q1698950 Q665154 Q7887581 Q906752 Q1290206 Q317557 Q23820282 Q1306513 Q592923 Q458821 Q499285 Q3581582 Q7401986 Q17529320 Q12499932 Q1510389 Q5121641 Q1370053 Q1278218 Q1568660 Q1683898 Q4729500 Q737441 Q3279646 Q384813 Q7591098 Q3816575 Q7723025 Q3657362 Q3582374 Q15989666 Q571958 Q1537162 Q10748583 Q1742707 Q2336343 Q319841 Q2949709 Q776727 Q1556016 Q18200481 Q501072 Q7700879 Q3487981 Q7307495 Q1112125 Q2160663 Q841207 Q3580898 Q1380394 Q7842679 Q15881984 Q975227 Q1380390 Q23009312 Q2207317 Q1742784 Q1246842 Q5591113 Q5452256 Q1337817 Q6146203 Q1584841 Q16448761 Q588555 Q5911123 Q1380310 Q20730718 Q7594455 Q1380413 Q1256487 Q1380319
(c(Q44539),P361,c(Q879146))
action approx
action find_tuple_counts
relation P361
type Q44539
type Q879146
action count
action filter_type
action find
entity Q7401986
relation P361
type Q44539
[ANSWERS]
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?r ) WHERE { ?o property:P361 ?n . ?n rdf:type ontology:Q879146 . ?o rdf:type ontology:Q44539 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:Q44539 . resource:Q7401986 property:P361 ?g } } . FILTER ( ?r = ?j ) }
St Martin's Church Second Baptist Church Church of St Martin, Callosa de Segura Trinity Church Basilica of Santa Maria Novella St. Mauritius Basilica and Shrine of Our Lady of Perpetual Help Madhavaperumal temple Zhenguo Temple Santa Maria de Cóll St. Patrick's Parish and Buildings Basilica of Bom Jesus Sainte-Jeanne-de-Chantal Church Enryaku-ji St. Hripsime St. Paul Lutheran Church Evangelical Church St. George's Basilica Temple of Asclepius, Epidauros African Meeting House Pancha Rathas Evangelical Church Evangelical Church St Mary's, Studley Royal Paoay Church Unitarian Universalist Church of Buffalo Union Grange Hall Grande-Sauve Abbey église Saint-Pierre de Châtillon-sur-Seine Ginkaku-ji Trinity Lutheran Church Kimpusen-ji St. Casimir Parish, South Bend Saint-Nicolas-de-Tolentin church Church of the Acheiropoietos Church of Saint Nicholas Orphanos Saint Peter's church Puning Temple Imperial Palace of Goslar The Hanging Church St. Peter und Paul Sint-Barbarakerk Church of Panagia Chalkeon Priory Church of St Seiriol église Saint-Martial de Bazens Saint Francis De Sales Catholic Church Temple of Hephaestus St. Thomas Synagogue Aula Palatina Bhimeswara temple, Draksharama St. Barbara's Church, Kutná Hora Temple Jacob Eastern Orthodox church San Damiano St. Saviour Church St Peter's Church, Tabley San Miguel de Lillo Evangelical Church Penitent Magdalene Church in Simaság Old Temple of Athena St Margaret's Church Eglise Saint-Etienne (ancienne) Sant Feliu de Barruera Fudarakusan-ji St. Paul's Catholic Church Abu Simbel temples Evangelical Church Church of San Francisco Bad Doberan Minster Annunciation Parish Church (Nova Gorica) Basilica of Our Lady Shuanglin Temple Upper Basilica of San Francesco d'Assisi St. Peter's Basilica Lower Basilica of San Francesco Evangelical Church St. Paul's Episcopal Church filial church Precinct of Amun-Re Øye church Daigo-ji Basilica of the Visitation St. Agatha's Episcopal Church Town Clock Church Royal Chapel Evangelical Church Arian Baptistry Church of Saint Anne église Notre-Dame-de-l'Assomption de Belmont-sur-Rance Trinity Episcopal Church Church of the Nativity of the Virgin Mary in Máriaremete Chapel of the Resurrection Foguang Temple Angkor Wat quarta capella Santa Maria della Misericordia Saint Catherine of Alexandria Church, Tabán Kōfuku-ji Church of the Teutonic Order subsidiary church Tō-ji Church of Saint-Pierre-Apôtre, Montreal Church of Peace Saint-Joachim de Pointe-Claire Church Seokguram Temple of Juno, Agrigento Evangelical Church Church of Tenaún Protestant Church Weiach Santa Eulàlia d'Erill la Vall Protestant Church in Brusio City Church of Bremgarten La Nativitat de Durro Hokki-ji First Church Congregational Great St. Martin Church South Granville Congregational Church Iglesia de la Torrecilla Moravian Memorial Church San Julián de los Prados Most Holy Redeemer Church Our-Lady Ter Hooyen Nieuwe Kerk van het Hoogzand van Oostermeer Byōdō-in Church of the Redeemer Church of Saint John the Baptist (Pijnacker) iglesia de San Francisco Javier St. Peter and Paul Church Hagios Demetrios Basilica of St. Martin, Tours Catholic church Miagao Church Fredrik Church Temple of Jupiter Maria Lanakila Catholic Church Oka-dera Nageshvara Jyotirlinga ecclesia media Erskine and American United Church St. Thomas Reformed Church All Saints' Church Evangelical Church First Church of Christ, Scientist Our Lady of Lourdes Catholic Church Evangelical Church Big Bethel AME Church Evangelical Church Tōdai-ji Church of Prophet Elijah St. Maria im Kapitol Evangelical Church Convent church Neuwerk Kawaiahaʻo Church Church of the Mediator église Saint-Jacques-le-Majeur de Courcelles Rinnō-ji Our Lady of Help Church Sint-Mauritiuskerk Borobudur Church of the Holy Apostles Tōshōdai-ji Notre-Dame-des-Victoires, Quebec City Mannheim Palace Church Saint Gayane Church Ryōan-ji Church of Saint Panteleimon Covenanter Church, Grand Pré, Nova Scotia St. Mary Roman Catholic Church Protestant church Rüdinghausen St Augustine's Abbey Santa Maria Maddalena dei Pazzi Vlatadon Monastery Parthenon Church of the Assumption of Our Lady and Saint John the Baptist Saint-Martin Church (Le Cateau) Saihō-ji St Beuno's Church, Aberffraw St. Joseph, Leiden Old North Church Capel Pen-rhiw Kiyomizu-dera Evangelical Church Basilica of Santa Maria Shoghakat Church Old West Church Chūson-ji Santa María de Cardet Hōryū-ji Daishō-in St. John's Episcopal Church Evangelical Church Erechtheion Kinkaku-ji Emmanuel Church Church of the Annunciation Saint-Eustache Church Basilica of the Immaculate Conception Jesuit Church Church of St. Francis of Assisi St Nicholas Church Dubrovnik Synagogue Sint-Nicolaaskerk St. John the Baptist Church of Hosios David St Eleth's Church, Amlwch San Pablo Frederick Lutheran Church Jonesborough United Methodist Church Reid Memorial Presbyterian Church Notre-Dame-de-Lorette Church Waiola Church Church of San Juan Bautista Collegiate church of Santa María Evangelical Church evangelical Church Pawon Johanniskirche Santa Cristina de Lena United Church, The Chapel on the Hill Reformed Church in Diósgyőr-Vasgyár Evangelical Church parish church Category:Saint Nicholas' church in Bogdana San Agustin Church Igreja de Santo António Stadtkirche Wittenberg Geghard St. George's Anglican Church Saint Patrick's Church Church of St Hydroc St. Marien Sanctuary of Atotonilco Circular Congregational Church Odilo Chapel Santa Maria de Taüll Hagia Sophia, Thessaloniki Putuo Zongcheng Temple All Saints Church Roman Temple of Évora Reformed church of Schipluiden Temple of Athena Nike St. Paul's Episcopal Church Sint-Lambertuskerk Church of the Visitation Pellegrini chapel Saint-Louis Church, Rouen Worship wooden architecture (17th-18th centuries) in Paliessie Church of Saint Maurice St. Lambert Buddhist temple in Vietnam Münster Schaffhausen St. Leonard's Church, Zoutleeuw Luxor Temple Hover Church St. Procopius Basilica in Třebíč St. Martin Chapel Nazrey African Methodist Episcopal Church Church of Santa María de Loreto Tenth Presbyterian Church St. Giles' Church (Prague) Reformed Church of Tappan Church of Saint Simeon Stylites Church of Colònia Güell Heraion of Samos Saint-André-de-Kamouraska Church Evangelical Church Trinity Church on the Green Sint-Bavokerk Mōtsū-ji Evangelical Church St. John's Anglican Church ecclesia integra Church of Saint Catherine, Thessaloniki Santa María del Naranjo Grace Episcopal Church First African Baptist Church Evangelical Church Jamestown Church Rotunda St. Michael Church, Odessa, Marazliyivska Street St. Joseph's Church, Le Havre San Pedro Church Evangelical Church Moreland Lutheran Church St Mary's Church, Whitegate evangelical Church Baptistry of Neon Evangelical Church
Mannheim Palace Church Fredrik Church Trinity Church
action approx
action find_tuple_counts
relation part of
type temple
type Christian denomination
action count
action filter_type
action find
entity Saint Patrick's Church
relation part of
type temple
[{'concept': 'temple'}, 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?r ) WHERE { ?o property:part_of ?n . ?n rdf:type ontology:Christian_denomination . ?o rdf:type ontology:temple } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:temple . resource:Saint_Patrick's_Church property:part_of ?g } } . FILTER ( ?r = ?j ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q901259
P800
Q502895
USER
Which person has that temple as a notable work ?
(c(Q502895),P800,Q901259)
action filter_type
action find_reverse
entity Q901259
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q901259']
SELECT DISTINCT ?n WHERE { ?n property:P800 resource:Q901259 . ?n rdf:type ontology:Q502895 }
Trinity Church
action filter_type
action find_reverse
entity Trinity Church
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Trinity Church']
SELECT DISTINCT ?n WHERE { ?n property:notable_work resource:Trinity_Church . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q901259
SYSTEM
Did you mean Trinity Church ?
Q2244573 Q972612 Q901259
(c(Q502895),P800,Q2244573) (c(Q502895),P800,Q972612) (c(Q502895),P800,Q901259)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q2244573'] [{'concept': 'Q502895'}, 'P800', 'Q972612'] [{'concept': 'Q502895'}, 'P800', 'Q901259']
SELECT DISTINCT ?n WHERE { ?n property:P800 resource:Q901259 . ?n rdf:type ontology:Q502895 }
Mannheim Palace Church Fredrik Church Trinity Church
Did you mean Trinity Church ?
Trinity Church
[{'concept': 'common name'}, 'notable work', 'Mannheim Palace Church'] [{'concept': 'common name'}, 'notable work', 'Fredrik Church'] [{'concept': 'common name'}, 'notable work', 'Trinity Church']
SELECT DISTINCT ?n WHERE { ?n property:notable_work resource:Trinity_Church . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P800,Q901259)
[{'concept': 'Q502895'}, 'P800', 'Q901259']
[{'concept': 'common name'}, 'notable work', 'Trinity Church']
[]
Q723234
SYSTEM
Henry Hobson Richardson
Q723234
(c(Q502895),P800,Q901259)
action filter_type
action find_reverse
entity Q901259
relation P800
type Q502895
[ANSWER] has that temple as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q901259']
SELECT DISTINCT ?n WHERE { ?n property:P800 resource:Q901259 . ?n rdf:type ontology:Q502895 }
Henry Hobson Richardson
Henry Hobson Richardson has that temple as a notable work
Henry Hobson Richardson
action filter_type
action find_reverse
entity Trinity Church
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Trinity Church']
SELECT DISTINCT ?n WHERE { ?n property:notable_work resource:Trinity_Church . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q723234 Q127912
P138
Q838948
USER
How many works of art have Henry Hobson Richardson or Declaration of Independence of the United States as their toponym ?
(c(Q838948),P138,Q723234) (c(Q838948),P138,Q127912)
action count
action union
action filter_type
action find_reverse
entity Q723234
relation P138
type Q838948
action filter_type
action find_reverse
entity Q127912
relation P138
type Q838948
[{'concept': 'Q838948'}, 'P138', 'Q723234'] [{'concept': 'Q838948'}, 'P138', 'Q127912']
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:P138 ?e . VALUES ( ?e ) { ( resource:Q723234 ) ( resource:Q127912 ) } }
Henry Hobson Richardson Declaration of Independence of the United States
action count
action union
action filter_type
action find_reverse
entity Henry Hobson Richardson
relation named after
type work of art
action filter_type
action find_reverse
entity Declaration of Independence of the United States
relation named after
type work of art
[{'concept': 'work of art'}, 'named after', 'Henry Hobson Richardson'] [{'concept': 'work of art'}, 'named after', 'Declaration of Independence of the United States']
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:named_after ?e . VALUES ( ?e ) { ( resource:Henry_Hobson_Richardson ) ( resource:Declaration_of_Independence_of_the_United_States ) } }
[]
work of art
SYSTEM
5
Q7758822 Q3576800 Q4006586 Q7758824 Q220515
(c(Q838948),P138,Q723234) (c(Q838948),P138,Q127912)
action count
action union
action filter_type
action find_reverse
entity Q723234
relation P138
type Q838948
action filter_type
action find_reverse
entity Q127912
relation P138
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P138', 'Q723234'] [{'concept': 'Q838948'}, 'P138', 'Q127912']
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:P138 ?e . VALUES ( ?e ) { ( resource:Q723234 ) ( resource:Q127912 ) } }
The Pursuit of Happiness And the Pursuit of Happiness The Pursuit of Happiness The Pursuit of Happiness The Pursuit of Happyness
5
action count
action union
action filter_type
action find_reverse
entity Henry Hobson Richardson
relation named after
type work of art
action filter_type
action find_reverse
entity Declaration of Independence of the United States
relation named after
type work of art
[{'concept': 'work of art'}, 'named after', 'Henry Hobson Richardson'] [{'concept': 'work of art'}, 'named after', 'Declaration of Independence of the United States']
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:named_after ?e . VALUES ( ?e ) { ( resource:Henry_Hobson_Richardson ) ( resource:Declaration_of_Independence_of_the_United_States ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can approximately 1511 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1511
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { FILTER ( ?h = 1511 ) . { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?p } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1511
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { FILTER ( ?h = 1511 ) . { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?p } }
[]
musical instrument common name
SYSTEM
9
Q80284 Q46185 Q80019 Q81982 Q8338 Q8371 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1511
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { FILTER ( ?h = 1511 ) . { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?p } }
viola bass guitar double bass harpsichord trumpet cello organ drum kit electronic keyboard
9
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1511
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { FILTER ( ?h = 1511 ) . { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?p } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q18553975
P725
Q502895 Q15416
USER
How many television programs did lesser number of people dub for than Soul Eater ?
(c(Q15416),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q18553975
relation P725
type Q502895
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:Q502895 . resource:Q18553975 property:P725 ?l } } . FILTER ( ?a < ?g ) . { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?a ) WHERE { ?h property:P725 ?x . ?h rdf:type ontology:Q15416 . ?x rdf:type ontology:Q502895 } GROUP BY ?h } }
Soul Eater
action count
action less
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Soul Eater
relation voice actor
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:common_name . resource:Soul_Eater property:voice_actor ?l } } . FILTER ( ?a < ?g ) . { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?a ) WHERE { ?h property:voice_actor ?x . ?h rdf:type ontology:television_program . ?x rdf:type ontology:common_name } GROUP BY ?h } }
[]
common name television program
SYSTEM
89
Q1280574 Q4049303 Q715723 Q1135343 Q613823 Q689114 Q467722 Q2042834 Q239937 Q15863567 Q1857269 Q1195326 Q951078 Q5227700 Q4773554 Q4120156 Q962161 Q1617715 Q696310 Q15176855 Q472309 Q2573191 Q2581704 Q917980 Q165515 Q3547706 Q845452 Q10358973 Q307507 Q483943 Q3596105 Q757148 Q3106852 Q25059 Q1284240 Q14493917 Q749629 Q10913555 Q1315951 Q1361413 Q543203 Q128969 Q2455207 Q2452999 Q2275664 Q702039 Q7496805 Q962132 Q18579178 Q20669175 Q25000347 Q1050091 Q699760 Q18577675 Q1146803 Q2140751 Q1002254 Q4033639 Q550555 Q20899576 Q1640364 Q483106 Q3098248 Q633432 Q12019559 Q18558839 Q1072208 Q304290 Q1215573 Q428130 Q2619211 Q1140254 Q1317932 Q5139461 Q18559016 Q430369 Q17183708 Q1494222 Q452374 Q18575654 Q2339582 Q15039539 Q3492143 Q5976198 Q1353486 Q1143800 Q15863577 Q331031 Q45035
(c(Q15416),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q18553975
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:Q502895 . resource:Q18553975 property:P725 ?l } } . FILTER ( ?a < ?g ) . { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?a ) WHERE { ?h property:P725 ?x . ?h rdf:type ontology:Q15416 . ?x rdf:type ontology:Q502895 } GROUP BY ?h } }
The Adventures of Tweeny Witches Seraphim Call Urusei Yatsura Wish Upon the Pleiades Ghost Hound Digimon Adventure The Puppy's Further Adventures The Proud Family Movie Pokémon K-On! Rio: Rainbow Gate! LOG HORIZON Hellsing Tenchi in Tokyo Mi cola D.I.C.E. Eureka Seven The Wonderful Galaxy of Oz Hamtaro Wizard Barristers: Benmashi Cecil Princess of Thieves Onegai My Melody Willo the Wisp Witch Hunter Robin 101 Dalmatians: The Series Uchūsen Sagittarius Project Blue Earth SOS Reynard the Fox H2O: Footprints in the Sand Anohana: The Flower We Saw That Day Popeye the Sailor Rocko's Modern Life Todd McFarlane's Spawn Penguin Drum Burst Angel Galileo Donna Kid vs. Kat The Melancholy of Haruhi Suzumiya Psycho-Pass Night Raid 1931 Chip 'n Dale Rescue Rangers Calimero Mnemosyne Remi, Nobody's Girl Kim Possible: A Sitch in Time The Story of Pollyanna, Girl of Love Shima Shima Tora no Shimajirō Pink Panther and Pals Kabaneri of the Iron Fortress Hana Yori Dango Pirate Express Dastardly and Muttley in Their Flying Machines Saiyuki Darker than Black Cuéntame cómo pasó Boogiepop Phantom Wacky Races Akahori Gedou Hour Rabuge Gravity Falls Shimmer and Shine Wild Arms: Twilight Venom Freezing Stratos 4 The Emperor's New School Free! Soul Eater Not! The Wonderful Adventures of Nils Rugrats The Proud Family Sonic X Tsuritama Transformers: Animated Negima!? Engage Planet Kiss Dum Berserk The Critic The 7D Garfield in the Rough Ah My Buddha Trigun Trapp Family Story The Steamboat Adventures of Riverboat Bill Puss in Boots: The Three Diablos I Am the Greatest: The Adventures of Muhammad Ali Marumo no Okite Postman Pat K-On!! Dora the Explorer Renkin 3-kyū Magical? Pokān
89
action count
action less
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Soul Eater
relation voice actor
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:common_name . resource:Soul_Eater property:voice_actor ?l } } . FILTER ( ?a < ?g ) . { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?a ) WHERE { ?h property:voice_actor ?x . ?h rdf:type ontology:television_program . ?x rdf:type ontology:common_name } GROUP BY ?h } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
How many works of art had their voice dubbing done by exactly 2 people ?
(c(Q838948),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 2
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?y ) WHERE { ?o property:P725 ?s . ?o rdf:type ontology:Q838948 . ?s rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?y = 2 ) }
action count
action equal
action find_tuple_counts
relation voice actor
type work of art
type common name
value 2
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?y ) WHERE { ?o property:voice_actor ?s . ?o rdf:type ontology:work_of_art . ?s rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?y = 2 ) }
[]
common name work of art
SYSTEM
14
Q21428001 Q212792 Q777739 Q18407657 Q1185099 Q4646903 Q18786473 Q4305149 Q25167044 Q19776435 Q207659 Q1519753 Q729809 Q318975
(c(Q838948),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 2
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?y ) WHERE { ?o property:P725 ?s . ?o rdf:type ontology:Q838948 . ?s rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?y = 2 ) }
Riley's First Date? Bolt Ivan Vasilievich: Back to the Future Captain America: Civil War Star Driver: Kagayaki no Takuto A-Haunting We Will Go Pete's Dragon Mozart and Salieri Wreck-It Ralph 2 Szenario Space Jam Mimino Bodacious Space Pirates Atlantis: The Lost Empire
14
action count
action equal
action find_tuple_counts
relation voice actor
type work of art
type common name
value 2
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?y ) WHERE { ?o property:voice_actor ?s . ?o rdf:type ontology:work_of_art . ?s rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?y = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102139
P40
Q502895
USER
Which people have Margrethe II of Denmark as a child ?
(c(Q502895),P40,Q102139)
action filter_type
action find_reverse
entity Q102139
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q102139']
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q102139 . ?u rdf:type ontology:Q502895 }
Margrethe II of Denmark
action filter_type
action find_reverse
entity Margrethe II of Denmark
relation child
type common name
[{'concept': 'common name'}, 'child', 'Margrethe II of Denmark']
SELECT DISTINCT ?u WHERE { ?u property:child resource:Margrethe_II_of_Denmark . ?u rdf:type ontology:common_name }
[]
common name
Q163010 Q151312
SYSTEM
Ingrid of Sweden, Frederick IX of Denmark
Q163010 Q151312
(c(Q502895),P40,Q102139)
action filter_type
action find_reverse
entity Q102139
relation P40
type Q502895
[ANSWERS] have Margrethe II of Denmark as a child
[{'concept': 'Q502895'}, 'P40', 'Q102139']
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q102139 . ?u rdf:type ontology:Q502895 }
Ingrid of Sweden Frederick IX of Denmark
Ingrid of Sweden and Frederick IX of Denmark have Margrethe II of Denmark as a child
Ingrid of Sweden Frederick IX of Denmark
action filter_type
action find_reverse
entity Margrethe II of Denmark
relation child
type common name
[{'concept': 'common name'}, 'child', 'Margrethe II of Denmark']
SELECT DISTINCT ?u WHERE { ?u property:child resource:Margrethe_II_of_Denmark . ?u rdf:type ontology:common_name }
[]