Simple Question (Direct)
Simple Question
Q6163031
P69
Q163740
USER
Which nonprofit organization is Jason Mantzoukas an alumni of ?
(Q6163031,P69,c(Q163740))
action filter_type
action find
entity Q6163031
relation P69
type Q163740
['Q6163031', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?s WHERE { resource:Q6163031 property:P69 ?s . ?s rdf:type ontology:Q163740 }
Jason Mantzoukas
action filter_type
action find
entity Jason Mantzoukas
relation educated at
type nonprofit organization
['Jason Mantzoukas', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?s WHERE { resource:Jason_Mantzoukas property:educated_at ?s . ?s rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1357891
SYSTEM
Middlebury College
Q1357891
(Q6163031,P69,c(Q163740))
action filter_type
action find
entity Q6163031
relation P69
type Q163740
The [ANSWER] is Jason Mantzoukas an alumni of
['Q6163031', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?s WHERE { resource:Q6163031 property:P69 ?s . ?s rdf:type ontology:Q163740 }
Middlebury College
The Middlebury College is Jason Mantzoukas an alumni of
Middlebury College
action filter_type
action find
entity Jason Mantzoukas
relation educated at
type nonprofit organization
['Jason Mantzoukas', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?s WHERE { resource:Jason_Mantzoukas property:educated_at ?s . ?s rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6163031
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Jason Mantzoukas ?
(Q6163031,P27,c(Q15617994))
action filter_type
action find
entity Q6163031
relation P27
type Q15617994
['Q6163031', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q6163031 property:P27 ?j }
Jason Mantzoukas
action filter_type
action find
entity Jason Mantzoukas
relation country of citizenship
type designation for an administrative territorial entity
['Jason Mantzoukas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jason_Mantzoukas property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6163031,P27,c(Q15617994))
action filter_type
action find
entity Q6163031
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Jason Mantzoukas
['Q6163031', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q6163031 property:P27 ?j }
United States of America
United States of America is the country of citizenship of Jason Mantzoukas
United States of America
action filter_type
action find
entity Jason Mantzoukas
relation country of citizenship
type designation for an administrative territorial entity
['Jason Mantzoukas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jason_Mantzoukas property:country_of_citizenship ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P138
Q811979
USER
Which architectural structure has that administrative territory as its toponym ?
(c(Q811979),P138,Q30)
action filter_type
action find_reverse
entity Q30
relation P138
type Q811979
[{'concept': 'Q811979'}, 'P138', 'Q30']
SELECT DISTINCT ?y WHERE { ?y property:P138 resource:Q30 . ?y rdf:type ontology:Q811979 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation named after
type architectural structure
[{'concept': 'architectural structure'}, 'named after', 'United States of America']
SELECT DISTINCT ?y WHERE { ?y property:named_after resource:United_States_of_America . ?y rdf:type ontology:architectural_structure }
[]
architectural structure
Q3390556
SYSTEM
place des États-Unis
Q3390556
(c(Q811979),P138,Q30)
action filter_type
action find_reverse
entity Q30
relation P138
type Q811979
[ANSWER] has that administrative territory as its toponym
[{'concept': 'Q811979'}, 'P138', 'Q30']
SELECT DISTINCT ?y WHERE { ?y property:P138 resource:Q30 . ?y rdf:type ontology:Q811979 }
place des États-Unis
Place des États-Unis has that administrative territory as its toponym
place des États-Unis
action filter_type
action find_reverse
entity United States of America
relation named after
type architectural structure
[{'concept': 'architectural structure'}, 'named after', 'United States of America']
SELECT DISTINCT ?y WHERE { ?y property:named_after resource:United_States_of_America . ?y rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P6
Q502895
USER
How many people are United States of America the head of goverment of ?
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:Q30 property:P6 ?x . ?x rdf:type ontology:Q502895 }
United States of America
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:United_States_of_America property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
44
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:Q30 property:P6 ?x . ?x rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
44
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:United_States_of_America property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q201404
Q502895
USER
And what about Buzău?
(Q201404,P6,c(Q502895))
action count
action filter_type
action find
entity Q201404
relation P6
type Q502895
['Q201404', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q201404 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Buzău
action count
action filter_type
action find
entity Buzău
relation head of government
type common name
['Buzău', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Buzău property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
2
(Q201404,P6,c(Q502895))
action count
action filter_type
action find
entity Q201404
relation P6
type Q502895
[ANSWER]
['Q201404', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q201404 property:P6 ?c . ?c rdf:type ontology:Q502895 }
2
action count
action filter_type
action find
entity Buzău
relation head of government
type common name
['Buzău', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Buzău property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q201404
P19
Q502895
USER
How many people have place of birth as Buzău ?
(c(Q502895),P19,Q201404)
action count
action filter_type
action find_reverse
entity Q201404
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q201404']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P19 resource:Q201404 . ?u rdf:type ontology:Q502895 }
Buzău
action count
action filter_type
action find_reverse
entity Buzău
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Buzău']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:place_of_birth resource:Buzău . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
37
Q4076868 Q3772288 Q2792055 Q3102241 Q6960785 Q12737452 Q2633482 Q793858 Q463774 Q371736 Q12724006 Q25462733 Q26838597 Q534524 Q1151156 Q4172102 Q7916602 Q19953817 Q4588648 Q4405640 Q6062811 Q6762897 Q4007648 Q16593534 Q265963 Q5205440 Q17176889 Q249508 Q15074225 Q58298 Q1521539 Q24614978 Q5515530 Q18545337 Q24579253 Q937146 Q7563486
(c(Q502895),P19,Q201404)
action count
action filter_type
action find_reverse
entity Q201404
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q201404']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P19 resource:Q201404 . ?u rdf:type ontology:Q502895 }
Ellie White Gheorghe Covaciu Ovidiu Ionescu Georges Banu Valer Toma Pamfil Șeicaru Pompiliu Stoica Steliano Filip Elena Udrea Dan Puric Chiriac Bucur Ioan Vernescu Alin Manea Constantin Budeanu Cătălin Predoiu Iulian Dăniță Vasile Cârlova Laura Vasilescu George Șerban Mircea Dobrescu Ion-Aurel Stanciu Marie Jeanne Ion Valentin Crețu Carmen Mușat Gabriela Drăgoi DJ Sava Andi-Lucian Cristea Adrian Porumboiu Adina Caloenescu Alexandru Marghiloman George Ciprian Nicolae Soare Gabriel Andreescu Adelin Petrișor Ciprian Perju Ionel Rapaport Sorin Colceag
37
action count
action filter_type
action find_reverse
entity Buzău
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Buzău']
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:place_of_birth resource:Buzău . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7829976
P81
Q83620
USER
Which thoroughfares do Town Hall railway station have a connection to ?
(Q7829976,P81,c(Q83620))
action filter_type
action find
entity Q7829976
relation P81
type Q83620
['Q7829976', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ?u WHERE { resource:Q7829976 property:P81 ?u . ?u rdf:type ontology:Q83620 }
Town Hall railway station
action filter_type
action find
entity Town Hall railway station
relation connecting line
type thoroughfare
['Town Hall railway station', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?u WHERE { resource:Town_Hall_railway_station property:connecting_line ?u . ?u rdf:type ontology:thoroughfare }
[]
thoroughfare
Q7056726 Q5330513
SYSTEM
North Shore railway line, Eastern Suburbs railway line
Q7056726 Q5330513
(Q7829976,P81,c(Q83620))
action filter_type
action find
entity Q7829976
relation P81
type Q83620
Town Hall railway station have a connection to the [ANSWERS]
['Q7829976', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ?u WHERE { resource:Q7829976 property:P81 ?u . ?u rdf:type ontology:Q83620 }
North Shore railway line Eastern Suburbs railway line
Town Hall railway station have a connection to the North Shore railway line and Eastern Suburbs railway line
North Shore railway line Eastern Suburbs railway line
action filter_type
action find
entity Town Hall railway station
relation connecting line
type thoroughfare
['Town Hall railway station', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?u WHERE { resource:Town_Hall_railway_station property:connecting_line ?u . ?u rdf:type ontology:thoroughfare }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q7829976
Q44377
USER
And which tunnel?
(Q7829976,P81,c(Q44377))
action filter_type
action find
entity Q7829976
relation P81
type Q44377
['Q7829976', 'P81', {'concept': 'Q44377'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q44377 . resource:Q7829976 property:P81 ?c }
Town Hall railway station
action filter_type
action find
entity Town Hall railway station
relation connecting line
type tunnel
['Town Hall railway station', 'connecting line', {'concept': 'tunnel'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:tunnel . resource:Town_Hall_railway_station property:connecting_line ?c }
[]
tunnel
Q1841331
SYSTEM
City Circle
Q1841331
(Q7829976,P81,c(Q44377))
action filter_type
action find
entity Q7829976
relation P81
type Q44377
[ANSWER]
['Q7829976', 'P81', {'concept': 'Q44377'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q44377 . resource:Q7829976 property:P81 ?c }
City Circle
City Circle
action filter_type
action find
entity Town Hall railway station
relation connecting line
type tunnel
['Town Hall railway station', 'connecting line', {'concept': 'tunnel'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:tunnel . resource:Town_Hall_railway_station property:connecting_line ?c }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q36198
P417
Q1445650 Q502895 Q15617994
USER
How many administrative territories have adopted less number of holidays or people as patron saint than Siligo ?
(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 Q36198
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?v ) WHERE { { ?o property:P417 ?d . ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1445650 } UNION { ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q502895 . ?o property:P417 ?d } } GROUP BY ?o } . FILTER ( ?v < ?h ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q36198 property:P417 ?r . { { ?r rdf:type ontology:Q502895 } UNION { ?r rdf:type ontology:Q1445650 } } } } }
Siligo
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 Siligo
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 ?s ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?v ) WHERE { { ?o property:patron_saint ?d . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:holiday } UNION { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:common_name . ?o property:patron_saint ?d } } GROUP BY ?o } . FILTER ( ?v < ?h ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Siligo property:patron_saint ?r . { { ?r rdf:type ontology:common_name } UNION { ?r 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 Q36198
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?v ) WHERE { { ?o property:P417 ?d . ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1445650 } UNION { ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q502895 . ?o property:P417 ?d } } GROUP BY ?o } . FILTER ( ?v < ?h ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q36198 property:P417 ?r . { { ?r rdf:type ontology:Q502895 } UNION { ?r 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 Siligo
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 ?s ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?v ) WHERE { { ?o property:patron_saint ?d . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:holiday } UNION { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:common_name . ?o property:patron_saint ?d } } GROUP BY ?o } . FILTER ( ?v < ?h ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Siligo property:patron_saint ?r . { { ?r rdf:type ontology:common_name } UNION { ?r rdf:type ontology:holiday } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q53313
P417
Q1445650 Q502895 Q15617994
USER
And how about Povoletto?
(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 Q53313
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?n ) WHERE { { ?w property:P417 ?u . ?w rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q502895 } UNION { ?w property:P417 ?u . ?w rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1445650 } } GROUP BY ?w } . FILTER ( ?n < ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q53313 property:P417 ?r . { { ?r rdf:type ontology:Q1445650 } UNION { ?r rdf:type ontology:Q502895 } } } } }
Povoletto
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 Povoletto
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 ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?n ) WHERE { { ?w property:patron_saint ?u . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:common_name } UNION { ?w property:patron_saint ?u . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:holiday } } GROUP BY ?w } . FILTER ( ?n < ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Povoletto property:patron_saint ?r . { { ?r rdf:type ontology:holiday } UNION { ?r rdf:type ontology:common_name } } } } }
[]
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 Q53313
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?n ) WHERE { { ?w property:P417 ?u . ?w rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q502895 } UNION { ?w property:P417 ?u . ?w rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1445650 } } GROUP BY ?w } . FILTER ( ?n < ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q53313 property:P417 ?r . { { ?r rdf:type ontology:Q1445650 } UNION { ?r rdf:type ontology:Q502895 } } } } }
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 Povoletto
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 ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?n ) WHERE { { ?w property:patron_saint ?u . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:common_name } UNION { ?w property:patron_saint ?u . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:holiday } } GROUP BY ?w } . FILTER ( ?n < ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Povoletto property:patron_saint ?r . { { ?r rdf:type ontology:holiday } UNION { ?r rdf:type ontology:common_name } } } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P559
Q83620 Q83620 Q34442
USER
Which thoroughfares serve as the endpoint for min number of thoroughfares or roads ?
(c(Q83620)|c(Q34442),P559,c(Q83620))
action argmin
action union
action find_reverse_tuple_counts
relation P559
type Q83620
type Q83620
action find_reverse_tuple_counts
relation P559
type Q83620
type Q34442
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q83620'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?z ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?w ) WHERE { { ?x property:P559 ?y . ?y rdf:type ontology:Q83620 . ?x rdf:type ontology:Q83620 } UNION { ?x property:P559 ?y . ?y rdf:type ontology:Q83620 . ?x rdf:type ontology:Q34442 } } GROUP BY ?y } } . { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?l ) WHERE { { ?m rdf:type ontology:Q83620 . ?v rdf:type ontology:Q34442 . ?v property:P559 ?m } UNION { ?m rdf:type ontology:Q83620 . ?v rdf:type ontology:Q83620 . ?v property:P559 ?m } } GROUP BY ?m } . FILTER ( ?l = ?z ) }
action argmin
action union
action find_reverse_tuple_counts
relation terminus
type thoroughfare
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?z ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?w ) WHERE { { ?x property:terminus ?y . ?y rdf:type ontology:thoroughfare . ?x rdf:type ontology:thoroughfare } UNION { ?x property:terminus ?y . ?y rdf:type ontology:thoroughfare . ?x rdf:type ontology:road } } GROUP BY ?y } } . { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?l ) WHERE { { ?m rdf:type ontology:thoroughfare . ?v rdf:type ontology:road . ?v property:terminus ?m } UNION { ?m rdf:type ontology:thoroughfare . ?v rdf:type ontology:thoroughfare . ?v property:terminus ?m } } GROUP BY ?m } . FILTER ( ?l = ?z ) }
[]
thoroughfare thoroughfare road
Q3110160 Q3443889 Q1415425
SYSTEM
quai des Tuileries, Ontario Highway 3, Pennsylvania Route 504
Q407866 Q8048296 Q18015090 Q3760653 Q7852761 Q4982428 Q7984785 Q10903987 Q3443889 Q7060524 Q5447985 Q3110160 Q1415425 Q1564068 Q779381 Q17791132
(c(Q83620)|c(Q34442),P559,c(Q83620))
action argmin
action union
action find_reverse_tuple_counts
relation P559
type Q83620
type Q83620
action find_reverse_tuple_counts
relation P559
type Q83620
type Q34442
[ANSWERS] serve as the endpoint for min number of thoroughfares or roads
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q83620'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?z ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?w ) WHERE { { ?x property:P559 ?y . ?y rdf:type ontology:Q83620 . ?x rdf:type ontology:Q83620 } UNION { ?x property:P559 ?y . ?y rdf:type ontology:Q83620 . ?x rdf:type ontology:Q34442 } } GROUP BY ?y } } . { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?l ) WHERE { { ?m rdf:type ontology:Q83620 . ?v rdf:type ontology:Q34442 . ?v property:P559 ?m } UNION { ?m rdf:type ontology:Q83620 . ?v rdf:type ontology:Q83620 . ?v property:P559 ?m } } GROUP BY ?m } . FILTER ( ?l = ?z ) }
U.S. Route 19 Yanchep Beach Road Balcatta Road George Street Tun Dr Lim Chong Eu Expressway Pitt Street West Coast Drive Beichen West Road Ontario Highway 3 North–South Expressway Northern Route Figueroa Street quai des Tuileries Pennsylvania Route 504 Pennsylvania Route 837 Paris–Mulhouse railway State Route 3
Quai des Tuileries, Ontario Highway 3 and Pennsylvania Route 504 serve as the endpoint for min number of thoroughfares or roads
quai des Tuileries Ontario Highway 3 Pennsylvania Route 504
action argmin
action union
action find_reverse_tuple_counts
relation terminus
type thoroughfare
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?z ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?w ) WHERE { { ?x property:terminus ?y . ?y rdf:type ontology:thoroughfare . ?x rdf:type ontology:thoroughfare } UNION { ?x property:terminus ?y . ?y rdf:type ontology:thoroughfare . ?x rdf:type ontology:road } } GROUP BY ?y } } . { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?l ) WHERE { { ?m rdf:type ontology:thoroughfare . ?v rdf:type ontology:road . ?v property:terminus ?m } UNION { ?m rdf:type ontology:thoroughfare . ?v rdf:type ontology:thoroughfare . ?v property:terminus ?m } } GROUP BY ?m } . FILTER ( ?l = ?z ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q83620 Q811430
USER
Which constructions are located on around 1 thoroughfare ?
(c(Q811430),P669,c(Q83620))
action approx
action find_tuple_counts
relation P669
type Q811430
type Q83620
value 1
[{'concept': 'Q811430'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?p ) WHERE { ?b property:P669 ?r . ?b rdf:type ontology:Q811430 . ?r rdf:type ontology:Q83620 } GROUP BY ?b } . FILTER ( ?p = 1 ) }
action approx
action find_tuple_counts
relation located on street
type construction
type thoroughfare
value 1
[{'concept': 'construction'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?p ) WHERE { ?b property:located_on_street ?r . ?b rdf:type ontology:construction . ?r rdf:type ontology:thoroughfare } GROUP BY ?b } . FILTER ( ?p = 1 ) }
[]
thoroughfare construction
Q4546413 Q640412 Q7344191
SYSTEM
102 Petty France, Baden-Powell House, Robert F. Kennedy Department of Justice Building
Q4546413 Q640412 Q7344191
(c(Q811430),P669,c(Q83620))
action approx
action find_tuple_counts
relation P669
type Q811430
type Q83620
value 1
[ANSWERS] are located on around 1 thoroughfare
[{'concept': 'Q811430'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?p ) WHERE { ?b property:P669 ?r . ?b rdf:type ontology:Q811430 . ?r rdf:type ontology:Q83620 } GROUP BY ?b } . FILTER ( ?p = 1 ) }
102 Petty France Baden-Powell House Robert F. Kennedy Department of Justice Building
102 Petty France, Baden-Powell House and Robert F. Kennedy Department of Justice Building are located on around 1 thoroughfare
102 Petty France Baden-Powell House Robert F. Kennedy Department of Justice Building
action approx
action find_tuple_counts
relation located on street
type construction
type thoroughfare
value 1
[{'concept': 'construction'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?p ) WHERE { ?b property:located_on_street ?r . ?b rdf:type ontology:construction . ?r rdf:type ontology:thoroughfare } GROUP BY ?b } . FILTER ( ?p = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P530
Q1048835
USER
What political territories have diplomatic relationships with United States of America ?
(Q30,P530,c(Q1048835))
action filter_type
action find
entity Q30
relation P530
type Q1048835
['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1048835 . resource:Q30 property:P530 ?r }
United States of America
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_territorial_entity . resource:United_States_of_America property:diplomatic_relation ?r }
[]
political territorial entity
Q16 Q408 Q183
SYSTEM
Canada, Australia, Germany
Q16 Q408 Q183
(Q30,P530,c(Q1048835))
action filter_type
action find
entity Q30
relation P530
type Q1048835
[ANSWERS] have diplomatic relationships with United States of America
['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1048835 . resource:Q30 property:P530 ?r }
Canada Australia Germany
Canada, Australia and Germany have diplomatic relationships with United States of America
Canada Australia Germany
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_territorial_entity . resource:United_States_of_America property:diplomatic_relation ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q159
Q1048835
USER
And what about Russia?
(Q159,P530,c(Q1048835))
action filter_type
action find
entity Q159
relation P530
type Q1048835
['Q159', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q159 property:P530 ?n . ?n rdf:type ontology:Q1048835 }
Russia
action filter_type
action find
entity Russia
relation diplomatic relation
type political territorial entity
['Russia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Russia property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(Q159,P530,c(Q1048835))
action filter_type
action find
entity Q159
relation P530
type Q1048835
[ANSWERS]
['Q159', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q159 property:P530 ?n . ?n rdf:type ontology:Q1048835 }
Germany Australia Canada
Germany Australia Canada
action filter_type
action find
entity Russia
relation diplomatic relation
type political territorial entity
['Russia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Russia property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity }
[]