Simple Question (Direct)
Simple Question
Q7150072
P21
Q290
USER
Which sex does Paul Curteanu belong to ?
(Q7150072,P21,c(Q290))
action filter_type
action find
entity Q7150072
relation P21
type Q290
['Q7150072', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q7150072 property:P21 ?m . ?m rdf:type ontology:Q290 }
Paul Curteanu
action filter_type
action find
entity Paul Curteanu
relation gender
type sex
['Paul Curteanu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Paul_Curteanu property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7150072,P21,c(Q290))
action filter_type
action find
entity Q7150072
relation P21
type Q290
Paul Curteanu belongs to [ANSWER]
['Q7150072', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q7150072 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
Paul Curteanu belongs to male
male
action filter_type
action find
entity Paul Curteanu
relation gender
type sex
['Paul Curteanu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Paul_Curteanu property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7150072
P641
Q349
USER
Which sport was Paul Curteanu a part of ?
(Q7150072,P641,c(Q349))
action filter_type
action find
entity Q7150072
relation P641
type Q349
['Q7150072', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q7150072 property:P641 ?s }
Paul Curteanu
action filter_type
action find
entity Paul Curteanu
relation sport
type sport
['Paul Curteanu', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Paul_Curteanu property:sport ?s }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7150072,P641,c(Q349))
action filter_type
action find
entity Q7150072
relation P641
type Q349
The [ANSWER] was Paul Curteanu a part of
['Q7150072', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q7150072 property:P641 ?s }
association football
The association football was Paul Curteanu a part of
association football
action filter_type
action find
entity Paul Curteanu
relation sport
type sport
['Paul Curteanu', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Paul_Curteanu property:sport ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7150072
P27
Q15617994
USER
Which administrative territory does Paul Curteanu belong to ?
(Q7150072,P27,c(Q15617994))
action filter_type
action find
entity Q7150072
relation P27
type Q15617994
['Q7150072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q7150072 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Paul Curteanu
action filter_type
action find
entity Paul Curteanu
relation country of citizenship
type designation for an administrative territorial entity
['Paul Curteanu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Curteanu property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q7150072,P27,c(Q15617994))
action filter_type
action find
entity Q7150072
relation P27
type Q15617994
Paul Curteanu belongs to [ANSWER]
['Q7150072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q7150072 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Romania
Paul Curteanu belongs to Romania
Romania
action filter_type
action find
entity Paul Curteanu
relation country of citizenship
type designation for an administrative territorial entity
['Paul Curteanu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Curteanu property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10395166
Q15617994
USER
And how about Zita Carvalhosa?
(Q10395166,P27,c(Q15617994))
action filter_type
action find
entity Q10395166
relation P27
type Q15617994
['Q10395166', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q10395166 property:P27 ?h }
Zita Carvalhosa
action filter_type
action find
entity Zita Carvalhosa
relation country of citizenship
type designation for an administrative territorial entity
['Zita Carvalhosa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Zita_Carvalhosa property:country_of_citizenship ?h }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q10395166,P27,c(Q15617994))
action filter_type
action find
entity Q10395166
relation P27
type Q15617994
[ANSWER]
['Q10395166', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q10395166 property:P27 ?h }
Brazil
Brazil
action filter_type
action find
entity Zita Carvalhosa
relation country of citizenship
type designation for an administrative territorial entity
['Zita Carvalhosa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Zita_Carvalhosa property:country_of_citizenship ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10395166
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q155,P19,c(Q56061))
action filter_type
action find
entity Q10395166
relation P19
type Q56061
['Q155', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q10395166 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Zita Carvalhosa
action filter_type
action find
entity Zita Carvalhosa
relation place of birth
type administrative territorial entity
['Brazil', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Zita_Carvalhosa property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q174
SYSTEM
São Paulo
Q174
(Q155,P19,c(Q56061))
action filter_type
action find
entity Q10395166
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q155', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q10395166 property:P19 ?o . ?o rdf:type ontology:Q56061 }
São Paulo
São Paulo is the place of birth of that person
São Paulo
action filter_type
action find
entity Zita Carvalhosa
relation place of birth
type administrative territorial entity
['Brazil', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Zita_Carvalhosa property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q174 Q2334358
P190
Q56061
USER
Is Fryton the sister city of São Paulo ?
(Q174,P190,Q2334358)
action is_in
entity Q2334358
action find
entity Q174
relation P190
['Q174', 'P190', 'Q2334358']
ASK WHERE { resource:Q174 property:P190 resource:Q2334358 }
São Paulo Fryton
action is_in
entity Fryton
action find
entity São Paulo
relation sister city
['São Paulo', 'sister city', 'Fryton']
ASK WHERE { resource:São_Paulo property:sister_city resource:Fryton }
[]
administrative territorial entity
SYSTEM
NO
(Q174,P190,Q2334358)
action is_in
entity Q2334358
action find
entity Q174
relation P190
[ANSWER]
['Q174', 'P190', 'Q2334358']
ASK WHERE { resource:Q174 property:P190 resource:Q2334358 }
No
action is_in
entity Fryton
action find
entity São Paulo
relation sister city
['São Paulo', 'sister city', 'Fryton']
ASK WHERE { resource:São_Paulo property:sister_city resource:Fryton }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q117342
P417
Q1445650 Q502895 Q15617994
USER
How many administrative territories have adopted less number of holidays and people as patron saint than Santopadre ?
(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 Q117342
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?o WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?o } . FILTER ( ?f < ?a ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Q117342 property:P417 ?j . { { ?j rdf:type ontology:Q502895 } UNION { ?j rdf:type ontology:Q1445650 } } } } }
Santopadre
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 Santopadre
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 ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?o WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?o } . FILTER ( ?f < ?a ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Santopadre property:patron_saint ?j . { { ?j rdf:type ontology:common_name } UNION { ?j rdf:type ontology:holiday } } } } }
[]
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 Q117342
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?o WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?o } . FILTER ( ?f < ?a ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Q117342 property:P417 ?j . { { ?j rdf:type ontology:Q502895 } UNION { ?j rdf:type ontology:Q1445650 } } } } }
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 Santopadre
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 ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?o WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?o } . FILTER ( ?f < ?a ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Santopadre property:patron_saint ?j . { { ?j rdf:type ontology:common_name } UNION { ?j rdf:type ontology:holiday } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q34598
P417
Q1445650 Q502895 Q15617994
USER
And how about Stienta?
(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 Q34598
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?w WHERE { { ?w rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1445650 . ?w property:P417 ?n } UNION { ?w property:P417 ?n . ?w rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q502895 } } GROUP BY ?w } . FILTER ( ?u < ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q34598 property:P417 ?j . { VALUES ( ?p ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?j rdf:type ?p } } } }
Stienta
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 Stienta
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 ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?w WHERE { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:holiday . ?w property:patron_saint ?n } UNION { ?w property:patron_saint ?n . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:common_name } } GROUP BY ?w } . FILTER ( ?u < ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Stienta property:patron_saint ?j . { VALUES ( ?p ) { ( ontology:holiday ) ( ontology:common_name ) } . ?j rdf:type ?p } } } }
[]
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 Q34598
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?w WHERE { { ?w rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1445650 . ?w property:P417 ?n } UNION { ?w property:P417 ?n . ?w rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q502895 } } GROUP BY ?w } . FILTER ( ?u < ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q34598 property:P417 ?j . { VALUES ( ?p ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?j rdf:type ?p } } } }
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 Stienta
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 ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?w WHERE { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:holiday . ?w property:patron_saint ?n } UNION { ?w property:patron_saint ?n . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:common_name } } GROUP BY ?w } . FILTER ( ?u < ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Stienta property:patron_saint ?j . { VALUES ( ?p ) { ( ontology:holiday ) ( ontology:common_name ) } . ?j rdf:type ?p } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3766
P840
Q56061 Q15416 Q2342494
USER
How many administrative territories are the narrative locations of around the same number of television programs and collectables as Damascus ?
(c(Q15416)|c(Q2342494),P840,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q3766
relation P840
type Q15416
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?v ) WHERE { VALUES ( ?s ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?l rdf:type ?s } GROUP BY ?i } . FILTER ( ?v = ?d ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P840 resource:Q3766 . { { ?c rdf:type ontology:Q2342494 } UNION { ?c rdf:type ontology:Q15416 } } } } }
Damascus
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Damascus
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?v ) WHERE { VALUES ( ?s ) { ( ontology:television_program ) ( ontology:collectable ) } . ?l rdf:type ?s } GROUP BY ?i } . FILTER ( ?v = ?d ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:narrative_location resource:Damascus . { { ?c rdf:type ontology:collectable } UNION { ?c rdf:type ontology:television_program } } } } }
[]
administrative territorial entity television program collectable
SYSTEM
366
Q3579 Q1715 Q704257 Q7436 Q34804 Q21075005 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q1826473 Q210292 Q28729 Q25286 Q25287 Q128499 Q2280 Q3805 Q501661 Q804569 Q49233 Q1255278 Q42096 Q18808 Q467664 Q23725 Q1050826 Q4093 Q3659 Q16563 Q23337 Q8692 Q2656 Q1289 Q10690 Q585 Q1425428 Q124739 Q3413045 Q79873 Q81788 Q43453 Q1754 Q1022 Q308891 Q2500974 Q7054337 Q101625 Q48320 Q80985 Q12892 Q215646 Q80734 Q7880 Q82858 Q1930 Q1435589 Q597 Q690 Q257536 Q334 Q22889 Q3437 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q667268 Q25319 Q33935 Q54140 Q180294 Q8818 Q34739 Q215177 Q27168 Q16555 Q2048321 Q1335 Q594807 Q1891 Q39121 Q9427 Q48274 Q83317 Q12340599 Q262483 Q186237 Q5083 Q23154 Q2567585 Q37776 Q1489 Q209055 Q7094142 Q3561 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q490 Q6346 Q495 Q2044 Q48370 Q36036 Q3703 Q208287 Q2141 Q192517 Q54212 Q23436 Q43301 Q490584 Q3141 Q3630 Q1246235 Q17151 Q237 Q6046 Q25416 Q239 Q25410 Q16558 Q16559 Q5212975 Q16554 Q753121 Q16556 Q16557 Q8686 Q994 Q35178 Q113546 Q3037 Q52437 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q14815 Q1748 Q169492 Q26881 Q13670 Q1911961 Q85 Q128321 Q42462 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q37320 Q25390 Q214178 Q735022 Q45301 Q25395 Q11592 Q78 Q34863 Q72 Q71 Q70 Q178168 Q37100 Q16869 Q2214 Q38022 Q174 Q172 Q270 Q2028 Q37066 Q486439 Q2073798 Q26887 Q184587 Q208472 Q79980 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q837165 Q41819 Q1861 Q2177880 Q5092 Q1011683 Q41329 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q6225 Q437 Q124539 Q2118905 Q134672 Q1479 Q387047 Q18419 Q1780 Q1781 Q2302168 Q690052 Q2090 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q621549 Q49149 Q1353 Q1352 Q676689 Q271411 Q13496 Q27119 Q1524 Q220 Q340 Q125434 Q494728 Q25331 Q25231 Q25230 Q617 Q612 Q430464 Q21855637 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q2634 Q863058 Q1659757 Q268873 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q159232 Q61 Q1757 Q18125 Q5818 Q1867 Q384 Q5813 Q12439 Q27393 Q12191 Q126148 Q202337 Q23556 Q837478 Q184345 Q13362 Q6537 Q6106 Q49111 Q499196 Q495373 Q10313 Q42810 Q49255 Q3640 Q647 Q641 Q727 Q649 Q41621 Q3012 Q2301524 Q852778 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q43919 Q1449 Q47048 Q1764 Q34932 Q12340625 Q2211 Q41262 Q2704 Q47716 Q1040 Q6441 Q165972 Q100 Q374748 Q485172 Q26793 Q10686 Q4190 Q897848 Q165413 Q350 Q62677 Q1574020 Q3992 Q1781238 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q3619316 Q2751 Q41876 Q485186 Q42448 Q41970 Q34647 Q33986 Q1085
(c(Q15416)|c(Q2342494),P840,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q3766
relation P840
type Q15416
type Q2342494
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?v ) WHERE { VALUES ( ?s ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?l rdf:type ?s } GROUP BY ?i } . FILTER ( ?v = ?d ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P840 resource:Q3766 . { { ?c rdf:type ontology:Q2342494 } UNION { ?c rdf:type ontology:Q15416 } } } } }
Tripoli Hanover Albany Gatchina Albuquerque Serritslev Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Tversted Yozgat Kozhikode Uppsala Gothenburg Yalta Minsk Amman Schleswig Bala, Ontario Orlando Dragør Miryang Pyongyang Butte Byzantium Greater Los Angeles Area Glasgow N'Djamena Memphis Salt Lake City Bilbao Palermo Grenoble Cardiff Oslo Newcastle upon Tyne Tijuana Farsø Tombstone Giza Plzeň Stockholm Stuttgart special wards of Tokyo Richmond North Buxton, Ontario Marrakesh Kōbe Fes Antwerp Edo Campagna Toulouse Sigmaringen Ottawa Folsom Lisbon Delft Janesville Singapore Bath Perugia Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Nevada City Aarhus Tel Aviv Salem Jaffa Valencia Dayton Skagen Randers Houston Varde Montevideo Søborg Bologna Leeds Timbuktu Nashua Mosul Vedersø Deadwood Joensuu Seattle Bristol Dybbøl Besançon Mexico City Torquay Onllwyn Algiers Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Milan Indianapolis Turin Florence Manchester Lviv Bamako Kauniainen Halifax Boulder Barnsley Edinburgh Fresno Flint Melbourne Jakarta Nørresundby Thessaloniki Vatican City Novara Stavanger Brussels Aalborg Fort Worth Austin Damsholte Denver Atacames Phoenix Dallas Shanghai Tbilisi Kuwait City Blackeberg Kathmandu Murano Ascot Bloomington Havana Kazan Brighton Vienna Weißenfels Copenhagen Neukölln Helsingør Syracuse Thorning Cairo Midland York Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Cleveland Leeuwarden Nablus Walnut Grove, Minnesota Trabzon Newark Sonoma Basel Oklahoma City Zürich Geneva Bern Mitrovica Auckland Constantinople Pskov St. Louis São Paulo Toronto Warsaw Verona Bismarck Cedar Rapids Welch Davenport Grand Rapids Bingöl Varanasi Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Ågerup Baltimore Rødbyhavn Linz Beijing Guatemala City Tokyo La Paz Barcelona El Paso Coventry Ljubljana Whitechapel Purley Exeter Bordeaux Malibu Brooklyn Bratislava Budapest Kjellerup Trebinje Nuremberg Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Inglewood Nantucket Delhi Chennai Gravesend Malindi Brindisi Kolding Athens Rome Montreal Port Elizabeth West Covina Odense Svalbard Guernsey Padua Dubai Dearborn Hvilsager Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Naples Summerside Gimli Newport Beach Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Santa Cruz Washington, D.C. Helsinki Manchester Córdoba Taipei Skopje Canary Islands Detroit Herning Nantes Tangier Nauplion Atlanta Sabinov Viña del Mar Ferrara Vicenza Portland Cambridge Costa Mesa Visalia Donostia/San Sebastián Le Havre Tampa Ankara Rennes Venice Amsterdam Moscow Haifa Ulm Stege Whitby Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Salem Genoa Oulu Reykjavík Brisbane Vejlby Malmö Nottingham Pescara Charleston Karlsruhe Montpellier Fort Lauderdale Boston Jenin Ann Arbor Bergen Belfast Passau Brande Baikonur Cambridge Karakorum The Hamptons Liège Stureby San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Grenå Siena Reims Key West Sheffield Pyatigorsk Johannesburg Valparaíso Prague
366
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Damascus
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?v ) WHERE { VALUES ( ?s ) { ( ontology:television_program ) ( ontology:collectable ) } . ?l rdf:type ?s } GROUP BY ?i } . FILTER ( ?v = ?d ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:narrative_location resource:Damascus . { { ?c rdf:type ontology:collectable } UNION { ?c rdf:type ontology:television_program } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q26
P840
Q56061 Q15416 Q2342494
USER
And how about Northern Ireland?
(c(Q15416)|c(Q2342494),P840,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q26
relation P840
type Q15416
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?t WHERE { VALUES ( ?x ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?a rdf:type ?x } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P840 resource:Q26 . { { ?i rdf:type ontology:Q15416 } UNION { ?i rdf:type ontology:Q2342494 } } } } . FILTER ( ?v = ?z ) }
Northern Ireland
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Northern Ireland
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?t WHERE { VALUES ( ?x ) { ( ontology:television_program ) ( ontology:collectable ) } . ?a rdf:type ?x } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:narrative_location resource:Northern_Ireland . { { ?i rdf:type ontology:television_program } UNION { ?i rdf:type ontology:collectable } } } } . FILTER ( ?v = ?z ) }
[]
administrative territorial entity television program collectable
SYSTEM
366
Q3579 Q1715 Q704257 Q7436 Q34804 Q21075005 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q1826473 Q210292 Q28729 Q25286 Q25287 Q128499 Q2280 Q3805 Q501661 Q804569 Q49233 Q1255278 Q42096 Q18808 Q467664 Q23725 Q1050826 Q4093 Q3659 Q16563 Q23337 Q8692 Q2656 Q1289 Q10690 Q585 Q1425428 Q124739 Q3413045 Q79873 Q81788 Q43453 Q1754 Q1022 Q308891 Q2500974 Q7054337 Q101625 Q48320 Q80985 Q12892 Q215646 Q80734 Q7880 Q82858 Q1930 Q1435589 Q597 Q690 Q257536 Q334 Q22889 Q3437 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q667268 Q25319 Q33935 Q54140 Q180294 Q8818 Q34739 Q215177 Q27168 Q16555 Q2048321 Q1335 Q594807 Q1891 Q39121 Q9427 Q48274 Q83317 Q12340599 Q262483 Q186237 Q5083 Q23154 Q2567585 Q37776 Q1489 Q209055 Q7094142 Q3561 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q490 Q6346 Q495 Q2044 Q48370 Q36036 Q3703 Q208287 Q2141 Q192517 Q54212 Q23436 Q43301 Q490584 Q3141 Q3630 Q1246235 Q17151 Q237 Q6046 Q25416 Q239 Q25410 Q16558 Q16559 Q5212975 Q16554 Q753121 Q16556 Q16557 Q8686 Q994 Q35178 Q113546 Q3037 Q52437 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q14815 Q1748 Q169492 Q26881 Q13670 Q1911961 Q85 Q128321 Q42462 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q37320 Q25390 Q214178 Q735022 Q45301 Q25395 Q11592 Q78 Q34863 Q72 Q71 Q70 Q178168 Q37100 Q16869 Q2214 Q38022 Q174 Q172 Q270 Q2028 Q37066 Q486439 Q2073798 Q26887 Q184587 Q208472 Q79980 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q837165 Q41819 Q1861 Q2177880 Q5092 Q1011683 Q41329 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q6225 Q437 Q124539 Q2118905 Q134672 Q1479 Q387047 Q18419 Q1780 Q1781 Q2302168 Q690052 Q2090 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q621549 Q49149 Q1353 Q1352 Q676689 Q271411 Q13496 Q27119 Q1524 Q220 Q340 Q125434 Q494728 Q25331 Q25231 Q25230 Q617 Q612 Q430464 Q21855637 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q2634 Q863058 Q1659757 Q268873 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q159232 Q61 Q1757 Q18125 Q5818 Q1867 Q384 Q5813 Q12439 Q27393 Q12191 Q126148 Q202337 Q23556 Q837478 Q184345 Q13362 Q6537 Q6106 Q49111 Q499196 Q495373 Q10313 Q42810 Q49255 Q3640 Q647 Q641 Q727 Q649 Q41621 Q3012 Q2301524 Q852778 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q43919 Q1449 Q47048 Q1764 Q34932 Q12340625 Q2211 Q41262 Q2704 Q47716 Q1040 Q6441 Q165972 Q100 Q374748 Q485172 Q26793 Q10686 Q4190 Q897848 Q165413 Q350 Q62677 Q1574020 Q3992 Q1781238 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q3619316 Q2751 Q41876 Q485186 Q42448 Q41970 Q34647 Q33986 Q1085
(c(Q15416)|c(Q2342494),P840,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q26
relation P840
type Q15416
type Q2342494
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?t WHERE { VALUES ( ?x ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?a rdf:type ?x } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P840 resource:Q26 . { { ?i rdf:type ontology:Q15416 } UNION { ?i rdf:type ontology:Q2342494 } } } } . FILTER ( ?v = ?z ) }
Tripoli Hanover Albany Gatchina Albuquerque Serritslev Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Tversted Yozgat Kozhikode Uppsala Gothenburg Yalta Minsk Amman Schleswig Bala, Ontario Orlando Dragør Miryang Pyongyang Butte Byzantium Greater Los Angeles Area Glasgow N'Djamena Memphis Salt Lake City Bilbao Palermo Grenoble Cardiff Oslo Newcastle upon Tyne Tijuana Farsø Tombstone Giza Plzeň Stockholm Stuttgart special wards of Tokyo Richmond North Buxton, Ontario Marrakesh Kōbe Fes Antwerp Edo Campagna Toulouse Sigmaringen Ottawa Folsom Lisbon Delft Janesville Singapore Bath Perugia Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Nevada City Aarhus Tel Aviv Salem Jaffa Valencia Dayton Skagen Randers Houston Varde Montevideo Søborg Bologna Leeds Timbuktu Nashua Mosul Vedersø Deadwood Joensuu Seattle Bristol Dybbøl Besançon Mexico City Torquay Onllwyn Algiers Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Milan Indianapolis Turin Florence Manchester Lviv Bamako Kauniainen Halifax Boulder Barnsley Edinburgh Fresno Flint Melbourne Jakarta Nørresundby Thessaloniki Vatican City Novara Stavanger Brussels Aalborg Fort Worth Austin Damsholte Denver Atacames Phoenix Dallas Shanghai Tbilisi Kuwait City Blackeberg Kathmandu Murano Ascot Bloomington Havana Kazan Brighton Vienna Weißenfels Copenhagen Neukölln Helsingør Syracuse Thorning Cairo Midland York Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Cleveland Leeuwarden Nablus Walnut Grove, Minnesota Trabzon Newark Sonoma Basel Oklahoma City Zürich Geneva Bern Mitrovica Auckland Constantinople Pskov St. Louis São Paulo Toronto Warsaw Verona Bismarck Cedar Rapids Welch Davenport Grand Rapids Bingöl Varanasi Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Ågerup Baltimore Rødbyhavn Linz Beijing Guatemala City Tokyo La Paz Barcelona El Paso Coventry Ljubljana Whitechapel Purley Exeter Bordeaux Malibu Brooklyn Bratislava Budapest Kjellerup Trebinje Nuremberg Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Inglewood Nantucket Delhi Chennai Gravesend Malindi Brindisi Kolding Athens Rome Montreal Port Elizabeth West Covina Odense Svalbard Guernsey Padua Dubai Dearborn Hvilsager Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Naples Summerside Gimli Newport Beach Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Santa Cruz Washington, D.C. Helsinki Manchester Córdoba Taipei Skopje Canary Islands Detroit Herning Nantes Tangier Nauplion Atlanta Sabinov Viña del Mar Ferrara Vicenza Portland Cambridge Costa Mesa Visalia Donostia/San Sebastián Le Havre Tampa Ankara Rennes Venice Amsterdam Moscow Haifa Ulm Stege Whitby Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Salem Genoa Oulu Reykjavík Brisbane Vejlby Malmö Nottingham Pescara Charleston Karlsruhe Montpellier Fort Lauderdale Boston Jenin Ann Arbor Bergen Belfast Passau Brande Baikonur Cambridge Karakorum The Hamptons Liège Stureby San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Grenå Siena Reims Key West Sheffield Pyatigorsk Johannesburg Valparaíso Prague
366
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Northern Ireland
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?t WHERE { VALUES ( ?x ) { ( ontology:television_program ) ( ontology:collectable ) } . ?a rdf:type ?x } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:narrative_location resource:Northern_Ireland . { { ?i rdf:type ontology:television_program } UNION { ?i rdf:type ontology:collectable } } } } . FILTER ( ?v = ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q501683
P706
Q82794 Q107425 Q15617994
USER
How many administrative territories have their location as more number of geographic regions and landscapes than Rosengarten ?
(c(Q15617994),P706,c(Q82794)|c(Q107425))
action count
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action find_tuple_counts
relation P706
type Q15617994
type Q107425
action count
action filter_multi_types
action find
entity Q501683
relation P706
type Q82794
type Q107425
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?m WHERE { ?w rdf:type ?s . VALUES ( ?s ) { ( ontology:Q82794 ) ( ontology:Q107425 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Q501683 property:P706 ?d . { { ?d rdf:type ontology:Q82794 } UNION { ?d rdf:type ontology:Q107425 } } } } . FILTER ( ?x > ?c ) }
Rosengarten
action count
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landscape
action count
action filter_multi_types
action find
entity Rosengarten
relation located on terrain feature
type geographic region
type landscape
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'landscape'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?m WHERE { ?w rdf:type ?s . VALUES ( ?s ) { ( ontology:geographic_region ) ( ontology:landscape ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Rosengarten property:located_on_terrain_feature ?d . { { ?d rdf:type ontology:geographic_region } UNION { ?d rdf:type ontology:landscape } } } } . FILTER ( ?x > ?c ) }
[]
geographic region landscape designation for an administrative territorial entity
SYSTEM
15
Q252320 Q15744129 Q508054 Q1721440 Q252772 Q104192 Q81306 Q1778088 Q145 Q494305 Q503693 Q507258 Q15744111 Q625747 Q2585085
(c(Q15617994),P706,c(Q82794)|c(Q107425))
action count
action greater
action union
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action find_tuple_counts
relation P706
type Q15617994
type Q107425
action count
action filter_multi_types
action find
entity Q501683
relation P706
type Q82794
type Q107425
[ANSWER]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?m WHERE { ?w rdf:type ?s . VALUES ( ?s ) { ( ontology:Q82794 ) ( ontology:Q107425 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Q501683 property:P706 ?d . { { ?d rdf:type ontology:Q82794 } UNION { ?d rdf:type ontology:Q107425 } } } } . FILTER ( ?x > ?c ) }
Pleinfeld Oberscheuren Neu Wulmstorf Kaimig Eichstätt Kleinmachnow Forbach Kochenbach United Kingdom Kelheim Riedenburg Kipfenberg Niederscheuren Rangsdorf Wintersberg
15
action count
action greater
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landscape
action count
action filter_multi_types
action find
entity Rosengarten
relation located on terrain feature
type geographic region
type landscape
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'landscape'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?m WHERE { ?w rdf:type ?s . VALUES ( ?s ) { ( ontology:geographic_region ) ( ontology:landscape ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Rosengarten property:located_on_terrain_feature ?d . { { ?d rdf:type ontology:geographic_region } UNION { ?d rdf:type ontology:landscape } } } } . FILTER ( ?x > ?c ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q29 Q218
P27
Q502895
USER
Which people are civilians of Romania and Spain ?
AND((c(Q502895),P27,Q218), (c(Q502895),P27,Q29))
action filter_type
action intersection
action find_reverse
entity Q218
relation P27
action find_reverse
entity Q29
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q218'], [{'concept': 'Q502895'}, 'P27', 'Q29']]}
SELECT DISTINCT ?c WHERE { ?c property:P27 resource:Q218 . ?c property:P27 resource:Q29 . ?c rdf:type ontology:Q502895 }
Spain Romania
action filter_type
action intersection
action find_reverse
entity Romania
relation country of citizenship
action find_reverse
entity Spain
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Romania'], [{'concept': 'common name'}, 'country of citizenship', 'Spain']]}
SELECT DISTINCT ?c WHERE { ?c property:country_of_citizenship resource:Romania . ?c property:country_of_citizenship resource:Spain . ?c rdf:type ontology:common_name }
[]
common name
Q54390 Q22815177 Q15710546 Q21998656
SYSTEM
Valeriu Lazarov, Gelu Barbu, Roxana Popa, Marcela Topor
Q54390 Q22815177 Q15710546 Q21998656
AND((c(Q502895),P27,Q218), (c(Q502895),P27,Q29))
action filter_type
action intersection
action find_reverse
entity Q218
relation P27
action find_reverse
entity Q29
relation P27
type Q502895
[ANSWERS] are civilians of Romania and Spain
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q218'], [{'concept': 'Q502895'}, 'P27', 'Q29']]}
SELECT DISTINCT ?c WHERE { ?c property:P27 resource:Q218 . ?c property:P27 resource:Q29 . ?c rdf:type ontology:Q502895 }
Valeriu Lazarov Gelu Barbu Roxana Popa Marcela Topor
Valeriu Lazarov, Gelu Barbu, Roxana Popa and Marcela Topor are civilians of Romania and Spain
Valeriu Lazarov Gelu Barbu Roxana Popa Marcela Topor
action filter_type
action intersection
action find_reverse
entity Romania
relation country of citizenship
action find_reverse
entity Spain
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Romania'], [{'concept': 'common name'}, 'country of citizenship', 'Spain']]}
SELECT DISTINCT ?c WHERE { ?c property:country_of_citizenship resource:Romania . ?c property:country_of_citizenship resource:Spain . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q54390 Q22815177 Q15710546 Q21998656
P21
Q290
USER
Which sexes do those people belong to ?
(Q54390,P21,c(Q290)) (Q22815177,P21,c(Q290)) (Q15710546,P21,c(Q290)) (Q21998656,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q54390', 'P21', {'concept': 'Q290'}] ['Q22815177', 'P21', {'concept': 'Q290'}] ['Q15710546', 'P21', {'concept': 'Q290'}] ['Q21998656', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?t property:P21 ?c . ?c rdf:type ontology:Q290 . VALUES ( ?t ) { ( resource:Q54390 ) ( resource:Q22815177 ) ( resource:Q15710546 ) } }
Valeriu Lazarov Gelu Barbu Roxana Popa Marcela Topor
action filter_type
action find
entity prev_answer
relation gender
type sex
['Valeriu Lazarov', 'gender', {'concept': 'sex'}] ['Gelu Barbu', 'gender', {'concept': 'sex'}] ['Roxana Popa', 'gender', {'concept': 'sex'}] ['Marcela Topor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?t property:gender ?c . ?c rdf:type ontology:sex . VALUES ( ?t ) { ( resource:Valeriu_Lazarov ) ( resource:Gelu_Barbu ) ( resource:Roxana_Popa ) } }
[]
sex
Q6581097 Q6581097 Q6581072
SYSTEM
male for 1st, 2nd, female for 3rd
Q6581097 Q6581097 Q6581072 Q6581072
(Q54390,P21,c(Q290)) (Q22815177,P21,c(Q290)) (Q15710546,P21,c(Q290)) (Q21998656,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q54390', 'P21', {'concept': 'Q290'}] ['Q22815177', 'P21', {'concept': 'Q290'}] ['Q15710546', 'P21', {'concept': 'Q290'}] ['Q21998656', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?t property:P21 ?c . ?c rdf:type ontology:Q290 . VALUES ( ?t ) { ( resource:Q54390 ) ( resource:Q22815177 ) ( resource:Q15710546 ) } }
male male female female
Those people belong to male, male and female
male male female
action filter_type
action find
entity prev_answer
relation gender
type sex
['Valeriu Lazarov', 'gender', {'concept': 'sex'}] ['Gelu Barbu', 'gender', {'concept': 'sex'}] ['Roxana Popa', 'gender', {'concept': 'sex'}] ['Marcela Topor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?t property:gender ?c . ?c rdf:type ontology:sex . VALUES ( ?t ) { ( resource:Valeriu_Lazarov ) ( resource:Gelu_Barbu ) ( resource:Roxana_Popa ) } }
[]