Simple Question (Direct)
Simple Question
Q245387
P27
Q15617994
USER
Which administrative territory does Zygmunt Puławski belong to ?
(Q245387,P27,c(Q15617994))
action filter_type
action find
entity Q245387
relation P27
type Q15617994
['Q245387', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q245387 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Zygmunt Puławski
action filter_type
action find
entity Zygmunt Puławski
relation country of citizenship
type designation for an administrative territorial entity
['Zygmunt Puławski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Zygmunt_Puławski property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q245387,P27,c(Q15617994))
action filter_type
action find
entity Q245387
relation P27
type Q15617994
Zygmunt Puławski belongs to [ANSWER]
['Q245387', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q245387 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Poland
Zygmunt Puławski belongs to Poland
Poland
action filter_type
action find
entity Zygmunt Puławski
relation country of citizenship
type designation for an administrative territorial entity
['Zygmunt Puławski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Zygmunt_Puławski property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q245387
P20
Q56061
USER
Where did the demise of Zygmunt Puławski occur ?
(Q245387,P20,c(Q56061))
action filter_type
action find
entity Q245387
relation P20
type Q56061
['Q245387', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q245387 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Zygmunt Puławski
action filter_type
action find
entity Zygmunt Puławski
relation place of death
type administrative territorial entity
['Zygmunt Puławski', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Zygmunt_Puławski property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q245387,P20,c(Q56061))
action filter_type
action find
entity Q245387
relation P20
type Q56061
The demise of Zygmunt Puławski occurred in [ANSWER]
['Q245387', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q245387 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Warsaw
The demise of Zygmunt Puławski occurred in Warsaw
Warsaw
action filter_type
action find
entity Zygmunt Puławski
relation place of death
type administrative territorial entity
['Zygmunt Puławski', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Zygmunt_Puławski property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q245387
P19
Q486972
USER
Which human settlement was Zygmunt Puławski born in ?
(Q245387,P19,c(Q486972))
action filter_type
action find
entity Q245387
relation P19
type Q486972
['Q245387', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?h WHERE { resource:Q245387 property:P19 ?h . ?h rdf:type ontology:Q486972 }
Zygmunt Puławski
action filter_type
action find
entity Zygmunt Puławski
relation place of birth
type human settlement
['Zygmunt Puławski', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?h WHERE { resource:Zygmunt_Puławski property:place_of_birth ?h . ?h rdf:type ontology:human_settlement }
[]
human settlement
Q37333
SYSTEM
Lublin
Q37333
(Q245387,P19,c(Q486972))
action filter_type
action find
entity Q245387
relation P19
type Q486972
Zygmunt Puławski was born in [ANSWER]
['Q245387', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?h WHERE { resource:Q245387 property:P19 ?h . ?h rdf:type ontology:Q486972 }
Lublin
Zygmunt Puławski was born in Lublin
Lublin
action filter_type
action find
entity Zygmunt Puławski
relation place of birth
type human settlement
['Zygmunt Puławski', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?h WHERE { resource:Zygmunt_Puławski property:place_of_birth ?h . ?h rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q245387
P1196
Q1190554
USER
What manner did that person die ?
(Q37333,P1196,c(Q1190554))
action filter_type
action find
entity Q245387
relation P1196
type Q1190554
['Q37333', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?q WHERE { resource:Q245387 property:P1196 ?q . ?q rdf:type ontology:Q1190554 }
Zygmunt Puławski
action filter_type
action find
entity Zygmunt Puławski
relation manner of death
type event
['Lublin', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?q WHERE { resource:Zygmunt_Puławski property:manner_of_death ?q . ?q rdf:type ontology:event }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q37333,P1196,c(Q1190554))
action filter_type
action find
entity Q245387
relation P1196
type Q1190554
That person died an [ANSWER]
['Q37333', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?q WHERE { resource:Q245387 property:P1196 ?q . ?q rdf:type ontology:Q1190554 }
accident
That person died an accident
accident
action filter_type
action find
entity Zygmunt Puławski
relation manner of death
type event
['Lublin', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?q WHERE { resource:Zygmunt_Puławski property:manner_of_death ?q . ?q rdf:type ontology:event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q270
P291
Q571 Q223393
USER
How many books or literary genres were published in Warsaw ?
(c(Q571),P291,Q270) (c(Q223393),P291,Q270)
action count
action union
action filter_type
action find_reverse
entity Q270
relation P291
type Q571
action filter_type
action find_reverse
entity Q270
relation P291
type Q223393
[{'concept': 'Q571'}, 'P291', 'Q270'] [{'concept': 'Q223393'}, 'P291', 'Q270']
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { VALUES ( ?r ) { ( ontology:Q571 ) ( ontology:Q223393 ) } . ?g rdf:type ?r }
Warsaw
action count
action union
action filter_type
action find_reverse
entity Warsaw
relation place of publication
type book
action filter_type
action find_reverse
entity Warsaw
relation place of publication
type literary genre
[{'concept': 'book'}, 'place of publication', 'Warsaw'] [{'concept': 'literary genre'}, 'place of publication', 'Warsaw']
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { VALUES ( ?r ) { ( ontology:book ) ( ontology:literary_genre ) } . ?g rdf:type ?r }
[]
book literary genre
SYSTEM
8
Q17419571 Q21453157 Q18330734 Q17317589 Q16875587 Q17398133 Q26721385 Q20951224
(c(Q571),P291,Q270) (c(Q223393),P291,Q270)
action count
action union
action filter_type
action find_reverse
entity Q270
relation P291
type Q571
action filter_type
action find_reverse
entity Q270
relation P291
type Q223393
[ANSWER]
[{'concept': 'Q571'}, 'P291', 'Q270'] [{'concept': 'Q223393'}, 'P291', 'Q270']
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { VALUES ( ?r ) { ( ontology:Q571 ) ( ontology:Q223393 ) } . ?g rdf:type ?r }
Białoruś Wiesław Chrzanowski (1880-1940) Blaszany bębenek Цяжкі час — Працяг. Канцэпцыя новага Беларускага Адраджэньня, кн. 3, артыкулы і матэр’ялы (2003−2010) Nuta człowiecza Skorowidz miejscowości Rzeczypospolitej Polskiej: opracowany na podstawie wyników pierwszego powszechnego spisu ludności z dn. 30 września 1921 r. i innych źródeł urzędowych. T. 5: Województwo białostockie Polish Pharmacopoeia, Xth O obrotach ciał niebieskich
8
action count
action union
action filter_type
action find_reverse
entity Warsaw
relation place of publication
type book
action filter_type
action find_reverse
entity Warsaw
relation place of publication
type literary genre
[{'concept': 'book'}, 'place of publication', 'Warsaw'] [{'concept': 'literary genre'}, 'place of publication', 'Warsaw']
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { VALUES ( ?r ) { ( ontology:book ) ( ontology:literary_genre ) } . ?g rdf:type ?r }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q840133
P159
Q486972 Q43229 Q895526
USER
Which human settlements are the head office for more number of organizations and authority organs located than Hell's Kitchen ?
(c(Q43229)|c(Q895526),P159,c(Q486972))
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q43229
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q840133
relation P159
type Q43229
type Q895526
[[{'concept': 'Q43229'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?b WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P159 resource:Q840133 . { VALUES ( ?g ) { ( ontology:Q895526 ) ( ontology:Q43229 ) } . ?m rdf:type ?g } } } . FILTER ( ?j > ?p ) }
Hell's Kitchen
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type organization
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
action count
action filter_multi_types
action find_reverse
entity Hell's Kitchen
relation headquarters location
type organization
type authority organ
[[{'concept': 'organization'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?b WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:organization ) ( ontology:authority_organ ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:headquarters_location resource:Hell's_Kitchen . { VALUES ( ?g ) { ( ontology:authority_organ ) ( ontology:organization ) } . ?m rdf:type ?g } } } . FILTER ( ?j > ?p ) }
[]
human settlement organization authority organ
Q1055 Q31487 Q1792
SYSTEM
Hamburg, Kraków, Gdańsk
Q998938 Q1020984 Q524894 Q1943133 Q7164971 Q1375895 Q214051 Q753704 Q754698 Q2384255 Q3088462 Q16895628 Q15278 Q7921102 Q14875138 Q318637 Q583485 Q984542 Q871085 Q1413686 Q755844 Q6168404 Q16965 Q109968 Q2141281 Q826068 Q2026633 Q660921 Q6060171 Q45197 Q615845 Q1319893 Q7680666 Q6113733 Q6504819 Q267791 Q753707 Q646725 Q107094 Q212704 Q11977 Q1183907 Q2362234 Q4115318 Q290356 Q754567 Q1185880 Q610514 Q920538 Q104302 Q648142 Q1898575 Q861363 Q6706611 Q5964801 Q1377121 Q208473 Q62212 Q1183878 Q755020 Q5319775 Q192508 Q3506894 Q5695982 Q3090204 Q944249 Q661502 Q1375703 Q2288728 Q3043091 Q2331187 Q7545295 Q193638 Q2376972 Q1015874 Q2027935 Q3069421 Q2027231 Q2309447 Q261549 Q504774 Q3477054 Q738303 Q3476502 Q990622 Q321792 Q1376701 Q2891751 Q1427377 Q731067 Q753673 Q2861159 Q2423734 Q4732048 Q14891 Q3175755 Q755255 Q3171757 Q3252118 Q235135 Q5742161 Q16898214 Q8345288 Q1987680 Q95000 Q3083463 Q637130 Q1089064 Q755602 Q4761845 Q868666 Q2554478 Q234087 Q957037 Q7315195 Q468540 Q746052 Q639876 Q973684 Q5349166 Q556403 Q1957728 Q328672 Q158006 Q2916 Q996014 Q104720 Q104725 Q4986889 Q4986229 Q1799 Q72991 Q1792 Q896601 Q2841135 Q1777036 Q866332 Q41753 Q241598 Q61912 Q5440243 Q960555 Q755075 Q984797 Q4313126 Q1274917 Q2433531 Q9169094 Q251231 Q7806933 Q254769 Q213464 Q1375929 Q4404091 Q6783909 Q1134243 Q232628 Q178582 Q325436 Q571926 Q2215877 Q3710352 Q1375280 Q7568037 Q110732 Q3177723 Q1934607 Q121765 Q147934 Q257244 Q381811 Q7332840 Q267874 Q260320 Q6651117 Q503030 Q1185930 Q1511813 Q854992 Q7424129 Q636358 Q4407430 Q8040539 Q898109 Q3892388 Q2450147 Q994379 Q3473176 Q1062203 Q47554 Q183228 Q2150258 Q4082 Q3476975 Q106281 Q680518 Q2384909 Q158485 Q3268640 Q1370207 Q1374864 Q416131 Q1811669 Q173813 Q1399190 Q1337818 Q3452166 Q3056724 Q3459193 Q2457268 Q1605747 Q675678 Q730938 Q1001696 Q1085215 Q328451 Q532459 Q24879 Q7398147 Q1020942 Q9033167 Q1388359 Q576781 Q1225691 Q3477026 Q645296 Q6036351 Q2543669 Q4856263 Q992507 Q666615 Q494504 Q106681 Q2131161 Q199440 Q1144537 Q179645 Q281527 Q259230 Q1918669 Q3777 Q56037 Q668224 Q215175 Q3461834 Q7996274 Q1374751 Q6859350 Q13953 Q671259 Q755754 Q955820 Q11259 Q755962 Q231645 Q60475 Q991010 Q2729181 Q583718 Q2111166 Q755246 Q13489497 Q8969 Q486341 Q5328265 Q14684044 Q2369392 Q724884 Q2218053 Q3451990 Q1001134 Q755102 Q427385 Q3472467 Q15022 Q3351817 Q572052 Q103892 Q104712 Q1043326 Q678427 Q3937847 Q995267 Q171219 Q3460944 Q564732 Q273014 Q331661 Q1376442 Q108672 Q48898 Q1249583 Q2088643 Q1016263 Q232655 Q165204 Q52845 Q3021334 Q5336982 Q1615365 Q1375477 Q165613 Q1087192 Q3475397 Q2132317 Q688830 Q660491 Q1050148 Q759052 Q769446 Q190088 Q16295128 Q972543 Q1018680 Q981401 Q7371835 Q7570941 Q106274 Q2308667 Q145972 Q771572 Q2101079 Q7113367 Q483522 Q990664 Q1796876 Q982421 Q981346 Q1084176 Q2143708 Q4874146 Q268243 Q1870758 Q253760 Q2380037 Q1045310 Q4994419 Q795398 Q541405 Q2126669 Q2370085 Q2274785 Q217234 Q3217563 Q3475326 Q8931 Q22702084 Q1376559 Q656822 Q2076176 Q14706769 Q47420 Q530920 Q754435 Q754434 Q1843074 Q7415183 Q233903 Q61302 Q104740 Q3820323 Q2550281 Q485294 Q1094630 Q3473053 Q31487 Q990179 Q1201337 Q3030402 Q7056226 Q595153 Q984521 Q590828 Q3413440 Q232624 Q1199774 Q2520354 Q41252 Q209034 Q4874329 Q547878 Q6214169 Q993189 Q594154 Q2736169 Q584451 Q106583 Q3130627 Q232641 Q418096 Q37333 Q257169 Q1544785 Q5266877 Q1133576 Q885631 Q614798 Q233495 Q2843 Q622269 Q1012975 Q774784 Q3143067 Q755623 Q5429843 Q6802441 Q745037 Q268 Q144792 Q11249 Q2165777 Q755741 Q877383 Q3709228 Q2443698 Q6686011 Q7375146 Q212713 Q990007 Q988140 Q7668549 Q251601 Q53077 Q1775128 Q82765 Q2534964 Q1375761 Q877922 Q1086191 Q201516 Q2157385 Q1898562 Q286148 Q3476984 Q107106 Q126661 Q985098 Q5267677 Q3458750 Q1293366 Q2050326 Q2669007 Q82500 Q7606541 Q691469 Q48256 Q14705694 Q236680 Q16256587 Q3461341 Q251325 Q6747299 Q2290504 Q629530 Q502741 Q2735639 Q14835 Q3459768 Q1190597 Q1190590 Q3474251 Q487070 Q2136587 Q552523 Q7203174 Q3101080 Q34006 Q102317 Q3468992 Q487958 Q1375996 Q1058775 Q1186442 Q726707 Q81033 Q2680543 Q257130 Q755901 Q698520 Q1055 Q1916566 Q729552 Q12413015 Q1182534 Q976443 Q3316624 Q932057 Q7589002 Q5430566 Q2375832 Q13383459 Q739700 Q963138 Q7987225 Q661734 Q542366 Q1132213 Q179295 Q2051179 Q755615 Q256996 Q773853 Q1231158 Q9022 Q131612 Q4572308 Q754782 Q1374602 Q1320403 Q754074 Q3241032 Q7855984 Q2578988 Q10751864 Q506528 Q1781122 Q7161872 Q260186 Q580649 Q1268102 Q2785870 Q232635 Q232631
(c(Q43229)|c(Q895526),P159,c(Q486972))
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q43229
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q840133
relation P159
type Q43229
type Q895526
[ANSWERS] are the head office for more number of organizations and authority organs located than Hell's Kitchen
[[{'concept': 'Q43229'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?b WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P159 resource:Q840133 . { VALUES ( ?g ) { ( ontology:Q895526 ) ( ontology:Q43229 ) } . ?m rdf:type ?g } } } . FILTER ( ?j > ?p ) }
Redstone Arsenal Dayton San Cristóbal de las Casas Mojave Pentagon City Lorton Chiyoda-ku Hughesville Cockeysville San Francisco del Rincón Roslyn Heights Nakasero Kowloon Tong Verdi Don Mills Los Alamos Schwaz Paradise Herbede Waianae Potomac Wyano Marina di Carrara Columbus Circle St. Michaels Krosno East Meadow Deutsch-Wagram Inverness Świętochłowice Gibsonton Valencia Taman Tun Dr Ismail Jack London District Lawrenceville Ried im Innkreis Beltsville Dénia Rybnik Chūō-ku Tychy Levittown Valhalla Al Rigga San Pedro Prince Frederick Woodlyn Ferlach Valley Ford Chorzów Rosedale Soquel Christianshavn Luzira Højbjerg Bassett Przemyśl Hollis Plymouth Meeting Pikesville Dziekanów Nowy Bergen op Zoom Sylmar Hebron Sörnäinen Yarmouth Port Mattighofen Mechanicsville Bushwick Hung Hom University Park, Florida Smith River Shibuya-ku Inwood Sherman Oaks McLeansville Roihupellon teollisuusalue Glen Raven Vallecito Berwyn Lohr Hewlett Reynosa Hauppauge Broomall, Pennsylvania Travemünde Yūrakuchō Valldoreix Flatiron District West Seattle Linthicum Ariake Heathrow Allenton Suhl Hinnerup Reisterstown Aabybro Bolechowo, Greater Poland Voivodeship Sumida-ku Hernandez Năvodari Chevy Chase (CDP), Maryland Niederdielfen Zola Predosa Ryōgoku Ławy, Ostrołęka County Blackwood Pasadena Ang Mo Kio Hershey Wehnrath Nakano-ku Gardiner Reseda Ipanema Ginza Durlach Harleysville Eighty Four Neetzow West Bradenton Tiergarten Jaworzno Osnabrück Setauket-East Setauket Zielona Góra Płock Bukit Damansara Bugoloobi Wrocław Groenlo Gdańsk Stukenbrock Arleta Knesebeck Chinatown Klagenfurt Alamo Wertheim am Main Federal Hill Niwot Catonsville Colonia del Valle Narew, Podlaskie Voivodeship Grand Bay New Paris Lichtenberg Amstetten Timonium Hockessin Adachi Woodbridge Chevy Chase Maspeth Chesterbrook Katsushika-ku Wels Marchtrenk Bad Königshofen Downtown Miami Orenco Reston South Norwalk Wałbrzych Playa Vista Worli Astoria Jelenia Góra Mittersill Aerzen Ridgewood Civic Center Steyr Little Neck Obernburg Springfield Township Lower East Side Divišov Sarita Vihar Kensington Freedom Wysogotowo Brandon Pallanza Kentfield Sterling Austinburg Lee Vining Toruń Saalfelden Seffner Hattingen Jericho Tarnów Coolock Villastanza Siemianowice Śląskie Nanuet Pacific Palisades Tysons Corner Akasaka Landover Stanford Port Washington Woodland Hills Hicksville Syosset Commack Canoga Park Guijuelo Rottenmann Ellicott City Celebration Rio Grande Chantilly Kailua Bremen Sady, Poznań County Chatsworth Millis-Clicquot Rechterfeld Ueno Stockdorf Oyster Bay (hamlet), New York Kohtla-Nõmme Innsbrook West Los Angeles Parel Spring Valley Berndorf, Lower Austria Bludenz Włocławek Kiln Mexicali Bethpage, New York Shinjuku-ku Wan Chai Martinsried Mission Hills Ouagadougou East Berlin Talkeetna Kōtō-ku Petersboro Whitestone Glen Allen Millers Falls Bellaterra Oberwart Greenville High Ridge Times Square Elkridge Setagaya-ku Harlingen Merritt Island Byron Center Kirchberg, Luxembourg Evergreen Stevensville Shibaura Cancún Kufstein East Earl Sun Valley Holt Ashburn El Dorado Hills Woodbury Hilton Head Island Severna Park Waidhofen an der Ybbs Short Hills Tsim Sha Tsui Islands Brygge Pearl City Zabrze Elbląg East Village Wabern bei Bern Riva Trigoso Bryn Mawr Dornbirn Korczyna, Podkarpackie Voivodeship Causeway Bay Tampico Ciudad Victoria Gloucester Courthouse Dąbrowa Górnicza Levent Morenci Point Reyes Station Exton Nerima-ku Mérida Konin Deira Edendale Ootmarsum Annandale Darien, Connecticut Marlton Lansdowne Meridian Armonk Jennersdorf Maslak Audubon Van Nuys Minato Unterinn Great Falls Coconut Grove Teays Valley Rowayton Southport Legnica Acton Zamość Williamsburg White City Over-the-Rhine Villach Gush Etzion Kückelheim The Woodlands Spring Somerset Tavernier Bay View Białe Błota, Bydgoszcz County Okemos Neusiedl am See La Selva Beach North Point Pacoima Tappan Mestre Holiday Ruoholahti Gold Canyon Ōta-ku Lanham Dakota Dunes Klotzsche Glattbrugg Stony Brook Gray Summit Incline Village-Crystal Bay Latham Maser North Highlands Woodlawn Olney Wimauma San Po Kong Meguro-ku Chihuahua Radom Crystal City Clinton Township Leoben Clackamas Bedford Hills Kraków Mountain View Tsukiji Virginia Key North Omaha Shibuya Old Greenwich Spring Valley Støvring Arakawa-ku Westwood Ooltewah Bydgoszcz Toluca Bayard Kearny Mesa Joelton Tongaat Laughlin Uniontown Bethesda Bielsko-Biała Lithia Springs Taitō-ku Akihabara Lublin Fox Greenpoint Devens Fort Washington Blue Bell Riverside Shinagawa-ku Lübeck Aptos Kahului Winchester Studio City Owings Mills Fair Lakes McNair Glenside Poznań Topanga Midtown Manhattan Blountville Silver Spring Dahlewitz Trevose Palm City Loudonville Royapettah Bunkyō-ku Monclova Marina del Rey T. Nagar Nişantaşı Saltillo Gómez Palacio Olsztyn Redford Fort Belvoir Tailfingen Lawrenceville Miami Beach Little River White River Junction Manhasset Plainview Jastrzębie-Zdrój Metairie Kotlin Devon Scotia Teesside Northridge Lake Hamilton St. Pölten Stefanowo, Masovian Voivodeship Julian Dnipro Lakewood (CDP), New Jersey Toshima-ku Carthay Orangeburg Vöcklabruck Manchester Center Penrose Gold River Iphofen Portonovo Bautzen Ronkonkoma Long Island City Encino Denver Dessau Ladson Mellrichstadt Playa del Rey Melville Hollywood Kielce Holtsville Leonding West Falls Church Flushing King of Prussia Newell Monterrey South Deerfield Ansfelden Germantown Liezen Hamburg Bielany Wrocławskie Kamppi Andheri Willow Grove Katajanokka Temperance Cos Cob St. Johns Fairmede-Hilltop Estero Nacka East End of London McLean Westchase Wieselburg Ikebukuro Ardmore Dallas–Fort Worth metroplex Tucker Towson Grieskirchen Venice Crusinallo Guadalajara Wiener Neustadt Embassy Row Accokeek Forest Jamaica Clarksburg Foothill Ranch Turners Falls Tyneside Horsham Marktheidenfeld Red Hook Pemberton Perg Celaya Kasumigaseki Cedar Mill Itabashi-ku Suginami-ku
Hamburg, Kraków and Gdańsk are the head office for more number of organizations and authority organs located than Hell's Kitchen
Hamburg Kraków Gdańsk
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type organization
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
action count
action filter_multi_types
action find_reverse
entity Hell's Kitchen
relation headquarters location
type organization
type authority organ
[[{'concept': 'organization'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?b WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:organization ) ( ontology:authority_organ ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:headquarters_location resource:Hell's_Kitchen . { VALUES ( ?g ) { ( ontology:authority_organ ) ( ontology:organization ) } . ?m rdf:type ?g } } } . FILTER ( ?j > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1956149
P159
Q486972 Q43229 Q895526
USER
And how about Francis E. Warren Air Force Base?
(c(Q43229)|c(Q895526),P159,c(Q486972))
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q43229
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q1956149
relation P159
type Q43229
type Q895526
[[{'concept': 'Q43229'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?s WHERE { VALUES ( ?z ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } . ?w rdf:type ?z } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P159 resource:Q1956149 . { VALUES ( ?m ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } . ?t rdf:type ?m } } } . FILTER ( ?c > ?e ) }
Francis E. Warren Air Force Base
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type organization
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
action count
action filter_multi_types
action find_reverse
entity Francis E. Warren Air Force Base
relation headquarters location
type organization
type authority organ
[[{'concept': 'organization'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?s WHERE { VALUES ( ?z ) { ( ontology:organization ) ( ontology:authority_organ ) } . ?w rdf:type ?z } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:headquarters_location resource:Francis_E._Warren_Air_Force_Base . { VALUES ( ?m ) { ( ontology:organization ) ( ontology:authority_organ ) } . ?t rdf:type ?m } } } . FILTER ( ?c > ?e ) }
[]
human settlement organization authority organ
Q1055 Q31487 Q1792
SYSTEM
Hamburg, Kraków, Gdańsk
Q998938 Q1020984 Q524894 Q1943133 Q7164971 Q1375895 Q214051 Q753704 Q754698 Q2384255 Q3088462 Q16895628 Q15278 Q7921102 Q14875138 Q318637 Q583485 Q984542 Q871085 Q1413686 Q755844 Q6168404 Q16965 Q109968 Q2141281 Q826068 Q2026633 Q660921 Q6060171 Q45197 Q615845 Q1319893 Q7680666 Q6113733 Q6504819 Q267791 Q753707 Q646725 Q107094 Q212704 Q11977 Q1183907 Q2362234 Q4115318 Q290356 Q754567 Q1185880 Q610514 Q920538 Q104302 Q648142 Q1898575 Q861363 Q6706611 Q5964801 Q1377121 Q208473 Q62212 Q1183878 Q755020 Q5319775 Q192508 Q3506894 Q5695982 Q3090204 Q944249 Q661502 Q1375703 Q2288728 Q3043091 Q2331187 Q7545295 Q193638 Q2376972 Q1015874 Q2027935 Q3069421 Q2027231 Q2309447 Q261549 Q504774 Q3477054 Q738303 Q3476502 Q990622 Q321792 Q1376701 Q2891751 Q1427377 Q731067 Q753673 Q2861159 Q2423734 Q4732048 Q14891 Q3175755 Q755255 Q3171757 Q3252118 Q235135 Q5742161 Q16898214 Q8345288 Q1987680 Q95000 Q3083463 Q637130 Q1089064 Q755602 Q4761845 Q868666 Q2554478 Q234087 Q957037 Q7315195 Q468540 Q746052 Q639876 Q973684 Q5349166 Q556403 Q1957728 Q328672 Q158006 Q2916 Q996014 Q104720 Q104725 Q4986889 Q4986229 Q1799 Q72991 Q1792 Q896601 Q2841135 Q1777036 Q866332 Q41753 Q241598 Q61912 Q5440243 Q960555 Q755075 Q984797 Q4313126 Q1274917 Q2433531 Q9169094 Q251231 Q7806933 Q254769 Q213464 Q1375929 Q4404091 Q6783909 Q1134243 Q232628 Q178582 Q325436 Q571926 Q2215877 Q3710352 Q1375280 Q7568037 Q110732 Q3177723 Q1934607 Q121765 Q147934 Q257244 Q381811 Q7332840 Q267874 Q260320 Q6651117 Q503030 Q1185930 Q1511813 Q854992 Q7424129 Q636358 Q4407430 Q8040539 Q898109 Q3892388 Q2450147 Q994379 Q3473176 Q1062203 Q47554 Q183228 Q2150258 Q4082 Q3476975 Q106281 Q680518 Q2384909 Q158485 Q3268640 Q1370207 Q1374864 Q416131 Q1811669 Q173813 Q1399190 Q1337818 Q3452166 Q3056724 Q3459193 Q2457268 Q1605747 Q675678 Q730938 Q1001696 Q1085215 Q328451 Q532459 Q24879 Q7398147 Q1020942 Q9033167 Q1388359 Q576781 Q1225691 Q3477026 Q645296 Q6036351 Q2543669 Q4856263 Q992507 Q666615 Q494504 Q106681 Q2131161 Q199440 Q1144537 Q179645 Q281527 Q259230 Q1918669 Q3777 Q56037 Q668224 Q215175 Q3461834 Q7996274 Q1374751 Q6859350 Q13953 Q671259 Q755754 Q955820 Q11259 Q755962 Q231645 Q60475 Q991010 Q2729181 Q583718 Q2111166 Q755246 Q13489497 Q8969 Q486341 Q5328265 Q14684044 Q2369392 Q724884 Q2218053 Q3451990 Q1001134 Q755102 Q427385 Q3472467 Q15022 Q3351817 Q572052 Q103892 Q104712 Q1043326 Q678427 Q3937847 Q995267 Q171219 Q3460944 Q564732 Q273014 Q331661 Q1376442 Q108672 Q48898 Q1249583 Q2088643 Q1016263 Q232655 Q165204 Q52845 Q3021334 Q5336982 Q1615365 Q1375477 Q165613 Q1087192 Q3475397 Q2132317 Q688830 Q660491 Q1050148 Q759052 Q769446 Q190088 Q16295128 Q972543 Q1018680 Q981401 Q7371835 Q7570941 Q106274 Q2308667 Q145972 Q771572 Q2101079 Q7113367 Q483522 Q990664 Q1796876 Q982421 Q981346 Q1084176 Q2143708 Q4874146 Q268243 Q1870758 Q253760 Q2380037 Q1045310 Q4994419 Q795398 Q541405 Q2126669 Q2370085 Q2274785 Q217234 Q3217563 Q3475326 Q8931 Q22702084 Q1376559 Q656822 Q2076176 Q14706769 Q47420 Q530920 Q754435 Q754434 Q1843074 Q7415183 Q233903 Q61302 Q104740 Q3820323 Q2550281 Q485294 Q1094630 Q3473053 Q31487 Q990179 Q1201337 Q3030402 Q7056226 Q595153 Q984521 Q590828 Q3413440 Q232624 Q1199774 Q2520354 Q41252 Q209034 Q4874329 Q547878 Q6214169 Q993189 Q594154 Q2736169 Q584451 Q106583 Q3130627 Q232641 Q418096 Q37333 Q257169 Q1544785 Q5266877 Q1133576 Q885631 Q614798 Q233495 Q2843 Q622269 Q1012975 Q774784 Q3143067 Q755623 Q5429843 Q6802441 Q745037 Q268 Q144792 Q11249 Q2165777 Q755741 Q877383 Q3709228 Q2443698 Q6686011 Q7375146 Q212713 Q990007 Q988140 Q7668549 Q251601 Q53077 Q1775128 Q82765 Q2534964 Q1375761 Q877922 Q1086191 Q201516 Q2157385 Q1898562 Q286148 Q3476984 Q107106 Q126661 Q985098 Q5267677 Q3458750 Q1293366 Q2050326 Q2669007 Q82500 Q7606541 Q691469 Q48256 Q14705694 Q236680 Q16256587 Q3461341 Q251325 Q6747299 Q2290504 Q629530 Q502741 Q2735639 Q14835 Q3459768 Q1190597 Q1190590 Q3474251 Q487070 Q2136587 Q552523 Q7203174 Q3101080 Q34006 Q102317 Q3468992 Q487958 Q1375996 Q1058775 Q1186442 Q726707 Q81033 Q2680543 Q257130 Q755901 Q698520 Q1055 Q1916566 Q729552 Q12413015 Q1182534 Q976443 Q3316624 Q932057 Q7589002 Q5430566 Q2375832 Q13383459 Q739700 Q963138 Q7987225 Q661734 Q542366 Q1132213 Q179295 Q2051179 Q755615 Q256996 Q773853 Q1231158 Q9022 Q131612 Q4572308 Q754782 Q1374602 Q1320403 Q754074 Q3241032 Q7855984 Q2578988 Q10751864 Q506528 Q1781122 Q7161872 Q260186 Q580649 Q1268102 Q2785870 Q232635 Q232631
(c(Q43229)|c(Q895526),P159,c(Q486972))
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q43229
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q1956149
relation P159
type Q43229
type Q895526
[ANSWERS]
[[{'concept': 'Q43229'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?s WHERE { VALUES ( ?z ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } . ?w rdf:type ?z } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P159 resource:Q1956149 . { VALUES ( ?m ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } . ?t rdf:type ?m } } } . FILTER ( ?c > ?e ) }
Redstone Arsenal Dayton San Cristóbal de las Casas Mojave Pentagon City Lorton Chiyoda-ku Hughesville Cockeysville San Francisco del Rincón Roslyn Heights Nakasero Kowloon Tong Verdi Don Mills Los Alamos Schwaz Paradise Herbede Waianae Potomac Wyano Marina di Carrara Columbus Circle St. Michaels Krosno East Meadow Deutsch-Wagram Inverness Świętochłowice Gibsonton Valencia Taman Tun Dr Ismail Jack London District Lawrenceville Ried im Innkreis Beltsville Dénia Rybnik Chūō-ku Tychy Levittown Valhalla Al Rigga San Pedro Prince Frederick Woodlyn Ferlach Valley Ford Chorzów Rosedale Soquel Christianshavn Luzira Højbjerg Bassett Przemyśl Hollis Plymouth Meeting Pikesville Dziekanów Nowy Bergen op Zoom Sylmar Hebron Sörnäinen Yarmouth Port Mattighofen Mechanicsville Bushwick Hung Hom University Park, Florida Smith River Shibuya-ku Inwood Sherman Oaks McLeansville Roihupellon teollisuusalue Glen Raven Vallecito Berwyn Lohr Hewlett Reynosa Hauppauge Broomall, Pennsylvania Travemünde Yūrakuchō Valldoreix Flatiron District West Seattle Linthicum Ariake Heathrow Allenton Suhl Hinnerup Reisterstown Aabybro Bolechowo, Greater Poland Voivodeship Sumida-ku Hernandez Năvodari Chevy Chase (CDP), Maryland Niederdielfen Zola Predosa Ryōgoku Ławy, Ostrołęka County Blackwood Pasadena Ang Mo Kio Hershey Wehnrath Nakano-ku Gardiner Reseda Ipanema Ginza Durlach Harleysville Eighty Four Neetzow West Bradenton Tiergarten Jaworzno Osnabrück Setauket-East Setauket Zielona Góra Płock Bukit Damansara Bugoloobi Wrocław Groenlo Gdańsk Stukenbrock Arleta Knesebeck Chinatown Klagenfurt Alamo Wertheim am Main Federal Hill Niwot Catonsville Colonia del Valle Narew, Podlaskie Voivodeship Grand Bay New Paris Lichtenberg Amstetten Timonium Hockessin Adachi Woodbridge Chevy Chase Maspeth Chesterbrook Katsushika-ku Wels Marchtrenk Bad Königshofen Downtown Miami Orenco Reston South Norwalk Wałbrzych Playa Vista Worli Astoria Jelenia Góra Mittersill Aerzen Ridgewood Civic Center Steyr Little Neck Obernburg Springfield Township Lower East Side Divišov Sarita Vihar Kensington Freedom Wysogotowo Brandon Pallanza Kentfield Sterling Austinburg Lee Vining Toruń Saalfelden Seffner Hattingen Jericho Tarnów Coolock Villastanza Siemianowice Śląskie Nanuet Pacific Palisades Tysons Corner Akasaka Landover Stanford Port Washington Woodland Hills Hicksville Syosset Commack Canoga Park Guijuelo Rottenmann Ellicott City Celebration Rio Grande Chantilly Kailua Bremen Sady, Poznań County Chatsworth Millis-Clicquot Rechterfeld Ueno Stockdorf Oyster Bay (hamlet), New York Kohtla-Nõmme Innsbrook West Los Angeles Parel Spring Valley Berndorf, Lower Austria Bludenz Włocławek Kiln Mexicali Bethpage, New York Shinjuku-ku Wan Chai Martinsried Mission Hills Ouagadougou East Berlin Talkeetna Kōtō-ku Petersboro Whitestone Glen Allen Millers Falls Bellaterra Oberwart Greenville High Ridge Times Square Elkridge Setagaya-ku Harlingen Merritt Island Byron Center Kirchberg, Luxembourg Evergreen Stevensville Shibaura Cancún Kufstein East Earl Sun Valley Holt Ashburn El Dorado Hills Woodbury Hilton Head Island Severna Park Waidhofen an der Ybbs Short Hills Tsim Sha Tsui Islands Brygge Pearl City Zabrze Elbląg East Village Wabern bei Bern Riva Trigoso Bryn Mawr Dornbirn Korczyna, Podkarpackie Voivodeship Causeway Bay Tampico Ciudad Victoria Gloucester Courthouse Dąbrowa Górnicza Levent Morenci Point Reyes Station Exton Nerima-ku Mérida Konin Deira Edendale Ootmarsum Annandale Darien, Connecticut Marlton Lansdowne Meridian Armonk Jennersdorf Maslak Audubon Van Nuys Minato Unterinn Great Falls Coconut Grove Teays Valley Rowayton Southport Legnica Acton Zamość Williamsburg White City Over-the-Rhine Villach Gush Etzion Kückelheim The Woodlands Spring Somerset Tavernier Bay View Białe Błota, Bydgoszcz County Okemos Neusiedl am See La Selva Beach North Point Pacoima Tappan Mestre Holiday Ruoholahti Gold Canyon Ōta-ku Lanham Dakota Dunes Klotzsche Glattbrugg Stony Brook Gray Summit Incline Village-Crystal Bay Latham Maser North Highlands Woodlawn Olney Wimauma San Po Kong Meguro-ku Chihuahua Radom Crystal City Clinton Township Leoben Clackamas Bedford Hills Kraków Mountain View Tsukiji Virginia Key North Omaha Shibuya Old Greenwich Spring Valley Støvring Arakawa-ku Westwood Ooltewah Bydgoszcz Toluca Bayard Kearny Mesa Joelton Tongaat Laughlin Uniontown Bethesda Bielsko-Biała Lithia Springs Taitō-ku Akihabara Lublin Fox Greenpoint Devens Fort Washington Blue Bell Riverside Shinagawa-ku Lübeck Aptos Kahului Winchester Studio City Owings Mills Fair Lakes McNair Glenside Poznań Topanga Midtown Manhattan Blountville Silver Spring Dahlewitz Trevose Palm City Loudonville Royapettah Bunkyō-ku Monclova Marina del Rey T. Nagar Nişantaşı Saltillo Gómez Palacio Olsztyn Redford Fort Belvoir Tailfingen Lawrenceville Miami Beach Little River White River Junction Manhasset Plainview Jastrzębie-Zdrój Metairie Kotlin Devon Scotia Teesside Northridge Lake Hamilton St. Pölten Stefanowo, Masovian Voivodeship Julian Dnipro Lakewood (CDP), New Jersey Toshima-ku Carthay Orangeburg Vöcklabruck Manchester Center Penrose Gold River Iphofen Portonovo Bautzen Ronkonkoma Long Island City Encino Denver Dessau Ladson Mellrichstadt Playa del Rey Melville Hollywood Kielce Holtsville Leonding West Falls Church Flushing King of Prussia Newell Monterrey South Deerfield Ansfelden Germantown Liezen Hamburg Bielany Wrocławskie Kamppi Andheri Willow Grove Katajanokka Temperance Cos Cob St. Johns Fairmede-Hilltop Estero Nacka East End of London McLean Westchase Wieselburg Ikebukuro Ardmore Dallas–Fort Worth metroplex Tucker Towson Grieskirchen Venice Crusinallo Guadalajara Wiener Neustadt Embassy Row Accokeek Forest Jamaica Clarksburg Foothill Ranch Turners Falls Tyneside Horsham Marktheidenfeld Red Hook Pemberton Perg Celaya Kasumigaseki Cedar Mill Itabashi-ku Suginami-ku
Hamburg Kraków Gdańsk
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type organization
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
action count
action filter_multi_types
action find_reverse
entity Francis E. Warren Air Force Base
relation headquarters location
type organization
type authority organ
[[{'concept': 'organization'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?s WHERE { VALUES ( ?z ) { ( ontology:organization ) ( ontology:authority_organ ) } . ?w rdf:type ?z } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:headquarters_location resource:Francis_E._Warren_Air_Force_Base . { VALUES ( ?m ) { ( ontology:organization ) ( ontology:authority_organ ) } . ?t rdf:type ?m } } } . FILTER ( ?c > ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q270 Q1728332
P291
Q571
USER
How many books have Warsaw or Cape Royds as their release location ?
(c(Q571),P291,Q270) (c(Q571),P291,Q1728332)
action count
action union
action filter_type
action find_reverse
entity Q270
relation P291
type Q571
action filter_type
action find_reverse
entity Q1728332
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', 'Q270'] [{'concept': 'Q571'}, 'P291', 'Q1728332']
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { ?y property:P291 resource:Q270 . ?y rdf:type ontology:Q571 } UNION { ?y property:P291 resource:Q1728332 . ?y rdf:type ontology:Q571 } }
Warsaw Cape Royds
action count
action union
action filter_type
action find_reverse
entity Warsaw
relation place of publication
type book
action filter_type
action find_reverse
entity Cape Royds
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Warsaw'] [{'concept': 'book'}, 'place of publication', 'Cape Royds']
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { ?y property:place_of_publication resource:Warsaw . ?y rdf:type ontology:book } UNION { ?y property:place_of_publication resource:Cape_Royds . ?y rdf:type ontology:book } }
[]
book
SYSTEM
8
Q17419571 Q18330734 Q17317589 Q16875587 Q17398133 Q26721385 Q20951224 Q27457165
(c(Q571),P291,Q270) (c(Q571),P291,Q1728332)
action count
action union
action filter_type
action find_reverse
entity Q270
relation P291
type Q571
action filter_type
action find_reverse
entity Q1728332
relation P291
type Q571
[ANSWER]
[{'concept': 'Q571'}, 'P291', 'Q270'] [{'concept': 'Q571'}, 'P291', 'Q1728332']
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { ?y property:P291 resource:Q270 . ?y rdf:type ontology:Q571 } UNION { ?y property:P291 resource:Q1728332 . ?y rdf:type ontology:Q571 } }
Białoruś Blaszany bębenek Цяжкі час — Працяг. Канцэпцыя новага Беларускага Адраджэньня, кн. 3, артыкулы і матэр’ялы (2003−2010) Nuta człowiecza Skorowidz miejscowości Rzeczypospolitej Polskiej: opracowany na podstawie wyników pierwszego powszechnego spisu ludności z dn. 30 września 1921 r. i innych źródeł urzędowych. T. 5: Województwo białostockie Polish Pharmacopoeia, Xth O obrotach ciał niebieskich Aurora Australis
8
action count
action union
action filter_type
action find_reverse
entity Warsaw
relation place of publication
type book
action filter_type
action find_reverse
entity Cape Royds
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Warsaw'] [{'concept': 'book'}, 'place of publication', 'Cape Royds']
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { ?y property:place_of_publication resource:Warsaw . ?y rdf:type ontology:book } UNION { ?y property:place_of_publication resource:Cape_Royds . ?y rdf:type ontology:book } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1478509
P669
Q34442 Q83620 Q486972
USER
Which human settlements are located on greater number of roads and thoroughfares than Stopfenheim ?
(c(Q486972),P669,c(Q34442)|c(Q83620))
action greater
action union
action find_tuple_counts
relation P669
type Q486972
type Q34442
action find_tuple_counts
relation P669
type Q486972
type Q83620
action count
action filter_multi_types
action find
entity Q1478509
relation P669
type Q34442
type Q83620
[{'concept': 'Q486972'}, 'P669', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?c > ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { resource:Q1478509 property:P669 ?q . { { ?q rdf:type ontology:Q34442 } UNION { ?q rdf:type ontology:Q83620 } } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) ?w WHERE { { ?w rdf:type ontology:Q486972 . ?b rdf:type ontology:Q34442 . ?w property:P669 ?b } UNION { ?w property:P669 ?b . ?w rdf:type ontology:Q486972 . ?b rdf:type ontology:Q83620 } } GROUP BY ?w } }
Stopfenheim
action greater
action union
action find_tuple_counts
relation located on street
type human settlement
type road
action find_tuple_counts
relation located on street
type human settlement
type thoroughfare
action count
action filter_multi_types
action find
entity Stopfenheim
relation located on street
type road
type thoroughfare
[{'concept': 'human settlement'}, 'located on street', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?c > ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { resource:Stopfenheim property:located_on_street ?q . { { ?q rdf:type ontology:road } UNION { ?q rdf:type ontology:thoroughfare } } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) ?w WHERE { { ?w rdf:type ontology:human_settlement . ?b rdf:type ontology:road . ?w property:located_on_street ?b } UNION { ?w property:located_on_street ?b . ?w rdf:type ontology:human_settlement . ?b rdf:type ontology:thoroughfare } } GROUP BY ?w } }
[]
road thoroughfare human settlement
Q18621190 Q18621205 Q18621202
SYSTEM
La Samaritiaine, store 2, La Samaritaine, store 3, La Samaritiaine, store 1
Q18621205 Q2265735 Q18621202 Q18621190
(c(Q486972),P669,c(Q34442)|c(Q83620))
action greater
action union
action find_tuple_counts
relation P669
type Q486972
type Q34442
action find_tuple_counts
relation P669
type Q486972
type Q83620
action count
action filter_multi_types
action find
entity Q1478509
relation P669
type Q34442
type Q83620
[ANSWERS]
[{'concept': 'Q486972'}, 'P669', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?c > ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { resource:Q1478509 property:P669 ?q . { { ?q rdf:type ontology:Q34442 } UNION { ?q rdf:type ontology:Q83620 } } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) ?w WHERE { { ?w rdf:type ontology:Q486972 . ?b rdf:type ontology:Q34442 . ?w property:P669 ?b } UNION { ?w property:P669 ?b . ?w rdf:type ontology:Q486972 . ?b rdf:type ontology:Q83620 } } GROUP BY ?w } }
La Samaritaine, store 3 Bovenkerk La Samaritiaine, store 1 La Samaritiaine, store 2
La Samaritiaine, store 2, La Samaritaine, store 3 and La Samaritiaine, store 1 are located on greater number of roads and thoroughfares than Stopfenheim
La Samaritiaine, store 2 La Samaritaine, store 3 La Samaritiaine, store 1
action greater
action union
action find_tuple_counts
relation located on street
type human settlement
type road
action find_tuple_counts
relation located on street
type human settlement
type thoroughfare
action count
action filter_multi_types
action find
entity Stopfenheim
relation located on street
type road
type thoroughfare
[{'concept': 'human settlement'}, 'located on street', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?c > ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { resource:Stopfenheim property:located_on_street ?q . { { ?q rdf:type ontology:road } UNION { ?q rdf:type ontology:thoroughfare } } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) ?w WHERE { { ?w rdf:type ontology:human_settlement . ?b rdf:type ontology:road . ?w property:located_on_street ?b } UNION { ?w property:located_on_street ?b . ?w rdf:type ontology:human_settlement . ?b rdf:type ontology:thoroughfare } } GROUP BY ?w } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2265735
P669
Q34442 Q83620 Q486972
USER
And also tell me about Bovenkerk?
(c(Q486972),P669,c(Q34442)|c(Q83620))
action greater
action union
action find_tuple_counts
relation P669
type Q486972
type Q34442
action find_tuple_counts
relation P669
type Q486972
type Q83620
action count
action filter_multi_types
action find
entity Q2265735
relation P669
type Q34442
type Q83620
[{'concept': 'Q486972'}, 'P669', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?m WHERE { VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?c rdf:type ?s } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:Q2265735 property:P669 ?f . { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } } } . FILTER ( ?p > ?i ) }
Bovenkerk
action greater
action union
action find_tuple_counts
relation located on street
type human settlement
type road
action find_tuple_counts
relation located on street
type human settlement
type thoroughfare
action count
action filter_multi_types
action find
entity Bovenkerk
relation located on street
type road
type thoroughfare
[{'concept': 'human settlement'}, 'located on street', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?m WHERE { VALUES ( ?s ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?c rdf:type ?s } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:Bovenkerk property:located_on_street ?f . { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:road ) ( ontology:thoroughfare ) } } } } . FILTER ( ?p > ?i ) }
[]
road thoroughfare human settlement
Q18621205 Q18621202 Q18621190
SYSTEM
La Samaritaine, store 3, La Samaritiaine, store 1, La Samaritiaine, store 2
Q18621205 Q18621202 Q18621190
(c(Q486972),P669,c(Q34442)|c(Q83620))
action greater
action union
action find_tuple_counts
relation P669
type Q486972
type Q34442
action find_tuple_counts
relation P669
type Q486972
type Q83620
action count
action filter_multi_types
action find
entity Q2265735
relation P669
type Q34442
type Q83620
[ANSWERS]
[{'concept': 'Q486972'}, 'P669', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?m WHERE { VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?c rdf:type ?s } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:Q2265735 property:P669 ?f . { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } } } . FILTER ( ?p > ?i ) }
La Samaritaine, store 3 La Samaritiaine, store 1 La Samaritiaine, store 2
La Samaritaine, store 3 La Samaritiaine, store 1 La Samaritiaine, store 2
action greater
action union
action find_tuple_counts
relation located on street
type human settlement
type road
action find_tuple_counts
relation located on street
type human settlement
type thoroughfare
action count
action filter_multi_types
action find
entity Bovenkerk
relation located on street
type road
type thoroughfare
[{'concept': 'human settlement'}, 'located on street', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?m WHERE { VALUES ( ?s ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?c rdf:type ?s } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:Bovenkerk property:located_on_street ?f . { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:road ) ( ontology:thoroughfare ) } } } } . FILTER ( ?p > ?i ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4875766 Q36
P530 P17
Q1048835
USER
Which political territories have diplomatic relationships with Poland and do Beach Travellers belong to ?
AND((Q36,P530,c(Q1048835)), (Q4875766,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q36
relation P530
action find
entity Q4875766
relation P17
type Q1048835
{'AND': [['Q36', 'P530', {'concept': 'Q1048835'}], ['Q4875766', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { resource:Q36 property:P530 ?f . resource:Q4875766 property:P17 ?f . ?f rdf:type ontology:Q1048835 }
Beach Travellers Poland
action filter_type
action intersection
action find
entity Poland
relation diplomatic relation
action find
entity Beach Travellers
relation country
type political territorial entity
{'AND': [['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Beach Travellers', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Poland property:diplomatic_relation ?f . resource:Beach_Travellers property:country ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
AND((Q36,P530,c(Q1048835)), (Q4875766,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q36
relation P530
action find
entity Q4875766
relation P17
type Q1048835
[ANSWER] have diplomatic relationships with Poland and do Beach Travellers belong to
{'AND': [['Q36', 'P530', {'concept': 'Q1048835'}], ['Q4875766', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { resource:Q36 property:P530 ?f . resource:Q4875766 property:P17 ?f . ?f rdf:type ontology:Q1048835 }
Canada
Canada have diplomatic relationships with Poland and do Beach Travellers belong to
Canada
action filter_type
action intersection
action find
entity Poland
relation diplomatic relation
action find
entity Beach Travellers
relation country
type political territorial entity
{'AND': [['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Beach Travellers', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Poland property:diplomatic_relation ?f . resource:Beach_Travellers property:country ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q16 Q1028 Q739
P530
Q15617994
USER
Does that political territory have diplomatic associations with Morocco and Colombia ?
(Q16,P530,Q1028) (Q16,P530,Q739)
action is_in
entity Q16
action intersection
action find_reverse
entity Q1028
relation P530
action find_reverse
entity Q739
relation P530
['Q16', 'P530', 'Q1028'] ['Q16', 'P530', 'Q739']
ASK WHERE { resource:Q16 property:P530 resource:Q739 . resource:Q16 property:P530 resource:Q1028 }
Canada Morocco Colombia
action is_in
entity Canada
action intersection
action find_reverse
entity Morocco
relation diplomatic relation
action find_reverse
entity Colombia
relation diplomatic relation
['Canada', 'diplomatic relation', 'Morocco'] ['Canada', 'diplomatic relation', 'Colombia']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Colombia . resource:Canada property:diplomatic_relation resource:Morocco }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16,P530,Q1028) (Q16,P530,Q739)
action is_in
entity Q16
action intersection
action find_reverse
entity Q1028
relation P530
action find_reverse
entity Q739
relation P530
[ANSWER]
['Q16', 'P530', 'Q1028'] ['Q16', 'P530', 'Q739']
ASK WHERE { resource:Q16 property:P530 resource:Q739 . resource:Q16 property:P530 resource:Q1028 }
Yes
action is_in
entity Canada
action intersection
action find_reverse
entity Morocco
relation diplomatic relation
action find_reverse
entity Colombia
relation diplomatic relation
['Canada', 'diplomatic relation', 'Morocco'] ['Canada', 'diplomatic relation', 'Colombia']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Colombia . resource:Canada property:diplomatic_relation resource:Morocco }
[]