Simple Question (Direct)
Simple Question
Q1981849
P21
Q290
USER
What is the sex of Chris Dawes ?
(Q1981849,P21,c(Q290))
action filter_type
action find
entity Q1981849
relation P21
type Q290
['Q1981849', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q1981849 property:P21 ?g . ?g rdf:type ontology:Q290 }
Chris Dawes
action filter_type
action find
entity Chris Dawes
relation gender
type sex
['Chris Dawes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Chris_Dawes property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1981849,P21,c(Q290))
action filter_type
action find
entity Q1981849
relation P21
type Q290
The sex of Chris Dawes is the [ANSWER]
['Q1981849', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q1981849 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
The sex of Chris Dawes is the male
male
action filter_type
action find
entity Chris Dawes
relation gender
type sex
['Chris Dawes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Chris_Dawes property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1981849
P54
Q1194951
USER
Which national sports team is Chris Dawes a member of ?
(Q1981849,P54,c(Q1194951))
action filter_type
action find
entity Q1981849
relation P54
type Q1194951
['Q1981849', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?f WHERE { resource:Q1981849 property:P54 ?f . ?f rdf:type ontology:Q1194951 }
Chris Dawes
action filter_type
action find
entity Chris Dawes
relation member of sports team
type national sports team
['Chris Dawes', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?f WHERE { resource:Chris_Dawes property:member_of_sports_team ?f . ?f rdf:type ontology:national_sports_team }
[]
national sports team
Q235399
SYSTEM
Jamaica national football team
Q235399
(Q1981849,P54,c(Q1194951))
action filter_type
action find
entity Q1981849
relation P54
type Q1194951
The [ANSWER] is Chris Dawes a member of
['Q1981849', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?f WHERE { resource:Q1981849 property:P54 ?f . ?f rdf:type ontology:Q1194951 }
Jamaica national football team
The Jamaica national football team is Chris Dawes a member of
Jamaica national football team
action filter_type
action find
entity Chris Dawes
relation member of sports team
type national sports team
['Chris Dawes', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?f WHERE { resource:Chris_Dawes property:member_of_sports_team ?f . ?f rdf:type ontology:national_sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q835410
Q1194951
USER
And also tell me about Ádám Vass?
(Q835410,P54,c(Q1194951))
action filter_type
action find
entity Q835410
relation P54
type Q1194951
['Q835410', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?h WHERE { resource:Q835410 property:P54 ?h . ?h rdf:type ontology:Q1194951 }
Ádám Vass
action filter_type
action find
entity Ádám Vass
relation member of sports team
type national sports team
['Ádám Vass', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?h WHERE { resource:Ádám_Vass property:member_of_sports_team ?h . ?h rdf:type ontology:national_sports_team }
[]
national sports team
Q170561
SYSTEM
Hungary national football team
Q170561
(Q835410,P54,c(Q1194951))
action filter_type
action find
entity Q835410
relation P54
type Q1194951
[ANSWER]
['Q835410', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?h WHERE { resource:Q835410 property:P54 ?h . ?h rdf:type ontology:Q1194951 }
Hungary national football team
Hungary national football team
action filter_type
action find
entity Ádám Vass
relation member of sports team
type national sports team
['Ádám Vass', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?h WHERE { resource:Ádám_Vass property:member_of_sports_team ?h . ?h rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1227038 Q835410
P27 P495
Q15617994
USER
Which administrative territories are the countries of citizenship of Ádám Vass or did Diop originate ?
OR((Q835410,P27,c(Q15617994)), (Q1227038,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q835410
relation P27
action find
entity Q1227038
relation P495
type Q15617994
{'OR': [['Q835410', 'P27', {'concept': 'Q15617994'}], ['Q1227038', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q835410 property:P27 ?e } UNION { resource:Q1227038 property:P495 ?e } } . ?e rdf:type ontology:Q15617994 }
Diop Ádám Vass
action filter_type
action union
action find
entity Ádám Vass
relation country of citizenship
action find
entity Diop
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Ádám Vass', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Diop', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Ádám_Vass property:country_of_citizenship ?e } UNION { resource:Diop property:country_of_origin ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q1041
SYSTEM
Hungary, Senegal
Q28 Q1041
OR((Q835410,P27,c(Q15617994)), (Q1227038,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q835410
relation P27
action find
entity Q1227038
relation P495
type Q15617994
[ANSWERS] are the countries of citizenship of Ádám Vass or did Diop originate
{'OR': [['Q835410', 'P27', {'concept': 'Q15617994'}], ['Q1227038', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q835410 property:P27 ?e } UNION { resource:Q1227038 property:P495 ?e } } . ?e rdf:type ontology:Q15617994 }
Hungary Senegal
Hungary and Senegal are the countries of citizenship of Ádám Vass or did Diop originate
Hungary Senegal
action filter_type
action union
action find
entity Ádám Vass
relation country of citizenship
action find
entity Diop
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Ádám Vass', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Diop', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Ádám_Vass property:country_of_citizenship ?e } UNION { resource:Diop property:country_of_origin ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q9451
P417
Q502895 Q1445650 Q15617994
USER
Which administrative territories have adopted lesser number of people and holidays as their patron saint than Marentino ?
(c(Q15617994),P417,c(Q502895)|c(Q1445650))
action less
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 Q9451
relation P417
type Q502895
type Q1445650
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?y ) WHERE { { ?c property:P417 ?q . ?q rdf:type ontology:Q502895 . ?c rdf:type ontology:Q15617994 } UNION { ?c property:P417 ?q . ?q rdf:type ontology:Q1445650 . ?c rdf:type ontology:Q15617994 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q9451 property:P417 ?f . { ?f rdf:type ?l . VALUES ( ?l ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } } } . FILTER ( ?y < ?j ) }
Marentino
action less
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 Marentino
relation patron saint
type common name
type holiday
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?y ) WHERE { { ?c property:patron_saint ?q . ?q rdf:type ontology:common_name . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c property:patron_saint ?q . ?q rdf:type ontology:holiday . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Marentino property:patron_saint ?f . { ?f rdf:type ?l . VALUES ( ?l ) { ( ontology:common_name ) ( ontology:holiday ) } } } } . FILTER ( ?y < ?j ) }
[]
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 less
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 Q9451
relation P417
type Q502895
type Q1445650
[ANSWERS] have adopted lesser number of people and holidays as their patron saint than Marentino
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?y ) WHERE { { ?c property:P417 ?q . ?q rdf:type ontology:Q502895 . ?c rdf:type ontology:Q15617994 } UNION { ?c property:P417 ?q . ?q rdf:type ontology:Q1445650 . ?c rdf:type ontology:Q15617994 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q9451 property:P417 ?f . { ?f rdf:type ?l . VALUES ( ?l ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } } } . FILTER ( ?y < ?j ) }
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 lesser number of people and holidays as their patron saint than Marentino
Brazil Castiglione di Sicilia Cosenza
action less
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 Marentino
relation patron saint
type common name
type holiday
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?y ) WHERE { { ?c property:patron_saint ?q . ?q rdf:type ontology:common_name . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c property:patron_saint ?q . ?q rdf:type ontology:holiday . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Marentino property:patron_saint ?f . { ?f rdf:type ?l . VALUES ( ?l ) { ( ontology:common_name ) ( ontology:holiday ) } } } } . FILTER ( ?y < ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q301437 Q1981849
P47 P27
Q1048835
USER
Which political territories are Chris Dawes a civilian of or have a shared border with Priego de Córdoba ?
OR((Q1981849,P27,c(Q1048835)), (Q301437,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1981849
relation P27
action find
entity Q301437
relation P47
type Q1048835
{'OR': [['Q1981849', 'P27', {'concept': 'Q1048835'}], ['Q301437', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . { { resource:Q1981849 property:P27 ?f } UNION { resource:Q301437 property:P47 ?f } } }
Priego de Córdoba Chris Dawes
action filter_type
action union
action find
entity Chris Dawes
relation country of citizenship
action find
entity Priego de Córdoba
relation shares border with
type political territorial entity
{'OR': [['Chris Dawes', 'country of citizenship', {'concept': 'political territorial entity'}], ['Priego de Córdoba', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . { { resource:Chris_Dawes property:country_of_citizenship ?f } UNION { resource:Priego_de_Córdoba property:shares_border_with ?f } } }
[]
political territorial entity
Q638181 Q986552 Q388975 Q854412 Q339790 Q766 Q904793 Q593696 Q1613282 Q592982
SYSTEM
Some of them are Alcalá la Real, Luque, Algarinejo, Almedinilla, Fuente-Tójar, Jamaica, Iznájar, Montefrío, Alcaudete, Rute
Q1613282 Q339790 Q854412 Q904793 Q986552 Q842679 Q638181 Q388975 Q593696 Q766 Q592982
OR((Q1981849,P27,c(Q1048835)), (Q301437,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1981849
relation P27
action find
entity Q301437
relation P47
type Q1048835
[ANSWERS] are Chris Dawes a civilian of or have a shared border with Priego de Córdoba
{'OR': [['Q1981849', 'P27', {'concept': 'Q1048835'}], ['Q301437', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . { { resource:Q1981849 property:P27 ?f } UNION { resource:Q301437 property:P47 ?f } } }
Alcaudete Fuente-Tójar Almedinilla Iznájar Luque Carcabuey Alcalá la Real Algarinejo Montefrío Jamaica Rute
Alcalá la Real, Luque, Algarinejo, Almedinilla, Fuente-Tójar, Jamaica, Iznájar, Montefrío, Alcaudete and Rute are Chris Dawes a civilian of or have a shared border with Priego de Córdoba
Alcalá la Real Luque Algarinejo Almedinilla Fuente-Tójar Jamaica Iznájar Montefrío Alcaudete Rute
action filter_type
action union
action find
entity Chris Dawes
relation country of citizenship
action find
entity Priego de Córdoba
relation shares border with
type political territorial entity
{'OR': [['Chris Dawes', 'country of citizenship', {'concept': 'political territorial entity'}], ['Priego de Córdoba', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . { { resource:Chris_Dawes property:country_of_citizenship ?f } UNION { resource:Priego_de_Córdoba property:shares_border_with ?f } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q833
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with lesser number of political territories than Malaysia ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q833
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Q833 property:P530 ?w . ?w rdf:type ontology:Q1048835 } } . FILTER ( ?m < ?h ) }
Malaysia
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Malaysia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Malaysia property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } } . FILTER ( ?m < ?h ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
132
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q833
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Q833 property:P530 ?w . ?w rdf:type ontology:Q1048835 } } . FILTER ( ?m < ?h ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
132
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Malaysia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Malaysia property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } } . FILTER ( ?m < ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q31
P530
Q15617994 Q1048835
USER
And how about Belgium?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q31
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?g ) WHERE { ?d property:P530 ?u . ?u rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 } GROUP BY ?u } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q31 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } }
Belgium
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Belgium
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?g ) WHERE { ?d property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?u } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Belgium property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
84
Q702 Q805 Q262 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q31
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?g ) WHERE { ?d property:P530 ?u . ?u rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 } GROUP BY ?u } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q31 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Yemen Algeria Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
84
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Belgium
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?g ) WHERE { ?d property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?u } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Belgium property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q155
P740
Q43229 Q2088357
USER
How many organizations and musical ensembles were formed at Brazil ?
(c(Q43229),P740,Q155) (c(Q2088357),P740,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P740
type Q43229
action filter_type
action find_reverse
entity Q155
relation P740
type Q2088357
[{'concept': 'Q43229'}, 'P740', 'Q155'] [{'concept': 'Q2088357'}, 'P740', 'Q155']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { ?h property:P740 resource:Q155 . ?h rdf:type ontology:Q43229 } UNION { ?h property:P740 resource:Q155 . ?h rdf:type ontology:Q2088357 } }
Brazil
action count
action union
action filter_type
action find_reverse
entity Brazil
relation location of formation
type organization
action filter_type
action find_reverse
entity Brazil
relation location of formation
type musical ensemble
[{'concept': 'organization'}, 'location of formation', 'Brazil'] [{'concept': 'musical ensemble'}, 'location of formation', 'Brazil']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { ?h property:location_of_formation resource:Brazil . ?h rdf:type ontology:organization } UNION { ?h property:location_of_formation resource:Brazil . ?h rdf:type ontology:musical_ensemble } }
[]
organization musical ensemble
SYSTEM
1 organizations and 9 musical ensembles
Q1779630 Q16491818 Q4049800 Q6374547 Q5211006 Q3998670 Q22908243 Q7832454 Q7922731 Q1936466
(c(Q43229),P740,Q155) (c(Q2088357),P740,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P740
type Q43229
action filter_type
action find_reverse
entity Q155
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q155'] [{'concept': 'Q2088357'}, 'P740', 'Q155']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { ?h property:P740 resource:Q155 . ?h rdf:type ontology:Q43229 } UNION { ?h property:P740 resource:Q155 . ?h rdf:type ontology:Q2088357 } }
Tribalistas De La Tierra SoulSpell Kasino Dalimas Tribuzy Euphorbia Traffic Group Versão Acústica Mindflow
1 organizations and 9 musical ensembles
action count
action union
action filter_type
action find_reverse
entity Brazil
relation location of formation
type organization
action filter_type
action find_reverse
entity Brazil
relation location of formation
type musical ensemble
[{'concept': 'organization'}, 'location of formation', 'Brazil'] [{'concept': 'musical ensemble'}, 'location of formation', 'Brazil']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { ?h property:location_of_formation resource:Brazil . ?h rdf:type ontology:organization } UNION { ?h property:location_of_formation resource:Brazil . ?h rdf:type ontology:musical_ensemble } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155
P937
Q502895
USER
Which person has that administrative territory as work location ?
action filter_type
action find_reverse
entity Q155
relation P937
type Q502895
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P937 resource:Q155 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation work location
type common name
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:work_location resource:Brazil }
[]
common name
Q21705837
SYSTEM
Eliana Machado Meugé
Q21705837
action filter_type
action find_reverse
entity Q155
relation P937
type Q502895
[ANSWER] has that administrative territory as work location
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P937 resource:Q155 }
Eliana Machado Meugé
Eliana Machado Meugé has that administrative territory as work location
Eliana Machado Meugé
action filter_type
action find_reverse
entity Brazil
relation work location
type common name
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:work_location resource:Brazil }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q21705837 Q155 Q705752
P27
Q15617994
USER
Is that person a civilian of Brazil and Brand ?
(Q21705837,P27,Q155) (Q21705837,P27,Q705752)
action is_in
entity Q21705837
action intersection
action find_reverse
entity Q155
relation P27
action find_reverse
entity Q705752
relation P27
['Q21705837', 'P27', 'Q155'] ['Q21705837', 'P27', 'Q705752']
ASK WHERE { resource:Q21705837 property:P27 resource:Q155 . resource:Q21705837 property:P27 resource:Q705752 }
Eliana Machado Meugé Brazil Brand
action is_in
entity Eliana Machado Meugé
action intersection
action find_reverse
entity Brazil
relation country of citizenship
action find_reverse
entity Brand
relation country of citizenship
['Eliana Machado Meugé', 'country of citizenship', 'Brazil'] ['Eliana Machado Meugé', 'country of citizenship', 'Brand']
ASK WHERE { resource:Eliana_Machado_Meugé property:country_of_citizenship resource:Brazil . resource:Eliana_Machado_Meugé property:country_of_citizenship resource:Brand }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q21705837,P27,Q155) (Q21705837,P27,Q705752)
action is_in
entity Q21705837
action intersection
action find_reverse
entity Q155
relation P27
action find_reverse
entity Q705752
relation P27
[ANSWER]
['Q21705837', 'P27', 'Q155'] ['Q21705837', 'P27', 'Q705752']
ASK WHERE { resource:Q21705837 property:P27 resource:Q155 . resource:Q21705837 property:P27 resource:Q705752 }
YES and NO respectively
action is_in
entity Eliana Machado Meugé
action intersection
action find_reverse
entity Brazil
relation country of citizenship
action find_reverse
entity Brand
relation country of citizenship
['Eliana Machado Meugé', 'country of citizenship', 'Brazil'] ['Eliana Machado Meugé', 'country of citizenship', 'Brand']
ASK WHERE { resource:Eliana_Machado_Meugé property:country_of_citizenship resource:Brazil . resource:Eliana_Machado_Meugé property:country_of_citizenship resource:Brand }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q235399 Q101730
P1344
Q15275719
USER
Did Jamaica national football team participate in 1998 FIFA World Cup ?
(Q235399,P1344,Q101730)
action is_in
entity Q101730
action find
entity Q235399
relation P1344
['Q235399', 'P1344', 'Q101730']
ASK WHERE { resource:Q235399 property:P1344 resource:Q101730 }
Jamaica national football team 1998 FIFA World Cup
action is_in
entity 1998 FIFA World Cup
action find
entity Jamaica national football team
relation participant of
['Jamaica national football team', 'participant of', '1998 FIFA World Cup']
ASK WHERE { resource:Jamaica_national_football_team property:participant_of resource:1998_FIFA_World_Cup }
[]
recurring event
SYSTEM
YES
(Q235399,P1344,Q101730)
action is_in
entity Q101730
action find
entity Q235399
relation P1344
[ANSWER]
['Q235399', 'P1344', 'Q101730']
ASK WHERE { resource:Q235399 property:P1344 resource:Q101730 }
Yes
action is_in
entity 1998 FIFA World Cup
action find
entity Jamaica national football team
relation participant of
['Jamaica national football team', 'participant of', '1998 FIFA World Cup']
ASK WHERE { resource:Jamaica_national_football_team property:participant_of resource:1998_FIFA_World_Cup }
[]