Simple Question (Direct)
Simple Question
Q39910
P47
Q15617994
USER
Which administrative territories have a shared border with Azzio ?
(Q39910,P47,c(Q15617994))
action filter_type
action find
entity Q39910
relation P47
type Q15617994
['Q39910', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q39910 property:P47 ?c . ?c rdf:type ontology:Q15617994 }
Azzio
action filter_type
action find
entity Azzio
relation shares border with
type designation for an administrative territorial entity
['Azzio', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Azzio property:shares_border_with ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39627 Q39806 Q39039
SYSTEM
Cuvio, Casalzuigno, Gemonio
Q39806 Q39512 Q39766 Q39039 Q39170 Q39627
(Q39910,P47,c(Q15617994))
action filter_type
action find
entity Q39910
relation P47
type Q15617994
[ANSWERS] have a shared border with Azzio
['Q39910', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q39910 property:P47 ?c . ?c rdf:type ontology:Q15617994 }
Casalzuigno Orino Brenta Gemonio Cocquio-Trevisago Cuvio
Cuvio, Casalzuigno and Gemonio have a shared border with Azzio
Cuvio Casalzuigno Gemonio
action filter_type
action find
entity Azzio
relation shares border with
type designation for an administrative territorial entity
['Azzio', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Azzio property:shares_border_with ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q39039
P551
Q502895
USER
Who lives in that administrative territory ?
(c(Q502895),P551,Q39039)
action filter_type
action find_reverse
entity Q39039
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q39039']
SELECT DISTINCT ?u WHERE { ?u property:P551 resource:Q39039 . ?u rdf:type ontology:Q502895 }
Gemonio
action filter_type
action find_reverse
entity Gemonio
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Gemonio']
SELECT DISTINCT ?u WHERE { ?u property:residence resource:Gemonio . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q39806
SYSTEM
Did you mean Casalzuigno ?
Q39627 Q39806 Q39039
(c(Q502895),P551,Q39627) (c(Q502895),P551,Q39806) (c(Q502895),P551,Q39039)
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q39627'] [{'concept': 'Q502895'}, 'P551', 'Q39806'] [{'concept': 'Q502895'}, 'P551', 'Q39039']
SELECT DISTINCT ?u WHERE { ?u property:P551 resource:Q39039 . ?u rdf:type ontology:Q502895 }
Cuvio Casalzuigno Gemonio
Did you mean Casalzuigno ?
Casalzuigno
[{'concept': 'common name'}, 'residence', 'Cuvio'] [{'concept': 'common name'}, 'residence', 'Casalzuigno'] [{'concept': 'common name'}, 'residence', 'Gemonio']
SELECT DISTINCT ?u WHERE { ?u property:residence resource:Gemonio . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Gemonio. Could you tell me the answer for that?
(c(Q502895),P551,Q39039)
Q39039
[{'concept': 'Q502895'}, 'P551', 'Q39039']
[{'concept': 'common name'}, 'residence', 'Gemonio']
[]
Q1009050
SYSTEM
Renato Pozzetto
Q1009050
(c(Q502895),P551,Q39039)
action filter_type
action find_reverse
entity Q39039
relation P551
type Q502895
[ANSWER] lives in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q39039']
SELECT DISTINCT ?u WHERE { ?u property:P551 resource:Q39039 . ?u rdf:type ontology:Q502895 }
Renato Pozzetto
Renato Pozzetto lives in that administrative territory
Renato Pozzetto
action filter_type
action find_reverse
entity Gemonio
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Gemonio']
SELECT DISTINCT ?u WHERE { ?u property:residence resource:Gemonio . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1009050
P551
Q15617994
USER
What was the place of residence of that person ?
(Q1009050,P551,c(Q15617994))
action filter_type
action find
entity Q1009050
relation P551
type Q15617994
['Q1009050', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q1009050 property:P551 ?v . ?v rdf:type ontology:Q15617994 }
Renato Pozzetto
action filter_type
action find
entity Renato Pozzetto
relation residence
type designation for an administrative territorial entity
['Renato Pozzetto', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Renato_Pozzetto property:residence ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39039
SYSTEM
Gemonio
Q39039
(Q1009050,P551,c(Q15617994))
action filter_type
action find
entity Q1009050
relation P551
type Q15617994
The place of residence of that person was named [ANSWER]
['Q1009050', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q1009050 property:P551 ?v . ?v rdf:type ontology:Q15617994 }
Gemonio
The place of residence of that person was named Gemonio
Gemonio
action filter_type
action find
entity Renato Pozzetto
relation residence
type designation for an administrative territorial entity
['Renato Pozzetto', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Renato_Pozzetto property:residence ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q73218
P417
Q1445650 Q502895 Q15617994
USER
How many administrative territories have adopted lesser number of holidays and people as their patron saint than Belforte del Chienti ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q73218
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?q WHERE { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q73218 property:P417 ?u . { { ?u rdf:type ontology:Q1445650 } UNION { ?u rdf:type ontology:Q502895 } } } } . FILTER ( ?c < ?h ) }
Belforte del Chienti
action count
action less
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Belforte del Chienti
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?q WHERE { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Belforte_del_Chienti property:patron_saint ?u . { { ?u rdf:type ontology:holiday } UNION { ?u rdf:type ontology:common_name } } } } . FILTER ( ?c < ?h ) }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
296
Q51179 Q265483 Q18339 Q268902 Q124005 Q43005 Q43000 Q39633 Q56075 Q42950 Q386898 Q490936 Q20203 Q9525 Q9520 Q18022 Q18348 Q283857 Q112226 Q18029 Q206966 Q155 Q42896 Q216492 Q490770 Q17268 Q54612 Q9065 Q54617 Q267241 Q42974 Q390108 Q51202 Q54751 Q58890 Q51370 Q42110 Q224813 Q252343 Q103999 Q52624 Q50134 Q478277 Q17821 Q188499 Q54585 Q95069 Q19277 Q186538 Q294805 Q18075 Q283697 Q39263 Q100404 Q9569 Q20387 Q34519 Q42777 Q198320 Q34694 Q9105 Q39835 Q46357 Q111415 Q56048 Q490412 Q39910 Q22170 Q58719 Q490907 Q265588 Q244048 Q94779 Q53946 Q10234 Q10231 Q10339 Q53492 Q40336 Q53881 Q295289 Q53883 Q42300 Q13649 Q25175 Q53288 Q17811 Q50165 Q265498 Q18088 Q1465 Q270578 Q53835 Q478925 Q285110 Q430988 Q35220 Q91160 Q111602 Q242710 Q216853 Q58461 Q20353 Q9435 Q20056 Q20435 Q51442 Q117471 Q36471 Q53304 Q17350 Q53909 Q271011 Q53903 Q18382 Q20128 Q23285 Q52026 Q72272 Q42343 Q326968 Q42266 Q42260 Q10200 Q24896 Q53876 Q207395 Q103768 Q20244 Q46746 Q42744 Q100094 Q298424 Q20405 Q83083 Q493482 Q39912 Q22182 Q42512 Q52191 Q340908 Q34386 Q72732 Q101648 Q391349 Q51274 Q52132 Q54705 Q91228 Q53355 Q9447 Q52102 Q53957 Q54673 Q54672 Q42963 Q124979 Q218027 Q53686 Q200925 Q18394 Q72712 Q23706 Q20530 Q42318 Q39862 Q54516 Q17804 Q53511 Q20431 Q54685 Q20184 Q283554 Q477618 Q46673 Q51358 Q81151 Q39227 Q48092 Q42557 Q53995 Q56085 Q53260 Q17796 Q18388 Q41077 Q55054 Q80655 Q52146 Q53508 Q40913 Q25187 Q25189 Q168551 Q22216 Q101251 Q9493 Q286671 Q390646 Q82755 Q23592 Q52038 Q23178 Q288273 Q54643 Q496978 Q46968 Q10211 Q16337 Q326780 Q100070 Q34579 Q20503 Q267032 Q382482 Q55017 Q51360 Q43037 Q53212 Q185748 Q51460 Q20170 Q102781 Q52179 Q58549 Q51926 Q23232 Q42629 Q54636 Q496936 Q105325 Q46870 Q91243 Q51812 Q72708 Q270613 Q19937 Q42249 Q42367 Q54699 Q54591 Q20191 Q46833 Q42391 Q386350 Q17378 Q42565 Q47046 Q19944 Q13619 Q341096 Q382223 Q53397 Q42403 Q56091 Q56090 Q53159 Q53152 Q39070 Q54035 Q80851 Q54034 Q103297 Q43040 Q40964 Q112019 Q39933 Q224176 Q54723 Q477800 Q19915 Q46282 Q13320 Q53732 Q34791 Q20389 Q59269 Q59265 Q20585 Q42208 Q53824 Q9028 Q34638 Q40094 Q34703 Q23648 Q9187 Q111147 Q488240 Q49603 Q52953 Q20299 Q39849 Q50079 Q9428 Q9336
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q73218
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?q WHERE { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q73218 property:P417 ?u . { { ?u rdf:type ontology:Q1445650 } UNION { ?u rdf:type ontology:Q502895 } } } } . FILTER ( ?c < ?h ) }
Altino, Abruzzo Campomorone Aisone Diano Castello Falconara Marittima Sesto San Giovanni Lomagna Cairate Monsampolo del Tronto San Martino in Strada Nughedu Santa Vittoria Belmonte Mezzagno Montemale di Cuneo Osasio Orio Canavese Bioglio Bagnasco Decimoputzu Vobarno Callabiana Gabicce Mare Brazil Albairate Borgo a Mozzano San Giuseppe Jato Belforte Monferrato Gerace Borgomasino Laganadi Favale di Malvaro Cesano Boscone Anela Castiglione Messer Marino Zaccanopoli Sant'Angelo d'Alife Manoppello Bellinzago Lombardo Lampedusa e Linosa Eppan an der Weinstraße Chiari Noepoli Rocca di Botte Castiglione di Sicilia Mombaldone Castel del Piano Calanna Antegnate Cerignola Arzachena Gadoni Graglia Burcei Sernio Comun Nuovo Pianezza Poggio a Caiano Maserà di Padova Abbiategrasso Ziano di Fiemme Fiesso Umbertiano Buriasco Bianzone Breganze Polpenazze del Garda Castorano Priolo Gargallo Azzio Cavaglio d'Agogna Mondragone Scillato Crocefieschi Argegno Castel San Pietro Terme Rende Rocca Canavese Rivoli Venaria Reale Andali Gravellona Lomellina Fiumefreddo Bruzio Noragugume Frascineto Comazzo Nuoro Postua Mortegliano Frinco Trasacco Ceranesi Mottalciata Feltre Calizzano Belmonte Calabro Trecastagni Seulo Alessandria della Rocca Montjovet Cetona Rezzato Guidonia Montecelio Camaiore Camigliano Piobesi d'Alba Lugnacco Frabosa Soprana Sale delle Langhe Colledara Trevi nel Lazio Pompei Pasian di Prato Cremolino Mangone Osiglia Malito Bra Magliano Alpi Cannero Riviera Montemesola Monte di Procida Guidizzolo Tenno, Trentino Cervignano d'Adda Montevecchia Porte Borgo d'Ale Domanico Montecopiolo Capriano del Colle Murello Susegana Spino d'Adda San Felice sul Panaro Pergine Valsugana Roascio Monte San Giusto Librizzi Usmate Velate Colazza Vizzolo Predabissi Sannicola Luogosanto Trebaseleghe Vico Equense Telgate Santa Maria Coghinas Roccamontepiano Collepasso Drapia Monteriggioni San Giorgio di Nogaro Lusigliè Subbiano San Cosmo Albanese Sinopoli Siderno Senna Lodigiana Serra San Quirico Zoagli San Floro Lona-Lases Canale Torre Annunziata Trasquera Verduno Terranova dei Passerini Menarola San Mauro Marchesato Cortiglione Conflenti Rossana Terranova Sappo Minulio Monasterolo Casotto Armungia Resuttano Spresiano Civitella Casanova Ogliastro Cilento Ronco Briantino Cologna Veneta Pandino Saracena Palmiano Flaibano Cisterna d'Asti Brossasco Lavena Ponte Tresa Mirabella Eclano Bellizzi Guagnano Cerva Caiolo Rimella Riva Valdobbia Caselle Landi Dormelletto Montello, Lombardy Monteu da Po Santadi Cargeghe Londa, Tuscany Gurro Statte Bisceglie Serrenti Roghudi Roccapalumba Noale Quagliuzzo Novi Ligure Strigno Montefiorino Arre Sommariva del Bosco Santo Stefano d'Aveto Aidomaggiore Casalbore Corvara Annone di Brianza Aiello del Friuli Sant'Elia a Pianisi Pietracamela Martiniana Po Gragnano Trebbiense Porto Cesareo Castel Campagnano Faeto Bannio Anzino Parabiago Platì Sciara Nuvolento Bardolino Monteroni d'Arbia Alberobello Terzigno Celle Ligure Cerretto Langhe Mulazzano Valera Fratta Brognaturo Caraffa del Bianco Monforte d'Alba Albettone Airuno Masullas Malvicino Oggiono Silea Ceva Cosenza Trinità d'Agultu e Vignola Romana, Sardinia Villa Vicentina Acquanegra Cremonese Venarotta Spinetoli Cavasso Nuovo Azzano Decimo Andalo Valtellino Verbicaro Celle di Bulgheria Vaccarizzo Albanese Vicopisano Secugnago Rogolo Sirmione Cadrezzate Longone Sabino Nardodipace Vallelunga Pratameno Castellino Tanaro Castel d'Azzano Savona Tiriolo Aymavilles Montemurlo Montelparo Montefalcone Appennino Villanova Mondovì Malagnino Alessandria del Carretto Balme Arquà Petrarca Morbegno Torreglia Montecrestese Carmagnola Carpineti Lentini Ponte Buggianese Alfonsine Paroldo Robbio Celano Locana Druento
296
action count
action less
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Belforte del Chienti
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?q WHERE { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Belforte_del_Chienti property:patron_saint ?u . { { ?u rdf:type ontology:holiday } UNION { ?u rdf:type ontology:common_name } } } } . FILTER ( ?c < ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q116404
P417
Q1445650 Q502895 Q15617994
USER
And how about Anagni?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q116404
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?c WHERE { { ?c property:P417 ?b . ?c rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q502895 } UNION { ?c property:P417 ?b . ?c rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1445650 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q116404 property:P417 ?u . { { ?u rdf:type ontology:Q502895 } UNION { ?u rdf:type ontology:Q1445650 } } } } . FILTER ( ?x < ?h ) }
Anagni
action count
action less
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Anagni
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?c WHERE { { ?c property:patron_saint ?b . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:common_name } UNION { ?c property:patron_saint ?b . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:holiday } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Anagni property:patron_saint ?u . { { ?u rdf:type ontology:common_name } UNION { ?u rdf:type ontology:holiday } } } } . FILTER ( ?x < ?h ) }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
296
Q51179 Q265483 Q18339 Q268902 Q124005 Q43005 Q43000 Q39633 Q56075 Q42950 Q386898 Q490936 Q20203 Q9525 Q9520 Q18022 Q18348 Q283857 Q112226 Q18029 Q206966 Q155 Q42896 Q216492 Q490770 Q17268 Q54612 Q9065 Q54617 Q267241 Q42974 Q390108 Q51202 Q54751 Q58890 Q51370 Q42110 Q224813 Q252343 Q103999 Q52624 Q50134 Q478277 Q17821 Q188499 Q54585 Q95069 Q19277 Q186538 Q294805 Q18075 Q283697 Q39263 Q100404 Q9569 Q20387 Q34519 Q42777 Q198320 Q34694 Q9105 Q39835 Q46357 Q111415 Q56048 Q490412 Q39910 Q22170 Q58719 Q490907 Q265588 Q244048 Q94779 Q53946 Q10234 Q10231 Q10339 Q53492 Q40336 Q53881 Q295289 Q53883 Q42300 Q13649 Q25175 Q53288 Q17811 Q50165 Q265498 Q18088 Q1465 Q270578 Q53835 Q478925 Q285110 Q430988 Q35220 Q91160 Q111602 Q242710 Q216853 Q58461 Q20353 Q9435 Q20056 Q20435 Q51442 Q117471 Q36471 Q53304 Q17350 Q53909 Q271011 Q53903 Q18382 Q20128 Q23285 Q52026 Q72272 Q42343 Q326968 Q42266 Q42260 Q10200 Q24896 Q53876 Q207395 Q103768 Q20244 Q46746 Q42744 Q100094 Q298424 Q20405 Q83083 Q493482 Q39912 Q22182 Q42512 Q52191 Q340908 Q34386 Q72732 Q101648 Q391349 Q51274 Q52132 Q54705 Q91228 Q53355 Q9447 Q52102 Q53957 Q54673 Q54672 Q42963 Q124979 Q218027 Q53686 Q200925 Q18394 Q72712 Q23706 Q20530 Q42318 Q39862 Q54516 Q17804 Q53511 Q20431 Q54685 Q20184 Q283554 Q477618 Q46673 Q51358 Q81151 Q39227 Q48092 Q42557 Q53995 Q56085 Q53260 Q17796 Q18388 Q41077 Q55054 Q80655 Q52146 Q53508 Q40913 Q25187 Q25189 Q168551 Q22216 Q101251 Q9493 Q286671 Q390646 Q82755 Q23592 Q52038 Q23178 Q288273 Q54643 Q496978 Q46968 Q10211 Q16337 Q326780 Q100070 Q34579 Q20503 Q267032 Q382482 Q55017 Q51360 Q43037 Q53212 Q185748 Q51460 Q20170 Q102781 Q52179 Q58549 Q51926 Q23232 Q42629 Q54636 Q496936 Q105325 Q46870 Q91243 Q51812 Q72708 Q270613 Q19937 Q42249 Q42367 Q54699 Q54591 Q20191 Q46833 Q42391 Q386350 Q17378 Q42565 Q47046 Q19944 Q13619 Q341096 Q382223 Q53397 Q42403 Q56091 Q56090 Q53159 Q53152 Q39070 Q54035 Q80851 Q54034 Q103297 Q43040 Q40964 Q112019 Q39933 Q224176 Q54723 Q477800 Q19915 Q46282 Q13320 Q53732 Q34791 Q20389 Q59269 Q59265 Q20585 Q42208 Q53824 Q9028 Q34638 Q40094 Q34703 Q23648 Q9187 Q111147 Q488240 Q49603 Q52953 Q20299 Q39849 Q50079 Q9428 Q9336
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q116404
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?c WHERE { { ?c property:P417 ?b . ?c rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q502895 } UNION { ?c property:P417 ?b . ?c rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1445650 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q116404 property:P417 ?u . { { ?u rdf:type ontology:Q502895 } UNION { ?u rdf:type ontology:Q1445650 } } } } . FILTER ( ?x < ?h ) }
Altino, Abruzzo Campomorone Aisone Diano Castello Falconara Marittima Sesto San Giovanni Lomagna Cairate Monsampolo del Tronto San Martino in Strada Nughedu Santa Vittoria Belmonte Mezzagno Montemale di Cuneo Osasio Orio Canavese Bioglio Bagnasco Decimoputzu Vobarno Callabiana Gabicce Mare Brazil Albairate Borgo a Mozzano San Giuseppe Jato Belforte Monferrato Gerace Borgomasino Laganadi Favale di Malvaro Cesano Boscone Anela Castiglione Messer Marino Zaccanopoli Sant'Angelo d'Alife Manoppello Bellinzago Lombardo Lampedusa e Linosa Eppan an der Weinstraße Chiari Noepoli Rocca di Botte Castiglione di Sicilia Mombaldone Castel del Piano Calanna Antegnate Cerignola Arzachena Gadoni Graglia Burcei Sernio Comun Nuovo Pianezza Poggio a Caiano Maserà di Padova Abbiategrasso Ziano di Fiemme Fiesso Umbertiano Buriasco Bianzone Breganze Polpenazze del Garda Castorano Priolo Gargallo Azzio Cavaglio d'Agogna Mondragone Scillato Crocefieschi Argegno Castel San Pietro Terme Rende Rocca Canavese Rivoli Venaria Reale Andali Gravellona Lomellina Fiumefreddo Bruzio Noragugume Frascineto Comazzo Nuoro Postua Mortegliano Frinco Trasacco Ceranesi Mottalciata Feltre Calizzano Belmonte Calabro Trecastagni Seulo Alessandria della Rocca Montjovet Cetona Rezzato Guidonia Montecelio Camaiore Camigliano Piobesi d'Alba Lugnacco Frabosa Soprana Sale delle Langhe Colledara Trevi nel Lazio Pompei Pasian di Prato Cremolino Mangone Osiglia Malito Bra Magliano Alpi Cannero Riviera Montemesola Monte di Procida Guidizzolo Tenno, Trentino Cervignano d'Adda Montevecchia Porte Borgo d'Ale Domanico Montecopiolo Capriano del Colle Murello Susegana Spino d'Adda San Felice sul Panaro Pergine Valsugana Roascio Monte San Giusto Librizzi Usmate Velate Colazza Vizzolo Predabissi Sannicola Luogosanto Trebaseleghe Vico Equense Telgate Santa Maria Coghinas Roccamontepiano Collepasso Drapia Monteriggioni San Giorgio di Nogaro Lusigliè Subbiano San Cosmo Albanese Sinopoli Siderno Senna Lodigiana Serra San Quirico Zoagli San Floro Lona-Lases Canale Torre Annunziata Trasquera Verduno Terranova dei Passerini Menarola San Mauro Marchesato Cortiglione Conflenti Rossana Terranova Sappo Minulio Monasterolo Casotto Armungia Resuttano Spresiano Civitella Casanova Ogliastro Cilento Ronco Briantino Cologna Veneta Pandino Saracena Palmiano Flaibano Cisterna d'Asti Brossasco Lavena Ponte Tresa Mirabella Eclano Bellizzi Guagnano Cerva Caiolo Rimella Riva Valdobbia Caselle Landi Dormelletto Montello, Lombardy Monteu da Po Santadi Cargeghe Londa, Tuscany Gurro Statte Bisceglie Serrenti Roghudi Roccapalumba Noale Quagliuzzo Novi Ligure Strigno Montefiorino Arre Sommariva del Bosco Santo Stefano d'Aveto Aidomaggiore Casalbore Corvara Annone di Brianza Aiello del Friuli Sant'Elia a Pianisi Pietracamela Martiniana Po Gragnano Trebbiense Porto Cesareo Castel Campagnano Faeto Bannio Anzino Parabiago Platì Sciara Nuvolento Bardolino Monteroni d'Arbia Alberobello Terzigno Celle Ligure Cerretto Langhe Mulazzano Valera Fratta Brognaturo Caraffa del Bianco Monforte d'Alba Albettone Airuno Masullas Malvicino Oggiono Silea Ceva Cosenza Trinità d'Agultu e Vignola Romana, Sardinia Villa Vicentina Acquanegra Cremonese Venarotta Spinetoli Cavasso Nuovo Azzano Decimo Andalo Valtellino Verbicaro Celle di Bulgheria Vaccarizzo Albanese Vicopisano Secugnago Rogolo Sirmione Cadrezzate Longone Sabino Nardodipace Vallelunga Pratameno Castellino Tanaro Castel d'Azzano Savona Tiriolo Aymavilles Montemurlo Montelparo Montefalcone Appennino Villanova Mondovì Malagnino Alessandria del Carretto Balme Arquà Petrarca Morbegno Torreglia Montecrestese Carmagnola Carpineti Lentini Ponte Buggianese Alfonsine Paroldo Robbio Celano Locana Druento
296
action count
action less
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Anagni
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?c WHERE { { ?c property:patron_saint ?b . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:common_name } UNION { ?c property:patron_saint ?b . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:holiday } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Anagni property:patron_saint ?u . { { ?u rdf:type ontology:common_name } UNION { ?u rdf:type ontology:holiday } } } } . FILTER ( ?x < ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q214
P1376
Q15617994 Q515 Q486972
USER
Which administrative territories have more number of cities and human settlements have their first city than Slovakia ?
(c(Q515)|c(Q486972),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q214
relation P1376
type Q515
type Q486972
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?f WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } GROUP BY ?f } . FILTER ( ?w > ?q ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { VALUES ( ?g ) { ( ontology:Q515 ) ( ontology:Q486972 ) } . ?l rdf:type ?g } . ?l property:P1376 resource:Q214 } } }
Slovakia
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Slovakia
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?f WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:city ) ( ontology:human_settlement ) } } GROUP BY ?f } . FILTER ( ?w > ?q ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { VALUES ( ?g ) { ( ontology:city ) ( ontology:human_settlement ) } . ?l rdf:type ?g } . ?l property:capital_of resource:Slovakia } } }
[]
designation for an administrative territorial entity city human settlement
Q155 Q17 Q347
SYSTEM
Brazil, Japan, Liechtenstein
Q414 Q1111401 Q252 Q399 Q258 Q155 Q736 Q843 Q2007 Q1050 Q298 Q115 Q114 Q541589 Q696651 Q948 Q639100 Q702 Q833 Q790 Q796 Q794 Q889 Q884 Q881 Q541095 Q492437 Q1037 Q1033 Q1030 Q750 Q30831 Q878 Q46130 Q3044714 Q1951 Q492430 Q711 Q717 Q1948 Q27 Q225 Q222 Q47261 Q228 Q965 Q963 Q1008 Q72670 Q568751 Q2150573 Q12536 Q3342 Q842 Q3240 Q4712 Q924 Q928 Q851 Q12717 Q347 Q3462133 Q17 Q3207 Q212 Q211 Q218 Q974 Q1019 Q1011
(c(Q515)|c(Q486972),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q214
relation P1376
type Q515
type Q486972
[ANSWERS] have more number of cities and human settlements have their first city than Slovakia
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?f WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } GROUP BY ?f } . FILTER ( ?w > ?q ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { VALUES ( ?g ) { ( ontology:Q515 ) ( ontology:Q486972 ) } . ?l rdf:type ?g } . ?l property:P1376 resource:Q214 } } }
Argentina Kispest District Indonesia Armenia South Africa Brazil Ecuador Pakistan Northwest Territories Swaziland Chile Ethiopia Kenya Ems-Supérieur Saxe-Eisenach Tunisia Principality of Reuss-Gera Federated States of Micronesia Malaysia Haiti Iraq Iran Afghanistan South Korea Vietnam Rhin-et-Moselle Bouches-du-Weser Rwanda Nigeria Namibia Bolivia Red Sea Governorate United Arab Emirates Rhône Ouest Alberta Bouches-de-l'Elbe Mongolia Venezuela Manitoba Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Andorra Burkina Faso Botswana Côte d'Ivoire Batumi Oblast Mont-Tonnerre Unterelsaß Abbasid caliphate Côte-d'Or Oman Bouches-du-Rhône Duchy of Burgundy Tanzania Philippines Saudi Arabia Bas-Rhin Liechtenstein Saxe-Coburg and Gotha Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Madagascar Cape Verde
Brazil, Japan and Liechtenstein have more number of cities and human settlements have their first city than Slovakia
Brazil Japan Liechtenstein
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Slovakia
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?f WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:city ) ( ontology:human_settlement ) } } GROUP BY ?f } . FILTER ( ?w > ?q ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { VALUES ( ?g ) { ( ontology:city ) ( ontology:human_settlement ) } . ?l rdf:type ?g } . ?l property:capital_of resource:Slovakia } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q233
P1376
Q15617994 Q515 Q486972
USER
And also tell me about Malta?
(c(Q515)|c(Q486972),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q233
relation P1376
type Q515
type Q486972
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?i ) { ( ontology:Q515 ) ( ontology:Q486972 ) } . ?d rdf:type ?i } GROUP BY ?x } . FILTER ( ?j > ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P1376 resource:Q233 . { VALUES ( ?k ) { ( ontology:Q515 ) ( ontology:Q486972 ) } . ?p rdf:type ?k } } } }
Malta
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Malta
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?i ) { ( ontology:city ) ( ontology:human_settlement ) } . ?d rdf:type ?i } GROUP BY ?x } . FILTER ( ?j > ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:capital_of resource:Malta . { VALUES ( ?k ) { ( ontology:city ) ( ontology:human_settlement ) } . ?p rdf:type ?k } } } }
[]
designation for an administrative territorial entity city human settlement
Q155 Q17 Q347
SYSTEM
Brazil, Japan, Liechtenstein
Q414 Q1111401 Q252 Q399 Q258 Q155 Q736 Q843 Q2007 Q1050 Q298 Q115 Q114 Q541589 Q696651 Q948 Q639100 Q702 Q833 Q790 Q796 Q794 Q889 Q884 Q881 Q541095 Q492437 Q1037 Q1033 Q1030 Q750 Q30831 Q878 Q46130 Q3044714 Q1951 Q492430 Q711 Q717 Q1948 Q27 Q225 Q222 Q47261 Q228 Q965 Q963 Q1008 Q72670 Q568751 Q2150573 Q12536 Q3342 Q842 Q3240 Q4712 Q924 Q928 Q851 Q12717 Q347 Q3462133 Q17 Q3207 Q212 Q211 Q218 Q974 Q1019 Q1011
(c(Q515)|c(Q486972),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q233
relation P1376
type Q515
type Q486972
[ANSWERS]
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?i ) { ( ontology:Q515 ) ( ontology:Q486972 ) } . ?d rdf:type ?i } GROUP BY ?x } . FILTER ( ?j > ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P1376 resource:Q233 . { VALUES ( ?k ) { ( ontology:Q515 ) ( ontology:Q486972 ) } . ?p rdf:type ?k } } } }
Argentina Kispest District Indonesia Armenia South Africa Brazil Ecuador Pakistan Northwest Territories Swaziland Chile Ethiopia Kenya Ems-Supérieur Saxe-Eisenach Tunisia Principality of Reuss-Gera Federated States of Micronesia Malaysia Haiti Iraq Iran Afghanistan South Korea Vietnam Rhin-et-Moselle Bouches-du-Weser Rwanda Nigeria Namibia Bolivia Red Sea Governorate United Arab Emirates Rhône Ouest Alberta Bouches-de-l'Elbe Mongolia Venezuela Manitoba Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Andorra Burkina Faso Botswana Côte d'Ivoire Batumi Oblast Mont-Tonnerre Unterelsaß Abbasid caliphate Côte-d'Or Oman Bouches-du-Rhône Duchy of Burgundy Tanzania Philippines Saudi Arabia Bas-Rhin Liechtenstein Saxe-Coburg and Gotha Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Madagascar Cape Verde
Brazil Japan Liechtenstein
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Malta
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?j ) WHERE { VALUES ( ?i ) { ( ontology:city ) ( ontology:human_settlement ) } . ?d rdf:type ?i } GROUP BY ?x } . FILTER ( ?j > ?g ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:capital_of resource:Malta . { VALUES ( ?k ) { ( ontology:city ) ( ontology:human_settlement ) } . ?p rdf:type ?k } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q251881
P734
Q82799
USER
Who is associated with Ángel Romano ?
(Q251881,P734,c(Q82799))
action filter_type
action find
entity Q251881
relation P734
type Q82799
['Q251881', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q251881 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Ángel Romano
action filter_type
action find
entity Ángel Romano
relation family name
type name
['Ángel Romano', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Ángel_Romano property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q18182627
SYSTEM
Romano
Q18182627
(Q251881,P734,c(Q82799))
action filter_type
action find
entity Q251881
relation P734
type Q82799
[ANSWER] is associated with Ángel [ANSWER]
['Q251881', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q251881 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Romano
Romano is associated with Ángel Romano
Romano
action filter_type
action find
entity Ángel Romano
relation family name
type name
['Ángel Romano', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Ángel_Romano property:family_name ?v . ?v rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q9332 Q151885 Q82799
USER
Which names are a component of exactly 1 behaviors and concepts ?
(c(Q82799),P361,c(Q9332)|c(Q151885))
action equal
action union
action find_tuple_counts
relation P361
type Q82799
type Q9332
action find_tuple_counts
relation P361
type Q82799
type Q151885
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?p ) { ( ontology:Q9332 ) ( ontology:Q151885 ) } . ?k rdf:type ?p } GROUP BY ?q } . FILTER ( ?i = 1 ) }
action equal
action union
action find_tuple_counts
relation part of
type name
type behavior
action find_tuple_counts
relation part of
type name
type concept
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'behavior'}, {'concept': 'concept'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?p ) { ( ontology:behavior ) ( ontology:concept ) } . ?k rdf:type ?p } GROUP BY ?q } . FILTER ( ?i = 1 ) }
[]
behavior concept name
Q1058384 Q746990 Q876933
SYSTEM
hakham, Brahman, magi
Q1058384 Q382004 Q746990 Q876933
(c(Q82799),P361,c(Q9332)|c(Q151885))
action equal
action union
action find_tuple_counts
relation P361
type Q82799
type Q9332
action find_tuple_counts
relation P361
type Q82799
type Q151885
value 1
[ANSWERS] are a component of exactly 1 behaviors and concepts
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?p ) { ( ontology:Q9332 ) ( ontology:Q151885 ) } . ?k rdf:type ?p } GROUP BY ?q } . FILTER ( ?i = 1 ) }
hakham Afa-Negus Brahman magi
Hakham, Brahman and magi are a component of exactly 1 behaviors and concepts
hakham Brahman magi
action equal
action union
action find_tuple_counts
relation part of
type name
type behavior
action find_tuple_counts
relation part of
type name
type concept
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'behavior'}, {'concept': 'concept'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?p ) { ( ontology:behavior ) ( ontology:concept ) } . ?k rdf:type ?p } GROUP BY ?q } . FILTER ( ?i = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q876933
P180
Q3305213
USER
Which paintings express that name ?
(c(Q3305213),P180,Q876933)
action filter_type
action find_reverse
entity Q876933
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q876933']
SELECT DISTINCT ?w WHERE { ?w property:P180 resource:Q876933 . ?w rdf:type ontology:Q3305213 }
magi
action filter_type
action find_reverse
entity magi
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'magi']
SELECT DISTINCT ?w WHERE { ?w property:depicts resource:magi . ?w rdf:type ontology:painting }
[]
painting
Clarification for simple ques.
Q876933
SYSTEM
Did you mean magi ?
Q1058384 Q746990 Q876933
(c(Q3305213),P180,Q1058384) (c(Q3305213),P180,Q746990) (c(Q3305213),P180,Q876933)
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q1058384'] [{'concept': 'Q3305213'}, 'P180', 'Q746990'] [{'concept': 'Q3305213'}, 'P180', 'Q876933']
SELECT DISTINCT ?w WHERE { ?w property:P180 resource:Q876933 . ?w rdf:type ontology:Q3305213 }
hakham Brahman magi
Did you mean magi ?
magi
[{'concept': 'painting'}, 'depicts', 'hakham'] [{'concept': 'painting'}, 'depicts', 'Brahman'] [{'concept': 'painting'}, 'depicts', 'magi']
SELECT DISTINCT ?w WHERE { ?w property:depicts resource:magi . ?w rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q3305213),P180,Q876933)
[{'concept': 'Q3305213'}, 'P180', 'Q876933']
[{'concept': 'painting'}, 'depicts', 'magi']
[]
Q650189 Q323155
SYSTEM
Adoration of the Magi, Marienaltar
Q650189 Q323155
(c(Q3305213),P180,Q876933)
action filter_type
action find_reverse
entity Q876933
relation P180
type Q3305213
The [ANSWERS] express that name
[{'concept': 'Q3305213'}, 'P180', 'Q876933']
SELECT DISTINCT ?w WHERE { ?w property:P180 resource:Q876933 . ?w rdf:type ontology:Q3305213 }
Adoration of the Magi Marienaltar
The Adoration of the Magi and Marienaltar express that name
Adoration of the Magi Marienaltar
action filter_type
action find_reverse
entity magi
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'magi']
SELECT DISTINCT ?w WHERE { ?w property:depicts resource:magi . ?w rdf:type ontology:painting }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q650189 Q2635667
P180
Q151885
USER
How many concepts are demonstrated in Adoration of the Magi and Cross of Saint Euphrosyne ?
(Q650189,P180,c(Q151885)) (Q2635667,P180,c(Q151885))
action count
action intersection
action filter_type
action find
entity Q650189
relation P180
type Q151885
action filter_type
action find
entity Q2635667
relation P180
type Q151885
['Q650189', 'P180', {'concept': 'Q151885'}] ['Q2635667', 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q650189 property:P180 ?j . ?j rdf:type ontology:Q151885 . resource:Q2635667 property:P180 ?j . ?j rdf:type ontology:Q151885 }
Adoration of the Magi Cross of Saint Euphrosyne
action count
action intersection
action filter_type
action find
entity Adoration of the Magi
relation depicts
type concept
action filter_type
action find
entity Cross of Saint Euphrosyne
relation depicts
type concept
['Adoration of the Magi', 'depicts', {'concept': 'concept'}] ['Cross of Saint Euphrosyne', 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Adoration_of_the_Magi property:depicts ?j . ?j rdf:type ontology:concept . resource:Cross_of_Saint_Euphrosyne property:depicts ?j . ?j rdf:type ontology:concept }
[]
concept
SYSTEM
2
Q467 Q8441
(Q650189,P180,c(Q151885)) (Q2635667,P180,c(Q151885))
action count
action intersection
action filter_type
action find
entity Q650189
relation P180
type Q151885
action filter_type
action find
entity Q2635667
relation P180
type Q151885
[ANSWER]
['Q650189', 'P180', {'concept': 'Q151885'}] ['Q2635667', 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q650189 property:P180 ?j . ?j rdf:type ontology:Q151885 . resource:Q2635667 property:P180 ?j . ?j rdf:type ontology:Q151885 }
woman man
2
action count
action intersection
action filter_type
action find
entity Adoration of the Magi
relation depicts
type concept
action filter_type
action find
entity Cross of Saint Euphrosyne
relation depicts
type concept
['Adoration of the Magi', 'depicts', {'concept': 'concept'}] ['Cross of Saint Euphrosyne', 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Adoration_of_the_Magi property:depicts ?j . ?j rdf:type ontology:concept . resource:Cross_of_Saint_Euphrosyne property:depicts ?j . ?j rdf:type ontology:concept }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q14660 Q35798
USER
Which administrative territories belong to jurisdiction of around 3 flags and executive branches ?
(c(Q14660)|c(Q35798),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
value 3
[[{'concept': 'Q14660'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?r WHERE { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:Q14660 ) ( ontology:Q35798 ) } } GROUP BY ?r } . FILTER ( ?x = 3 ) }
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
value 3
[[{'concept': 'flag'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?r WHERE { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:flag ) ( ontology:executive_branch ) } } GROUP BY ?r } . FILTER ( ?x = 3 ) }
[]
designation for an administrative territorial entity flag executive branch
Q801 Q145 Q423
SYSTEM
Israel, United Kingdom, North Korea
Q801 Q419 Q145 Q1974 Q924 Q423 Q854 Q424 Q974 Q962 Q212 Q217 Q214 Q858 Q810
(c(Q14660)|c(Q35798),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
value 3
[ANSWERS] belong to jurisdiction of around 3 flags and executive branches
[[{'concept': 'Q14660'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?r WHERE { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:Q14660 ) ( ontology:Q35798 ) } } GROUP BY ?r } . FILTER ( ?x = 3 ) }
Israel Peru United Kingdom British Columbia Tanzania North Korea Sri Lanka Cambodia Democratic Republic of the Congo Benin Ukraine Republic of Moldova Slovakia Syria Jordan
Israel, United Kingdom and North Korea belong to jurisdiction of around 3 flags and executive branches
Israel United Kingdom North Korea
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
value 3
[[{'concept': 'flag'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?r WHERE { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:flag ) ( ontology:executive_branch ) } } GROUP BY ?r } . FILTER ( ?x = 3 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q598193
P36
Q20667921 Q56061 Q15617994
USER
How many administrative territories are around the same number of french administrative divisions and administrative territories the capital of as Apennins ?
(c(Q15617994),P36,c(Q20667921)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q598193
relation P36
type Q20667921
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) ?i WHERE { VALUES ( ?q ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?c rdf:type ?q } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q598193 property:P36 ?k . { VALUES ( ?b ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?k rdf:type ?b } } } . FILTER ( ?s = ?r ) }
Apennins
action count
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Apennins
relation capital
type type of french administrative division
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) ?i WHERE { VALUES ( ?q ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?c rdf:type ?q } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Apennins property:capital ?k . { VALUES ( ?b ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?k rdf:type ?b } } } . FILTER ( ?s = ?r ) }
[]
type of french administrative division administrative territorial entity designation for an administrative territorial entity
SYSTEM
125
Q2991354 Q414 Q1111401 Q504637 Q399 Q2466631 Q2527360 Q699731 Q1742192 Q4464924 Q2344966 Q739 Q733 Q736 Q16628524 Q1284 Q1443 Q843 Q2007 Q541811 Q1458 Q14551680 Q1050 Q12717 Q298 Q115 Q114 Q21296012 Q541589 Q1961264 Q696651 Q948 Q731547 Q1268811 Q702 Q709 Q833 Q2093388 Q290739 Q790 Q598193 Q796 Q794 Q889 Q884 Q1452646 Q881 Q1508919 Q541095 Q5613245 Q280312 Q3118738 Q686312 Q1037 Q1030 Q697 Q2039306 Q662056 Q30831 Q694594 Q874 Q878 Q46130 Q3044714 Q1951 Q2236821 Q4854468 Q492437 Q389004 Q492430 Q9073753 Q711 Q717 Q1090678 Q19786899 Q2348751 Q1948 Q511365 Q1270568 Q27 Q34762 Q793437 Q225 Q47261 Q347 Q580447 Q10957559 Q965 Q962 Q963 Q2344833 Q1008 Q2039314 Q72670 Q568751 Q2150573 Q474421 Q3342 Q842 Q4712 Q928 Q851 Q224 Q222 Q691265 Q313175 Q2996404 Q228 Q3462133 Q3846423 Q3207 Q176 Q212 Q211 Q218 Q161258 Q4496152 Q3514973 Q974 Q1234961 Q1222 Q1019 Q1011 Q5192588 Q672
(c(Q15617994),P36,c(Q20667921)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q598193
relation P36
type Q20667921
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) ?i WHERE { VALUES ( ?q ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?c rdf:type ?q } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q598193 property:P36 ?k . { VALUES ( ?b ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?k rdf:type ?b } } } . FILTER ( ?s = ?r ) }
Aquiles Serdán Municipality Argentina Kispest District Alta Verapaz Department Armenia Chiautla de Tapia Municipality Stura Wied King's Lynn and West Norfolk Tugulymsky District Netrokona District Colombia Paraguay Ecuador San Salvador el Verde municipality Abruzzo Molise Pakistan Northwest Territories Ems-Oriental Calabria Principality of Lippe Swaziland Bas-Rhin Chile Ethiopia Kenya Amatitlán Ems-Supérieur Tecámac Municipality Saxe-Eisenach Tunisia Lippe Dyle Federated States of Micronesia Marshall Islands Malaysia Sunamganj District Sesia Haiti Apennins Iraq Iran Afghanistan South Korea Montenotte Vietnam Marengo Rhin-et-Moselle Guadalupe Municipality Principality of Lüneburg Guanentá Province Duchy of Amalfi Rwanda Namibia Nauru Jamalpur District Cushamen Department Red Sea Governorate Bremen-Verden Turkmenistan United Arab Emirates Rhône Ouest Alberta Rhône-et-Loire Bandava Bouches-du-Weser Wallachia Bouches-de-l'Elbe San Vicente Tancuayalab municipality Mongolia Venezuela Sègre Magyaróvár District Kurigram District Manitoba Arvika Municipality Ems Ireland Principality of Bayreuth Bergantiños Bosnia and Herzegovina Duchy of Bavaria Liechtenstein Duchy of Styria Moldavia Burkina Faso Benin Botswana Kishoreganj District Côte d'Ivoire Sherpur District Batumi Oblast Mont-Tonnerre Unterelsaß Principality of Fürstenberg Côte-d'Or Oman Duchy of Burgundy Philippines Saudi Arabia Croatia Albania Mont-Terrible Saxe-Lauenburg Alushta municipality Andorra Saxe-Coburg and Gotha Viesca Municipality Aude Quebec Ukraine Latvia Romania Clipperton Island Khartsyzk Municipality Tanaro Democratic Republic of the Congo Doire Aosta Valley Madagascar Cape Verde Cuenca District, Huancavelica Tuvalu
125
action count
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Apennins
relation capital
type type of french administrative division
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) ?i WHERE { VALUES ( ?q ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?c rdf:type ?q } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Apennins property:capital ?k . { VALUES ( ?b ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?k rdf:type ?b } } } . FILTER ( ?s = ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1254171
P36
Q20667921 Q56061 Q15617994
USER
And how about Dr Ruth Segomotsi Mompati District Municipality?
(c(Q15617994),P36,c(Q20667921)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q1254171
relation P36
type Q20667921
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) ?m WHERE { { ?m rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q20667921 . ?m property:P36 ?b } UNION { ?m property:P36 ?b . ?m rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q56061 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q1254171 property:P36 ?v . { { ?v rdf:type ontology:Q20667921 } UNION { ?v rdf:type ontology:Q56061 } } } } . FILTER ( ?s = ?a ) }
Dr Ruth Segomotsi Mompati District Municipality
action count
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Dr Ruth Segomotsi Mompati District Municipality
relation capital
type type of french administrative division
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) ?m WHERE { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:type_of_french_administrative_division . ?m property:capital ?b } UNION { ?m property:capital ?b . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:administrative_territorial_entity } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Dr_Ruth_Segomotsi_Mompati_District_Municipality property:capital ?v . { { ?v rdf:type ontology:type_of_french_administrative_division } UNION { ?v rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?s = ?a ) }
[]
type of french administrative division administrative territorial entity designation for an administrative territorial entity
SYSTEM
459
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q12631 Q419 Q3368 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q4308116 Q17301635 Q3044731 Q252 Q398 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q12689 Q1974 Q3377 Q3372 Q611074 Q2007299 Q3093 Q1616549 Q1254171 Q979470 Q684030 Q1270648 Q3563282 Q12594 Q1899307 Q30675 Q983 Q730 Q734 Q1280 Q1282 Q12792 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q189 Q184 Q1029 Q1028 Q1850485 Q1390630 Q1452 Q12700 Q815731 Q31074 Q31075 Q96 Q12709 Q12175285 Q2629701 Q311803 Q29937 Q117 Q30786 Q1270638 Q1788988 Q12574 Q239502 Q1544445 Q466061 Q1515346 Q12642 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q3216 Q3194 Q34020 Q891165 Q12804 Q12808 Q3326 Q3286 Q3528124 Q2719360 Q12589 Q1243 Q945 Q3266 Q3105 Q3564819 Q3500767 Q33788 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q4450475 Q2565377 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q45 Q43 Q792 Q174280 Q1232680 Q12576 Q231168 Q2281221 Q241 Q1965 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 Q3148 Q2567535 Q3068 Q3389 Q30644 Q236 Q1886098 Q232 Q233 Q1777256 Q238 Q12549 Q12675 Q129003 Q1763301 Q12584 Q12580 Q1101 Q1206596 Q511806 Q3131 Q12788 Q27495866 Q12784 Q3139 Q12782 Q902 Q1036 Q1032 Q1033 Q1024985 Q1039 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q12736 Q220249 Q31067 Q31065 Q654849 Q1773268 Q12657 Q30835 Q12652 Q12556 Q574 Q1558632 Q894970 Q191 Q79 Q77 Q2001115 Q3044651 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q12816 Q30682 Q30683 Q2006764 Q1952 Q2528268 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q3305157 Q1480778 Q2567507 Q3044623 Q651394 Q3646838 Q2391254 Q3184 Q3044781 Q2371735 Q712 Q710 Q3044777 Q2900529 Q12770 Q2465553 Q657 Q1789890 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1999970 Q155019 Q1974486 Q153091 Q107426 Q693658 Q769680 Q1508927 Q30805 Q311794 Q20 Q28 Q1366860 Q148 Q227 Q30650 Q223 Q30656 Q221 Q1270623 Q311668 Q229 Q1410315 Q1989 Q60011 Q967 Q2921370 Q3125 Q3120 Q2921378 Q1991827 Q2429432 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q3509886 Q2380910 Q1438 Q3110307 Q686 Q30832 Q760 Q12722 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q2038939 Q12620 Q12626 Q29 Q12543 Q617646 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q2093352 Q30946 Q334714 Q15116736 Q142 Q685048 Q29943 Q145 Q262 Q2009 Q12820 Q265 Q2344570 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q3083 Q2003 Q3240 Q2662372 Q3249 Q2565339 Q686924 Q1429976 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q924 Q929 Q858 Q423 Q424 Q29999 Q854 Q2226837 Q165763 Q1338277 Q1447 Q2360428 Q2565327 Q2588405 Q1045 Q1044 Q1042 Q1041 Q31070 Q3336 Q3334 Q12572 Q1984191 Q30797 Q1904 Q12578 Q12679 Q30815 Q1429761 Q153402 Q894973 Q894972 Q894971 Q2617427 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q244 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q678 Q2565367 Q8575586 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q15617994),P36,c(Q20667921)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q1254171
relation P36
type Q20667921
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) ?m WHERE { { ?m rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q20667921 . ?m property:P36 ?b } UNION { ?m property:P36 ?b . ?m rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q56061 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q1254171 property:P36 ?v . { { ?v rdf:type ontology:Q20667921 } UNION { ?v rdf:type ontology:Q56061 } } } } . FILTER ( ?s = ?a ) }
Yemen Panama Znaur Israel Costa Rica Gênes Meuse Peru Essonne Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Murmansk Okrug Orihuela Governorate Guyane Indonesia Bahrain Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde Pas-de-Calais British Columbia Eure-et-Loir Eure Mopani District Municipality OR Tambo District Municipality Aisne Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Seine-et-Oise Principality of Serbia Sieg Rumi District Marne Overberg District Municipality Minya Governorate Equatorial Guinea Suriname Guyana Umbria Lazio Vaucluse John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Iceland Belarus Mozambique Morocco Dhaka District Ourthe Basilicata Hautes-Pyrénées Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Pyrénées-Orientales Aravalli district Yevpatoria municipality Umgungundlovu District Municipality Aswan Governorate Ghana Monufia Governorate Rhine Trasimène Loiret Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Morbihan Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Aveyron Aube Niue Bojanala Platinum District Municipality Vienne Haute-Vienne Corrèze Cher Tibre Duchy of Luxembourg Manche Veneto Togo Charente Vosges Hamadoni District Norak District New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Talitsky District Danghara District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Haute-Marne Portugal Turkey El Salvador San Juan de Jinotega Ithaque Lot Zuyderzée Principality of Orange Cuba New Brunswick Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Puy-de-Dôme Asyut Governorate Gard Gers Finland Luxembourg Belgium Lithuania Poland Sweden Doubs Switzerland Italy Drôme Ems-Occidental Ardèche Pô Loire-Atlantique Finistère Damietta Governorate Montenegro Pixley ka Seme District Municipality Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine Oise French Southern and Antarctic Lands Barisal District Maine-et-Loire Lozère North Brabant Deux-Nèthes North Slope Borough Alpes-de-Haute-Provence Val-de-Marne Corse Val-d'Oise Alpes-Maritimes Territoire de Belfort Bangladesh Uganda Niger Nigeria Cacadu District Municipality Sao Tomé and Príncipe South Holland Palau Trinidad and Tobago Groningen Bolivia West Coast District Municipality Dakahlia Governorate Saône-et-Loire Eden District Municipality Ismailia Governorate Qena Governorate Joe Gqabi District Municipality ZF Mgcawu District Municipality Nièvre Gharbia Governorate Moselle Indre-et-Loire East Timor Rome Bouches-de-la-Meuse Estonia Egypt Uruguay Tepic, Nayarit (municipality) Louverture Ozama Ugu District Municipality Alpes-Maritimes Afrin Nahiya Duchy of Carniola Yonne Matrouh Governorate Beni Suef Governorate Xhariep District Municipality Nova Scotia Mont-Blanc Creuse Dordogne Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Mella Comilla District Arno Cibao Ramensky District Los Guayos Municipality Farkhor District Ariège Sud Saky municipality Fiji Kiribati Nord Bezirk Lothringen Somme Shapsugsky National District Chad West Rand District Municipality Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Escuintla South Sudan Eritrea Bulgaria Yssel-Supérieur Yalta municipality Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Upper Alsace Duchy of Lorraine Cape Winelands District Municipality Duchy of Prussia Anjou Izabal Department Bornholm Méditerranée Cairo Governorate iLembe District Municipality Norway Hungary Escaut People's Republic of China Azerbaijan New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia Meurthe UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Burundi Bouches-de-l'Èbre-Montserrat Hautes-Alpes Jura Bouches-de-l'Èbre Karelian National Okrug Sirajganj District Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Sègre-Ter Duchy of Zaslawye Campania Golo Vanuatu Giza Governorate Saint Lucia Haut-Rhin Indre Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Sedibeng District Municipality Mayenne Meurthe-et-Moselle Spain Hauts-de-Seine Namakwa District Municipality Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy Sylhet District Kafr el-Sheikh Governorate Duchy of Athens Jaén District France Simplon Alexandria Governorate United Kingdom Algeria Yukon Yvelines Uzbekistan Rangpur District Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Dzau district Ain Newfoundland and Labrador Bouches-du-Rhône Principality of Minsk Calvados Vose' District Mer-Égée Mymensingh District Pars Sohag Governorate Dinajpur District North Sinai Governorate Armyansk municipality Faroe Islands Amathole District Municipality Panj District Gali Municipality Seine-Saint-Denis Deux-Sèvres Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Tanzania Central African Republic Syria North Korea Cambodia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Sambre-et-Meuse Apulia Tijuana Municipality Muminobod District Shahrtuz District Somalia Sierra Leone Seychelles Senegal Suez Governorate Corse-du-Sud Haute-Corse Haute-Loire Ngaka Modiri Molema District Municipality Luxor Governorate Ontario Lot-et-Garonne Orne South Sinai Governorate Patuakhali District Roer Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Ayn Central Karoo District Municipality Samaná Czech Republic Republic of Moldova Slovakia Slovenia Barbados Ter Djibouti Kineshemsky District Capricorn District Municipality Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya Lesotho Tonga Vakhsh District Umayyad Caliphate Seine-Maritime Lys Port Said Governorate Seine-et-Marne Haute-Savoie Simferopol municipality Sisonke District Municipality Guatemala Department Loir-et-Cher
459
action count
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Dr Ruth Segomotsi Mompati District Municipality
relation capital
type type of french administrative division
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) ?m WHERE { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:type_of_french_administrative_division . ?m property:capital ?b } UNION { ?m property:capital ?b . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:administrative_territorial_entity } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Dr_Ruth_Segomotsi_Mompati_District_Municipality property:capital ?v . { { ?v rdf:type ontology:type_of_french_administrative_division } UNION { ?v rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?s = ?a ) }
[]