Simple Question (Direct)
Simple Question
Q971935
P19
Q13220204
USER
Where was Luciano Cordeiro born ?
(Q971935,P19,c(Q13220204))
action filter_type
action find
entity Q971935
relation P19
type Q13220204
['Q971935', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q13220204 . resource:Q971935 property:P19 ?z }
Luciano Cordeiro
action filter_type
action find
entity Luciano Cordeiro
relation place of birth
type second-level administrative country subdivision
['Luciano Cordeiro', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:second-level_administrative_country_subdivision . resource:Luciano_Cordeiro property:place_of_birth ?z }
[]
second-level administrative country subdivision
Q551502
SYSTEM
Mirandela
Q551502
(Q971935,P19,c(Q13220204))
action filter_type
action find
entity Q971935
relation P19
type Q13220204
Luciano Cordeiro was born in [ANSWER]
['Q971935', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q13220204 . resource:Q971935 property:P19 ?z }
Mirandela
Luciano Cordeiro was born in Mirandela
Mirandela
action filter_type
action find
entity Luciano Cordeiro
relation place of birth
type second-level administrative country subdivision
['Luciano Cordeiro', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:second-level_administrative_country_subdivision . resource:Luciano_Cordeiro property:place_of_birth ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q551502
P931
Q62447
USER
Which aerodrome is served by that administrative country subdivision ?
(c(Q62447),P931,Q551502)
action filter_type
action find_reverse
entity Q551502
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q551502']
SELECT DISTINCT ?d WHERE { ?d property:P931 resource:Q551502 . ?d rdf:type ontology:Q62447 }
Mirandela
action filter_type
action find_reverse
entity Mirandela
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Mirandela']
SELECT DISTINCT ?d WHERE { ?d property:place_served_by_airport resource:Mirandela . ?d rdf:type ontology:aerodrome }
[]
aerodrome
Q12693964
SYSTEM
Mirandela Airport
Q12693964
(c(Q62447),P931,Q551502)
action filter_type
action find_reverse
entity Q551502
relation P931
type Q62447
[ANSWER] is served by that administrative country subdivision
[{'concept': 'Q62447'}, 'P931', 'Q551502']
SELECT DISTINCT ?d WHERE { ?d property:P931 resource:Q551502 . ?d rdf:type ontology:Q62447 }
Mirandela Airport
Mirandela Airport is served by that administrative country subdivision
Mirandela Airport
action filter_type
action find_reverse
entity Mirandela
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Mirandela']
SELECT DISTINCT ?d WHERE { ?d property:place_served_by_airport resource:Mirandela . ?d rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12693964
P17
Q15617994
USER
Which administrative territory is that aerodrome present in ?
(Q12693964,P17,c(Q15617994))
action filter_type
action find
entity Q12693964
relation P17
type Q15617994
['Q12693964', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q12693964 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Mirandela Airport
action filter_type
action find
entity Mirandela Airport
relation country
type designation for an administrative territorial entity
['Mirandela Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Mirandela_Airport property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q45
SYSTEM
Portugal
Q45
(Q12693964,P17,c(Q15617994))
action filter_type
action find
entity Q12693964
relation P17
type Q15617994
That aerodrome is in [ANSWER]
['Q12693964', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q12693964 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Portugal
That aerodrome is in Portugal
Portugal
action filter_type
action find
entity Mirandela Airport
relation country
type designation for an administrative territorial entity
['Mirandela Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Mirandela_Airport property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q45
P36
Q56061
USER
Which administrative territory is known as the capital of that administrative territory ?
(Q45,P36,c(Q56061))
action filter_type
action find
entity Q45
relation P36
type Q56061
['Q45', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q45 property:P36 ?w . ?w rdf:type ontology:Q56061 }
Portugal
action filter_type
action find
entity Portugal
relation capital
type administrative territorial entity
['Portugal', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Portugal property:capital ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q597
SYSTEM
Lisbon
Q597
(Q45,P36,c(Q56061))
action filter_type
action find
entity Q45
relation P36
type Q56061
[ANSWER] is known as the capital of that administrative territory
['Q45', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q45 property:P36 ?w . ?w rdf:type ontology:Q56061 }
Lisbon
Lisbon is known as the capital of that administrative territory
Lisbon
action filter_type
action find
entity Portugal
relation capital
type administrative territorial entity
['Portugal', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Portugal property:capital ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P163
Q14660 Q56061
USER
How many administrative territories can be described by lesser number of flags than that administrative territory ?
(c(Q56061),P163,c(Q14660))
action count
action less
action find_tuple_counts
relation P163
type Q56061
type Q14660
action count
action filter_type
action find
entity Q597
relation P163
type Q56061
[{'concept': 'Q56061'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?v ) WHERE { ?u property:P163 ?p . ?u rdf:type ontology:Q56061 . ?p rdf:type ontology:Q14660 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:Q56061 . resource:Q597 property:P163 ?e } } . FILTER ( ?v < ?k ) }
action count
action less
action find_tuple_counts
relation flag
type administrative territorial entity
type flag
action count
action filter_type
action find
entity Lisbon
relation flag
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?v ) WHERE { ?u property:flag ?p . ?u rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:flag } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Lisbon property:flag ?e } } . FILTER ( ?v < ?k ) }
[]
flag administrative territorial entity
SYSTEM
759
Q562876 Q175742 Q802 Q198842 Q104262 Q15696 Q132977 Q136758 Q6934 Q15275 Q177908 Q15270 Q15273 Q193288 Q136834 Q3977 Q196611 Q172657 Q157576 Q2494383 Q7947 Q898 Q198364 Q894 Q155774 Q891 Q196369 Q176325 Q12273 Q175524 Q183193 Q3711 Q175480 Q102682 Q34116 Q154704 Q16969 Q15311 Q157688 Q393 Q102334 Q103493 Q172685 Q196729 Q133029 Q153453 Q3805 Q133026 Q2288 Q153380 Q958685 Q15759 Q15758 Q1717770 Q105264 Q15757 Q3159 Q955126 Q132739 Q146419 Q159501 Q132732 Q165844 Q198143 Q15307 Q142996 Q196469 Q13379 Q548441 Q135394 Q196466 Q158751 Q6049 Q1309 Q177888 Q157757 Q184537 Q154648 Q23337 Q103620 Q103993 Q194438 Q23116 Q134770 Q145735 Q1572234 Q2659505 Q911 Q105215 Q162761 Q193580 Q46850 Q141342 Q105465 Q184322 Q5727 Q175258 Q196833 Q750424 Q198990 Q15681 Q132855 Q206687 Q196599 Q150346 Q105342 Q136471 Q104609 Q6610 Q241475 Q178238 Q5196 Q193636 Q7978 Q4234145 Q104059 Q136715 Q134375 Q174155 Q172616 Q175393 Q145426 Q184147 Q184391 Q2280 Q157723 Q158405 Q156320 Q135572 Q155955 Q156284 Q5222 Q955328 Q12892 Q155615 Q486792 Q155349 Q155597 Q198369 Q144844 Q13127 Q104232 Q2137 Q954132 Q1930 Q172448 Q196643 Q520162 Q159097 Q145993 Q155863 Q5426 Q104713 Q133102 Q3927 Q7159 Q6014 Q175452 Q135189 Q157395 Q985671 Q197691 Q133310 Q15323 Q133089 Q5831 Q103377 Q175517 Q103176 Q761 Q189295 Q178188 Q12411 Q133819 Q7705 Q3323 Q954812 Q7172 Q10027 Q153663 Q15762 Q15760 Q105253 Q15767 Q15764 Q104654 Q105315 Q197386 Q197385 Q158990 Q153684 Q102152 Q8810 Q141697 Q196394 Q144170 Q196497 Q134686 Q136435 Q158005 Q2174 Q196489 Q134512 Q182871 Q184562 Q156747 Q153565 Q1895 Q16985 Q105179 Q16982 Q2684 Q196694 Q19520 Q104801 Q179476 Q136223 Q153698 Q83178 Q105413 Q95041 Q42308 Q145012 Q155974 Q198753 Q198206 Q14328 Q198759 Q5083 Q4454 Q9911 Q145583 Q5647 Q143079 Q155309 Q179525 Q103439 Q145457 Q154661 Q157447 Q155095 Q193604 Q2861 Q2868 Q46639 Q155829 Q144264 Q196607 Q490 Q6346 Q174124 Q887 Q155947 Q1025401 Q7525 Q3003031 Q175124 Q155541 Q154738 Q133049 Q141358 Q958847 Q2621918 Q155785 Q177805 Q2144 Q194084 Q59704 Q102445 Q155624 Q4315576 Q278743 Q135665 Q5265 Q193473 Q159261 Q105002 Q133033 Q133037 Q155365 Q135466 Q8851 Q143052 Q172696 Q175541 Q155437 Q164001 Q197677 Q198155 Q26430 Q162677 Q157622 Q135386 Q193930 Q8818 Q59246 Q135410 Q16554 Q16555 Q16557 Q105455 Q2070417 Q196953 Q995 Q994 Q193342 Q136490 Q134663 Q9897 Q184095 Q156209 Q196658 Q1297 Q197609 Q7859 Q738777 Q597 Q145638 Q908 Q4264 Q198400 Q900 Q198087 Q179486 Q7968 Q146468 Q136310 Q134181 Q135686 Q172608 Q144345 Q196435 Q95449 Q104030 Q157523 Q193722 Q172601 Q193333 Q155902 Q53139 Q104530 Q19566 Q23197 Q9867 Q5337 Q5332 Q178090 Q175161 Q176761 Q2371612 Q155276 Q196498 Q177920 Q11953 Q93910 Q1025883 Q162698 Q200797 Q196678 Q15250 Q33345 Q25396 Q622030 Q2423 Q4297737 Q1442470 Q198427 Q158336 Q173008 Q154801 Q155470 Q140147 Q157666 Q111048 Q176264 Q159230 Q197410 Q2214 Q196415 Q38022 Q133093 Q133825 Q183002 Q105520 Q270 Q155968 Q1957 Q5823 Q16971 Q196464 Q2470394 Q156658 Q152906 Q159139 Q15775 Q15774 Q8802 Q173858 Q104660 Q132714 Q155405 Q175433 Q193269 Q132718 Q158731 Q105392 Q237655 Q1025665 Q198047 Q134446 Q135427 Q134528 Q157779 Q23311 Q193371 Q134306 Q196686 Q134302 Q134717 Q104564 Q193277 Q193505 Q177737 Q196922 Q196925 Q954914 Q191465 Q146043 Q14318 Q155569 Q681893 Q136692 Q15092 Q9909 Q15095 Q1492 Q4519795 Q959 Q134786 Q19157 Q175727 Q103850 Q4538749 Q172637 Q1770 Q196946 Q5384 Q102307 Q40236 Q15301 Q132981 Q2770 Q197942 Q5470 Q197860 Q195662 Q155936 Q175802 Q197351 Q60425 Q176738 Q133052 Q154835 Q176636 Q155632 Q1076109 Q175651 Q196702 Q43070 Q193293 Q956207 Q141290 Q153434 Q198412 Q2801 Q4177764 Q956471 Q198419 Q153549 Q722836 Q135473 Q196528 Q175470 Q37792 Q196520 Q146435 Q103212 Q1829 Q340 Q105298 Q10282 Q587173 Q98967 Q193586 Q156602 Q25230 Q8385 Q177770 Q105444 Q5627 Q196964 Q102364 Q5584 Q2097419 Q159041 Q10400 Q24639 Q23185 Q172366 Q141538 Q144017 Q136551 Q172415 Q919 Q6576 Q196374 Q1218 Q915 Q914 Q104557 Q207294 Q155990 Q182935 Q7951 Q83339 Q6816 Q135696 Q105433 Q158424 Q196384 Q103676 Q170513 Q196387 Q196386 Q6494 Q104778 Q2630 Q181376 Q1973581 Q2634 Q194670 Q1415346 Q8356 Q163864 Q956159 Q954114 Q5343 Q156056 Q879406 Q136023 Q1183 Q196747 Q105133 Q11967 Q175752 Q15248 Q103789 Q2592 Q193396 Q34404 Q8717 Q15245 Q2626420 Q133291 Q173015 Q198820 Q143274 Q155745 Q198824 Q64 Q65 Q198358 Q61 Q62 Q102737 Q155489 Q178175 Q14657 Q103255 Q16973 Q193631 Q194067 Q384 Q196792 Q16978 Q5815 Q12439 Q10006 Q1085 Q133838 Q157260 Q177867 Q159124 Q105023 Q59828 Q143297 Q135482 Q139840 Q184346 Q198173 Q270887 Q132724 Q175407 Q143376 Q141578 Q166065 Q196479 Q103694 Q261024 Q6106 Q134433 Q3646 Q204150 Q49255 Q104703 Q134531 Q196443 Q174138 Q193363 Q134735 Q25804 Q134318 Q134760 Q649 Q157841 Q196525 Q193898 Q954519 Q143247 Q43788 Q105477 Q133529 Q105554 Q157764 Q955153 Q196603 Q158114 Q955013 Q198776 Q104991 Q134169 Q196377 Q4361 Q39420 Q193443 Q588 Q157065 Q173064 Q136848 Q580 Q103747 Q136669 Q196622 Q135869 Q172625 Q7938 Q144209 Q628623 Q197582 Q196786 Q139794 Q47166 Q197345 Q5449 Q906 Q196358 Q196359 Q196357 Q155148 Q132698 Q102346 Q15336 Q153715 Q14452 Q157850 Q15339 Q177829 Q100 Q154630 Q141606 Q458 Q103565 Q4156699 Q26180 Q196654 Q15235 Q15238 Q134315 Q159081 Q196711 Q3544 Q2837 Q155853 Q3426 Q133116 Q133045 Q126758 Q144097 Q143334 Q182906 Q173943 Q140087 Q168782 Q135446 Q2235 Q6066 Q155515 Q487786 Q196531 Q102762 Q196537 Q198033 Q286964 Q2143 Q216 Q42234 Q135161 Q25263 Q157482 Q236837 Q98995 Q102659 Q104649 Q105306 Q193557 Q976 Q135616 Q431779 Q132947 Q3118 Q143839 Q3490 Q196803 Q175360 Q197620 Q197625 Q215080 Q105235 Q104735 Q2746 Q133175 Q103703 Q136629 Q184193 Q105425 Q105548 Q23564 Q184617 Q197934 Q104545 Q193909 Q193906 Q198182 Q6329 Q34647 Q193413 Q875 Q198197 Q198190
(c(Q56061),P163,c(Q14660))
action count
action less
action find_tuple_counts
relation P163
type Q56061
type Q14660
action count
action filter_type
action find
entity Q597
relation P163
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?v ) WHERE { ?u property:P163 ?p . ?u rdf:type ontology:Q56061 . ?p rdf:type ontology:Q14660 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:Q56061 . resource:Q597 property:P163 ?e } } . FILTER ( ?v < ?k ) }
Anna Paulowna Odintsovo Nowy Sącz Yuryuzan Asha Zamora Vereshchagino Zarechny Blagoveshchensk Lodeynoye Pole Pavlovsky Posad Kingisepp Kirovsk Rezh Zvenigorod Elista Tarko-Sale Nizhnekamsk Livny Aktsyabarski Pushkin Omsk Shchyokino (town), Tula Oblast Samara Krasnouralsk Nizhny Novgorod Sovetsk Oktyabrsky Gijón Noyabrsk Pravdinsk Belgrade Noginsk Abdulino Thunder Bay Kola Gulkevichi Slantsy Lomonosov Szczecin Dmitrov Amursk Nizhniye Sergi Tynda Verkhny Tagil Kirillov Amman Kolomna Tver Kineshma Masty Temryuk Anapa Sviyazhsk Boguchar Suzdal Kursk Cherykaw Bronnitsy Kimovsk Muravlenko Bratsk Nevyansk Chusovoy Primorsk Inta Sretensk Kurgan Portugalete Dolgoprudny Sredneuralsk Mezhdurechensk Kyzyl Maastricht Pavlovsk Lukhovitsy Raduzhny Kodinsk Salt Lake City Anzhero-Sudzhensk Artyom Sibay Ladushkin Danilov Kizel Halshany Sharkaushchyna Ufa Bobrov Myshkin Sayanogorsk Zelenogorsk Zubtsov Mirny Pushkino La Rioja Novosil Uray Navapolatsk Yarovoye Jaén Buy Nelson Taldom Yalutorovsk Bolshoy Kamen Zavodoukovsk Barabinsk Yakutsk Lida Pestovo Grozny Svobodny Anadyr Korotoyak Asbest Zarechny Galich Novokubansk Nefteyugansk Novouralsk Kartaly Prokopyevsk Pyt-Yakh Minsk Losino-Petrovsky Megion Kyshtym Yegoryevsk Kuybyshev Kushva Magas Krasnobrodsky Antwerp Krasnoznamensk Aranjuez Koryazhma Krasnozavodsk Shchyolkovo Karabash Sint-Niklaas Achinsk Totma Lepiel Ottawa Nerekhta Teykovo Zhabinka Mikhaylovsk Shumikha Kronstadt Izhevsk Belinsky Vichuga Astrakhan African Union Barnaul Novocherkassk Dzerzhinsky Langepas Vernon Chaplygin Volodarsk Otradnoye Vilyuysk Melilla Alexandrov Norilsk Aksay Białystok Serov Pereslavl-Zalessky Pontevedra Karabanovo Kommunar Belgorod Horki Arab League Baarn Kiselyovsk Abinsk Novorossiysk Bogotol Armavir Apsheronsk Bezhetsk Bolokhovo Fryazino Frolovo Minusinsk Klimovsk Volokolamsk Granada Izobilny Sorsk Kamyshin Strunino Gubkinsky Zhukovsky Maloyaroslavets Naryan-Mar Sterlitamak Gorodishche Polevskoy Raduzhny Poltava Kirovo-Chepetsk Petrozavodsk Labinsk Blagoveshchensk Kurganinsk Vladimir Troitsk Podolsk Belousovo Plast Zherdevka Klin Almere Georgiyevsk Naberezhnye Chelny Kharkiv Karasuk Kungur Ertil Shakhty Santa Cruz de Tenerife Yubileyny Seattle Khabarovsk Den Helder Kachkanar Sovetsk Irbit Korolyov Pokachi Aleksin Kasimov Kozelsk Lebedyan Konakovo Svetlograd Rostock Lima Mozdok Krasny Sulin Kandalaksha Tara Milan Indianapolis Novodvinsk Yekaterinburg Kuznetsk Scarborough Sevastopol Lieshout Novokuybyshevsk Krasnoarmeysk Kolpino Verkhnyaya Tura Lyubertsy Skidzyel’ Druya Krasnoufimsk Okhansk Cherepovets Sestroretsk Zelenogorsk Kovrov Krasnokamensk Nebug Navahrudak Yemanzhelinsk Nalchik Salsk Moskovsky Berezniki Verkhny Ufaley Verkhnyaya Pyshma Kosteryovo Dubna Málaga Ipatovo Nizhny Lomov Nytva Kotelnich Naro-Fominsk Chapayevsk Shadrinsk Tilburg Murom Liski Dobryanka Seltso Valencia Nyazepetrovsk Domodedovo Denver Houston Dallas Miass Novy Port Ust-Katav Appingedam Tbilisi Rostov Zavolzhsk Gryazi Aalsmeer Primorsko-Akhtarsk Kurtamysh Tikhoretsk Chicago Kholmsk Yuzhno-Sakhalinsk Iwye Lisbon Kashira Rostov-on-Don Mercosur Shchuchye Kazan Chekhov Plyos Magadan Kinel Zhigulyovsk Vyshny Volochyok Yeniseysk Neftekumsk Kansk Spas-Demensk Magnitogorsk Artyomovsky Lesnoy Sergiyev Posad Neftekamsk Rossosh Kubinka Chita Bakal Simferopol Nashville Sint-Oedenrode Orenburg Saratov Partizansk Novomoskovsk Ostashkov Poretskoye Korkino Stupino Pallasovka Guadalajara Novokuznetsk Dzyatlava Mtsensk Polotsk Torzhok Vysotsk Yevpatoria Bonaire Palos de la Frontera Yaroslavl Mikhaylovsky, Saratov Oblast Santoña Elektrougli Mariinsky Posad Nizhnyaya Salda Komsomolsk-on-Amur Kotovo Brest Lobnya Veliky Ustyug Ozyory Morshansk Kharabali Pskov Sosnogorsk St. Louis Vilyuchinsk Voskresensk Surgut Semiluki Warsaw Kumertau Vologda Ceuta Korenovsk Srednekolymsk Voranava Nakhodka Lakinsk Mozhaysk Gelendzhik Belorechensk Getafe Novaya Lyalya Belaya Kholunitsa Borovichi Kotelniki Novocheboksarsk Rasskazovo Borovsk Mezhgorye Vytegra Baranovichi Eibergen Chernogolovka Golitsyno Donskoy Gorokhovets Lytkarino City of London Rtishchevo Gavrilov Posad Tryokhgorny Vyatskiye Polyany Guryevsk Balashov Revda Sarapul Ostrogozhsk Usolye Usolye-Sibirskoye Krychaw Rzhev Nerchinsk Vitoria-Gasteiz Krasnogorsk Errenteria Zaraysk Castelló de la Plana Bussum Albacete Barcelona Shalya Vladivostok Dedovsk Pervouralsk Ob Arsenyev Yaropolets Nizhnevartovsk Tallinn Ust-Ilimsk Kirov Vyazma Manaus Podporozhye Vereya Tula Cheremkhovo Cheboksary Chebarkul Slavyansk-na-Kubani Kudymkar Ozyorsk Uyar Meppel Osa Verkhoturye Mogilyov Orekhovo-Zuyevo Krasnokamsk Svislach Obninsk Tuapse Donetsk Reutov Ivanava Znamensk Kirzhach Elektrogorsk Bryansk Zhavoronki Drahichyn Elektrostal Kirovgrad Ashmyany Dubovka Sukhoy Log Novy Urengoy Sint-Truiden Surovikino Kimry Alapayevsk Kaliningrad Montreal Bologoye Pamplona Ivatsevichy Nizhny Tagil Sayansk Labytnangi Guernsey Ostrava Otradny Kamensk-Uralsky Ulyanovsk Ust-Kut Yelnya Zelenogradsk Alakurtti Minyar Almería Vancouver Mytishchi Nelidovo Ivanteyevka Kamensk-Shakhtinsky Zadonsk Kutaisi Krasnoyarsk Irkutsk Sovetskaya Gavan Jerusalem Perm Volgograd Balashikha Babruysk Kupino Polyarny Petropavlovsk-Kamchatsky Volchansk Ulan-Ude Yermolino Donetsk Mednogorsk Solikamsk Aprelevka Taganrog Sol-Iletsk Solnechnogorsk Salekhard Beloretsk Ivanovo Grodno Narovtšat Naples Skopin Lyachchyzy Valladolid Navoloki Pruzhany Hlybokaye Saransk Kurlovo (town), Vladimir Oblast Biaroza Zheleznodorozhny Puerto Rico Tyukalinsk Birsk Huesca Ozherelye Vsevolozhsk Arzamas Kostroma Ruza New Orleans Seville Volkhov Nakhodka, Yamalo-Nenets Autonomous Okrug Volgorechensk Nizhnyaya Tura Yuzhnouralsk Iskitim Krasnoslobodsk Yurga Berlin Los Angeles Shuya Washington, D.C. San Francisco Agidel Kotovsk Peresvet Vyborg Alatyr Kropotkin Svirsk Serpukhov Skopje Udachny Krymsk Tyumen Detroit Hengelo Prague Votkinsk Horlivka Pavlovsk Michurinsk Beryozovsky Shebekino Istra Dudinka Zernograd Pushchino Sharypovo Lethbridge Borodino Novokhopyorsk Ishimbay Ivdel Lelystad Staraya Russa Aramil Astravyets Portland Glazov Krasnodar Pinsk Tampa Belebey Goryachy Klyuch Spassk Novozybkov Roshal Gus-Khrustalny Trondheim Gagarin Dalnerechensk Moscow Lyudinovo Susuman Severomorsk Syanno Isilkul Madison Mirny Vorkuta Yakhroma Lyskovo Klichaw Talitsa Manturovo Kastsyukovichy Yugorsk Berdsk Vysokovsk Sovetsky Curitiba Sochi Salavat Katowice Kerch Nikolsk Zverevo Łódź Ardatov (town), Republic of Mordovia Zapolyarny Tatarsk Zheleznogorsk Neya Kirishi Kamyshlov Braslaw Khimki Uglich Zelenokumsk Orsk Uchaly Yoshkar-Ola Chelyabinsk Snezhnogorsk Sobinka Snezhinsk Kopeysk Borisoglebsk Yelets Tikhvin Klintsy Easter Island Lyantor Shlisselburg Ochyor Boston Kogalym Igarka European Union Angarsk Dedinovo Sint Eustatius Timashyovsk Pikalyovo Volosovo Gavrilov-Yam Mikhaylovka Turinsk Tambov Kaluga Kremyonki, Kaluga Oblast Voronezh Hamilton Verkhnyaya Salda Chernogorsk Kameshkovo Ishim Polysayevo Novovoronezh Zlatoust Tobolsk Dorogobuzh Veliky Novgorod Kemerovo Kokhma Orihuela Sysert Azov Tavda Chyormoz Baran Syktyvkar Vilnius Buzuluk Desnogorsk Azores Leninsk-Kuznetsky Richmond Volzhsky Belokurikha Bataysk Bolotnoye Sasovo Tomsk Yeysk Shchuchyn Valday Oryol Kamenka Lipetsk Uzhur Novotroitsk Khotkovo Tsivilsk Machala Bogoroditsk Belogorsk Ryazan Volgodonsk Argun Zaozyorsk Protvino Degtyarsk Chernushka Podgorica Raychikhinsk Cherdyn Balabanovo Seversk Severouralsk Sharya Khanty-Mansiysk Johannesburg Rybinsk Abakan Shakhtyorsk Shatura
759
action count
action less
action find_tuple_counts
relation flag
type administrative territorial entity
type flag
action count
action filter_type
action find
entity Lisbon
relation flag
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?v ) WHERE { ?u property:flag ?p . ?u rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:flag } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Lisbon property:flag ?e } } . FILTER ( ?v < ?k ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3671672 Q551502
P17
Q15617994
USER
Which administrative territories are Mirandela or Church of St. Peter situated in ?
OR((Q551502,P17,c(Q15617994)), (Q3671672,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q551502
relation P17
action find
entity Q3671672
relation P17
type Q15617994
{'OR': [['Q551502', 'P17', {'concept': 'Q15617994'}], ['Q3671672', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q551502 property:P17 ?n } UNION { resource:Q3671672 property:P17 ?n } } }
Church of St. Peter Mirandela
action filter_type
action union
action find
entity Mirandela
relation country
action find
entity Church of St. Peter
relation country
type designation for an administrative territorial entity
{'OR': [['Mirandela', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Church of St. Peter', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Mirandela property:country ?n } UNION { resource:Church_of_St._Peter property:country ?n } } }
[]
designation for an administrative territorial entity
Q45 Q38
SYSTEM
Portugal, Italy
Q45 Q38
OR((Q551502,P17,c(Q15617994)), (Q3671672,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q551502
relation P17
action find
entity Q3671672
relation P17
type Q15617994
Mirandela or Church of St. Peter are situated in [ANSWERS]
{'OR': [['Q551502', 'P17', {'concept': 'Q15617994'}], ['Q3671672', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q551502 property:P17 ?n } UNION { resource:Q3671672 property:P17 ?n } } }
Portugal Italy
Mirandela or Church of St. Peter are situated in Portugal and Italy
Portugal Italy
action filter_type
action union
action find
entity Mirandela
relation country
action find
entity Church of St. Peter
relation country
type designation for an administrative territorial entity
{'OR': [['Mirandela', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Church of St. Peter', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Mirandela property:country ?n } UNION { resource:Church_of_St._Peter property:country ?n } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q40
P530
Q15617994 Q1048835
USER
How many political territories are known to have diplomatic connections with greater number of administrative territories than Austria ?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?m ) WHERE { ?j property:P530 ?f . ?j rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Q40 property:P530 ?v . ?v rdf:type ontology:Q1048835 } } . FILTER ( ?m > ?q ) }
Austria
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?m ) WHERE { ?j property:diplomatic_relation ?f . ?j rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Austria property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity } } . FILTER ( ?m > ?q ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?m ) WHERE { ?j property:P530 ?f . ?j rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Q40 property:P530 ?v . ?v rdf:type ontology:Q1048835 } } . FILTER ( ?m > ?q ) }
Germany Australia Canada
3
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?m ) WHERE { ?j property:diplomatic_relation ?f . ?j rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Austria property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity } } . FILTER ( ?m > ?q ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q55027 Q551502
P19
Q502895
USER
Which people have place of birth as Mirandela or Cesinali ?
OR((c(Q502895),P19,Q551502), (c(Q502895),P19,Q55027))
action filter_type
action union
action find_reverse
entity Q551502
relation P19
action find_reverse
entity Q55027
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q551502'], [{'concept': 'Q502895'}, 'P19', 'Q55027']]}
SELECT DISTINCT ?t WHERE { { ?t property:P19 ?j . VALUES ( ?j ) { ( resource:Q55027 ) ( resource:Q551502 ) } } . ?t rdf:type ontology:Q502895 }
Cesinali Mirandela
action filter_type
action union
action find_reverse
entity Mirandela
relation place of birth
action find_reverse
entity Cesinali
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Mirandela'], [{'concept': 'common name'}, 'place of birth', 'Cesinali']]}
SELECT DISTINCT ?t WHERE { { ?t property:place_of_birth ?j . VALUES ( ?j ) { ( resource:Cesinali ) ( resource:Mirandela ) } } . ?t rdf:type ontology:common_name }
[]
common name
Q7155317 Q21209108 Q6752420 Q1401111 Q444073 Q299768 Q971935 Q5561363 Q20169033 Q937780
SYSTEM
Some of them are Paulo Teixeira, Gerardo Tristano, Manuel António dos Santos, Paulo Lopes, Jesualdo Ferreira, Eduardo Carvalho, Luciano Cordeiro, Gilberto Gomes, João Geraldo, Eurico Carrapatoso
Q971935 Q20169033 Q21209108 Q7155317 Q444073 Q3939566 Q5561363 Q937780 Q6752420 Q1401111 Q299768
OR((c(Q502895),P19,Q551502), (c(Q502895),P19,Q55027))
action filter_type
action union
action find_reverse
entity Q551502
relation P19
action find_reverse
entity Q55027
relation P19
type Q502895
[ANSWERS] have place of birth as Mirandela or Cesinali
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q551502'], [{'concept': 'Q502895'}, 'P19', 'Q55027']]}
SELECT DISTINCT ?t WHERE { { ?t property:P19 ?j . VALUES ( ?j ) { ( resource:Q55027 ) ( resource:Q551502 ) } } . ?t rdf:type ontology:Q502895 }
Luciano Cordeiro João Geraldo Gerardo Tristano Paulo Teixeira Jesualdo Ferreira Rocco Cocchia Gilberto Gomes Eurico Carrapatoso Manuel António dos Santos Paulo Lopes Eduardo Carvalho
Paulo Teixeira, Gerardo Tristano, Manuel António dos Santos, Paulo Lopes, Jesualdo Ferreira, Eduardo Carvalho, Luciano Cordeiro, Gilberto Gomes, João Geraldo and Eurico Carrapatoso have place of birth as Mirandela or Cesinali
Paulo Teixeira Gerardo Tristano Manuel António dos Santos Paulo Lopes Jesualdo Ferreira Eduardo Carvalho Luciano Cordeiro Gilberto Gomes João Geraldo Eurico Carrapatoso
action filter_type
action union
action find_reverse
entity Mirandela
relation place of birth
action find_reverse
entity Cesinali
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Mirandela'], [{'concept': 'common name'}, 'place of birth', 'Cesinali']]}
SELECT DISTINCT ?t WHERE { { ?t property:place_of_birth ?j . VALUES ( ?j ) { ( resource:Cesinali ) ( resource:Mirandela ) } } . ?t rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q38 Q55027
P47 P17
Q15617994
USER
Which administrative territories have an adjacent border with Cesinali and are present in Italy ?
AND((c(Q15617994),P47,Q55027), (c(Q15617994),P17,Q38))
action filter_type
action intersection
action find_reverse
entity Q55027
relation P47
action find_reverse
entity Q38
relation P17
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P47', 'Q55027'], [{'concept': 'Q15617994'}, 'P17', 'Q38']]}
SELECT DISTINCT ?h WHERE { ?h property:P17 resource:Q38 . ?h property:P47 resource:Q55027 . ?h rdf:type ontology:Q15617994 }
Italy Cesinali
action filter_type
action intersection
action find_reverse
entity Cesinali
relation shares border with
action find_reverse
entity Italy
relation country
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cesinali'], [{'concept': 'designation for an administrative territorial entity'}, 'country', 'Italy']]}
SELECT DISTINCT ?h WHERE { ?h property:country resource:Italy . ?h property:shares_border_with resource:Cesinali . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55107 Q55001 Q54995 Q13433 Q55093
SYSTEM
Santo Stefano del Sole, Atripalda, Aiello del Sabato, Avellino, San Michele di Serino
Q55107 Q55001 Q54995 Q13433 Q55093
AND((c(Q15617994),P47,Q55027), (c(Q15617994),P17,Q38))
action filter_type
action intersection
action find_reverse
entity Q55027
relation P47
action find_reverse
entity Q38
relation P17
type Q15617994
[ANSWERS] have an adjacent border with Cesinali and are present in Italy
{'AND': [[{'concept': 'Q15617994'}, 'P47', 'Q55027'], [{'concept': 'Q15617994'}, 'P17', 'Q38']]}
SELECT DISTINCT ?h WHERE { ?h property:P17 resource:Q38 . ?h property:P47 resource:Q55027 . ?h rdf:type ontology:Q15617994 }
Santo Stefano del Sole Atripalda Aiello del Sabato Avellino San Michele di Serino
Santo Stefano del Sole, Atripalda, Aiello del Sabato, Avellino and San Michele di Serino have an adjacent border with Cesinali and are present in Italy
Santo Stefano del Sole Atripalda Aiello del Sabato Avellino San Michele di Serino
action filter_type
action intersection
action find_reverse
entity Cesinali
relation shares border with
action find_reverse
entity Italy
relation country
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cesinali'], [{'concept': 'designation for an administrative territorial entity'}, 'country', 'Italy']]}
SELECT DISTINCT ?h WHERE { ?h property:country resource:Italy . ?h property:shares_border_with resource:Cesinali . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q38
P530
Q15617994
USER
How many administrative territories holds diplomatic relationship with Italy ?
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?x }
Italy
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?x }
[]
designation for an administrative territorial entity
SYSTEM
74
Q739 Q805 Q801 Q189 Q843 Q928 Q184 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q17 Q229 Q228 Q33 Q32 Q31 Q37 Q36 Q34 Q77 Q39 Q1016 Q227 Q215 Q79 Q191 Q733 Q948 Q869 Q298 Q45 Q252 Q30 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q41 Q155 Q218 Q219 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q423 Q881 Q114
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?x }
Colombia Yemen Israel Iceland Pakistan Philippines Belarus Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Japan Cyprus Andorra Finland Luxembourg Belgium Lithuania Poland Sweden Uruguay Switzerland Libya Azerbaijan Slovenia Egypt Estonia Paraguay Tunisia Thailand Chile Portugal Indonesia United States of America Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Greece Brazil Romania Bulgaria San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea North Korea Vietnam Kenya
74
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q408
P530
Q15617994
USER
And what about Australia?
(Q408,P530,c(Q15617994))
action count
action filter_type
action find
entity Q408
relation P530
type Q15617994
['Q408', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { resource:Q408 property:P530 ?i . ?i rdf:type ontology:Q15617994 }
Australia
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { resource:Australia property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
106
Q702 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q786 Q924 Q833 Q711 Q836 Q837 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q244 Q33 Q921 Q31 Q30 Q37 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q424 Q851 Q733 Q854 Q734 Q736 Q233 Q20 Q1041 Q27 Q29 Q819 Q1027 Q1020 Q843 Q1029 Q225 Q224 Q221 Q96 Q229 Q17 Q902 Q1036 Q1033 Q1030 Q191 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q215 Q218 Q219 Q916 Q712 Q977 Q1009 Q683 Q686 Q574 Q79 Q77 Q878 Q774 Q817 Q810 Q811 Q678 Q33788 Q869 Q953
(Q408,P530,c(Q15617994))
action count
action filter_type
action find
entity Q408
relation P530
type Q15617994
[ANSWER]
['Q408', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { resource:Q408 property:P530 ?i . ?i rdf:type ontology:Q15617994 }
Federated States of Micronesia Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Dominican Republic Tanzania Malaysia Mongolia Myanmar Nepal Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil El Salvador Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Barbados Finland Brunei Belgium United States of America Lithuania Poland Sweden Philippines Switzerland Italy Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Guyana Ecuador Malta Norway Senegal Ireland Spain Laos Mauritius Malawi Pakistan Mozambique Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Japan Bangladesh Uganda Nigeria Namibia Estonia Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Slovenia Romania Bulgaria Angola Fiji Djibouti Cameroon Samoa Vanuatu East Timor Egypt Uruguay United Arab Emirates Guatemala Kuwait Jordan Nicaragua Tonga New Caledonia Thailand Zambia
106
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { resource:Australia property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q114
Q15617994
USER
And what about Kenya?
(Q114,P530,c(Q15617994))
action count
action filter_type
action find
entity Q114
relation P530
type Q15617994
['Q114', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Q114 property:P530 ?n . ?n rdf:type ontology:Q15617994 }
Kenya
action count
action filter_type
action find
entity Kenya
relation diplomatic relation
type designation for an administrative territorial entity
['Kenya', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Kenya property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
17
(Q114,P530,c(Q15617994))
action count
action filter_type
action find
entity Q114
relation P530
type Q15617994
[ANSWER]
['Q114', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Q114 property:P530 ?n . ?n rdf:type ontology:Q15617994 }
17
action count
action filter_type
action find
entity Kenya
relation diplomatic relation
type designation for an administrative territorial entity
['Kenya', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Kenya property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6752420
P102
Q7210356
USER
Which political organization is Manuel António dos Santos a member of ?
(Q6752420,P102,c(Q7210356))
action filter_type
action find
entity Q6752420
relation P102
type Q7210356
['Q6752420', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q6752420 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Manuel António dos Santos
action filter_type
action find
entity Manuel António dos Santos
relation member of political party
type political organization
['Manuel António dos Santos', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Manuel_António_dos_Santos property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q847263
SYSTEM
Socialist Party
Q847263
(Q6752420,P102,c(Q7210356))
action filter_type
action find
entity Q6752420
relation P102
type Q7210356
Party [ANSWER] is Manuel António dos Santos a member of
['Q6752420', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q6752420 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Socialist Party
Party Socialist Party is Manuel António dos Santos a member of
Socialist Party
action filter_type
action find
entity Manuel António dos Santos
relation member of political party
type political organization
['Manuel António dos Santos', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Manuel_António_dos_Santos property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]