Simple Question (Direct)
Simple Question
Q833091
P495
Q1048835
USER
What is the origin of Der Verlorene ?
(Q833091,P495,c(Q1048835))
action filter_type
action find
entity Q833091
relation P495
type Q1048835
['Q833091', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q833091 property:P495 ?i . ?i rdf:type ontology:Q1048835 }
Der Verlorene
action filter_type
action find
entity Der Verlorene
relation country of origin
type political territorial entity
['Der Verlorene', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Der_Verlorene property:country_of_origin ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q833091,P495,c(Q1048835))
action filter_type
action find
entity Q833091
relation P495
type Q1048835
The origin of Der Verlorene is in [ANSWER]
['Q833091', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q833091 property:P495 ?i . ?i rdf:type ontology:Q1048835 }
Germany
The origin of Der Verlorene is in Germany
Germany
action filter_type
action find
entity Der Verlorene
relation country of origin
type political territorial entity
['Der Verlorene', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Der_Verlorene property:country_of_origin ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q833091
P57
Q502895
USER
Who was that work of art directed by ?
(Q183,P57,c(Q502895))
action filter_type
action find
entity Q833091
relation P57
type Q502895
['Q183', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q833091 property:P57 ?w . ?w rdf:type ontology:Q502895 }
Der Verlorene
action filter_type
action find
entity Der Verlorene
relation director
type common name
['Germany', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Der_Verlorene property:director ?w . ?w rdf:type ontology:common_name }
[]
common name
Q78505
SYSTEM
Peter Lorre
Q78505
(Q183,P57,c(Q502895))
action filter_type
action find
entity Q833091
relation P57
type Q502895
By that work of art directed was by [ANSWER]
['Q183', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q833091 property:P57 ?w . ?w rdf:type ontology:Q502895 }
Peter Lorre
By that work of art directed was by Peter Lorre
Peter Lorre
action filter_type
action find
entity Der Verlorene
relation director
type common name
['Germany', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Der_Verlorene property:director ?w . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P825
Q502895 Q44539 Q811979
USER
Which people are exactly 2 temples or architectural structures dedicated to ?
(c(Q44539)|c(Q811979),P825,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
value 2
[[{'concept': 'Q44539'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) ?z WHERE { VALUES ( ?r ) { ( ontology:Q811979 ) ( ontology:Q44539 ) } . ?d rdf:type ?r } GROUP BY ?z } . FILTER ( ?s = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
value 2
[[{'concept': 'temple'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) ?z WHERE { VALUES ( ?r ) { ( ontology:architectural_structure ) ( ontology:temple ) } . ?d rdf:type ?r } GROUP BY ?z } . FILTER ( ?s = 2 ) }
[]
common name temple architectural structure
Q164294 Q183332 Q43999
SYSTEM
Saint Anna, Saint Sebastian, James
Q16202312 Q43675 Q43999 Q442516 Q2381536 Q43600 Q44020 Q3398098 Q165479 Q167477 Q297742 Q183332 Q7402252 Q164294 Q680538
(c(Q44539)|c(Q811979),P825,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
value 2
[ANSWERS]
[[{'concept': 'Q44539'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) ?z WHERE { VALUES ( ?r ) { ( ontology:Q811979 ) ( ontology:Q44539 ) } . ?d rdf:type ?r } GROUP BY ?z } . FILTER ( ?s = 2 ) }
Nidan Philip the Apostle James Germanus of Auxerre Brynach Matthew the Apostle Saint Matthias Sadwrn Saint Patrick Anthony of Padua Margaret the Virgin Saint Sebastian Twrog Saint Anna Saint Teilo
Which people are exactly 2 temples or architectural structures dedicated to
Saint Anna Saint Sebastian James
action equal
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
value 2
[[{'concept': 'temple'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) ?z WHERE { VALUES ( ?r ) { ( ontology:architectural_structure ) ( ontology:temple ) } . ?d rdf:type ?r } GROUP BY ?z } . FILTER ( ?s = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
How many films did atmost 24 people do the dubbing for ?
(c(Q11424),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 24
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?c ) WHERE { ?i property:P725 ?g . ?g rdf:type ontology:Q502895 . ?i rdf:type ontology:Q11424 } GROUP BY ?i } . FILTER ( ?c <= 24 ) }
action count
action atmost
action find_tuple_counts
relation voice actor
type film
type common name
value 24
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?c ) WHERE { ?i property:voice_actor ?g . ?g rdf:type ontology:common_name . ?i rdf:type ontology:film } GROUP BY ?i } . FILTER ( ?c <= 24 ) }
[]
common name film
SYSTEM
88
Q1235519 Q378913 Q4499813 Q3038714 Q191753 Q6929072 Q1138751 Q785294 Q6296387 Q204662 Q521082 Q713543 Q1764174 Q752301 Q270470 Q334132 Q449917 Q909740 Q842306 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q2918397 Q853718 Q374431 Q12084660 Q578595 Q933887 Q329316 Q44817 Q29355 Q9019373 Q223359 Q213787 Q611739 Q980041 Q2898231 Q1418615 Q785363 Q869741 Q3588859 Q371490 Q1656435 Q3836716 Q1032225 Q264873 Q249967 Q19090 Q4189838 Q184701 Q943192 Q2059996 Q1361113 Q736731 Q318428 Q465275 Q218894 Q172284 Q202371 Q40302 Q19703751 Q189875 Q1513926 Q336012 Q43051 Q2299779 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q3190021 Q1102410 Q543486 Q3226633 Q1195096 Q240852
(c(Q11424),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 24
[ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?c ) WHERE { ?i property:P725 ?g . ?g rdf:type ontology:Q502895 . ?i rdf:type ontology:Q11424 } GROUP BY ?i } . FILTER ( ?c <= 24 ) }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run Cinderella Mr. Peabody & Sherman The Plague Dogs Captain of the Forest Rio 2 The Sword in the Stone Szaffi Cat City Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective The Chipmunk Adventure Krabat – The Sorcerer's Apprentice Saludos Amigos Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty The Adventures of Lolo the Penguin Coonskin The Bugs Bunny/Road Runner Movie Fun and Fancy Free The Tigger Movie The Princess and the Goblin Paprika Tintin and the Temple of the Sun The Black Cauldron The Little Fox Space Dogs The Legend of the North Wind Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin The Real Shlemiel Fritz the Cat The Time Masters Melody Time Emilie Jolie Son of the White Mare Ico, the Brave Horse The Looney Looney Looney Bugs Bunny Movie Foam Bath Willy the Sparrow Hotel Transylvania Robin Hood Starchaser: The Legend of Orin The Aristocats Fantasia My Little Pony: The Movie Pooh's Heffalump Movie The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Lady and the Tramp The Rescuers Down Under The Fox and the Hound Millionaire Dogs Alice in Wonderland Magic Boy The Girl Who Leapt Through Time Bambi Animal Farms Garfield Gets Real Tokyo Godfathers Piglet's Big Movie Felix the Cat: The Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King Jungledyret Hugo The Rescuers Dumbo Jungledyret Hugo - den store filmhelt Johnny Corncob Daisy Town Renart the Fox Havoc in Heaven FernGully: The Last Rainforest
88
action count
action atmost
action find_tuple_counts
relation voice actor
type film
type common name
value 24
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?c ) WHERE { ?i property:voice_actor ?g . ?g rdf:type ontology:common_name . ?i rdf:type ontology:film } GROUP BY ?i } . FILTER ( ?c <= 24 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q13847
P1376
Q1048835 Q486972 Q515
USER
Which political territories have less number of human settlements and cities as their county seat than Masbate ?
(c(Q486972)|c(Q515),P1376,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_multi_types
action find_reverse
entity Q13847
relation P1376
type Q486972
type Q515
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P1376 resource:Q13847 . { VALUES ( ?l ) { ( ontology:Q515 ) ( ontology:Q486972 ) } . ?q rdf:type ?l } } } . FILTER ( ?m < ?z ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?t WHERE { ?w rdf:type ?p . VALUES ( ?p ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } GROUP BY ?t } }
Masbate
action less
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Masbate
relation capital of
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:capital_of resource:Masbate . { VALUES ( ?l ) { ( ontology:city ) ( ontology:human_settlement ) } . ?q rdf:type ?l } } } . FILTER ( ?m < ?z ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?t WHERE { ?w rdf:type ?p . VALUES ( ?p ) { ( ontology:human_settlement ) ( ontology:city ) } } GROUP BY ?t } }
[]
political territorial entity human settlement city
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q7915647 Q132418 Q132410 Q13885 Q13887 Q6318040 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q13728 Q13721 Q13723 Q13727 Q6317672 Q938891 Q10298683 Q849807 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q10453 Q6115 Q3824788 Q6319605 Q10459 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q13902 Q515343 Q753689 Q2058837 Q3825827 Q3825439 Q167859 Q43448 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q1122980 Q6981448 Q1382499 Q3825382 Q8560940 Q2026858 Q7414298 Q3824230 Q103691 Q13769 Q13767 Q103699 Q3824339 Q13763 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7906 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q3312907 Q173407 Q8517 Q165956 Q6949621 Q133083 Q2071352 Q1925048 Q210061 Q494354 Q9676 Q13867 Q13866 Q13864 Q205104 Q13789 Q35672 Q205089 Q3313400 Q104257 Q5047837 Q2737098 Q10544 Q2485101 Q7290462 Q1334322 Q10465 Q628370 Q104891 Q4863230 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q746558 Q8560844 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q6337 Q3312493 Q3824385 Q3678587 Q2967 Q6317167 Q408 Q2096228 Q13730 Q13739 Q599448 Q40 Q3312467 Q7931 Q13861 Q240 Q207973 Q3312924 Q2843759 Q105075 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q539231 Q34617 Q2698844 Q383734 Q35 Q38610 Q3313291 Q3312974 Q7137570 Q3826135 Q5926575 Q7686343 Q5262649 Q192959 Q3321924 Q8566 Q3313129 Q25228 Q692946 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3825983 Q2342207 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q13778 Q103686 Q691 Q5164916 Q90027 Q3313822 Q3656379 Q642314 Q6308 Q632108 Q5096392 Q5031628 Q10461 Q3312393 Q3908 Q7898 Q7899 Q170213 Q7893 Q2917 Q7896 Q1399432 Q933179 Q5945 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q10896751 Q129286 Q6177392 Q1827027 Q13812 Q13810 Q8560764 Q781 Q6061 Q5705 Q707771 Q5095925 Q6318859 Q5720 Q13353 Q10471 Q10472 Q170604 Q3391867 Q166709 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q18288148 Q5096 Q3653113 Q23635 Q6321909 Q6317899 Q450521 Q2621992 Q3824597 Q834261 Q3557 Q5078 Q13740 Q2632922 Q4804007 Q5925410 Q1893486 Q3313278 Q2898 Q5051137 Q48098 Q201162 Q168856 Q178269 Q46070 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q922842 Q3825702 Q41071 Q2718491 Q5932 Q2703450 Q3313040 Q2697234 Q231 Q106789 Q3312967 Q2486015 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q2486455 Q5048959 Q3826128 Q2379199 Q13845 Q13846 Q13841 Q13840 Q7421013 Q3825413 Q189974 Q193295 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q104746 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q269509 Q6061367 Q2761723 Q769 Q685 Q103679 Q20264 Q763 Q1232887 Q766 Q103672 Q650489 Q2199691 Q7894 Q313969 Q6313 Q8048242 Q6317 Q2718510 Q18221 Q192184 Q13893 Q2875944 Q13895 Q3903 Q1730130 Q13714 Q10551 Q13711 Q2842398 Q1117137 Q2761218 Q257516 Q505050 Q1787430 Q778266 Q505220 Q3826249 Q209597 Q103093 Q7636360 Q178084 Q2697268 Q13807 Q1230021 Q183 Q933576 Q1632864 Q200938 Q6109 Q8541 Q10562 Q151938 Q597029 Q3313100 Q104877 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q106915 Q5783 Q5785 Q2941 Q368273 Q79965 Q315840 Q6317226 Q13751 Q13750 Q5657086 Q2697641 Q309460 Q7919 Q7917 Q7914 Q7911 Q7910 Q838690 Q48101 Q1233672 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q7908 Q543868 Q16 Q2697221 Q539094 Q205068 Q130840 Q6320495 Q191091 Q3321868 Q10483 Q10487 Q339637 Q3031627 Q7380195 Q3825015 Q13871 Q13873 Q13875 Q13877 Q13879 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q211793 Q48054 Q211795 Q6319125 Q3312431 Q10554 Q2909 Q2640062 Q862584 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q170446 Q468378 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q2885071 Q2367188 Q104940 Q1478051 Q188732
(c(Q486972)|c(Q515),P1376,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_multi_types
action find_reverse
entity Q13847
relation P1376
type Q486972
type Q515
[ANSWERS] have less number of human settlements and cities as their county seat than Masbate
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P1376 resource:Q13847 . { VALUES ( ?l ) { ( ontology:Q515 ) ( ontology:Q486972 ) } . ?q rdf:type ?l } } } . FILTER ( ?m < ?z ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?t WHERE { ?w rdf:type ?p . VALUES ( ?p ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } GROUP BY ?t } }
Vargas Guerra District Northern Cape Mpumalanga Sultan Kudarat Sulu Paita District Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Apayao Agusan del Sur Aklan Antique Ayabaca District San Miguel District Huacrachuco Western Highlands Province San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Weißenburg-Gunzenhausen Barnim Yunguyo District Ichocán District Kitzingen Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Zamboanga Sibugay Ranrahirca District Sandaun Province Purús District Coracora District Sancos District, Huanca Sancos Volyn Oblast British Indian Ocean Territory Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Comtat Venaissin Nauta District Hela Lampa District Requena District Hudiksvall County San Ignacio District, Peru Ayaviri District Halland County Camiguin Camarines Sur Gävleborg County Ica District Camarines Norte Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Limburg-Weilburg Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Checca District Ternopil Oblast Main-Tauber North West Máncora District Gauteng Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Isle of Man Occidental Mindoro Nueva Vizcaya Northern Samar Puno Region Compostela Valley Pitcairn Islands Áncash Region Arahuay District Örebro County Casa Grande District Jumbilla District Munich (district) County of Chiny Ramón Castilla District County of Toulouse Rhön-Grabfeld Lobería Västernorrland County Barranca District, Datem del Marañón Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Emirate of Bukhara Manseriche District Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Vogtlandkreis Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Tambopata Australia Tornquist Aurora Bataan Chimbu Province Austria Tacna District Giessen Government Region Mountain Province Brussels Junín Region Moquegua District Locumba Västmanland County Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla Ambo District Saint Pierre and Miquelon Chimbote District Iquitos District Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Pariñas District Puquio District Huaytará District Tarma District Jauja District Minsk Region Arequipa Alzey-Worms Cerro Azul District Anguilla Gorizia and Gradisca Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Tarata San Cayetano Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Catanduanes Norrbotten County Papua New Guinea Contamana District German-speaking Community of Belgium Pachangara District Davao Occidental County of Burgundy Leipzig Lincoln Partido Chiclayo District Candarave Schweinfurt Ayacucho District Galicia Hersfeld-Rotenburg Fulda Zakarpattia Oblast Waldeck-Frankenberg Vorpommern-Greifswald District Werra-Meißner-Kreis Almirante Brown Huánuco District Cloppenburg Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon Llipa District British Raj Jenaro Herrera District Mar Chiquita Partido Ifugao Guimaras Indiana District, Maynas Antigua and Barbuda Altmarkkreis Salzwedel Catalonia County of Bentheim Chicama District Lambayeque District Valencian Country Montserrat Aschaffenburg Miltenberg New France Guadalupe District Vinnytsia Oblast Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Metropolitan City of Florence West Papua Kingdom of Syunik Bermuda Río Tambo District Moyobamba District Magdeburg Government Region Villarino Moho District Bolívar Partido Central Java Province South Sulawesi Batanes Chancay District Ascope District Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Catacaos Rostock District Amazonas Region Chernivtsi Oblast Ivano-Frankivsk Oblast Plzeň Region Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Skaraborg County Juli District Gangwon Province Acomayo District Friesland Chalhuanca District Yucay District Huaraz District Walloon Region Värmland County Urubamba District Callería Mala District Zlín Region Bellavista District Quinua District Cusco Region Manantay Casitas Huancabamba District politics of Edinburgh Maguindanao Marinduque Lanao del Norte Laguna Saposoa District Pausa District Jõgeva County Hradec Králové Region Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Kronoberg County Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon Coronel Suárez Monsefú District Puan Grenada Solomon Islands Jämtland County Sächsische Schweiz Saint Kitts and Nevis County of Savoy Jamaica Jönköping County Margraviate of Baden Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Meissen Yanahuanca Görlitz Abancay District Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Tawi-Tawi Omate District Zambales North Kalimantan Later Qin Agusan del Norte Middle Franconia Abra Trujillo District Raimondi Jesús District Oxapampa District Adolfo Gonzales Chaves Niesky District County of Artois Huancavelica Region Chuschi District Tumbes department Västra Götaland County Sullana District Ilkhanate Chavín de Huantar District Dinagat Islands Nieva District Germany Santa Cruz District Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Neutral Moresnet Bagua Grande District Kimbiri District Västerbotten county Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Södermanland County Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde County of Veldenz Lamas District Biliran Benguet Manú Pamparomas District County of Hainaut Odenwaldkreis Kreis Bergstraße Groß-Gerau Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Hochtaunuskreis Chaupimarca District Canada Corongo District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Karlovy Vary Region Samuel Pastor District Regen Freyung-Grafenau Kristianstad County Nazca District Rupa-Rupa District Putina District Pangasinan Quirino Romblon Sarangani Siquijor Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region San Martín Region Erfurt Lima Region Pacasmayo District Cajamarca Upper Franconia Vorpommern-Rügen District Aramango District Enga Province Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Sumy Oblast County of Hoya British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome Ilo District Härnösand County Östergötland County La Oroya District Gomel Region
Germany, Australia and Denmark have less number of human settlements and cities as their county seat than Masbate
Germany Australia Denmark
action less
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Masbate
relation capital of
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:capital_of resource:Masbate . { VALUES ( ?l ) { ( ontology:city ) ( ontology:human_settlement ) } . ?q rdf:type ?l } } } . FILTER ( ?m < ?z ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?t WHERE { ?w rdf:type ?p . VALUES ( ?p ) { ( ontology:human_settlement ) ( ontology:city ) } } GROUP BY ?t } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q13899
P1376
Q1048835 Q486972 Q515
USER
And what about Zamboanga del Norte?
(c(Q486972)|c(Q515),P1376,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_multi_types
action find_reverse
entity Q13899
relation P1376
type Q486972
type Q515
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?w WHERE { { ?n property:P1376 ?w . ?w rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q515 } UNION { ?n property:P1376 ?w . ?w rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q486972 } } GROUP BY ?w } . FILTER ( ?r < ?h ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P1376 resource:Q13899 . { { ?s rdf:type ontology:Q486972 } UNION { ?s rdf:type ontology:Q515 } } } } }
Zamboanga del Norte
action less
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Zamboanga del Norte
relation capital of
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?w WHERE { { ?n property:capital_of ?w . ?w rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:city } UNION { ?n property:capital_of ?w . ?w rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:human_settlement } } GROUP BY ?w } . FILTER ( ?r < ?h ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:capital_of resource:Zamboanga_del_Norte . { { ?s rdf:type ontology:human_settlement } UNION { ?s rdf:type ontology:city } } } } }
[]
political territorial entity human settlement city
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q7915647 Q132418 Q132410 Q13885 Q13887 Q6318040 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q13728 Q13721 Q13723 Q13727 Q6317672 Q938891 Q10298683 Q849807 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q10453 Q6115 Q3824788 Q6319605 Q10459 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q13902 Q515343 Q753689 Q2058837 Q3825827 Q3825439 Q167859 Q43448 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q1122980 Q6981448 Q1382499 Q3825382 Q8560940 Q2026858 Q7414298 Q3824230 Q103691 Q13769 Q13767 Q103699 Q3824339 Q13763 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7906 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q3312907 Q173407 Q8517 Q165956 Q6949621 Q133083 Q2071352 Q1925048 Q210061 Q494354 Q9676 Q13867 Q13866 Q13864 Q205104 Q13789 Q35672 Q205089 Q3313400 Q104257 Q5047837 Q2737098 Q10544 Q2485101 Q7290462 Q1334322 Q10465 Q628370 Q104891 Q4863230 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q746558 Q8560844 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q6337 Q3312493 Q3824385 Q3678587 Q2967 Q6317167 Q408 Q2096228 Q13730 Q13739 Q599448 Q40 Q3312467 Q7931 Q13861 Q240 Q207973 Q3312924 Q2843759 Q105075 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q539231 Q34617 Q2698844 Q383734 Q35 Q38610 Q3313291 Q3312974 Q7137570 Q3826135 Q5926575 Q7686343 Q5262649 Q192959 Q3321924 Q8566 Q3313129 Q25228 Q692946 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3825983 Q2342207 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q13778 Q103686 Q691 Q5164916 Q90027 Q3313822 Q3656379 Q642314 Q6308 Q632108 Q5096392 Q5031628 Q10461 Q3312393 Q3908 Q7898 Q7899 Q170213 Q7893 Q2917 Q7896 Q1399432 Q933179 Q5945 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q10896751 Q129286 Q6177392 Q1827027 Q13812 Q13810 Q8560764 Q781 Q6061 Q5705 Q707771 Q5095925 Q6318859 Q5720 Q13353 Q10471 Q10472 Q170604 Q3391867 Q166709 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q18288148 Q5096 Q3653113 Q23635 Q6321909 Q6317899 Q450521 Q2621992 Q3824597 Q834261 Q3557 Q5078 Q13740 Q2632922 Q4804007 Q5925410 Q1893486 Q3313278 Q2898 Q5051137 Q48098 Q201162 Q168856 Q178269 Q46070 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q922842 Q3825702 Q41071 Q2718491 Q5932 Q2703450 Q3313040 Q2697234 Q231 Q106789 Q3312967 Q2486015 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q2486455 Q5048959 Q3826128 Q2379199 Q13845 Q13846 Q13841 Q13840 Q7421013 Q3825413 Q189974 Q193295 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q104746 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q269509 Q6061367 Q2761723 Q769 Q685 Q103679 Q20264 Q763 Q1232887 Q766 Q103672 Q650489 Q2199691 Q7894 Q313969 Q6313 Q8048242 Q6317 Q2718510 Q18221 Q192184 Q13893 Q2875944 Q13895 Q3903 Q1730130 Q13714 Q10551 Q13711 Q2842398 Q1117137 Q2761218 Q257516 Q505050 Q1787430 Q778266 Q505220 Q3826249 Q209597 Q103093 Q7636360 Q178084 Q2697268 Q13807 Q1230021 Q183 Q933576 Q1632864 Q200938 Q6109 Q8541 Q10562 Q151938 Q597029 Q3313100 Q104877 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q106915 Q5783 Q5785 Q2941 Q368273 Q79965 Q315840 Q6317226 Q13751 Q13750 Q5657086 Q2697641 Q309460 Q7919 Q7917 Q7914 Q7911 Q7910 Q838690 Q48101 Q1233672 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q7908 Q543868 Q16 Q2697221 Q539094 Q205068 Q130840 Q6320495 Q191091 Q3321868 Q10483 Q10487 Q339637 Q3031627 Q7380195 Q3825015 Q13871 Q13873 Q13875 Q13877 Q13879 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q211793 Q48054 Q211795 Q6319125 Q3312431 Q10554 Q2909 Q2640062 Q862584 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q170446 Q468378 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q2885071 Q2367188 Q104940 Q1478051 Q188732
(c(Q486972)|c(Q515),P1376,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_multi_types
action find_reverse
entity Q13899
relation P1376
type Q486972
type Q515
[ANSWERS]
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?w WHERE { { ?n property:P1376 ?w . ?w rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q515 } UNION { ?n property:P1376 ?w . ?w rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q486972 } } GROUP BY ?w } . FILTER ( ?r < ?h ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P1376 resource:Q13899 . { { ?s rdf:type ontology:Q486972 } UNION { ?s rdf:type ontology:Q515 } } } } }
Vargas Guerra District Northern Cape Mpumalanga Sultan Kudarat Sulu Paita District Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Apayao Agusan del Sur Aklan Antique Ayabaca District San Miguel District Huacrachuco Western Highlands Province San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Weißenburg-Gunzenhausen Barnim Yunguyo District Ichocán District Kitzingen Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Zamboanga Sibugay Ranrahirca District Sandaun Province Purús District Coracora District Sancos District, Huanca Sancos Volyn Oblast British Indian Ocean Territory Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Comtat Venaissin Nauta District Hela Lampa District Requena District Hudiksvall County San Ignacio District, Peru Ayaviri District Halland County Camiguin Camarines Sur Gävleborg County Ica District Camarines Norte Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Limburg-Weilburg Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Checca District Ternopil Oblast Main-Tauber North West Máncora District Gauteng Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Isle of Man Occidental Mindoro Nueva Vizcaya Northern Samar Puno Region Compostela Valley Pitcairn Islands Áncash Region Arahuay District Örebro County Casa Grande District Jumbilla District Munich (district) County of Chiny Ramón Castilla District County of Toulouse Rhön-Grabfeld Lobería Västernorrland County Barranca District, Datem del Marañón Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Emirate of Bukhara Manseriche District Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Vogtlandkreis Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Tambopata Australia Tornquist Aurora Bataan Chimbu Province Austria Tacna District Giessen Government Region Mountain Province Brussels Junín Region Moquegua District Locumba Västmanland County Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla Ambo District Saint Pierre and Miquelon Chimbote District Iquitos District Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Pariñas District Puquio District Huaytará District Tarma District Jauja District Minsk Region Arequipa Alzey-Worms Cerro Azul District Anguilla Gorizia and Gradisca Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Tarata San Cayetano Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Catanduanes Norrbotten County Papua New Guinea Contamana District German-speaking Community of Belgium Pachangara District Davao Occidental County of Burgundy Leipzig Lincoln Partido Chiclayo District Candarave Schweinfurt Ayacucho District Galicia Hersfeld-Rotenburg Fulda Zakarpattia Oblast Waldeck-Frankenberg Vorpommern-Greifswald District Werra-Meißner-Kreis Almirante Brown Huánuco District Cloppenburg Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon Llipa District British Raj Jenaro Herrera District Mar Chiquita Partido Ifugao Guimaras Indiana District, Maynas Antigua and Barbuda Altmarkkreis Salzwedel Catalonia County of Bentheim Chicama District Lambayeque District Valencian Country Montserrat Aschaffenburg Miltenberg New France Guadalupe District Vinnytsia Oblast Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Metropolitan City of Florence West Papua Kingdom of Syunik Bermuda Río Tambo District Moyobamba District Magdeburg Government Region Villarino Moho District Bolívar Partido Central Java Province South Sulawesi Batanes Chancay District Ascope District Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Catacaos Rostock District Amazonas Region Chernivtsi Oblast Ivano-Frankivsk Oblast Plzeň Region Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Skaraborg County Juli District Gangwon Province Acomayo District Friesland Chalhuanca District Yucay District Huaraz District Walloon Region Värmland County Urubamba District Callería Mala District Zlín Region Bellavista District Quinua District Cusco Region Manantay Casitas Huancabamba District politics of Edinburgh Maguindanao Marinduque Lanao del Norte Laguna Saposoa District Pausa District Jõgeva County Hradec Králové Region Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Kronoberg County Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon Coronel Suárez Monsefú District Puan Grenada Solomon Islands Jämtland County Sächsische Schweiz Saint Kitts and Nevis County of Savoy Jamaica Jönköping County Margraviate of Baden Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Meissen Yanahuanca Görlitz Abancay District Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Tawi-Tawi Omate District Zambales North Kalimantan Later Qin Agusan del Norte Middle Franconia Abra Trujillo District Raimondi Jesús District Oxapampa District Adolfo Gonzales Chaves Niesky District County of Artois Huancavelica Region Chuschi District Tumbes department Västra Götaland County Sullana District Ilkhanate Chavín de Huantar District Dinagat Islands Nieva District Germany Santa Cruz District Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Neutral Moresnet Bagua Grande District Kimbiri District Västerbotten county Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Södermanland County Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde County of Veldenz Lamas District Biliran Benguet Manú Pamparomas District County of Hainaut Odenwaldkreis Kreis Bergstraße Groß-Gerau Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Hochtaunuskreis Chaupimarca District Canada Corongo District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Karlovy Vary Region Samuel Pastor District Regen Freyung-Grafenau Kristianstad County Nazca District Rupa-Rupa District Putina District Pangasinan Quirino Romblon Sarangani Siquijor Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region San Martín Region Erfurt Lima Region Pacasmayo District Cajamarca Upper Franconia Vorpommern-Rügen District Aramango District Enga Province Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Sumy Oblast County of Hoya British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome Ilo District Härnösand County Östergötland County La Oroya District Gomel Region
Germany Australia Denmark
action less
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Zamboanga del Norte
relation capital of
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?w WHERE { { ?n property:capital_of ?w . ?w rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:city } UNION { ?n property:capital_of ?w . ?w rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:human_settlement } } GROUP BY ?w } . FILTER ( ?r < ?h ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:capital_of resource:Zamboanga_del_Norte . { { ?s rdf:type ontology:human_settlement } UNION { ?s rdf:type ontology:city } } } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P276
Q15259995 Q82794
USER
How many recurring tournaments or geographic regions have their location as that political territory ?
(c(Q15259995),P276,Q35) (c(Q82794),P276,Q35) (c(Q15259995),P276,Q183) (c(Q82794),P276,Q183) (c(Q15259995),P276,Q408) (c(Q82794),P276,Q408) (c(Q15259995),P276,Q35) (c(Q82794),P276,Q35)
[{'concept': 'Q15259995'}, 'P276', 'Q35'] [{'concept': 'Q82794'}, 'P276', 'Q35'] [{'concept': 'Q15259995'}, 'P276', 'Q183'] [{'concept': 'Q82794'}, 'P276', 'Q183'] [{'concept': 'Q15259995'}, 'P276', 'Q408'] [{'concept': 'Q82794'}, 'P276', 'Q408'] [{'concept': 'Q15259995'}, 'P276', 'Q35'] [{'concept': 'Q82794'}, 'P276', 'Q35']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q22286761 } UNION { ?y property:Q17334923 resource:Q22286761 } UNION { ?z property:Q17334923 resource:Q423030 } UNION { ?y property:Q17334923 resource:Q423030 } UNION { ?z property:Q17334923 resource:Q17666015 } UNION { ?y property:Q17334923 resource:Q17666015 } UNION { ?z property:Q17334923 resource:Q22286761 } UNION { ?y property:Q17334923 resource:Q22286761 } } . ?z rdf:type ontology:Q15259995 . ?y rdf:type ontology:Q82794 }
[{'concept': 'recurring tournament'}, 'location', 'Denmark'] [{'concept': 'geographic region'}, 'location', 'Denmark'] [{'concept': 'recurring tournament'}, 'location', 'Germany'] [{'concept': 'geographic region'}, 'location', 'Germany'] [{'concept': 'recurring tournament'}, 'location', 'Australia'] [{'concept': 'geographic region'}, 'location', 'Australia'] [{'concept': 'recurring tournament'}, 'location', 'Denmark'] [{'concept': 'geographic region'}, 'location', 'Denmark']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Denmark } UNION { ?y property:location resource:Denmark } UNION { ?z property:location resource:Germany } UNION { ?y property:location resource:Germany } UNION { ?z property:location resource:Australia } UNION { ?y property:location resource:Australia } UNION { ?z property:location resource:Denmark } UNION { ?y property:location resource:Denmark } } . ?z rdf:type ontology:recurring_tournament . ?y rdf:type ontology:geographic_region }
[]
recurring tournament geographic region
Quantitative|Count|Mult. entity type|Clarification
Q35
SYSTEM
Did you mean Denmark ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q22286761 } UNION { ?y property:Q17334923 resource:Q22286761 } UNION { ?z property:Q17334923 resource:Q423030 } UNION { ?y property:Q17334923 resource:Q423030 } UNION { ?z property:Q17334923 resource:Q17666015 } UNION { ?y property:Q17334923 resource:Q17666015 } UNION { ?z property:Q17334923 resource:Q22286761 } UNION { ?y property:Q17334923 resource:Q22286761 } } . ?z rdf:type ontology:Q15259995 . ?y rdf:type ontology:Q82794 }
Did you mean Denmark ?
Denmark
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Denmark } UNION { ?y property:location resource:Denmark } UNION { ?z property:location resource:Germany } UNION { ?y property:location resource:Germany } UNION { ?z property:location resource:Australia } UNION { ?y property:location resource:Australia } UNION { ?z property:location resource:Denmark } UNION { ?y property:location resource:Denmark } } . ?z rdf:type ontology:recurring_tournament . ?y rdf:type ontology:geographic_region }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q15259995),P276,Q35) (c(Q82794),P276,Q35) (c(Q15259995),P276,Q183) (c(Q82794),P276,Q183) (c(Q15259995),P276,Q408) (c(Q82794),P276,Q408) (c(Q15259995),P276,Q35) (c(Q82794),P276,Q35)
[{'concept': 'Q15259995'}, 'P276', 'Q35'] [{'concept': 'Q82794'}, 'P276', 'Q35'] [{'concept': 'Q15259995'}, 'P276', 'Q183'] [{'concept': 'Q82794'}, 'P276', 'Q183'] [{'concept': 'Q15259995'}, 'P276', 'Q408'] [{'concept': 'Q82794'}, 'P276', 'Q408'] [{'concept': 'Q15259995'}, 'P276', 'Q35'] [{'concept': 'Q82794'}, 'P276', 'Q35']
[{'concept': 'recurring tournament'}, 'location', 'Denmark'] [{'concept': 'geographic region'}, 'location', 'Denmark'] [{'concept': 'recurring tournament'}, 'location', 'Germany'] [{'concept': 'geographic region'}, 'location', 'Germany'] [{'concept': 'recurring tournament'}, 'location', 'Australia'] [{'concept': 'geographic region'}, 'location', 'Australia'] [{'concept': 'recurring tournament'}, 'location', 'Denmark'] [{'concept': 'geographic region'}, 'location', 'Denmark']
[]
SYSTEM
2
Q24528168 Q13592528
(c(Q15259995),P276,Q35) (c(Q82794),P276,Q35) (c(Q15259995),P276,Q183) (c(Q82794),P276,Q183) (c(Q15259995),P276,Q408) (c(Q82794),P276,Q408) (c(Q15259995),P276,Q35) (c(Q82794),P276,Q35)
[ANSWER]
[{'concept': 'Q15259995'}, 'P276', 'Q35'] [{'concept': 'Q82794'}, 'P276', 'Q35'] [{'concept': 'Q15259995'}, 'P276', 'Q183'] [{'concept': 'Q82794'}, 'P276', 'Q183'] [{'concept': 'Q15259995'}, 'P276', 'Q408'] [{'concept': 'Q82794'}, 'P276', 'Q408'] [{'concept': 'Q15259995'}, 'P276', 'Q35'] [{'concept': 'Q82794'}, 'P276', 'Q35']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q22286761 } UNION { ?y property:Q17334923 resource:Q22286761 } UNION { ?z property:Q17334923 resource:Q423030 } UNION { ?y property:Q17334923 resource:Q423030 } UNION { ?z property:Q17334923 resource:Q17666015 } UNION { ?y property:Q17334923 resource:Q17666015 } UNION { ?z property:Q17334923 resource:Q22286761 } UNION { ?y property:Q17334923 resource:Q22286761 } } . ?z rdf:type ontology:Q15259995 . ?y rdf:type ontology:Q82794 }
Viking Age Denmark 2019 World Men's Handball Championship
2
[{'concept': 'recurring tournament'}, 'location', 'Denmark'] [{'concept': 'geographic region'}, 'location', 'Denmark'] [{'concept': 'recurring tournament'}, 'location', 'Germany'] [{'concept': 'geographic region'}, 'location', 'Germany'] [{'concept': 'recurring tournament'}, 'location', 'Australia'] [{'concept': 'geographic region'}, 'location', 'Australia'] [{'concept': 'recurring tournament'}, 'location', 'Denmark'] [{'concept': 'geographic region'}, 'location', 'Denmark']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Denmark } UNION { ?y property:location resource:Denmark } UNION { ?z property:location resource:Germany } UNION { ?y property:location resource:Germany } UNION { ?z property:location resource:Australia } UNION { ?y property:location resource:Australia } UNION { ?z property:location resource:Denmark } UNION { ?y property:location resource:Denmark } } . ?z rdf:type ontology:recurring_tournament . ?y rdf:type ontology:geographic_region }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q685
P530
Q1048835 Q1048835
USER
How many political territories have tactful political relations with around the same number of political territories as Solomon Islands ?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q685
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d rdf:type ontology:Q1048835 . resource:Q685 property:P530 ?d } } . FILTER ( ?r = ?w ) . { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?r ) WHERE { ?t property:P530 ?z . ?t rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q1048835 } GROUP BY ?t } }
Solomon Islands
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d rdf:type ontology:political_territorial_entity . resource:Solomon_Islands property:diplomatic_relation ?d } } . FILTER ( ?r = ?w ) . { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?r ) WHERE { ?t property:diplomatic_relation ?z . ?t rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?t } }
[]
political territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q685
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d rdf:type ontology:Q1048835 . resource:Q685 property:P530 ?d } } . FILTER ( ?r = ?w ) . { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?r ) WHERE { ?t property:P530 ?z . ?t rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q1048835 } GROUP BY ?t } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d rdf:type ontology:political_territorial_entity . resource:Solomon_Islands property:diplomatic_relation ?d } } . FILTER ( ?r = ?w ) . { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?r ) WHERE { ?t property:diplomatic_relation ?z . ?t rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?t } }
[]