Simple Question (Direct)
Simple Question
Q8018256
P21
Q290
USER
What is the sex of William Sefton Moorhouse ?
(Q8018256,P21,c(Q290))
action filter_type
action find
entity Q8018256
relation P21
type Q290
['Q8018256', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q8018256 property:P21 ?c . ?c rdf:type ontology:Q290 }
William Sefton Moorhouse
action filter_type
action find
entity William Sefton Moorhouse
relation gender
type sex
['William Sefton Moorhouse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:William_Sefton_Moorhouse property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q8018256,P21,c(Q290))
action filter_type
action find
entity Q8018256
relation P21
type Q290
The sex of William Sefton Moorhouse is the [ANSWER]
['Q8018256', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q8018256 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
The sex of William Sefton Moorhouse is the male
male
action filter_type
action find
entity William Sefton Moorhouse
relation gender
type sex
['William Sefton Moorhouse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:William_Sefton_Moorhouse property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8018256
P19
Q1138494
USER
Which historic county of England was William Sefton Moorhouse born in ?
(Q8018256,P19,c(Q1138494))
action filter_type
action find
entity Q8018256
relation P19
type Q1138494
['Q8018256', 'P19', {'concept': 'Q1138494'}]
SELECT DISTINCT ?l WHERE { resource:Q8018256 property:P19 ?l . ?l rdf:type ontology:Q1138494 }
William Sefton Moorhouse
action filter_type
action find
entity William Sefton Moorhouse
relation place of birth
type historic county of England
['William Sefton Moorhouse', 'place of birth', {'concept': 'historic county of England'}]
SELECT DISTINCT ?l WHERE { resource:William_Sefton_Moorhouse property:place_of_birth ?l . ?l rdf:type ontology:historic_county_of_England }
[]
historic county of England
Q163
SYSTEM
Yorkshire
Q163
(Q8018256,P19,c(Q1138494))
action filter_type
action find
entity Q8018256
relation P19
type Q1138494
Which historic county of England was William Sefton Moorhouse born in
['Q8018256', 'P19', {'concept': 'Q1138494'}]
SELECT DISTINCT ?l WHERE { resource:Q8018256 property:P19 ?l . ?l rdf:type ontology:Q1138494 }
Yorkshire
Which historic county of England was William Sefton Moorhouse born in
Yorkshire
action filter_type
action find
entity William Sefton Moorhouse
relation place of birth
type historic county of England
['William Sefton Moorhouse', 'place of birth', {'concept': 'historic county of England'}]
SELECT DISTINCT ?l WHERE { resource:William_Sefton_Moorhouse property:place_of_birth ?l . ?l rdf:type ontology:historic_county_of_England }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8018256
P20
Q515
USER
Which city is the place of death of William Sefton Moorhouse ?
(Q8018256,P20,c(Q515))
action filter_type
action find
entity Q8018256
relation P20
type Q515
['Q8018256', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . resource:Q8018256 property:P20 ?j }
William Sefton Moorhouse
action filter_type
action find
entity William Sefton Moorhouse
relation place of death
type city
['William Sefton Moorhouse', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . resource:William_Sefton_Moorhouse property:place_of_death ?j }
[]
city
Q23661
SYSTEM
Wellington
Q23661
(Q8018256,P20,c(Q515))
action filter_type
action find
entity Q8018256
relation P20
type Q515
[ANSWER] is the place of death of William Sefton Moorhouse
['Q8018256', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . resource:Q8018256 property:P20 ?j }
Wellington
Wellington is the place of death of William Sefton Moorhouse
Wellington
action filter_type
action find
entity William Sefton Moorhouse
relation place of death
type city
['William Sefton Moorhouse', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . resource:William_Sefton_Moorhouse property:place_of_death ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23661
P17
Q1048835
USER
Which political territory is that city a part of ?
(Q23661,P17,c(Q1048835))
action filter_type
action find
entity Q23661
relation P17
type Q1048835
['Q23661', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q23661 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
Wellington
action filter_type
action find
entity Wellington
relation country
type political territorial entity
['Wellington', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Wellington property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664
SYSTEM
New Zealand
Q664
(Q23661,P17,c(Q1048835))
action filter_type
action find
entity Q23661
relation P17
type Q1048835
[ANSWER] is that city a part of
['Q23661', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q23661 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
New Zealand
New Zealand is that city a part of
New Zealand
action filter_type
action find
entity Wellington
relation country
type political territorial entity
['Wellington', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Wellington property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q515 Q515 Q20667921
USER
How many cities are associated to atmost 23 cities and french administrative divisions as the capital ?
(c(Q515)|c(Q20667921),P36,c(Q515))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q515
action find_reverse_tuple_counts
relation P36
type Q515
type Q20667921
value 23
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?z WHERE { VALUES ( ?v ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } . ?m rdf:type ?v } GROUP BY ?z } . FILTER ( ?u <= 23 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation capital
type city
type city
action find_reverse_tuple_counts
relation capital
type city
type type of french administrative division
value 23
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?z WHERE { VALUES ( ?v ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } . ?m rdf:type ?v } GROUP BY ?z } . FILTER ( ?u <= 23 ) }
[]
city city type of french administrative division
SYSTEM
590
Q15826 Q384403 Q373542 Q780731 Q39738 Q3572 Q10126 Q843001 Q1710 Q843006 Q843009 Q392692 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q19689 Q873377 Q853746 Q259498 Q158239 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q17042 Q4024 Q379030 Q1711 Q496667 Q27860 Q240504 Q3806 Q281371 Q258884 Q3624 Q320950 Q8254 Q592338 Q43199 Q52607 Q766168 Q933645 Q58650 Q214938 Q830394 Q205607 Q193050 Q71305 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q917888 Q1070920 Q174096 Q174091 Q502993 Q430864 Q855082 Q633945 Q843031 Q385070 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q75978 Q696388 Q185719 Q622841 Q983451 Q18970 Q80989 Q14424 Q304803 Q432169 Q147738 Q853744 Q2135 Q43196 Q855032 Q404529 Q80484 Q5954 Q8131 Q3926 Q11462 Q834567 Q851675 Q3744 Q3214 Q842908 Q505208 Q1000336 Q911530 Q5838 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q933641 Q379160 Q889966 Q890311 Q132997 Q3104 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q1899 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q1794 Q602976 Q793405 Q665 Q375097 Q911558 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q1486 Q2966 Q220445 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q1461 Q843018 Q14499 Q1000091 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q1000073 Q12245 Q117676 Q16959 Q1844 Q10389 Q650015 Q30340 Q23430 Q225257 Q35925 Q44215 Q629849 Q680656 Q986070 Q854996 Q214956 Q1362 Q8247 Q183584 Q235 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q167668 Q4469 Q1519 Q8684 Q270704 Q3838 Q167109 Q478038 Q734378 Q459787 Q585630 Q855529 Q7248 Q207408 Q1107569 Q1025387 Q316841 Q6602 Q602042 Q237699 Q207406 Q23661 Q191651 Q7856199 Q11443 Q3947359 Q325164 Q305640 Q14819 Q5285 Q3307925 Q14182 Q740810 Q193721 Q861221 Q911667 Q7568 Q8652 Q842971 Q842976 Q3866 Q181007 Q843028 Q385864 Q755686 Q3599 Q1731 Q3861 Q43433 Q1636 Q7027 Q846652 Q7786 Q10104 Q3859 Q155975 Q19660 Q1020939 Q674311 Q3915 Q719051 Q155674 Q863747 Q841125 Q954596 Q314686 Q487439 Q174461 Q385591 Q1953 Q124375 Q954611 Q854940 Q2180 Q3319248 Q320939 Q714628 Q335427 Q177149 Q327764 Q2569148 Q9005 Q208471 Q2337 Q633789 Q1330294 Q14960 Q8158 Q3185 Q116417 Q830404 Q861262 Q719 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2978 Q188082 Q2973 Q34261 Q137271 Q855060 Q1473 Q842996 Q1773 Q679249 Q843021 Q14821 Q680743 Q3852 Q564234 Q3958 Q488990 Q668318 Q2079 Q2773 Q6829 Q260522 Q8156 Q14440 Q752838 Q993064 Q276534 Q41773 Q42007 Q985465 Q1858 Q2096 Q329775 Q1854 Q890122 Q855016 Q3787 Q855011 Q513417 Q4007 Q480421 Q14168 Q823907 Q7070 Q3826 Q642031 Q55598 Q498011 Q214948 Q271000 Q214945 Q182852 Q158928 Q755681 Q214942 Q68481 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1822 Q1533 Q200077 Q47916 Q1856 Q3183016 Q328601 Q2410422 Q191097 Q542154 Q2526233 Q946769 Q3126 Q846351 Q739304 Q789233 Q7253 Q157835 Q819103 Q3046 Q368929 Q2936 Q530634 Q4827 Q591812 Q877227 Q5753 Q429409 Q2749 Q193719 Q308657 Q170454 Q545923 Q211243 Q841603 Q656603 Q7929221 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q11194 Q386682 Q63145 Q485581 Q755698 Q2119 Q390796 Q271917 Q1008737 Q79535 Q5972 Q1720 Q1721 Q83247 Q1645 Q7578 Q390798 Q3904 Q14126 Q44244 Q855052 Q11449 Q547479 Q404817 Q485891 Q2907 Q1001339 Q15847 Q843014 Q2844 Q11725 Q604516 Q73156 Q3768 Q732300 Q789510 Q470369 Q1863 Q1865 Q2209 Q2200 Q2203 Q18342086 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q517783 Q23768 Q206872 Q72778 Q737634 Q1355 Q146363 Q3167 Q208818 Q187136 Q5869 Q3948919 Q830411 Q740863 Q740800 Q171943 Q728438 Q427769 Q177042 Q189823 Q40626 Q55740 Q250733 Q146317 Q693264 Q5781 Q6582 Q187821 Q502205 Q203344 Q107401 Q1686 Q3355306 Q57944 Q189761 Q189769 Q1761 Q2795 Q750224 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q2069869 Q184998 Q5217 Q854965 Q1020709 Q456 Q755701 Q267894 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3935 Q7003 Q3936 Q3931 Q726993 Q3919 Q3751 Q3750 Q3616 Q42666 Q3612 Q894059 Q933638 Q183111 Q40584 Q1067897 Q25475 Q18575 Q11506 Q613813 Q375862 Q107624 Q1530 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q591823 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q187284 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125 Q2999 Q16666
(c(Q515)|c(Q20667921),P36,c(Q515))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q515
action find_reverse_tuple_counts
relation P36
type Q515
type Q20667921
value 23
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?z WHERE { VALUES ( ?v ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } . ?m rdf:type ?v } GROUP BY ?z } . FILTER ( ?u <= 23 ) }
Palu Litoměřice Szigetvár Szeghalom Laoag Tunis Serang Csorna Isabela City Nagykálló Marcali Šumperk Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Tirana Dumaguete Bátonyterenye Rafaela Kroměříž Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Oakland Frankfurt (Oder) Zalaszentgrót Potsdam Muroran Jayapura Makó Tübingen Jászberény Bélapátfalva Addis Ababa Trutnov Dharan Marawi Omaha Mar del Plata Nagykáta Kunhegyes Zhangjiakou Gyula Nagykőrös Zirc Érd Ezhou Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Vinaròs Mamuju Sorsogon City Changsha Uherské Hradiště Nymburk Csenger Saijō Vasvár Burriana Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Calamba Toyooka Pétervására Ghardaia Río Cuarto Ambon Bhopal Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Patna Binjai Palembang Pretoria Surabaya Bonyhád Takahashi Castro Cottbus Gyál Ouarzazate Tandil Hajdúhadház Kabul Szolnok Kidapawan Riyadh Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Martonvásár Kunszentmárton Kiliya Reni Florianópolis Koblenz Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Kyiv Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Frankfurt Klatovy Berettyóújfalu Lugdunum Tiszaújváros Putnok Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Buenos Aires Heidelberg Kuching Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Manila Kunszentmiklós Samarinda Rychnov nad Kněžnou Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Pelhřimov Stanley Viseu Ürümqi Vaduz Bandung Pannonhalma Zhengzhou Ulaanbaatar Rupea Tabuk Santa Rosa Hatvan Sümeg Chrudim Szerencs Znojmo Islamabad Biratnagar Lanzhou Monaco Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Liepāja Talca Abu Dhabi Seoul Třebíč Kinshasa Eger Kiskunfélegyháza Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Vác Kerma Maasin Karlovo Strasbourg Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Wellington Masbate City Turquoise Mountain Kediri San Ignacio Kayes Abashiri Freiberg Tarlac Mianwali City Banjarmasin Békés Tábor Nakatsu Elek Yogyakarta Miami Sellye Mátészalka Dodoma Hattusa Oroszlány Ōsakasayama Nyírbátor Bicske Dresden Doha Chandigarh Antipolo Straubing Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Bucharest Digos Kisvárda Antananarivo Artsyz Tandag Uda Tsuyama Havlíčkův Brod Mati Oral Ranchi Ōmura Yerevan Hódmezővásárhely Jeseník Dabas Malolos Pehuajó Mělník Rumoi Kisarazu Obihiro Prachatice Escazú District Brussels Kaifeng Smolensk Dombóvár Jiankang Brno Metro, Indonesia Hildesheim Sátoraljaújhely Hajdúszoboszló Uto Saginaw Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Regensburg Český Krumlov Darmstadt Port-au-Prince Kota Kinabalu Encs Davao City Pécsvárad Riga Kalocsa Tolna Coburg Balatonfüred Worms Annaka Neubrandenburg Kostanay Sárospatak Leipzig Braunschweig Speyer Bácsalmás Bandar Lampung Iquique Aszód Saint Anne Wau, South Sudan Obama Szombathely Rakovník Hanoi Edmonton Kiskunhalas Ho Chi Minh City Bolhrad Csurgó Abuja Heves Vsetín Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Muscat Gárdony Palayan Sakura Cegléd Bouaké Pápa Kunming Bushehr Várpalota Kazincbarcika Fuzhou Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Baguio Caracas Morioka Lucknow Malaybalay Ungaran Hirado San Marcos, Costa Rica Tachov Koronadal Carn Dûm Mórahalom Erlangen Miyazu Hajdúnánás Balassagyarmat Padang Zaporizhzhya Berezivka Pforzheim Jindřichův Hradec Oldenburg Pilisvörösvár Vyritsa Buryn Ogi Samarkand Szob Augsburg Cheb Minas Tirith Agartala Tatarbunary Yinchuan Tiszakécske Jičín Vijaya Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Sarajevo Khost Imus Aveiro Svitavy Mannheim Orosháza Kushiro Semily Fort Smith Medan Mainz Wiesbaden Braga Cagayan de Oro Jambi Szentendre Mbabane Mataram Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Ananyiv Sucre Puerto Natales Manado Szarvas Brasília Chongqing Szentgotthárd Linfen Yamoussoukro Gyomaendrőd Balmazújváros Kolín Andorra la Vella Kuala Lumpur Roxas Tuguegarao Arica Oyo-Ile České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Pinamar Las Vegas Ajka Taiyuan Rozdilna Bangalore Most Siegen Fuchū Luoyang Lhasa Santa Ana Körmend Česká Lípa Paks Nanchang Siklós Kisbér Biharkeresztes Haikou Tacloban San Fernando Wa Veszprém Iwamizawa Langsa Carcassonne Tatabánya Nemuro Baja Sivas Butuan Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Dublin Chemnitz Strakonice Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Edoras Kaposvár Bacolod Lenti Catbalogan Lyon Ráckeve Wakkanai Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Windhoek Dijon Bamberg Brandenburg an der Havel Cotabato City Gaborone Praia Gera Tehran Shaoxing Antofagasta Borongan Mezőkövesd Jihlava San Fernando Oroquieta Batumi Tucson Denpasar Kőszeg Nyíradony Calapan Baghdad Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Náchod Gyöngyös Tatsuno Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Bengkulu Füzesabony Hurghada Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena Würzburg Nanjing
590
action count
action atmost
action union
action find_reverse_tuple_counts
relation capital
type city
type city
action find_reverse_tuple_counts
relation capital
type city
type type of french administrative division
value 23
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?z WHERE { VALUES ( ?v ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } . ?m rdf:type ?v } GROUP BY ?z } . FILTER ( ?u <= 23 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q697
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relations with greater number of political territories than Nauru ?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q697
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?e ) WHERE { ?d property:P530 ?q . ?d rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q697 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?p ) }
Nauru
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Nauru
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?e ) WHERE { ?d property:diplomatic_relation ?q . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Nauru property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?p ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
82
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q1041 Q27 Q843 Q1029 Q1028 Q736 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q697
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?e ) WHERE { ?d property:P530 ?q . ?d rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q697 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?p ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Senegal Ireland Pakistan Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
82
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Nauru
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?e ) WHERE { ?d property:diplomatic_relation ?q . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Nauru property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q717
P530
Q1048835 Q15617994
USER
Which administrative territories have tactful political relations with greater number of political territories than Venezuela ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q717
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { resource:Q717 property:P530 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?a > ?j ) . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?a ) WHERE { ?t property:P530 ?b . ?t rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?t } }
Venezuela
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Venezuela
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { resource:Venezuela property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?a > ?j ) . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?a ) WHERE { ?t property:diplomatic_relation ?b . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?t } }
[]
political territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q736 Q230 Q233 Q20 Q1041 Q27 Q843 Q184 Q1029 Q1028 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q717
relation P530
type Q1048835
[ANSWERS] have tactful political relations with greater number of political territories than Venezuela
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { resource:Q717 property:P530 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?a > ?j ) . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?a ) WHERE { ?t property:P530 ?b . ?t rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?t } }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Ecuador Georgia Malta Norway Senegal Ireland Pakistan Belarus Mozambique Morocco Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
Italy, Brazil and United States of America have tactful political relations with greater number of political territories than Venezuela
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Venezuela
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { resource:Venezuela property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?a > ?j ) . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?a ) WHERE { ?t property:diplomatic_relation ?b . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?t } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q664 Q252
P530
Q1048835
USER
How many political territories have diplomatic relations with New Zealand and Indonesia ?
(Q664,P530,c(Q1048835)) (Q252,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q664
relation P530
type Q1048835
action filter_type
action find
entity Q252
relation P530
type Q1048835
['Q664', 'P530', {'concept': 'Q1048835'}] ['Q252', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Q664 property:P530 ?m . ?m rdf:type ontology:Q1048835 . resource:Q252 property:P530 ?m . ?m rdf:type ontology:Q1048835 }
New Zealand Indonesia
action count
action intersection
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Indonesia
relation diplomatic relation
type political territorial entity
['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Indonesia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:New_Zealand property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity . resource:Indonesia property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q408 Q16 Q183
(Q664,P530,c(Q1048835)) (Q252,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q664
relation P530
type Q1048835
action filter_type
action find
entity Q252
relation P530
type Q1048835
[ANSWER]
['Q664', 'P530', {'concept': 'Q1048835'}] ['Q252', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Q664 property:P530 ?m . ?m rdf:type ontology:Q1048835 . resource:Q252 property:P530 ?m . ?m rdf:type ontology:Q1048835 }
Australia Canada Germany
3
action count
action intersection
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Indonesia
relation diplomatic relation
type political territorial entity
['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Indonesia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:New_Zealand property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity . resource:Indonesia property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6582
P1376
Q7275 Q15617994 Q515
USER
How many cities are the county seat for more number of states and administrative territories than Carcassonne ?
(c(Q515),P1376,c(Q7275)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P1376
type Q515
type Q7275
action find_tuple_counts
relation P1376
type Q515
type Q15617994
action count
action filter_multi_types
action find
entity Q6582
relation P1376
type Q7275
type Q15617994
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q7275'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?r WHERE { VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?u rdf:type ?t } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { ?x rdf:type ?a . VALUES ( ?a ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } } . resource:Q6582 property:P1376 ?x } } . FILTER ( ?h > ?k ) }
Carcassonne
action count
action greater
action union
action find_tuple_counts
relation capital of
type city
type state
action find_tuple_counts
relation capital of
type city
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Carcassonne
relation capital of
type state
type designation for an administrative territorial entity
[{'concept': 'city'}, 'capital of', [{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?r WHERE { VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?u rdf:type ?t } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { ?x rdf:type ?a . VALUES ( ?a ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } } . resource:Carcassonne property:capital_of ?x } } . FILTER ( ?h > ?k ) }
[]
state designation for an administrative territorial entity city
SYSTEM
31
Q3572 Q19689 Q3624 Q3926 Q5838 Q1899 Q1794 Q1486 Q1461 Q23430 Q8684 Q3838 Q6602 Q7568 Q19660 Q1953 Q1330294 Q34261 Q1854 Q3826 Q2936 Q11194 Q2844 Q1865 Q72778 Q187136 Q1761 Q7003 Q3919 Q1530 Q16666
(c(Q515),P1376,c(Q7275)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P1376
type Q515
type Q7275
action find_tuple_counts
relation P1376
type Q515
type Q15617994
action count
action filter_multi_types
action find
entity Q6582
relation P1376
type Q7275
type Q15617994
[ANSWER]
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q7275'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?r WHERE { VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?u rdf:type ?t } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { ?x rdf:type ?a . VALUES ( ?a ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } } . resource:Q6582 property:P1376 ?x } } . FILTER ( ?h > ?k ) }
Tunis Tirana Addis Ababa Pretoria Kabul Kyiv Frankfurt Buenos Aires Manila Ulaanbaatar Seoul Kinshasa Strasbourg Yogyakarta Bucharest Yerevan Jiankang Port-au-Prince Ho Chi Minh City Muscat Oldenburg Sarajevo Brasília Kuala Lumpur Taiyuan Luoyang Dublin Dijon Gaborone Baghdad Nanjing
31
action count
action greater
action union
action find_tuple_counts
relation capital of
type city
type state
action find_tuple_counts
relation capital of
type city
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Carcassonne
relation capital of
type state
type designation for an administrative territorial entity
[{'concept': 'city'}, 'capital of', [{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?r WHERE { VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?u rdf:type ?t } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { ?x rdf:type ?a . VALUES ( ?a ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } } . resource:Carcassonne property:capital_of ?x } } . FILTER ( ?h > ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q834567
P1376
Q7275 Q15617994 Q515
USER
And how about Bonyhád?
(c(Q515),P1376,c(Q7275)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P1376
type Q515
type Q7275
action find_tuple_counts
relation P1376
type Q515
type Q15617994
action count
action filter_multi_types
action find
entity Q834567
relation P1376
type Q7275
type Q15617994
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q7275'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ?c . VALUES ( ?c ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Q834567 property:P1376 ?j . { { ?j rdf:type ontology:Q7275 } UNION { ?j rdf:type ontology:Q15617994 } } } } . FILTER ( ?u > ?a ) }
Bonyhád
action count
action greater
action union
action find_tuple_counts
relation capital of
type city
type state
action find_tuple_counts
relation capital of
type city
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Bonyhád
relation capital of
type state
type designation for an administrative territorial entity
[{'concept': 'city'}, 'capital of', [{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ?c . VALUES ( ?c ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Bonyhád property:capital_of ?j . { { ?j rdf:type ontology:state } UNION { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?u > ?a ) }
[]
state designation for an administrative territorial entity city
SYSTEM
94
Q3572 Q19689 Q8131 Q27860 Q3624 Q58650 Q71305 Q7473516 Q3870 Q18970 Q80989 Q2135 Q3926 Q23482 Q5838 Q3692 Q1899 Q1794 Q665 Q1486 Q220445 Q1461 Q1844 Q23430 Q1362 Q1519 Q8684 Q3838 Q3104 Q7248 Q6602 Q3904 Q1069007 Q7568 Q3866 Q1731 Q3859 Q19660 Q3915 Q1953 Q9005 Q1330294 Q2978 Q34261 Q1773 Q14821 Q2773 Q1858 Q2096 Q1854 Q3787 Q308657 Q7070 Q3826 Q68481 Q1533 Q2936 Q7929221 Q42751 Q11194 Q1720 Q83247 Q11443 Q183584 Q2907 Q2844 Q11725 Q73156 Q3768 Q1863 Q1865 Q18342086 Q72778 Q187136 Q6582 Q107401 Q1761 Q2887 Q2061 Q2069869 Q456 Q3935 Q7003 Q726993 Q3919 Q3751 Q3750 Q3616 Q25475 Q1530 Q2900 Q187284 Q2999 Q16666
(c(Q515),P1376,c(Q7275)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P1376
type Q515
type Q7275
action find_tuple_counts
relation P1376
type Q515
type Q15617994
action count
action filter_multi_types
action find
entity Q834567
relation P1376
type Q7275
type Q15617994
[ANSWER]
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q7275'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ?c . VALUES ( ?c ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Q834567 property:P1376 ?j . { { ?j rdf:type ontology:Q7275 } UNION { ?j rdf:type ontology:Q15617994 } } } } . FILTER ( ?u > ?a ) }
Tunis Tirana Palembang Jayapura Addis Ababa Zhangjiakou Ezhou Tokyo Nairobi Ambon Bhopal Winnipeg Pretoria Marseille Kabul Riyadh Kyiv Frankfurt Lugdunum Buenos Aires Kuching Manila Vaduz Ulaanbaatar Islamabad Abu Dhabi Seoul Kinshasa Koblenz Bukittinggi Strasbourg Mbabane Washukanni Yogyakarta Dodoma Dresden Kigali Bucharest Antananarivo Yerevan Brussels Jiankang Regensburg Port-au-Prince Riga Coburg Braunschweig Hanoi Edmonton Ho Chi Minh City Abuja Minas Tirith Eisenach Muscat Fuzhou Caracas Oldenburg Vijaya Palikir Sarajevo Mainz Braga Kediri Lanzhou Sucre Brasília Chongqing Linfen Yamoussoukro Andorra la Vella Kuala Lumpur Oyo-Ile Taiyuan Luoyang Carcassonne Sivas Dublin Santiago Yellowknife Edoras Lyon Windhoek Dijon Cotabato City Gaborone Praia Gera Tehran Batumi Baghdad Quito Hurghada Würzburg Nanjing
94
action count
action greater
action union
action find_tuple_counts
relation capital of
type city
type state
action find_tuple_counts
relation capital of
type city
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Bonyhád
relation capital of
type state
type designation for an administrative territorial entity
[{'concept': 'city'}, 'capital of', [{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ?c . VALUES ( ?c ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Bonyhád property:capital_of ?j . { { ?j rdf:type ontology:state } UNION { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?u > ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q958
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relationships with more number of political territories than South Sudan ?
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q958
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?f ) WHERE { ?h property:P530 ?p . ?h rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q958 property:P530 ?k } } . FILTER ( ?f > ?z ) }
South Sudan
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity South Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?f ) WHERE { ?h property:diplomatic_relation ?p . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:South_Sudan property:diplomatic_relation ?k } } . FILTER ( ?f > ?z ) }
[]
designation for an administrative territorial entity political territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q1041 Q27 Q843 Q1029 Q1028 Q736 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q958
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with more number of political territories than South Sudan
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?f ) WHERE { ?h property:P530 ?p . ?h rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q958 property:P530 ?k } } . FILTER ( ?f > ?z ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Senegal Ireland Pakistan Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
Italy, Brazil and United States of America have diplomatic relationships with more number of political territories than South Sudan
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity South Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?f ) WHERE { ?h property:diplomatic_relation ?p . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:South_Sudan property:diplomatic_relation ?k } } . FILTER ( ?f > ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q212
P530
Q15617994 Q1048835
USER
And what about Ukraine?
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q212
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?z ) WHERE { ?s property:P530 ?a . ?s rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?s } . FILTER ( ?z > ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Q212 property:P530 ?q . ?q rdf:type ontology:Q1048835 } } }
Ukraine
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Ukraine
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?z ) WHERE { ?s property:diplomatic_relation ?a . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?s } . FILTER ( ?z > ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Ukraine property:diplomatic_relation ?q . ?q rdf:type ontology:political_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
Q155 Q38
SYSTEM
Brazil, Italy
Q155 Q38
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q212
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?z ) WHERE { ?s property:P530 ?a . ?s rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?s } . FILTER ( ?z > ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Q212 property:P530 ?q . ?q rdf:type ontology:Q1048835 } } }
Brazil Italy
Brazil Italy
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Ukraine
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?z ) WHERE { ?s property:diplomatic_relation ?a . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?s } . FILTER ( ?z > ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Ukraine property:diplomatic_relation ?q . ?q rdf:type ontology:political_territorial_entity } } }
[]