Simple Question (Direct)
Simple Question
Q1189254
P106
Q12737077
USER
What is the job of Dennis Kempe ?
(Q1189254,P106,c(Q12737077))
action filter_type
action find
entity Q1189254
relation P106
type Q12737077
['Q1189254', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1189254 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Dennis Kempe
action filter_type
action find
entity Dennis Kempe
relation occupation
type occupation
['Dennis Kempe', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Dennis_Kempe property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1189254,P106,c(Q12737077))
action filter_type
action find
entity Q1189254
relation P106
type Q12737077
The job of Dennis Kempe is an [ANSWER]
['Q1189254', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1189254 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
association football player
The job of Dennis Kempe is an association football player
association football player
action filter_type
action find
entity Dennis Kempe
relation occupation
type occupation
['Dennis Kempe', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Dennis_Kempe property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1189254
P40
Q502895
USER
Which person has that one as a child ?
(c(Q502895),P40,Q937857)
action filter_type
action find_reverse
entity Q1189254
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q937857']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P40 resource:Q1189254 }
Dennis Kempe
action filter_type
action find_reverse
entity Dennis Kempe
relation child
type common name
[{'concept': 'common name'}, 'child', 'association football player']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:child resource:Dennis_Kempe }
[]
common name
Q90117
SYSTEM
Thomas Kempe
Q90117
(c(Q502895),P40,Q937857)
action filter_type
action find_reverse
entity Q1189254
relation P40
type Q502895
The [ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q937857']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P40 resource:Q1189254 }
Thomas Kempe
The Thomas Kempe has that one as a child
Thomas Kempe
action filter_type
action find_reverse
entity Dennis Kempe
relation child
type common name
[{'concept': 'common name'}, 'child', 'association football player']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:child resource:Dennis_Kempe }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90117
P19
Q486972
USER
Which human settlement was that person born at ?
(Q90117,P19,c(Q486972))
action filter_type
action find
entity Q90117
relation P19
type Q486972
['Q90117', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?t WHERE { resource:Q90117 property:P19 ?t . ?t rdf:type ontology:Q486972 }
Thomas Kempe
action filter_type
action find
entity Thomas Kempe
relation place of birth
type human settlement
['Thomas Kempe', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?t WHERE { resource:Thomas_Kempe property:place_of_birth ?t . ?t rdf:type ontology:human_settlement }
[]
human settlement
Q1957911
SYSTEM
Möllen
Q1957911
(Q90117,P19,c(Q486972))
action filter_type
action find
entity Q90117
relation P19
type Q486972
That person was born in [ANSWER]
['Q90117', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?t WHERE { resource:Q90117 property:P19 ?t . ?t rdf:type ontology:Q486972 }
Möllen
That person was born in Möllen
Möllen
action filter_type
action find
entity Thomas Kempe
relation place of birth
type human settlement
['Thomas Kempe', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?t WHERE { resource:Thomas_Kempe property:place_of_birth ?t . ?t rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1957911 Q16769833
P19
Q502895
USER
Does Atsushi Ōshima have birthplace at that human settlement ?
(Q16769833,P19,Q1957911)
action is_in
entity Q16769833
action find
entity Q1957911
relation P19
['Q16769833', 'P19', 'Q1957911']
ASK WHERE { resource:Q1957911 property:P19 resource:Q16769833 }
Möllen Atsushi Ōshima
action is_in
entity Atsushi Ōshima
action find
entity Möllen
relation place of birth
['Atsushi Ōshima', 'place of birth', 'Möllen']
ASK WHERE { resource:Möllen property:place_of_birth resource:Atsushi_Ōshima }
[]
common name
SYSTEM
NO
(Q16769833,P19,Q1957911)
action is_in
entity Q16769833
action find
entity Q1957911
relation P19
[ANSWER]
['Q16769833', 'P19', 'Q1957911']
ASK WHERE { resource:Q1957911 property:P19 resource:Q16769833 }
No
action is_in
entity Atsushi Ōshima
action find
entity Möllen
relation place of birth
['Atsushi Ōshima', 'place of birth', 'Möllen']
ASK WHERE { resource:Möllen property:place_of_birth resource:Atsushi_Ōshima }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q937857
P106
Q215380 Q6619679
USER
How many bands or fictional humanoids have career as association football player ?
(c(Q215380),P106,Q937857) (c(Q6619679),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q215380
action filter_type
action find_reverse
entity Q937857
relation P106
type Q6619679
[{'concept': 'Q215380'}, 'P106', 'Q937857'] [{'concept': 'Q6619679'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:P106 resource:Q937857 . ?g rdf:type ontology:Q215380 } UNION { ?g rdf:type ontology:Q6619679 . ?g property:P106 resource:Q937857 } }
association football player
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type band
action filter_type
action find_reverse
entity association football player
relation occupation
type fictional humanoid
[{'concept': 'band'}, 'occupation', 'association football player'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:occupation resource:association_football_player . ?g rdf:type ontology:band } UNION { ?g rdf:type ontology:fictional_humanoid . ?g property:occupation resource:association_football_player } }
[]
band fictional humanoid
SYSTEM
25
Q8994224 Q3482197 Q6835842 Q5292194 Q3498435 Q10303719 Q5220860 Q5246215 Q2567460 Q7384370 Q6163280 Q5049092 Q1000043 Q7626893 Q6371793 Q2939461 Q7937796 Q5136888 Q3482651 Q6701906 Q5195672 Q1000560 Q4913115 Q5360264 Q5489814
(c(Q215380),P106,Q937857) (c(Q6619679),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q215380
action filter_type
action find_reverse
entity Q937857
relation P106
type Q6619679
[ANSWER]
[{'concept': 'Q215380'}, 'P106', 'Q937857'] [{'concept': 'Q6619679'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:P106 resource:Q937857 . ?g rdf:type ontology:Q215380 } UNION { ?g rdf:type ontology:Q6619679 . ?g property:P106 resource:Q937857 } }
Lee Presley Shingo Aoi Michal Vepřek Don Barker Stephan Levin Tachibana brothers Danny Sullivan Dean Hocknell Santiago Muñez Cardona Ryan Naysmith Jason Porter Casper Rose Ken Wakashimazu Stuart Naysmith Karl Fletcher Carlos Santana Vivian Wright Clyde Connelly Shun Nitta Luke Davenport Curtis Alexander Hikaru Matsuyama Billy O'Neil Eli Knox Frank Stone
25
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type band
action filter_type
action find_reverse
entity association football player
relation occupation
type fictional humanoid
[{'concept': 'band'}, 'occupation', 'association football player'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:occupation resource:association_football_player . ?g rdf:type ontology:band } UNION { ?g rdf:type ontology:fictional_humanoid . ?g property:occupation resource:association_football_player } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P159
Q486972 Q895526 Q874405
USER
Which human settlements are the HQ of min number of authority organs or social groups ?
(c(Q895526)|c(Q874405),P159,c(Q486972))
action argmin
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
action find_reverse_tuple_counts
relation P159
type Q486972
type Q874405
[[{'concept': 'Q895526'}, {'concept': 'Q874405'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?o WHERE { { ?d property:P159 ?o . ?d rdf:type ontology:Q895526 . ?o rdf:type ontology:Q486972 } UNION { ?d property:P159 ?o . ?o rdf:type ontology:Q486972 . ?d rdf:type ontology:Q874405 } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?j WHERE { { ?y property:P159 ?j . ?j rdf:type ontology:Q486972 . ?y rdf:type ontology:Q895526 } UNION { ?y property:P159 ?j . ?y rdf:type ontology:Q874405 . ?j rdf:type ontology:Q486972 } } GROUP BY ?j } . FILTER ( ?s = ?q ) }
action argmin
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type social group
[[{'concept': 'authority organ'}, {'concept': 'social group'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?o WHERE { { ?d property:headquarters_location ?o . ?d rdf:type ontology:authority_organ . ?o rdf:type ontology:human_settlement } UNION { ?d property:headquarters_location ?o . ?o rdf:type ontology:human_settlement . ?d rdf:type ontology:social_group } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?j WHERE { { ?y property:headquarters_location ?j . ?j rdf:type ontology:human_settlement . ?y rdf:type ontology:authority_organ } UNION { ?y property:headquarters_location ?j . ?y rdf:type ontology:social_group . ?j rdf:type ontology:human_settlement } } GROUP BY ?j } . FILTER ( ?s = ?q ) }
[]
human settlement authority organ social group
Q31487 Q1792 Q37333
SYSTEM
Kraków, Gdańsk, Lublin
Q3936330 Q6861655 Q1020984 Q1648853 Q524894 Q1943133 Q2019376 Q1375895 Q753704 Q754698 Q2384255 Q3088462 Q15278 Q7921102 Q200805 Q982089 Q14875138 Q1114128 Q514039 Q318637 Q626985 Q583485 Q984542 Q797635 Q871085 Q1413686 Q1940767 Q755844 Q105084 Q6168404 Q16083 Q16965 Q109968 Q659984 Q2141281 Q826068 Q4996138 Q315005 Q2026633 Q660921 Q6060171 Q2658906 Q45197 Q615845 Q1319893 Q881250 Q7680666 Q1956149 Q840133 Q6113733 Q6504819 Q267791 Q753707 Q646725 Q107094 Q212704 Q11977 Q1183907 Q2362234 Q621847 Q290356 Q754567 Q1185880 Q610514 Q920538 Q104302 Q648142 Q1898575 Q659841 Q6706611 Q1873040 Q5964801 Q1377121 Q208473 Q62212 Q1520213 Q254221 Q1183878 Q755020 Q7506066 Q5319775 Q192508 Q3506894 Q1407551 Q5695982 Q7060656 Q944249 Q284596 Q661502 Q1375703 Q287771 Q980034 Q2288728 Q7545295 Q186160 Q193638 Q2376972 Q1015874 Q2027935 Q2027231 Q2309447 Q261549 Q754390 Q504774 Q3477054 Q720383 Q738303 Q3476502 Q990622 Q2925167 Q321792 Q1376701 Q2891751 Q1427377 Q2404952 Q2190340 Q731067 Q753673 Q2861159 Q2423734 Q4732048 Q14891 Q1547093 Q3175755 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 Q5349166 Q556403 Q1957728 Q158006 Q2916 Q996014 Q104720 Q104725 Q4986889 Q4986229 Q1147 Q1799 Q72991 Q1792 Q896601 Q2841135 Q1777036 Q866332 Q579006 Q41753 Q1983602 Q241598 Q61912 Q5440243 Q960555 Q755075 Q1944295 Q984797 Q4313126 Q1274917 Q2433531 Q9169094 Q251231 Q7806933 Q254769 Q213464 Q1375929 Q4404091 Q6783909 Q1134243 Q232628 Q178582 Q325436 Q1376750 Q571926 Q2215877 Q677514 Q3710352 Q989988 Q7568037 Q110732 Q3177723 Q1934607 Q121765 Q147934 Q257244 Q381811 Q7332840 Q1438754 Q985666 Q260320 Q6651117 Q627970 Q2542346 Q503030 Q1185930 Q1511813 Q883649 Q854992 Q7424129 Q4407430 Q3259538 Q8040539 Q898109 Q3892388 Q2450147 Q994379 Q1782664 Q7918736 Q840381 Q3473176 Q1062203 Q47554 Q183228 Q1498314 Q2375799 Q2150258 Q4082 Q3476975 Q2722822 Q106281 Q560737 Q680518 Q2384909 Q158485 Q2147425 Q9339216 Q3268640 Q1370207 Q1374864 Q416131 Q1811669 Q783854 Q173813 Q2625576 Q1337818 Q3452166 Q3056724 Q3459193 Q3492347 Q2457268 Q1605747 Q675678 Q730938 Q314660 Q260950 Q92212 Q1001696 Q11476196 Q1085215 Q2586698 Q328451 Q532459 Q24879 Q7398147 Q1020942 Q9033167 Q1388359 Q576781 Q1075077 Q1225691 Q3477026 Q3477020 Q4025753 Q645296 Q6036351 Q2543669 Q4856263 Q1087465 Q669660 Q992507 Q666615 Q1004000 Q1150555 Q494504 Q106681 Q2131161 Q199440 Q1144537 Q6008135 Q130711 Q2348460 Q260176 Q259230 Q1918669 Q1824274 Q3777 Q6303071 Q668224 Q6843071 Q215175 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 Q572052 Q103892 Q1444808 Q104712 Q1043326 Q602739 Q3937847 Q1112702 Q995267 Q171219 Q3460944 Q590879 Q564732 Q273014 Q331661 Q7907801 Q1376442 Q108672 Q48898 Q1374678 Q1249583 Q2088643 Q1016263 Q232655 Q700541 Q1657653 Q165204 Q52845 Q5336982 Q1615365 Q1375477 Q831391 Q165613 Q131827 Q1087192 Q3475397 Q2800091 Q2132317 Q688830 Q3505731 Q660491 Q1050148 Q759052 Q769446 Q190088 Q16295128 Q1416857 Q972543 Q1018680 Q981401 Q7371835 Q7570941 Q106274 Q2308667 Q1298115 Q145972 Q755023 Q771572 Q2101079 Q926559 Q1583022 Q7113367 Q483522 Q990664 Q1796876 Q982421 Q215633 Q981346 Q1084176 Q2143708 Q4874146 Q591960 Q268243 Q1870758 Q253760 Q2380037 Q4994419 Q795398 Q541405 Q2126669 Q70626 Q2274785 Q217234 Q3217563 Q3475326 Q8931 Q22702084 Q1376559 Q656822 Q2076176 Q14706769 Q47420 Q530920 Q754434 Q1843074 Q7415183 Q233903 Q61302 Q104740 Q2550281 Q485294 Q8082206 Q1094630 Q3473053 Q31487 Q990179 Q1201337 Q1055692 Q7056226 Q595153 Q984521 Q1021562 Q590828 Q3413440 Q2538727 Q232624 Q1199774 Q2520354 Q41252 Q209034 Q4874329 Q649494 Q6214169 Q993189 Q594154 Q489972 Q219358 Q2736169 Q106583 Q3130627 Q576617 Q232641 Q418096 Q37333 Q1665368 Q257169 Q1544785 Q308928 Q5266877 Q885631 Q614798 Q233495 Q2843 Q622269 Q1012975 Q774784 Q3347036 Q3143067 Q755623 Q2577056 Q5429843 Q6802441 Q745037 Q268 Q144792 Q11249 Q2165777 Q27998 Q877383 Q205380 Q735912 Q3709228 Q2443698 Q6686011 Q7375146 Q212713 Q990007 Q1638450 Q651009 Q988140 Q7668549 Q251601 Q53077 Q1775128 Q131429 Q82765 Q2534964 Q877922 Q1086191 Q1513045 Q461287 Q201516 Q2157385 Q1898562 Q286148 Q3476984 Q107106 Q126661 Q985098 Q5267677 Q3458750 Q1293366 Q2050326 Q502934 Q2669007 Q82500 Q7606541 Q691469 Q48256 Q3337593 Q14705694 Q236680 Q985842 Q16256587 Q3461341 Q251325 Q6747299 Q7521064 Q690991 Q2290504 Q629530 Q1001474 Q871555 Q502741 Q2735639 Q720644 Q14835 Q3459768 Q265071 Q599941 Q1190597 Q1190590 Q3474251 Q4416365 Q487070 Q12180369 Q311849 Q2136587 Q707110 Q552523 Q7203174 Q1197269 Q3101080 Q2187683 Q3300932 Q155211 Q102317 Q3468992 Q2935221 Q487958 Q1375996 Q1058775 Q1186442 Q726707 Q81033 Q671474 Q65388 Q2680543 Q983650 Q257130 Q698520 Q1916566 Q768542 Q12413015 Q1182534 Q976443 Q3316624 Q932057 Q7589002 Q979424 Q1669602 Q5430566 Q1012668 Q2375832 Q13383459 Q739700 Q7987225 Q661734 Q542366 Q1132213 Q179295 Q2051179 Q2009100 Q256996 Q1023862 Q773853 Q13581467 Q1231158 Q9022 Q131612 Q4572308 Q754782 Q1374602 Q1320403 Q681505 Q754074 Q3241032 Q7855984 Q503414 Q2578988 Q10751864 Q506528 Q1781122 Q250984 Q7161872 Q260186 Q521521 Q1011422 Q580649 Q2013767 Q41974 Q2785870 Q232635 Q232631
(c(Q895526)|c(Q874405),P159,c(Q486972))
action argmin
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
action find_reverse_tuple_counts
relation P159
type Q486972
type Q874405
[ANSWERS] are the HQ of min number of authority organs or social groups
[[{'concept': 'Q895526'}, {'concept': 'Q874405'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?o WHERE { { ?d property:P159 ?o . ?d rdf:type ontology:Q895526 . ?o rdf:type ontology:Q486972 } UNION { ?d property:P159 ?o . ?o rdf:type ontology:Q486972 . ?d rdf:type ontology:Q874405 } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?j WHERE { { ?y property:P159 ?j . ?j rdf:type ontology:Q486972 . ?y rdf:type ontology:Q895526 } UNION { ?y property:P159 ?j . ?y rdf:type ontology:Q874405 . ?j rdf:type ontology:Q486972 } } GROUP BY ?j } . FILTER ( ?s = ?q ) }
Ripa di Fagnano Alto Milwaukee Dayton Finthen San Cristóbal de las Casas Mojave Rosebud Lorton Hughesville Cockeysville San Francisco del Rincón Roslyn Heights 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 Ternitz 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 Chūō-ku Tychy Levittown Valhalla Merenberg San Pedro Prince Frederick Woodlyn Ferlach Valley Ford Chorzów Rosedale Soquel Korneuburg 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 Yarmouth Port Eisenerz Mattighofen Mechanicsville Kichijōji Randolph Air Force Base Bushwick Smith River Fort Irwin National Training Center Shibuya-ku Inwood Sherman Oaks McLeansville Glen Raven Vallecito Berwyn 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 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 Eighty Four Neetzow West Bradenton Jaworzno Osnabrück Setauket-East Setauket Zielona Góra Płock Bukit Damansara Bugoloobi Hohenfelde Wrocław Groenlo Gdańsk Stukenbrock Arleta Knesebeck Chinatown Weißenborn-Lüderode 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 Hockessin Adachi Woodbridge Chevy Chase Maspeth Chesterbrook Katsushika-ku Wels Marchtrenk Fort Lee Bad Königshofen Downtown Miami Dorotheenstadt Orenco Playa del Carmen South Norwalk Wałbrzych Playa Vista Worli Astoria Jelenia Góra Mittersill Aerzen Ridgewood Fort Stewart Churchgate Steyr Little Neck Kailua White Marsh Obernburg Springfield Township Lower East Side Sennelager Divišov Sarita Vihar 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 Hattingen Jericho Eielson Air Force Base Tarnów Frankfurt-Flughafen Coolock Villastanza Siemianowice Śląskie Rheder Sokolniki, Podkarpackie Voivodeship Nanuet Pacific Palisades Tysons Corner Akasaka Landover Fort Hood Stanford Moody Air Force Base Woodland Hills Hicksville Syosset Commack Southwest Canoga Park Guijuelo Rottenmann Ellicott City Neheim-Hüsten Radstadt Opole Celebration Shimanouchi Rio Grande Heven Chantilly Kailua Bremen Sady, Poznań County Chatsworth Millis-Clicquot Rechterfeld Ueno Chiyoda Stockdorf Oyster Bay (hamlet), New York Carle Place Ż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 Traun Martinsried Mission Hills Liesborn Ouagadougou Judiciary Square Talkeetna Midtown Atlanta Kōtō-ku 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 Pearl City Zabrze Frankford Elbląg East Village Fort Carson Riva Trigoso Columbine Bryn Mawr Dornbirn Korczyna, Podkarpackie Voivodeship Fort Leavenworth Causeway Bay Tampico Ciudad Victoria Vaajakoski Gloucester Courthouse Dąbrowa Górnicza Levent Centreville Morenci Point Reyes Station Exton Nerima-ku Dahlem Columbus Air Force Base Mérida Konin Edendale Ootmarsum Annandale Hesborn Darien, Connecticut Hittfeld Marlton Lansdowne Marine Corps Air Ground Combat Center Twentynine Palms Meridian Armonk Fort Lewis Jennersdorf Maslak Audubon Van Nuys Minato 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 Gush Etzion Kückelheim The Woodlands Łomża Spring Somerset Tavernier Bay View Kwai Chung Białe Błota, Bydgoszcz County Okemos Neusiedl am See La Selva Beach Pacoima Tappan Mestre Holiday Chicago Loop Gold Canyon Ōta-ku Lanham Dakota Dunes Klotzsche Glattbrugg Stony Brook Gray Summit Incline Village-Crystal Bay Latham Maser North Highlands Olney Wimauma San Po Kong Meguro-ku Chihuahua Radom Clinton Township Leoben Świerże Górne Clackamas Bedford Hills Kraków Mountain View Tsukiji Milano Due North Omaha Shibuya Old Greenwich Paoli Spring Valley Støvring Oosterdokseiland Arakawa-ku Westwood Ooltewah Bydgoszcz Toluca Bayard Pfiffelbach Joelton Tongaat Laughlin Schwechat Mierzyn, Police County Uniontown Bielsko-Biała Lithia Springs Scott Air Force Base Taitō-ku Akihabara Lublin Wernesgrün Fox Greenpoint Kreuzberg Devens Blue Bell Riverside Shinagawa-ku Lübeck Aptos Kahului Winchester Chatsworth Studio City Owings Mills Grand Forks Air Force Base Fair Lakes McNair Glenside Poznań 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 Redford 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 Toshima-ku Fener Carthay Orangeburg Vöcklabruck Manchester Center Simpson East Los Angeles Penrose Gold River Crown Heights Groß-Enzersdorf Iphofen Portonovo Asakusa Bautzen Ronkonkoma Roppongi Adlershof Long Island City Encino 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 Monterrey Lankwitz Hardthöhe South Deerfield Fort Knox Ansfelden Liezen Bielany Wrocławskie Andrews Field Andheri Willow Grove Katajanokka Temperance Cos Cob St. Johns Lake Arrowhead Taylors Fairmede-Hilltop Window Rock Estero Nacka East End of London Westchase Wieselburg Ikebukuro Ardmore Dallas–Fort Worth metroplex Tucker Oberau Grieskirchen Velké Němčice Venice Bofareira Crusinallo Guadalajara Wiener Neustadt Embassy Row Accokeek Forest Jamaica 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 Mitte Franeker Cedar Mill Itabashi-ku Suginami-ku
Kraków, Gdańsk and Lublin are the HQ of min number of authority organs or social groups
Kraków Gdańsk Lublin
action argmin
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type social group
[[{'concept': 'authority organ'}, {'concept': 'social group'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?o WHERE { { ?d property:headquarters_location ?o . ?d rdf:type ontology:authority_organ . ?o rdf:type ontology:human_settlement } UNION { ?d property:headquarters_location ?o . ?o rdf:type ontology:human_settlement . ?d rdf:type ontology:social_group } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?j WHERE { { ?y property:headquarters_location ?j . ?j rdf:type ontology:human_settlement . ?y rdf:type ontology:authority_organ } UNION { ?y property:headquarters_location ?j . ?y rdf:type ontology:social_group . ?j rdf:type ontology:human_settlement } } GROUP BY ?j } . FILTER ( ?s = ?q ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q31487 Q1792 Q37333
P937
Q502895
USER
Who have Kraków, Gdańsk and Lublin as their work location ?
(c(Q502895),P937,Q31487) (c(Q502895),P937,Q1792) (c(Q502895),P937,Q37333)
action union
action filter_type
action find_reverse
entity Q31487
relation P937
type Q502895
action filter_type
action find_reverse
entity Q1792
relation P937
type Q502895
action filter_type
action find_reverse
entity Q37333
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q31487'] [{'concept': 'Q502895'}, 'P937', 'Q1792'] [{'concept': 'Q502895'}, 'P937', 'Q37333']
SELECT DISTINCT ?z WHERE { VALUES ( ?a ) { ( resource:Q31487 ) ( resource:Q1792 ) } . ?z property:P937 ?a }
Kraków Gdańsk Lublin
action union
action filter_type
action find_reverse
entity Kraków
relation work location
type common name
action filter_type
action find_reverse
entity Gdańsk
relation work location
type common name
action filter_type
action find_reverse
entity Lublin
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Kraków'] [{'concept': 'common name'}, 'work location', 'Gdańsk'] [{'concept': 'common name'}, 'work location', 'Lublin']
SELECT DISTINCT ?z WHERE { VALUES ( ?a ) { ( resource:Kraków ) ( resource:Gdańsk ) } . ?z property:work_location ?a }
[]
common name
Q153469 Q5327 Q335092
SYSTEM
Krzysztof Penderecki, Adolf Butenandt, Jan Baudouin de Courtenay
Q335092 Q9369778 Q354306 Q53439 Q63036 Q832936 Q1399292 Q577522 Q12348348 Q15439056 Q1626469 Q1267768 Q722544 Q1600658 Q677202 Q97702 Q87692 Q924770 Q1696466 Q6381155 Q1407689 Q691410 Q1800585 Q943007 Q1734166 Q711149 Q9325003 Q322499 Q267350 Q18018260 Q795050 Q85429 Q1586563 Q1306040 Q11766649 Q15454490 Q1397771 Q31781 Q1346059 Q953375 Q1335971 Q2622143 Q496906 Q320786 Q153469 Q1149599 Q4820854 Q932390 Q2121507 Q711431 Q699750 Q514817 Q18832 Q1682301 Q5441828 Q9139351 Q628425 Q4134743 Q824471 Q2645859 Q455379 Q11763691 Q18447 Q1303322 Q505951 Q1376689 Q516773 Q1535918 Q11735996 Q1681698 Q21402115 Q60625 Q561034 Q11719382 Q1525437 Q9392794 Q1645646 Q77697 Q696036 Q2351540 Q2336121 Q746534 Q570603 Q850346 Q449920 Q73576 Q963769 Q88476 Q6525197 Q445766 Q714634 Q1161474 Q2573288 Q380648 Q73253 Q1692728 Q611405 Q1539866 Q73334 Q126591 Q1695955 Q72918 Q15432677 Q1277558 Q1703548 Q1233474 Q100821 Q72944 Q121918 Q2575791 Q14920310 Q1037975 Q9256765 Q1679460 Q16215851 Q95938 Q1606413 Q77204 Q1598809 Q1079709 Q524156 Q66322 Q15147101 Q1550239 Q1306652 Q2330980 Q168037 Q3014856 Q2145072 Q19835159 Q71348 Q77266 Q91670 Q87217 Q1612855 Q19299037 Q764966 Q90143 Q18812990 Q57963 Q1698122 Q1707951 Q694548 Q86585 Q100965 Q2642977 Q108078 Q575783 Q975325 Q87262 Q95877 Q1768609 Q14360134 Q446837 Q2639898 Q24014778 Q1912851 Q213809 Q1543094 Q19862205 Q96991 Q2218829 Q2284140 Q1692488 Q22341686 Q22341686 Q1331381 Q108742 Q1792937 Q89099 Q2590368 Q9251579 Q99289 Q95521 Q1903601 Q90776 Q88192 Q65219 Q2149608 Q5327 Q957878 Q1612418 Q15298611 Q1084593 Q95499 Q1365458 Q1735044 Q16509108 Q73508 Q15428496 Q1523846 Q20020570 Q15434436 Q1565260 Q91380 Q361046 Q119276 Q1782284 Q871869 Q1539328 Q100611 Q98180 Q102116 Q72459 Q1696587 Q523087 Q14430 Q1286285 Q245762 Q6185364 Q3751079
(c(Q502895),P937,Q31487) (c(Q502895),P937,Q1792) (c(Q502895),P937,Q37333)
action union
action filter_type
action find_reverse
entity Q31487
relation P937
type Q502895
action filter_type
action find_reverse
entity Q1792
relation P937
type Q502895
action filter_type
action find_reverse
entity Q37333
relation P937
type Q502895
[ANSWERS] have Kraków, Gdańsk and Lublin as their work location
[{'concept': 'Q502895'}, 'P937', 'Q31487'] [{'concept': 'Q502895'}, 'P937', 'Q1792'] [{'concept': 'Q502895'}, 'P937', 'Q37333']
SELECT DISTINCT ?z WHERE { VALUES ( ?a ) { ( resource:Q31487 ) ( resource:Q1792 ) } . ?z property:P937 ?a }
Jan Baudouin de Courtenay Wacław Olszak Stanisław Dziwisz Bolesław II Rogatka Eduard Oscar Schmidt Ignacy Chrzanowski Napoleon Cybulski Rudolf Weigl Grenkamp Rudolf Klimek Meister des Provana-Grabmals Jakub Julian Ziółkowski Filippo Buonaccorsi Heinz Mohl Jan Brożek Richard Lauxmann Jan Haller Albert Chmielowski Johann Valentin Hildenbrand Kazimierz Bartoszewicz Józef Bogusz Albin Dunajewski Stanisław Łojasiewicz Tadeusz Banachiewicz Karol Estreicher Jan Klemens Branicki Ryszard Tadeusiewicz Stanisław Estreicher Michał Boym Alexander von Bandrowski Teodor Axentowicz Wilhelm Creizenach Ilka Boll Eliezer ben Naphtali Treves Max Kawczinski Matthias Stein Jan Michał Rozwadowski Józef Bilczewski Jerzy Samuel Bandtkie Eugeniusz Baziak Emilian Czyrniański Andrzej Dobrowolski Andreas Dudith Wojciech Pszoniak Krzysztof Penderecki Czesław Białobrzeski August Witkowski Józef Czapski Stanisław Chlebowski Leon Chwistek Hieronymus Vietor Andrzej Chwalba Sławomir Mrożek Jan Tyssowski Feliks Gross Adam Bochnak Georg Liban Marek Gedl Aleksander Birkenmajer Alfred Schweder Dagny Juel Ludwik Brożek Odo Bujwid Kacper Bażanka Tytus Czyżewski Szymon Czechowicz Marcin Bielski Jerzy Grzegorzewski Karl Dankwart Jan Cybis Zygmunt Klimek Conrad Celtes Tito Livio Burattini Jan Weyssenhoff Ludwik Gross Zygmunt Bocheński Seweryn Boner Schweipolt Fiol Władysław Czartoryski Michał Bobrzyński Stefan Cichy Józef Dietl Francesco Stancaro Giovanni Michele Bruto Hans Dürer Laurentius Corvinus Giorgio Biandrata Bernhard Jülg Leonard Cox Tadeusz Estreicher Artur Marya Swinarski Daniel Lagus Wilhelm Hollstein Aegidius Strauch Friedrich Adolf, Count von Kalckreuth Johann Botsack Sigismundus Guldenstern Gottlieb Wernsdorf II. Abraham van den Blocke Karl Heinrich August Burow Johann Raue Johann Philipp Breyne Johann Adam Breysig Edward Carstenn Joost Adriaan van Hamel Stefan Chwin Gustav Ferdinand Mehler Clemens von Delbrück Hugo Althoff Wilhelm Aulock Magnus Haraldsson Carl Friedrich Ferdinand Buckow Ewa Maria Slaska Jacob Eggers Johann Martini Reinhold Curicke Henry Albers Joseph Freiherr von Eichendorff Heinrich Scholtz Christian Friedrich Wutstrack Christoph Bernhard Franz Anton Menge Emil Wilde Willi Drost Conradus Bitschin Stanislaus Bornbach Zbigniew Ciesielski Daniel Zwicker Willem van den Blocke Balduin Herrmann Georg Karl Berendt Jacob Breyne Lorentz Eichstadt Karl Adolf Baumbach Hermann Stremme Reinhard Schindler August von Brandis Wilhelm Baum Eduard Cauer Johannes Hevelius Johannes Papritz Petrus Drusina Arno Schmidt Paul Beneke Karl Gruber Alexander Schmidt Artur Brausewetter Georg von Strackwitz David Braun Theodor Hirsch Jean Georg Haffner Achacy Czema Christian Frantzius Isaak van den Blocke Albrecht Meno Verpoorten Jerzy Klimek Max Kolbe Hermann Rauschning Rudolf Thauer Katarzyna Cieślak Johann Adam Kulmus Samuel Schelwig Siegrun Klemmer Balthasar Erben Bartholomäus Milwitz Bartholomäus Milwitz Odilo Braun Adelbert Matthaei Martin Statius Bernhard Kamnitzer Wolfgang La Baume Egon Martyrer Franz Rhode Franz Lucas Martin Damß Erich Brost Gottfried Lengnich Jacob Theodor Klein Richard Grammel Adolf Butenandt Edward Lisle Strutt Hermann Rahtmann August Julius Edmund Pflugk Christoph Beyer Caspar Schütz Selig Gronemann Kaspar Förster Rudolf Kollath Hugo Conwentz Hans Gerschmann Marian Chodacki Franz Schultz Karl Jacoby Heinrich Klose Michael Christoph Hanow Adolf Brenneke Hinrich Brunsberg Konrad Saenger Crato Bütner Gottfried Less Ernst Neef Friedrich Schilling Joachim Oelhaf Georg Giese Johann Wilhelm Linde Ludwik Fleck Ignacy Daszyński Edmund Friszke Wiesław Chrzanowski Jerzy Borejsza Franciszek Blachnicki
Krzysztof Penderecki, Adolf Butenandt and Jan Baudouin de Courtenay have Kraków, Gdańsk and Lublin as their work location
Krzysztof Penderecki Adolf Butenandt Jan Baudouin de Courtenay
action union
action filter_type
action find_reverse
entity Kraków
relation work location
type common name
action filter_type
action find_reverse
entity Gdańsk
relation work location
type common name
action filter_type
action find_reverse
entity Lublin
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Kraków'] [{'concept': 'common name'}, 'work location', 'Gdańsk'] [{'concept': 'common name'}, 'work location', 'Lublin']
SELECT DISTINCT ?z WHERE { VALUES ( ?a ) { ( resource:Kraków ) ( resource:Gdańsk ) } . ?z property:work_location ?a }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5327
P488
Q163740
USER
What is that person a chairperson of ?
(c(Q163740),P488,Q5327)
action filter_type
action find_reverse
entity Q5327
relation P488
type Q163740
[{'concept': 'Q163740'}, 'P488', 'Q5327']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q163740 . ?c property:P488 resource:Q5327 }
Adolf Butenandt
action filter_type
action find_reverse
entity Adolf Butenandt
relation chairperson
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'chairperson', 'Adolf Butenandt']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:nonprofit_organization . ?c property:chairperson resource:Adolf_Butenandt }
[]
nonprofit organization
Clarification for simple ques.
Q335092
SYSTEM
Did you mean Jan Baudouin de Courtenay ?
Q153469 Q5327 Q335092
(c(Q163740),P488,Q153469) (c(Q163740),P488,Q5327) (c(Q163740),P488,Q335092)
[ANSWER]
[{'concept': 'Q163740'}, 'P488', 'Q153469'] [{'concept': 'Q163740'}, 'P488', 'Q5327'] [{'concept': 'Q163740'}, 'P488', 'Q335092']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q163740 . ?c property:P488 resource:Q5327 }
Krzysztof Penderecki Adolf Butenandt Jan Baudouin de Courtenay
Did you mean Jan Baudouin de Courtenay ?
Jan Baudouin de Courtenay
[{'concept': 'nonprofit organization'}, 'chairperson', 'Krzysztof Penderecki'] [{'concept': 'nonprofit organization'}, 'chairperson', 'Adolf Butenandt'] [{'concept': 'nonprofit organization'}, 'chairperson', 'Jan Baudouin de Courtenay']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:nonprofit_organization . ?c property:chairperson resource:Adolf_Butenandt }
[]
Simple Question (Coreferenced)
USER
No, I meant Adolf Butenandt. Could you tell me the answer for that?
(c(Q163740),P488,Q5327)
Q5327
[{'concept': 'Q163740'}, 'P488', 'Q5327']
[{'concept': 'nonprofit organization'}, 'chairperson', 'Adolf Butenandt']
[]
Q158085
SYSTEM
Max Planck Society
Q158085
(c(Q163740),P488,Q5327)
action filter_type
action find_reverse
entity Q5327
relation P488
type Q163740
That person a chairperson of is the [ANSWER]
[{'concept': 'Q163740'}, 'P488', 'Q5327']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q163740 . ?c property:P488 resource:Q5327 }
Max Planck Society
That person a chairperson of is the Max Planck Society
Max Planck Society
action filter_type
action find_reverse
entity Adolf Butenandt
relation chairperson
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'chairperson', 'Adolf Butenandt']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:nonprofit_organization . ?c property:chairperson resource:Adolf_Butenandt }
[]