Simple Question (Direct)
Simple Question
Q792033
P937
Q486972
USER
Which human settlement is the work location of Axel Bruhn ?
(Q792033,P937,c(Q486972))
action filter_type
action find
entity Q792033
relation P937
type Q486972
['Q792033', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?c WHERE { resource:Q792033 property:P937 ?c . ?c rdf:type ontology:Q486972 }
Axel Bruhn
action filter_type
action find
entity Axel Bruhn
relation work location
type human settlement
['Axel Bruhn', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?c WHERE { resource:Axel_Bruhn property:work_location ?c . ?c rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q792033,P937,c(Q486972))
action filter_type
action find
entity Q792033
relation P937
type Q486972
[ANSWER] is the work location of Axel Bruhn
['Q792033', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?c WHERE { resource:Q792033 property:P937 ?c . ?c rdf:type ontology:Q486972 }
Hamburg
Hamburg is the work location of Axel Bruhn
Hamburg
action filter_type
action find
entity Axel Bruhn
relation work location
type human settlement
['Axel Bruhn', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?c WHERE { resource:Axel_Bruhn property:work_location ?c . ?c rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1055
P1444
Q2912397
USER
Which single-day race has that human settlement as its destination point ?
(c(Q2912397),P1444,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P1444
type Q2912397
[{'concept': 'Q2912397'}, 'P1444', 'Q1055']
SELECT DISTINCT ?z WHERE { ?z property:P1444 resource:Q1055 . ?z rdf:type ontology:Q2912397 }
Hamburg
action filter_type
action find_reverse
entity Hamburg
relation destination point
type single-day race
[{'concept': 'single-day race'}, 'destination point', 'Hamburg']
SELECT DISTINCT ?z WHERE { ?z property:destination_point resource:Hamburg . ?z rdf:type ontology:single-day_race }
[]
single-day race
Q19598869
SYSTEM
2015 Vattenfall Cyclassics
Q19598869
(c(Q2912397),P1444,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P1444
type Q2912397
Which single-day race has that human settlement as its destination point
[{'concept': 'Q2912397'}, 'P1444', 'Q1055']
SELECT DISTINCT ?z WHERE { ?z property:P1444 resource:Q1055 . ?z rdf:type ontology:Q2912397 }
2015 Vattenfall Cyclassics
Which single-day race has that human settlement as its destination point
2015 Vattenfall Cyclassics
action filter_type
action find_reverse
entity Hamburg
relation destination point
type single-day race
[{'concept': 'single-day race'}, 'destination point', 'Hamburg']
SELECT DISTINCT ?z WHERE { ?z property:destination_point resource:Hamburg . ?z rdf:type ontology:single-day_race }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1055
P138
Q2235308
USER
Which ship type has Hamburg as its toponym ?
(c(Q2235308),P138,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q1055']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q2235308 . ?f property:P138 resource:Q1055 }
Hamburg
action filter_type
action find_reverse
entity Hamburg
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Hamburg']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:ship_type . ?f property:named_after resource:Hamburg }
[]
ship type
Q468026
SYSTEM
SS Maxim Gorkiy
Q468026
(c(Q2235308),P138,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P138
type Q2235308
[ANSWER] has Hamburg as its toponym
[{'concept': 'Q2235308'}, 'P138', 'Q1055']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q2235308 . ?f property:P138 resource:Q1055 }
SS Maxim Gorkiy
SS Maxim Gorkiy has Hamburg as its toponym
SS Maxim Gorkiy
action filter_type
action find_reverse
entity Hamburg
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Hamburg']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:ship_type . ?f property:named_after resource:Hamburg }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1055
P159
Q1269299
USER
Which business organizations have the principal seat at that human settlement ?
(c(Q1269299),P159,Q468026)
action filter_type
action find_reverse
entity Q1055
relation P159
type Q1269299
[{'concept': 'Q1269299'}, 'P159', 'Q468026']
SELECT DISTINCT ?l WHERE { ?l property:P159 resource:Q1055 . ?l rdf:type ontology:Q1269299 }
Hamburg
action filter_type
action find_reverse
entity Hamburg
relation headquarters location
type type of business entity
[{'concept': 'type of business entity'}, 'headquarters location', 'SS Maxim Gorkiy']
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location resource:Hamburg . ?l rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q536228 Q2494218 Q1110766
SYSTEM
Jungheinrich, UniCredit Leasing, Colonia Real Estate
Q536228 Q2494218 Q1110766 Q1108210 Q1474529 Q15821907 Q727309 Q432803
(c(Q1269299),P159,Q468026)
action filter_type
action find_reverse
entity Q1055
relation P159
type Q1269299
[ANSWERS] have the principal seat at that human settlement
[{'concept': 'Q1269299'}, 'P159', 'Q468026']
SELECT DISTINCT ?l WHERE { ?l property:P159 resource:Q1055 . ?l rdf:type ontology:Q1269299 }
Jungheinrich UniCredit Leasing Colonia Real Estate Colexon Energy Vesseltracker Joyou Asian Bamboo Alstria office REIT
Jungheinrich, UniCredit Leasing and Colonia Real Estate have the principal seat at that human settlement
Jungheinrich UniCredit Leasing Colonia Real Estate
action filter_type
action find_reverse
entity Hamburg
relation headquarters location
type type of business entity
[{'concept': 'type of business entity'}, 'headquarters location', 'SS Maxim Gorkiy']
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location resource:Hamburg . ?l rdf:type ontology:type_of_business_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P159
Q486972 Q334453 Q1269299
USER
Which human settlements are the headquarters of min number of divisions and business organizations located ?
(c(Q334453)|c(Q1269299),P159,c(Q486972))
action argmin
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q334453
action find_reverse_tuple_counts
relation P159
type Q486972
type Q1269299
[[{'concept': 'Q334453'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?o WHERE { ?m rdf:type ?p . VALUES ( ?p ) { ( ontology:Q334453 ) ( ontology:Q1269299 ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?e WHERE { VALUES ( ?a ) { ( ontology:Q334453 ) ( ontology:Q1269299 ) } . ?s rdf:type ?a } GROUP BY ?e } . FILTER ( ?u = ?b ) }
action argmin
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type division
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type type of business entity
[[{'concept': 'division'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?o WHERE { ?m rdf:type ?p . VALUES ( ?p ) { ( ontology:division ) ( ontology:type_of_business_entity ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?e WHERE { VALUES ( ?a ) { ( ontology:division ) ( ontology:type_of_business_entity ) } . ?s rdf:type ?a } GROUP BY ?e } . FILTER ( ?u = ?b ) }
[]
human settlement division type of business entity
Q31487 Q37333 Q1799
SYSTEM
Kraków, Lublin, Wrocław
Q3936330 Q6861655 Q998938 Q1020984 Q1648853 Q524894 Q1943133 Q2019376 Q7164971 Q1375895 Q753704 Q754698 Q2384255 Q3088462 Q16895628 Q15278 Q7921102 Q200805 Q982089 Q14875138 Q1114128 Q514039 Q318637 Q626985 Q583485 Q984542 Q797635 Q871085 Q1413686 Q1940767 Q755844 Q105084 Q6168404 Q16083 Q16965 Q109968 Q2141281 Q826068 Q4996138 Q315005 Q2026633 Q660921 Q6060171 Q2658906 Q45197 Q615845 Q1319893 Q881250 Q7680666 Q1956149 Q840133 Q6113733 Q6504819 Q267791 Q753707 Q646725 Q107094 Q11977 Q1183907 Q2362234 Q4115318 Q290356 Q754567 Q1185880 Q610514 Q6960364 Q920538 Q104302 Q648142 Q1898575 Q659841 Q1182481 Q861363 Q6706611 Q1873040 Q5964801 Q1377121 Q208473 Q62212 Q1520213 Q254221 Q1183878 Q755020 Q7506066 Q5319775 Q192508 Q3506894 Q1407551 Q5695982 Q7060656 Q3090204 Q944249 Q574451 Q1375703 Q287771 Q980034 Q2288728 Q3043091 Q1012971 Q2331187 Q7545295 Q186160 Q2376972 Q1015874 Q2027935 Q3069421 Q2027231 Q2309447 Q754390 Q504774 Q3477054 Q720383 Q738303 Q3476502 Q990622 Q2925167 Q321792 Q1376701 Q2891751 Q1427377 Q2404952 Q2190340 Q731067 Q753673 Q2861159 Q2423734 Q4732048 Q14891 Q1547093 Q3175755 Q755255 Q3171757 Q3252118 Q235135 Q235130 Q2318365 Q3886817 Q5742161 Q16898214 Q2541735 Q8345288 Q1987680 Q95000 Q3083463 Q637130 Q1089064 Q755602 Q4761845 Q868666 Q2554478 Q234087 Q105048 Q957037 Q7315195 Q960480 Q468540 Q1230410 Q602896 Q746052 Q639876 Q973684 Q5349166 Q556403 Q1957728 Q328672 Q158006 Q2916 Q996014 Q104720 Q104725 Q4986889 Q4986229 Q1147 Q1799 Q72991 Q896601 Q2841135 Q1777036 Q866332 Q579006 Q2559367 Q41753 Q1983602 Q241598 Q61912 Q5440243 Q960555 Q755075 Q1944295 Q984797 Q4313126 Q1274917 Q2433531 Q9169094 Q251231 Q7806933 Q1191048 Q254769 Q213464 Q1375929 Q4404091 Q6783909 Q1134243 Q232628 Q178582 Q5366070 Q325436 Q1376750 Q571926 Q2215877 Q677514 Q3710352 Q1375280 Q989988 Q7568037 Q110732 Q3177723 Q1934607 Q121765 Q147934 Q257244 Q381811 Q7332840 Q1438754 Q267874 Q985666 Q260320 Q6651117 Q627970 Q2542346 Q503030 Q1185930 Q1511813 Q883649 Q854992 Q7424129 Q636358 Q4407430 Q3259538 Q8040539 Q898109 Q3892388 Q2450147 Q994379 Q1782664 Q7918736 Q840381 Q3473176 Q1062203 Q47554 Q183228 Q1498314 Q2375799 Q2150258 Q1378358 Q3476975 Q2722822 Q106281 Q560737 Q680518 Q2384909 Q158485 Q2147425 Q9339216 Q3268640 Q1370207 Q416131 Q1811669 Q783854 Q173813 Q1399190 Q2625576 Q3452166 Q3056724 Q3459193 Q3492347 Q2457268 Q1605747 Q675678 Q730938 Q314660 Q260950 Q92212 Q1001696 Q11476196 Q1085215 Q2586698 Q328451 Q532459 Q7398147 Q1020942 Q9033167 Q1388359 Q576781 Q1075077 Q1225691 Q3477026 Q4025753 Q645296 Q6036351 Q2543669 Q4856263 Q1087465 Q669660 Q992507 Q666615 Q1004000 Q1150555 Q494504 Q106681 Q2131161 Q199440 Q1144537 Q6008135 Q130711 Q2348460 Q281527 Q260176 Q259230 Q1918669 Q1824274 Q3777 Q56037 Q6303071 Q668224 Q6843071 Q700211 Q3461834 Q7996274 Q1374751 Q730187 Q6859350 Q13953 Q931780 Q671259 Q755754 Q2567721 Q955820 Q11259 Q755962 Q8072422 Q231645 Q60475 Q991010 Q2729181 Q583718 Q2111166 Q755246 Q701856 Q13489497 Q8969 Q486341 Q5328265 Q956022 Q1887264 Q14684044 Q2369392 Q724884 Q2218053 Q3451990 Q7055628 Q696118 Q1001134 Q210205 Q30940 Q755102 Q7359443 Q427385 Q3472467 Q15022 Q3351817 Q572052 Q103892 Q1444808 Q104712 Q1043326 Q602739 Q678427 Q3937847 Q1112702 Q171219 Q3460944 Q590879 Q564732 Q273014 Q331661 Q2354222 Q7907801 Q1376442 Q108672 Q48898 Q1374678 Q1249583 Q2088643 Q1016263 Q232655 Q700541 Q1657653 Q165204 Q52845 Q3021334 Q5336982 Q1615365 Q1375477 Q165613 Q131827 Q1087192 Q3475397 Q2800091 Q2132317 Q3505731 Q660491 Q1050148 Q759052 Q16295128 Q1416857 Q972543 Q1018680 Q981401 Q7371835 Q7570941 Q106274 Q2308667 Q1298115 Q145972 Q755023 Q771572 Q2101079 Q926559 Q1583022 Q7113367 Q483522 Q255350 Q990664 Q1796876 Q982421 Q215633 Q981346 Q1084176 Q2143708 Q4874146 Q591960 Q7991947 Q268243 Q1870758 Q253760 Q2380037 Q1045310 Q4994419 Q795398 Q541405 Q2126669 Q70626 Q2370085 Q2274785 Q3217563 Q3475326 Q8931 Q22702084 Q1376559 Q656822 Q2076176 Q14706769 Q2483008 Q47420 Q530920 Q754435 Q754434 Q1843074 Q7415183 Q233903 Q61302 Q104740 Q3820323 Q2550281 Q485294 Q8082206 Q1094630 Q125293 Q3473053 Q31487 Q990179 Q1201337 Q1055692 Q3030402 Q991369 Q7056226 Q984521 Q1021562 Q590828 Q3413440 Q2538727 Q232624 Q1199774 Q2520354 Q41252 Q209034 Q4874329 Q649494 Q547878 Q6214169 Q993189 Q594154 Q489972 Q219358 Q2736169 Q584451 Q106583 Q3130627 Q576617 Q232641 Q418096 Q37333 Q1665368 Q257169 Q1544785 Q5266877 Q1133576 Q885631 Q614798 Q233495 Q622269 Q254861 Q1012975 Q774784 Q3347036 Q755623 Q2577056 Q5429843 Q6802441 Q745037 Q144792 Q11249 Q2165777 Q27998 Q877383 Q205380 Q735912 Q3709228 Q2443698 Q6686011 Q7375146 Q212713 Q990007 Q1638450 Q651009 Q988140 Q7668549 Q251601 Q53077 Q1775128 Q131429 Q82765 Q2350905 Q2534964 Q1375761 Q877922 Q1086191 Q1513045 Q461287 Q201516 Q2157385 Q1898562 Q286148 Q3476984 Q107106 Q126661 Q985098 Q5267677 Q3458750 Q1293366 Q2050326 Q502934 Q2669007 Q82500 Q7606541 Q691469 Q48256 Q3337593 Q14705694 Q985842 Q16256587 Q3461341 Q251325 Q6747299 Q7521064 Q690991 Q2290504 Q629530 Q1001474 Q871555 Q502741 Q2735639 Q720644 Q14835 Q3459768 Q599941 Q1190597 Q3474251 Q4416365 Q487070 Q12180369 Q311849 Q2136587 Q707110 Q552523 Q7203174 Q1197269 Q3101080 Q2187683 Q3300932 Q155211 Q102317 Q3468992 Q2935221 Q487958 Q1375996 Q1058775 Q1186442 Q726707 Q671474 Q65388 Q2680543 Q983650 Q257130 Q755901 Q698520 Q1916566 Q729552 Q768542 Q12413015 Q1182534 Q3316624 Q932057 Q7589002 Q979424 Q1669602 Q5430566 Q1012668 Q2375832 Q13383459 Q739700 Q963138 Q7987225 Q661734 Q542366 Q1132213 Q179295 Q2051179 Q2009100 Q755615 Q256996 Q1023862 Q773853 Q13581467 Q1231158 Q9022 Q131612 Q4572308 Q754782 Q1374602 Q1320403 Q2051585 Q681505 Q754074 Q3241032 Q7855984 Q503414 Q2578988 Q10751864 Q506528 Q1781122 Q250984 Q7161872 Q260186 Q521521 Q1011422 Q580649 Q41974 Q1268102 Q2785870 Q232635 Q232631
(c(Q334453)|c(Q1269299),P159,c(Q486972))
action argmin
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q334453
action find_reverse_tuple_counts
relation P159
type Q486972
type Q1269299
[ANSWERS] are the headquarters of min number of divisions and business organizations located
[[{'concept': 'Q334453'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?o WHERE { ?m rdf:type ?p . VALUES ( ?p ) { ( ontology:Q334453 ) ( ontology:Q1269299 ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?e WHERE { VALUES ( ?a ) { ( ontology:Q334453 ) ( ontology:Q1269299 ) } . ?s rdf:type ?a } GROUP BY ?e } . FILTER ( ?u = ?b ) }
Ripa di Fagnano Alto Milwaukee Redstone Arsenal Dayton Finthen San Cristóbal de las Casas Mojave Rosebud Pentagon City Lorton Hughesville Cockeysville San Francisco del Rincón Roslyn Heights Nakasero Kowloon Tong Verdi Aguascalientes Laughlin Air Force Base Don Mills Minot Air Force Base Saasen Los Alamos Offutt Air Force Base Schwaz Paradise Babelsberg Herbede Waianae Whiteman Air Force Base Potomac Gliwice Wyano Deggendorf Marina di Carrara Columbus Circle St. Michaels Krosno Bulford Camp Bremen-Vegesack East Meadow Deutsch-Wagram Inverness Keene Świętochłowice Gibsonton Valencia Stiepel Taman Tun Dr Ismail Francis E. Warren Air Force Base Hell's Kitchen Jack London District Lawrenceville Ried im Innkreis Beltsville Dénia Rybnik Tychy Levittown Valhalla Al Rigga San Pedro Prince Frederick Woodlyn Ferlach Nakawa Valley Ford Chorzów Rosedale Soquel Korneuburg Deer Park Christianshavn Luzira K. I. Sawyer Air Force Base Højbjerg Bassett Przemyśl Hollis McChord Field Schladming Plymouth Meeting Pikesville Shāre Naw Dziekanów Nowy Bergen op Zoom Sylmar Mountain Home Air Force Base Hebron Norton Manor Camp Sörnäinen Yarmouth Port Bad Kösen Mechanicsville Kichijōji Randolph Air Force Base Bushwick Hung Hom Lahaina University Park, Florida Smith River Fort Irwin National Training Center Inwood Sherman Oaks McLeansville Roihupellon teollisuusalue Glen Raven Vallecito Dundalk Lohr Hewlett Asagaya Reynosa Hauppauge Broomall, Pennsylvania Bridgeport Travemünde Yūrakuchō Valldoreix Flatiron District Ichigaya Air Force Academy West Seattle Linthicum Ariake Heathrow Allenton Suhl Grissom Air Reserve Base Hinnerup Reisterstown Aabybro Bolechowo, Greater Poland Voivodeship Sumida-ku Kita-ku Robins Air Force Base Suitland Hernandez Năvodari Harrisburg Chevy Chase (CDP), Maryland Niederdielfen Zola Predosa Ryōgoku Ławy, Ostrołęka County Blackwood Pasadena Ang Mo Kio Hershey Wehnrath Nakano-ku Słupsk Gardiner Reseda Ellsworth Air Force Base Ipanema Patrick Air Force Base North Bethesda Ginza Durlach Harleysville Eighty Four Neetzow West Bradenton Tiergarten Jaworzno Osnabrück Setauket-East Setauket Zielona Góra Płock Bukit Damansara Bugoloobi Hohenfelde Wrocław Groenlo Stukenbrock Arleta Knesebeck Chinatown Weißenborn-Lüderode Wengern Klagenfurt Newport Center Alamo Wertheim am Main Federal Hill Niwot Catonsville Mondorf Colonia del Valle Narew, Podlaskie Voivodeship Grand Bay New Paris Lichtenberg Amstetten Timonium West Village Hockessin Adachi Woodbridge Chevy Chase Maspeth Chesterbrook Katsushika-ku Wels Elliston Marchtrenk Fort Lee Bad Königshofen Downtown Miami Dorotheenstadt Orenco Reston Playa del Carmen South Norwalk Wałbrzych Playa Vista Worli Astoria Jelenia Góra Mittersill Aerzen Ridgewood Fort Stewart Civic Center Churchgate Steyr Little Neck Kailua White Marsh Obernburg Springfield Township Lower East Side Sennelager Divišov Sarita Vihar Kensington Freedom Loretteville, Quebec City Wysogotowo Brandon Pallanza Kentfield Sterling Marine Corps Base Quantico Vejlby Flatbush Austinburg Lee Vining Toruń Saalfelden Tyndall Air Force Base Land O' Lakes Seffner Triangle Jericho Eielson Air Force Base Tarnów Frankfurt-Flughafen Coolock Villastanza Siemianowice Śląskie Rheder Sokolniki, Podkarpackie Voivodeship Nanuet Pacific Palisades Akasaka Landover Fort Hood Stanford Port Washington Moody Air Force Base Hicksville Syosset Commack Southwest Canoga Park Guijuelo Rottenmann Ellicott City Neheim-Hüsten Radstadt Opole Celebration Shimanouchi Rio Grande Heven Chantilly Kailua Sady, Poznań County Chatsworth Millis-Clicquot Rechterfeld Ueno Chiyoda Stockdorf Oyster Bay (hamlet), New York Żoń Kohtla-Nõmme Innsbrook West Los Angeles Parel Joint Base McGuire–Dix–Lakehurst Arboga Spring Valley Berndorf, Lower Austria Englewood Fort Drum Bludenz Włocławek Kiln Mexicali Bethpage, New York Mead HaKirya Stieldorf Wan Chai Traun Martinsried Mission Hills Liesborn Ouagadougou East Berlin Judiciary Square Talkeetna Midtown Atlanta Steglitz Petersboro Whitestone Glen Allen Wright-Patterson Air Force Base Millers Falls Bellaterra Alzira Oberwart Greenville Clonskeagh High Ridge Times Square Elkridge Zinj, Bahrain Setagaya-ku Harlingen Merritt Island Byron Center Kirchberg, Luxembourg Evergreen Stevensville Theißen Shibaura Cancún Kufstein East Earl Malmstrom Air Force Base Marine Corps Base Hawaii Sun Valley Holt Ashburn El Dorado Hills Woodbury North Hills Drewitz Hilton Head Island Pest Albert Severna Park Rogowiec, Łódź Voivodeship Waidhofen an der Ybbs Short Hills Tsim Sha Tsui Islands Brygge Pearl City Zabrze Frankford Elbląg East Village Fort Carson Wabern bei Bern Riva Trigoso Columbine Dornbirn Korczyna, Podkarpackie Voivodeship Fort Leavenworth Causeway Bay Tampico Ciudad Victoria Crown Heights Vaajakoski Gloucester Courthouse Dąbrowa Górnicza Levent Centreville Morenci Point Reyes Station Exton Nerima-ku Dahlem Columbus Air Force Base Mérida Konin Deira Edendale Ootmarsum Annandale Darien, Connecticut Hittfeld Marlton Lansdowne Marine Corps Air Ground Combat Center Twentynine Palms Meridian Fort Lewis Jennersdorf Maslak Audubon Unterinn Lackland Air Force Base Great Falls Coconut Grove Teays Valley Rowayton Southport Legnica Acton Eglin Air Force Base Zamość Dover Air Force Base Williamsburg White City Springfield MacDill Air Force Base Over-the-Rhine Villach Pöchlarn Gush Etzion Kückelheim The Woodlands Łomża Spring Somerset Tavernier Bay View Kwai Chung Wheaton Białe Błota, Bydgoszcz County Okemos Neusiedl am See La Selva Beach North Point Pacoima Tappan Mestre Holiday Chicago Loop Ruoholahti Gold Canyon Lanham Dakota Dunes Klotzsche Glattbrugg Stony Brook Gray Summit Incline Village-Crystal Bay Latham Nixon Maser North Highlands Woodlawn Olney Wimauma San Po Kong Meguro-ku Chihuahua Radom Crystal City Clinton Township Leoben Świerże Górne Clackamas Puebla City Bedford Hills Kraków Mountain View Tsukiji Milano Due Virginia Key Fort Bragg North Omaha Old Greenwich Paoli Spring Valley Støvring Oosterdokseiland Arakawa-ku Westwood Ooltewah Bydgoszcz Toluca Bayard Pfiffelbach Kearny Mesa Joelton Tongaat Laughlin Schwechat Mierzyn, Police County Uniontown Bethesda Bielsko-Biała Lithia Springs Scott Air Force Base Taitō-ku Akihabara Lublin Wernesgrün Fox Greenpoint Devens Fort Washington Blue Bell Riverside Shinagawa-ku Aptos Waikiki Kahului Winchester Chatsworth Owings Mills Grand Forks Air Force Base Fair Lakes McNair Glenside Topanga Midtown Manhattan Blountville Westerland Dahlewitz Greenwich Village Nellis Air Force Base Trevose Palm City Loudonville Royapettah Bunkyō-ku Monclova Hurlburt Field Halensee Marina del Rey T. Nagar Nişantaşı Saltillo Gómez Palacio Oaxaca de Juárez Olsztyn East Palatka Redford Fort Belvoir Tailfingen Lawrenceville Fairchild Air Force Base Ostrołęka Miami Beach Little River White River Junction Manhasset Plainview Jastrzębie-Zdrój Metairie Kotlin Devon Scotia Teesside Northridge Klingenberg am Main Lake Hamilton St. Pölten Stefanowo, Masovian Voivodeship Julian Dnipro Near West Side Lakewood (CDP), New Jersey Fener Carthay Orangeburg Vöcklabruck Manchester Center Simpson East Los Angeles Penrose Gold River Crown Heights Groß-Enzersdorf Iphofen Portonovo Asakusa Bautzen Ronkonkoma Adlershof Long Island City Denver Centretown Dessau Umm Al Hassam Warnemünde Ladson Fort Bliss Mellrichstadt Playa del Rey Nagatachō Melville Cannon Air Force Base Brentwood Lichterfelde Kielce Holtsville Camp Lemonnier Leonding West Falls Church Flushing King of Prussia Newell Lankwitz Hardthöhe South Deerfield Fort Knox Ansfelden Germantown Liezen Bielany Wrocławskie Kamppi Andrews Field Andheri Willow Grove Temperance Cos Cob St. Johns Lake Arrowhead Taylors Fairmede-Hilltop Window Rock Estero Nacka East End of London McLean Westchase Wieselburg Ikebukuro Ardmore Dallas–Fort Worth metroplex Tucker Oberau Towson Grieskirchen Velké Němčice Venice Bofareira Crusinallo Guadalajara Wiener Neustadt Embassy Row Accokeek Forest Jamaica Stafford Holloman Air Force Base Clarksburg Foothill Ranch Turners Falls Nörten-Hardenberg Tyneside Horsham Marktheidenfeld Red Hook Bad Ischl Pemberton Perg Köpenick El Palmar de Troya Celaya Franeker Kasumigaseki Cedar Mill Itabashi-ku Suginami-ku
Kraków, Lublin and Wrocław are the headquarters of min number of divisions and business organizations located
Kraków Lublin Wrocław
action argmin
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type division
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type type of business entity
[[{'concept': 'division'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?o WHERE { ?m rdf:type ?p . VALUES ( ?p ) { ( ontology:division ) ( ontology:type_of_business_entity ) } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?e WHERE { VALUES ( ?a ) { ( ontology:division ) ( ontology:type_of_business_entity ) } . ?s rdf:type ?a } GROUP BY ?e } . FILTER ( ?u = ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1055
P840
Q2342494 Q341
USER
How many collectables or free software have their narrative set in Hamburg ?
(c(Q2342494),P840,Q1055) (c(Q341),P840,Q1055)
action count
action union
action filter_type
action find_reverse
entity Q1055
relation P840
type Q2342494
action filter_type
action find_reverse
entity Q1055
relation P840
type Q341
[{'concept': 'Q2342494'}, 'P840', 'Q1055'] [{'concept': 'Q341'}, 'P840', 'Q1055']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q341 ) } }
Hamburg
action count
action union
action filter_type
action find_reverse
entity Hamburg
relation narrative location
type collectable
action filter_type
action find_reverse
entity Hamburg
relation narrative location
type free software
[{'concept': 'collectable'}, 'narrative location', 'Hamburg'] [{'concept': 'free software'}, 'narrative location', 'Hamburg']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?h . VALUES ( ?h ) { ( ontology:collectable ) ( ontology:free_software ) } }
[]
collectable free software
SYSTEM
5
Q543790 Q23498399 Q587945 Q11446611 Q7798922
(c(Q2342494),P840,Q1055) (c(Q341),P840,Q1055)
action count
action union
action filter_type
action find_reverse
entity Q1055
relation P840
type Q2342494
action filter_type
action find_reverse
entity Q1055
relation P840
type Q341
[ANSWER]
[{'concept': 'Q2342494'}, 'P840', 'Q1055'] [{'concept': 'Q341'}, 'P840', 'Q1055']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q341 ) } }
Thrilling Cities Der goldene Handschuh Mephisto Guy in Handcuffs... SimCity
5
action count
action union
action filter_type
action find_reverse
entity Hamburg
relation narrative location
type collectable
action filter_type
action find_reverse
entity Hamburg
relation narrative location
type free software
[{'concept': 'collectable'}, 'narrative location', 'Hamburg'] [{'concept': 'free software'}, 'narrative location', 'Hamburg']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?h . VALUES ( ?h ) { ( ontology:collectable ) ( ontology:free_software ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q735759
P190
Q486972 Q1048835
USER
Which political territories are twin city of greater number of human settlements than Collado Villalba ?
(c(Q1048835),P190,c(Q486972))
action greater
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action count
action filter_type
action find
entity Q735759
relation P190
type Q1048835
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?n ) WHERE { ?z property:P190 ?k . ?z rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q486972 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ontology:Q1048835 . resource:Q735759 property:P190 ?l } } . FILTER ( ?n > ?f ) }
Collado Villalba
action greater
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action count
action filter_type
action find
entity Collado Villalba
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?n ) WHERE { ?z property:sister_city ?k . ?z rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:human_settlement } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Collado_Villalba property:sister_city ?l } } . FILTER ( ?n > ?f ) }
[]
human settlement political territorial entity
Q436491 Q5826 Q615722
SYSTEM
Altea, Xi'an, Santa Fe
Q5963 Q1312654 Q496588 Q12339 Q11746 Q13521 Q4970 Q1769167 Q485129 Q15174 Q12587 Q10436 Q748078 Q8184 Q188905 Q42956 Q281272 Q436491 Q221749 Q639422 Q615722 Q465085 Q943431 Q695456 Q11720 Q353618 Q10445 Q984821 Q74881 Q5826 Q203040
(c(Q1048835),P190,c(Q486972))
action greater
action find_tuple_counts
relation P190
type Q1048835
type Q486972
action count
action filter_type
action find
entity Q735759
relation P190
type Q1048835
[ANSWERS] are twin city of greater number of human settlements than Collado Villalba
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?n ) WHERE { ?z property:P190 ?k . ?z rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q486972 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ontology:Q1048835 . resource:Q735759 property:P190 ?l } } . FILTER ( ?n > ?f ) }
Hanover region Carlet Oñati Sant Joan de les Abadesses Wuhan Sant Feliu de Guíxols Hangzhou Cigales Burgo de Osma-Ciudad de Osma Shenzhen Santa Susanna Kulmbach Neath Port Talbot County Borough Enz Ouro Preto Harbin Linares Altea Torrevieja Pozuelo de Alarcón Santa Fe Almadén Granadilla de Abona Bailén Shenyang Adeje Forchheim Onda Dalian Xi'an El Puerto de Santa María
Altea, Xi'an and Santa Fe are twin city of greater number of human settlements than Collado Villalba
Altea Xi'an Santa Fe
action greater
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
action count
action filter_type
action find
entity Collado Villalba
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?n ) WHERE { ?z property:sister_city ?k . ?z rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:human_settlement } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Collado_Villalba property:sister_city ?l } } . FILTER ( ?n > ?f ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are twin cities of that political territory ?
(Q436491,P190,c(Q56061))
['Q436491', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q436491 property:P190 ?z . ?z rdf:type ontology:Q56061 }
['Altea', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Altea property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q615722
SYSTEM
Did you mean Santa Fe ?
(Q436491,P190,c(Q56061)) (Q5826,P190,c(Q56061)) (Q615722,P190,c(Q56061))
[ANSWER]
['Q436491', 'P190', {'concept': 'Q56061'}] ['Q5826', 'P190', {'concept': 'Q56061'}] ['Q615722', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q436491 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Santa Fe ?
Santa Fe
['Altea', 'sister city', {'concept': 'administrative territorial entity'}] ["Xi'an", 'sister city', {'concept': 'administrative territorial entity'}] ['Santa Fe', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Altea property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Altea. Could you tell me the answer for that?
(Q436491,P190,c(Q56061))
Q436491
['Q436491', 'P190', {'concept': 'Q56061'}]
['Altea', 'sister city', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
14
Q15922 Q1009405 Q11874 Q353854 Q1006408 Q586895 Q499318 Q141796 Q213898 Q985402 Q954157 Q405136 Q27678 Q530309
(Q436491,P190,c(Q56061))
[ANSWER]
['Q436491', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q436491 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Škofja Loka Bundoran Zvolen Agros Sesimbra Municipality Sherborne Prienai Türi Preveza Niederanven Chojna Tryavna Holstebro Karkkila
14
['Altea', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Altea property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q559300 Q536228
P47 P17
Q1048835
USER
Which political territories are Jungheinrich located in or share border with Cúllar ?
OR((Q536228,P17,c(Q1048835)), (Q559300,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q536228
relation P17
action find
entity Q559300
relation P47
type Q1048835
{'OR': [['Q536228', 'P17', {'concept': 'Q1048835'}], ['Q559300', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q536228 property:P17 ?p } UNION { resource:Q559300 property:P47 ?p } } . ?p rdf:type ontology:Q1048835 }
Cúllar Jungheinrich
action filter_type
action union
action find
entity Jungheinrich
relation country
action find
entity Cúllar
relation shares border with
type political territorial entity
{'OR': [['Jungheinrich', 'country', {'concept': 'political territorial entity'}], ['Cúllar', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Jungheinrich property:country ?p } UNION { resource:Cúllar property:shares_border_with ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q1048769 Q1606427 Q574343 Q554238 Q1358237 Q284894 Q1444097 Q555929 Q555918
SYSTEM
Some of them are Germany, Chirivel, Serón, Galera, Benamaurel, Lúcar, Tíjola, Oria, Caniles, Castilléjar
Q574343 Q1358237 Q1048769 Q284894 Q183 Q1606427 Q555918 Q555929 Q490472 Q1444097 Q554238
OR((Q536228,P17,c(Q1048835)), (Q559300,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q536228
relation P17
action find
entity Q559300
relation P47
type Q1048835
Jungheinrich are located share of [ANSWERS]
{'OR': [['Q536228', 'P17', {'concept': 'Q1048835'}], ['Q559300', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q536228 property:P17 ?p } UNION { resource:Q559300 property:P47 ?p } } . ?p rdf:type ontology:Q1048835 }
Galera Lúcar Chirivel Tíjola Germany Serón Castilléjar Caniles Baza Oria Benamaurel
Jungheinrich are located share of Germany, Chirivel, Serón, Galera, Benamaurel, Lúcar, Tíjola, Oria, Caniles and Castilléjar
Germany Chirivel Serón Galera Benamaurel Lúcar Tíjola Oria Caniles Castilléjar
action filter_type
action union
action find
entity Jungheinrich
relation country
action find
entity Cúllar
relation shares border with
type political territorial entity
{'OR': [['Jungheinrich', 'country', {'concept': 'political territorial entity'}], ['Cúllar', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Jungheinrich property:country ?p } UNION { resource:Cúllar property:shares_border_with ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q1048835 Q2342494 Q7725634
USER
Which political territories did atmost 55 collectables or literary works originate ?
(c(Q2342494)|c(Q7725634),P495,c(Q1048835))
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q7725634
value 55
[[{'concept': 'Q2342494'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?f WHERE { { ?l property:P495 ?f . ?f rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q2342494 } UNION { ?l property:P495 ?f . ?f rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q7725634 } } GROUP BY ?f } . FILTER ( ?g <= 55 ) }
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type literary work
value 55
[[{'concept': 'collectable'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?f WHERE { { ?l property:country_of_origin ?f . ?f rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:collectable } UNION { ?l property:country_of_origin ?f . ?f rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:literary_work } } GROUP BY ?f } . FILTER ( ?g <= 55 ) }
[]
political territorial entity collectable literary work
Q40 Q5705 Q664
SYSTEM
Austria, Catalonia, New Zealand
Q1000 Q1747689 Q838261 Q769 Q763 Q664 Q766 Q1054923 Q13353 Q781 Q5705 Q1823 Q407199 Q778 Q691 Q234 Q2991382 Q40 Q9337 Q23635 Q31747 Q129286
(c(Q2342494)|c(Q7725634),P495,c(Q1048835))
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q7725634
value 55
Atmost 55 collectables or literary works originated from [ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?f WHERE { { ?l property:P495 ?f . ?f rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q2342494 } UNION { ?l property:P495 ?f . ?f rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q7725634 } } GROUP BY ?f } . FILTER ( ?g <= 55 ) }
Gabon Ancient Rome Federal Republic of Yugoslavia Grenada Saint Kitts and Nevis New Zealand Jamaica British Hong Kong Montserrat Antigua and Barbuda Catalonia Aceh Palestinian territories The Bahamas Papua New Guinea Flemish Region County of Provence Austria Flemish Region Bermuda Irish Free State British Raj
Atmost 55 collectables or literary works originated from Austria, Catalonia and New Zealand
Austria Catalonia New Zealand
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type literary work
value 55
[[{'concept': 'collectable'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?f WHERE { { ?l property:country_of_origin ?f . ?f rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:collectable } UNION { ?l property:country_of_origin ?f . ?f rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:literary_work } } GROUP BY ?f } . FILTER ( ?g <= 55 ) }
[]