Simple Question (Direct)
Simple Question
Q781172
P106
Q12737077
USER
What does Şeref Eroğlu do for a living ?
(Q781172,P106,c(Q12737077))
action filter_type
action find
entity Q781172
relation P106
type Q12737077
['Q781172', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q781172 property:P106 ?t }
Şeref Eroğlu
action filter_type
action find
entity Şeref Eroğlu
relation occupation
type occupation
['Şeref Eroğlu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Şeref_Eroğlu property:occupation ?t }
[]
occupation
Q19595175
SYSTEM
amateur wrestler
Q19595175
(Q781172,P106,c(Q12737077))
action filter_type
action find
entity Q781172
relation P106
type Q12737077
Şeref Eroğlu does an [ANSWER] for a living
['Q781172', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q781172 property:P106 ?t }
amateur wrestler
Şeref Eroğlu does an amateur wrestler for a living
amateur wrestler
action filter_type
action find
entity Şeref Eroğlu
relation occupation
type occupation
['Şeref Eroğlu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Şeref_Eroğlu property:occupation ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q781172
P21
Q290
USER
What is the sex of Şeref Eroğlu ?
(Q781172,P21,c(Q290))
action filter_type
action find
entity Q781172
relation P21
type Q290
['Q781172', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q781172 property:P21 ?q . ?q rdf:type ontology:Q290 }
Şeref Eroğlu
action filter_type
action find
entity Şeref Eroğlu
relation gender
type sex
['Şeref Eroğlu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Şeref_Eroğlu property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q781172,P21,c(Q290))
action filter_type
action find
entity Q781172
relation P21
type Q290
The sex of Şeref Eroğlu is a [ANSWER]
['Q781172', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q781172 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Şeref Eroğlu is a male
male
action filter_type
action find
entity Şeref Eroğlu
relation gender
type sex
['Şeref Eroğlu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Şeref_Eroğlu property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q781172
P1344
Q16510064
USER
Which sporting event did that person participate in ?
(Q6581097,P1344,c(Q16510064))
action filter_type
action find
entity Q781172
relation P1344
type Q16510064
['Q6581097', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q16510064 . resource:Q781172 property:P1344 ?b }
Şeref Eroğlu
action filter_type
action find
entity Şeref Eroğlu
relation participant of
type sporting event
['male', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sporting_event . resource:Şeref_Eroğlu property:participant_of ?b }
[]
sporting event
Q3837499
SYSTEM
Wrestling at the 2004 Summer Olympics – Men's Greco-Roman 66 kg
Q3837499
(Q6581097,P1344,c(Q16510064))
action filter_type
action find
entity Q781172
relation P1344
type Q16510064
That person participated in [ANSWER]
['Q6581097', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q16510064 . resource:Q781172 property:P1344 ?b }
Wrestling at the 2004 Summer Olympics – Men's Greco-Roman 66 kg
That person participated in Wrestling at the 2004 Summer Olympics – Men's Greco-Roman 66 kg
Wrestling at the 2004 Summer Olympics – Men's Greco-Roman 66 kg
action filter_type
action find
entity Şeref Eroğlu
relation participant of
type sporting event
['male', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sporting_event . resource:Şeref_Eroğlu property:participant_of ?b }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4951662 Q781172
P27
Q15617994
USER
Which administrative territories are Şeref Eroğlu or Charlotte Gyllenhammar a civilian of ?
OR((Q781172,P27,c(Q15617994)), (Q4951662,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q781172
relation P27
action find
entity Q4951662
relation P27
type Q15617994
{'OR': [['Q781172', 'P27', {'concept': 'Q15617994'}], ['Q4951662', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q781172 property:P27 ?g } UNION { resource:Q4951662 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Charlotte Gyllenhammar Şeref Eroğlu
action filter_type
action union
action find
entity Şeref Eroğlu
relation country of citizenship
action find
entity Charlotte Gyllenhammar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Şeref Eroğlu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Charlotte Gyllenhammar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Şeref_Eroğlu property:country_of_citizenship ?g } UNION { resource:Charlotte_Gyllenhammar property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43 Q34
SYSTEM
Turkey, Sweden
Q43 Q34
OR((Q781172,P27,c(Q15617994)), (Q4951662,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q781172
relation P27
action find
entity Q4951662
relation P27
type Q15617994
[ANSWERS] are Şeref Eroğlu or Charlotte Gyllenhammar a civilian of
{'OR': [['Q781172', 'P27', {'concept': 'Q15617994'}], ['Q4951662', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q781172 property:P27 ?g } UNION { resource:Q4951662 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Turkey Sweden
Turkey and Sweden are Şeref Eroğlu or Charlotte Gyllenhammar a civilian of
Turkey Sweden
action filter_type
action union
action find
entity Şeref Eroğlu
relation country of citizenship
action find
entity Charlotte Gyllenhammar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Şeref Eroğlu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Charlotte Gyllenhammar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Şeref_Eroğlu property:country_of_citizenship ?g } UNION { resource:Charlotte_Gyllenhammar property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q735569
P27
Q502895
USER
Are Mehmed Emîn Bozarslan a native of those administrative territories ?
(Q735569,P27,Q43) (Q735569,P27,Q34)
action is_in
entity prev_answer
action find
entity Q735569
relation P27
['Q735569', 'P27', 'Q43'] ['Q735569', 'P27', 'Q34']
ASK WHERE { resource:Q735569 property:P27 ?i . VALUES ( ?i ) { ( resource:Q43 ) ( resource:Q34 ) } }
Mehmed Emîn Bozarslan
action is_in
entity prev_answer
action find
entity Mehmed Emîn Bozarslan
relation country of citizenship
['Mehmed Emîn Bozarslan', 'country of citizenship', 'Turkey'] ['Mehmed Emîn Bozarslan', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Mehmed_Emîn_Bozarslan property:country_of_citizenship ?i . VALUES ( ?i ) { ( resource:Turkey ) ( resource:Sweden ) } }
[]
common name
SYSTEM
YES
(Q735569,P27,Q43) (Q735569,P27,Q34)
action is_in
entity prev_answer
action find
entity Q735569
relation P27
[ANSWER]
['Q735569', 'P27', 'Q43'] ['Q735569', 'P27', 'Q34']
ASK WHERE { resource:Q735569 property:P27 ?i . VALUES ( ?i ) { ( resource:Q43 ) ( resource:Q34 ) } }
Yes
action is_in
entity prev_answer
action find
entity Mehmed Emîn Bozarslan
relation country of citizenship
['Mehmed Emîn Bozarslan', 'country of citizenship', 'Turkey'] ['Mehmed Emîn Bozarslan', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Mehmed_Emîn_Bozarslan property:country_of_citizenship ?i . VALUES ( ?i ) { ( resource:Turkey ) ( resource:Sweden ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q53881
P417
Q502895 Q1445650 Q15617994
USER
Which administrative territories have adopted approximately the same number of people or holidays as patron saint as Fiumefreddo Bruzio ?
(c(Q15617994),P417,c(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action count
action filter_multi_types
action find
entity Q53881
relation P417
type Q502895
type Q1445650
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) ?v WHERE { { ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q502895 . ?v property:P417 ?i } UNION { ?v property:P417 ?i . ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1445650 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q53881 property:P417 ?y . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q1445650 } } } } . FILTER ( ?h = ?m ) }
Fiumefreddo Bruzio
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Fiumefreddo Bruzio
relation patron saint
type common name
type holiday
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) ?v WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:common_name . ?v property:patron_saint ?i } UNION { ?v property:patron_saint ?i . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:holiday } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Fiumefreddo_Bruzio property:patron_saint ?y . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:holiday } } } } . FILTER ( ?h = ?m ) }
[]
common name holiday designation for an administrative territorial entity
Q155 Q478277 Q13619
SYSTEM
Brazil, Castiglione di Sicilia, Cosenza
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(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action count
action filter_multi_types
action find
entity Q53881
relation P417
type Q502895
type Q1445650
[ANSWERS] have adopted approximately the same number of people or holidays as patron saint as Fiumefreddo Bruzio
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) ?v WHERE { { ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q502895 . ?v property:P417 ?i } UNION { ?v property:P417 ?i . ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1445650 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q53881 property:P417 ?y . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q1445650 } } } } . FILTER ( ?h = ?m ) }
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
Brazil, Castiglione di Sicilia and Cosenza have adopted approximately the same number of people or holidays as patron saint as Fiumefreddo Bruzio
Brazil Castiglione di Sicilia Cosenza
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Fiumefreddo Bruzio
relation patron saint
type common name
type holiday
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) ?v WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:common_name . ?v property:patron_saint ?i } UNION { ?v property:patron_saint ?i . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:holiday } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Fiumefreddo_Bruzio property:patron_saint ?y . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:holiday } } } } . FILTER ( ?h = ?m ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q40036 Q53881
P47
Q15617994
USER
Which administrative territories are next to the border of Fiumefreddo Bruzio or Tromello ?
OR((c(Q15617994),P47,Q53881), (c(Q15617994),P47,Q40036))
action filter_type
action union
action find_reverse
entity Q53881
relation P47
action find_reverse
entity Q40036
relation P47
type Q15617994
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q53881'], [{'concept': 'Q15617994'}, 'P47', 'Q40036']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P47 resource:Q53881 } UNION { ?u property:P47 resource:Q40036 } } . ?u rdf:type ontology:Q15617994 }
Tromello Fiumefreddo Bruzio
action filter_type
action union
action find_reverse
entity Fiumefreddo Bruzio
relation shares border with
action find_reverse
entity Tromello
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Fiumefreddo Bruzio'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Tromello']]}
SELECT DISTINCT ?u WHERE { { { ?u property:shares_border_with resource:Fiumefreddo_Bruzio } UNION { ?u property:shares_border_with resource:Tromello } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39696 Q40969 Q53878 Q40834 Q39839 Q40055 Q40550 Q40851 Q53894 Q39242
SYSTEM
Some of them are Gambolò, Alagna, Falconara Albanese, Mortara, Valeggio, San Giorgio di Lomellina, Ottobiano, Garlasco, Longobardi, Calabria, Cergnago
Q53863 Q39839 Q39292 Q40969 Q40851 Q39242 Q53894 Q40550 Q53878 Q40834 Q40055 Q39696
OR((c(Q15617994),P47,Q53881), (c(Q15617994),P47,Q40036))
action filter_type
action union
action find_reverse
entity Q53881
relation P47
action find_reverse
entity Q40036
relation P47
type Q15617994
[ANSWERS] are next to the border of Fiumefreddo Bruzio or Tromello
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q53881'], [{'concept': 'Q15617994'}, 'P47', 'Q40036']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P47 resource:Q53881 } UNION { ?u property:P47 resource:Q40036 } } . ?u rdf:type ontology:Q15617994 }
Cerisano Valeggio Borgo San Siro Alagna Garlasco Cergnago Longobardi, Calabria Ottobiano Falconara Albanese Mortara San Giorgio di Lomellina Gambolò
Gambolò, Alagna, Falconara Albanese, Mortara, Valeggio, San Giorgio di Lomellina, Ottobiano, Garlasco, Longobardi, Calabria and Cergnago are next to the border of Fiumefreddo Bruzio or Tromello
Gambolò Alagna Falconara Albanese Mortara Valeggio San Giorgio di Lomellina Ottobiano Garlasco Longobardi, Calabria Cergnago
action filter_type
action union
action find_reverse
entity Fiumefreddo Bruzio
relation shares border with
action find_reverse
entity Tromello
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Fiumefreddo Bruzio'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Tromello']]}
SELECT DISTINCT ?u WHERE { { { ?u property:shares_border_with resource:Fiumefreddo_Bruzio } UNION { ?u property:shares_border_with resource:Tromello } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q44539 Q16970
USER
Which people are the patron saint of approximately 81 temples or churches ?
(c(Q44539)|c(Q16970),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
value 81
[[{'concept': 'Q44539'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) ?m WHERE { { ?v property:P417 ?m . ?m rdf:type ontology:Q502895 . ?v rdf:type ontology:Q16970 } UNION { ?v property:P417 ?m . ?m rdf:type ontology:Q502895 . ?v rdf:type ontology:Q44539 } } GROUP BY ?m } . FILTER ( ?b = 81 ) }
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type church
value 81
[[{'concept': 'temple'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) ?m WHERE { { ?v property:patron_saint ?m . ?m rdf:type ontology:common_name . ?v rdf:type ontology:church } UNION { ?v property:patron_saint ?m . ?m rdf:type ontology:common_name . ?v rdf:type ontology:temple } } GROUP BY ?m } . FILTER ( ?b = 81 ) }
[]
common name temple church
Q33923 Q9200
SYSTEM
Peter, Paul
Q33923 Q9200
(c(Q44539)|c(Q16970),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
value 81
[ANSWERS] are the patron saint of approximately 81 temples or churches
[[{'concept': 'Q44539'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) ?m WHERE { { ?v property:P417 ?m . ?m rdf:type ontology:Q502895 . ?v rdf:type ontology:Q16970 } UNION { ?v property:P417 ?m . ?m rdf:type ontology:Q502895 . ?v rdf:type ontology:Q44539 } } GROUP BY ?m } . FILTER ( ?b = 81 ) }
Peter Paul
Peter and Paul are the patron saint of approximately 81 temples or churches
Peter Paul
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type church
value 81
[[{'concept': 'temple'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) ?m WHERE { { ?v property:patron_saint ?m . ?m rdf:type ontology:common_name . ?v rdf:type ontology:church } UNION { ?v property:patron_saint ?m . ?m rdf:type ontology:common_name . ?v rdf:type ontology:temple } } GROUP BY ?m } . FILTER ( ?b = 81 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q264873
P725
Q502895 Q11424
USER
How many films had lesser number of people as the dubbing artist than Willy the Sparrow ?
(c(Q11424),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q264873
relation P725
type Q502895
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?z ) WHERE { ?o property:P725 ?q . ?q rdf:type ontology:Q502895 . ?o rdf:type ontology:Q11424 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q264873 property:P725 ?l . ?l rdf:type ontology:Q502895 } } . FILTER ( ?z < ?t ) }
Willy the Sparrow
action count
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Willy the Sparrow
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?z ) WHERE { ?o property:voice_actor ?q . ?q rdf:type ontology:common_name . ?o rdf:type ontology:film } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Willy_the_Sparrow property:voice_actor ?l . ?l rdf:type ontology:common_name } } . FILTER ( ?z < ?t ) }
[]
common name film
SYSTEM
14
Q1138751 Q909740 Q842306 Q2918397 Q29355 Q2898231 Q1418615 Q785363 Q1656435 Q943192 Q1361113 Q1513926 Q2299779 Q1195096
(c(Q11424),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q264873
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?z ) WHERE { ?o property:P725 ?q . ?q rdf:type ontology:Q502895 . ?o rdf:type ontology:Q11424 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q264873 property:P725 ?l . ?l rdf:type ontology:Q502895 } } . FILTER ( ?z < ?t ) }
The Plague Dogs Krabat – The Sorcerer's Apprentice Saludos Amigos The Bugs Bunny/Road Runner Movie Space Dogs The Real Shlemiel Fritz the Cat The Time Masters Ico, the Brave Horse Fantasia Pooh's Heffalump Movie Magic Boy Animal Farms Havoc in Heaven
14
action count
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Willy the Sparrow
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?z ) WHERE { ?o property:voice_actor ?q . ?q rdf:type ontology:common_name . ?o rdf:type ontology:film } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Willy_the_Sparrow property:voice_actor ?l . ?l rdf:type ontology:common_name } } . FILTER ( ?z < ?t ) }
[]