Simple Question (Direct)
Simple Question
Q2490379
P21
Q290
USER
Which sex does Tyler Polak belong to ?
(Q2490379,P21,c(Q290))
action filter_type
action find
entity Q2490379
relation P21
type Q290
['Q2490379', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q2490379 property:P21 ?q . ?q rdf:type ontology:Q290 }
Tyler Polak
action filter_type
action find
entity Tyler Polak
relation gender
type sex
['Tyler Polak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Tyler_Polak property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2490379,P21,c(Q290))
action filter_type
action find
entity Q2490379
relation P21
type Q290
Tyler Polak belongs to [ANSWER]
['Q2490379', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q2490379 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Tyler Polak belongs to male
male
action filter_type
action find
entity Tyler Polak
relation gender
type sex
['Tyler Polak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Tyler_Polak property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2490379
P641
Q349
USER
Which sport was Tyler Polak a part of ?
(Q2490379,P641,c(Q349))
action filter_type
action find
entity Q2490379
relation P641
type Q349
['Q2490379', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q2490379 property:P641 ?e . ?e rdf:type ontology:Q349 }
Tyler Polak
action filter_type
action find
entity Tyler Polak
relation sport
type sport
['Tyler Polak', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Tyler_Polak property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2490379,P641,c(Q349))
action filter_type
action find
entity Q2490379
relation P641
type Q349
Which sport was Tyler Polak a part of
['Q2490379', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q2490379 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
Which sport was Tyler Polak a part of
association football
action filter_type
action find
entity Tyler Polak
relation sport
type sport
['Tyler Polak', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Tyler_Polak property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2390331
Q349
USER
And also tell me about Stéphane Dondon?
(Q2390331,P641,c(Q349))
action filter_type
action find
entity Q2390331
relation P641
type Q349
['Q2390331', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q2390331 property:P641 ?d . ?d rdf:type ontology:Q349 }
Stéphane Dondon
action filter_type
action find
entity Stéphane Dondon
relation sport
type sport
['Stéphane Dondon', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Stéphane_Dondon property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q2390331,P641,c(Q349))
action filter_type
action find
entity Q2390331
relation P641
type Q349
[ANSWER]
['Q2390331', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q2390331 property:P641 ?d . ?d rdf:type ontology:Q349 }
basketball
basketball
action filter_type
action find
entity Stéphane Dondon
relation sport
type sport
['Stéphane Dondon', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Stéphane_Dondon property:sport ?d . ?d rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2390331
P19
Q20667921
USER
Where was that person born ?
(Q5372,P19,c(Q20667921))
action filter_type
action find
entity Q2390331
relation P19
type Q20667921
['Q5372', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q20667921 . resource:Q2390331 property:P19 ?v }
Stéphane Dondon
action filter_type
action find
entity Stéphane Dondon
relation place of birth
type type of french administrative division
['basketball', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_french_administrative_division . resource:Stéphane_Dondon property:place_of_birth ?v }
[]
type of french administrative division
Q41139
SYSTEM
Melun
Q41139
(Q5372,P19,c(Q20667921))
action filter_type
action find
entity Q2390331
relation P19
type Q20667921
That person was born in [ANSWER]
['Q5372', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q20667921 . resource:Q2390331 property:P19 ?v }
Melun
That person was born in Melun
Melun
action filter_type
action find
entity Stéphane Dondon
relation place of birth
type type of french administrative division
['basketball', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_french_administrative_division . resource:Stéphane_Dondon property:place_of_birth ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2390331
P54
Q12973014
USER
Which sports team is that person a member of ?
(Q41139,P54,c(Q12973014))
action filter_type
action find
entity Q2390331
relation P54
type Q12973014
['Q41139', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { resource:Q2390331 property:P54 ?r . ?r rdf:type ontology:Q12973014 }
Stéphane Dondon
action filter_type
action find
entity Stéphane Dondon
relation member of sports team
type sports team
['Melun', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { resource:Stéphane_Dondon property:member_of_sports_team ?r . ?r rdf:type ontology:sports_team }
[]
sports team
Q274570
SYSTEM
Élan Chalon
Q274570
(Q41139,P54,c(Q12973014))
action filter_type
action find
entity Q2390331
relation P54
type Q12973014
[ANSWER] is that person a member of
['Q41139', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { resource:Q2390331 property:P54 ?r . ?r rdf:type ontology:Q12973014 }
Élan Chalon
Élan Chalon is that person a member of
Élan Chalon
action filter_type
action find
entity Stéphane Dondon
relation member of sports team
type sports team
['Melun', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { resource:Stéphane_Dondon property:member_of_sports_team ?r . ?r rdf:type ontology:sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P115
Q483110 Q1076486 Q12973014
USER
How many sports teams have atmost 5 stadia or sports venues as their home venue ?
(c(Q12973014),P115,c(Q483110)|c(Q1076486))
action count
action atmost
action union
action find_tuple_counts
relation P115
type Q12973014
type Q483110
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
value 5
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q483110'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:Q1076486 ) ( ontology:Q483110 ) } . ?m rdf:type ?j } GROUP BY ?c } . FILTER ( ?x <= 5 ) }
action count
action atmost
action union
action find_tuple_counts
relation home venue
type sports team
type stadium
action find_tuple_counts
relation home venue
type sports team
type sports venue
value 5
[{'concept': 'sports team'}, 'home venue', [{'concept': 'stadium'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:sports_venue ) ( ontology:stadium ) } . ?m rdf:type ?j } GROUP BY ?c } . FILTER ( ?x <= 5 ) }
[]
stadium sports venue sports team
SYSTEM
375
Q5018221 Q16959086 Q166105 Q466586 Q868082 Q1141306 Q463349 Q743309 Q247577 Q3013412 Q868101 Q1417287 Q16969278 Q5763570 Q19870761 Q3151359 Q157376 Q1251724 Q5617454 Q454764 Q8383824 Q745758 Q692417 Q5416971 Q836109 Q2060261 Q7016620 Q12018770 Q2892340 Q54927 Q54922 Q131371 Q940641 Q1416353 Q8025768 Q498084 Q681433 Q4841174 Q1019345 Q1130636 Q7074000 Q1328038 Q600149 Q5617444 Q431412 Q2937449 Q1901938 Q1166013 Q796358 Q721134 Q329816 Q6117111 Q868087 Q36930 Q3106580 Q36932 Q193643 Q1274643 Q3555221 Q868067 Q159729 Q2276590 Q285017 Q266588 Q5461409 Q5461408 Q521663 Q1090574 Q2085806 Q1136066 Q6683231 Q7009239 Q954798 Q7093725 Q7425627 Q1051212 Q744636 Q1138095 Q656923 Q604879 Q217601 Q583259 Q2217179 Q665920 Q652879 Q1375077 Q5498202 Q129164 Q388858 Q161337 Q1071691 Q3195284 Q571472 Q1563903 Q461595 Q5916414 Q964957 Q377374 Q521129 Q1126243 Q7935602 Q4791903 Q387496 Q132880 Q6967027 Q5407207 Q825838 Q2104699 Q5644222 Q532269 Q3400957 Q1270259 Q169138 Q2083283 Q1562933 Q1550312 Q213417 Q334634 Q707861 Q1653499 Q1387375 Q3489807 Q484151 Q7681737 Q867828 Q867822 Q3844332 Q4938454 Q1564514 Q1631017 Q324589 Q553293 Q5668261 Q643795 Q974277 Q4993321 Q1518257 Q6365002 Q3218293 Q331650 Q16957588 Q203384 Q6811755 Q916967 Q650840 Q246782 Q154053 Q128109 Q2205512 Q1779406 Q4289724 Q15786 Q1568246 Q162289 Q7985913 Q704072 Q10856994 Q1544869 Q5095788 Q1465192 Q5604682 Q1357204 Q1266000 Q1047634 Q1148233 Q14947971 Q5715626 Q7960021 Q4791331 Q7101188 Q163909 Q1319827 Q15728845 Q848103 Q5425090 Q10865306 Q787447 Q152572 Q23275471 Q325819 Q912247 Q1194023 Q787652 Q170329 Q5461417 Q5253685 Q1419127 Q4407923 Q194116 Q1420393 Q131364 Q3960035 Q17236274 Q15728852 Q504339 Q161345 Q592714 Q54906 Q7826440 Q4985683 Q974900 Q413568 Q3259700 Q739613 Q7959622 Q1749669 Q688162 Q695825 Q1536851 Q1197407 Q868581 Q1193020 Q3359056 Q7845058 Q2075122 Q838520 Q504309 Q36916 Q7101532 Q1069384 Q213959 Q611163 Q812713 Q3124782 Q16259354 Q4911952 Q684077 Q7914130 Q957952 Q3124767 Q2924138 Q33699 Q5461389 Q653772 Q5876892 Q642553 Q1067358 Q966879 Q1329633 Q1458596 Q7231881 Q681072 Q24725640 Q2411402 Q2406877 Q1324392 Q127635 Q766529 Q205973 Q2300859 Q3041569 Q335169 Q636019 Q165127 Q2297548 Q650855 Q4816008 Q7912570 Q971676 Q1472697 Q922432 Q180950 Q12872831 Q7578867 Q3174673 Q885646 Q169637 Q1060978 Q1419876 Q3755111 Q7419313 Q868093 Q2975432 Q1753439 Q868095 Q868098 Q209961 Q472805 Q5461420 Q5461423 Q5461422 Q5461425 Q12872691 Q7866372 Q637404 Q848117 Q3505744 Q4959020 Q787436 Q2725705 Q697902 Q3058749 Q3041096 Q655240 Q4171772 Q192083 Q163480 Q1132627 Q7442149 Q188143 Q974705 Q6392430 Q704336 Q5254272 Q2740400 Q358191 Q928991 Q650865 Q1498153 Q826751 Q267094 Q2979803 Q1566189 Q670376 Q7839677 Q949035 Q308966 Q650816 Q5617449 Q3664188 Q7355432 Q169661 Q3126578 Q121783 Q868073 Q12752453 Q461647 Q3476102 Q4701227 Q469053 Q249612 Q2822963 Q3080188 Q7534873 Q1019555 Q23979109 Q1541588 Q5461411 Q3124779 Q5461413 Q5461414 Q5461416 Q853056 Q5461418 Q389007 Q1562969 Q700366 Q538747 Q5461394 Q2825666 Q15279091 Q1727656 Q1474850 Q2184204 Q4239555 Q162954 Q1788018 Q1471247 Q16331496 Q6879072 Q169941 Q7895746 Q4666935 Q756160 Q2740096 Q828527 Q650829 Q680599 Q1054218 Q744530 Q7404166 Q1433297 Q20750295 Q686068 Q393357
(c(Q12973014),P115,c(Q483110)|c(Q1076486))
action count
action atmost
action union
action find_tuple_counts
relation P115
type Q12973014
type Q483110
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
value 5
[ANSWER]
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q483110'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:Q1076486 ) ( ontology:Q483110 ) } . ?m rdf:type ?j } GROUP BY ?c } . FILTER ( ?x <= 5 ) }
Cal State Fullerton Titans men's basketball Connecticut Huskies football Sacramento Kings Seattle Mariners Guerreros de Oaxaca KK Zadar Phoenix Hagen Los Angeles Angels of Anaheim Hiroshima Toyo Carp Dandenong Rangers Acereros de Monclova Panserraikos F.C. Sochinskiye Leopardy Hillsboro Hops Jaguares Inland Empire 66ers of San Bernardino Golden State Cavaliers Baltimore Monumentals Gulf Coast League Yankees TBB Trier Aris Thessaloniki B.C. Gloucester Rugby New York Mets Everett AquaSox Skyliners Frankfurt Sioux Falls Skyforce Newark Bears HC Stadion Litoměřice Bowie Baysox Saski Baskonia Real Madrid Baloncesto Boston Celtics SK Horácká Slavia Třebíč HC Lev Praha Winnipeg Maroons Iserlohn Roosters Keramin Minsk Badureliya Sports Club Bærum SK Oulun Kärpät Oakland Golden Grizzlies men's basketball Orix Buffaloes FC Bayern Munich Gulf Coast League Orioles Stade Toulousain Québec Capitales BC Ural Yekaterinburg FC Barcelona Ice Hockey Chicago Sky San Diego Padres Texas Rangers Jackson Generals Vaqueros Laguna EHC Kloten Fresno Grizzlies HC Ambrì-Piotta Pittsburgh Penguins Phoenix Mercury Pinar del Río Vegueros Saraperos de Saltillo San Antonio Spurs Iowa Cubs Alba Volán Székesfehérvár Ratiopharm Ulm Florida Gators men's golf Florida Gators men's basketball Mitteldeutscher BC Vancouver Whitecaps Philadelphia Phantoms Victoria cricket team Rieleros de Aguascalientes New Jersey Jackals HC Sareza Ostrava Oneonta Tigers Saskatchewan Silver Sox Pericos de Puebla Natal Sharks Salt Lake Bees MT Melsungen Minnesota Twins Drøbak-Frogn IL Las Vegas 51s Horsens HK VfB Lübeck Miami Marlins Tohoku Rakuten Golden Eagles Frederick Keys Fukuoka SoftBank Hawks Colorado Rockies Orlando Magic Leicester Tigers Kent County Cricket Club medi bayreuth HK Partizan Atlanta Braves Houston Buffaloes Castres Olympique Malmö Redhawks Benetton Rugby Treviso Connecticut Sun Visalia Rawhide Arkansas Travelers Tigres de Quintana Roo Toronto Raptors Nashville Xpress Eugene Emeralds Washington Nationals Port Huron Border Cats Hambledon Club Phantoms Braunschweig Portland Power Piráti Chomutov Miami Heat Colorado Springs Sky Sox HC Lev Poprad Lethbridge Hurricanes New York Yankees Los Angeles Dodgers EWE Baskets Oldenburg IFK Kristianstad FC Midtjylland Håndbold Somerset County Cricket Club Chiba Lotte Marines Tampa Tarpons Rojos del Águila de Veracruz Leones de Yucatán Daiei Unions Boise Hawks New Haven Elm Citys Indiana Fever C.A. Lanús Neckar Riesen Ludwigsburg Algodoneros de San Luis Alba Berlin Hokkaido Nippon-Ham Fighters Odense Håndbold Ospreys Kansas Jayhawks men's basketball San Jose Lasers FBK Kaunas Florida Gators cross country Toronto Maple Leafs Melbourne Cricket Club KK Cibona Philadelphia Phillies Chicago Cubs Eintracht Braunschweig Chicago Bulls SC Rasta Vechta Norfolk Tides Melbourne Cricket Club 1. FC Nürnberg Altoona Mountain City 1. FC Köln Frauen West Michigan Whitecaps Telekom Baskets Bonn ZJS Zbrojovka Spartak Brno Seattle Storm Chicago State Cougars men's basketball Washington Mystics Greenville Drive Jokerit Dunkerque Handball Grand Littoral Diablos Rojos del México Montreal Expos Columbus Quest BC Apollo Waikiki BeachBoys Arizona League Angels Oregon Ducks men's basketball Grüner IL US Dax Duke Blue Devils Milwaukee Brewers FC Oțelul II Galați SC Magdeburg BM Valladolid Al-Muharraq SC HC Kunlun Red Star Saitama Seibu Lions KK Partizan Yokohama DeNA BayStars Toledo Mud Hens Indiana Pacers Florida Gators women's basketball Delfines del Carmen Tappara Santos FC Futsal Detroit Red Wings Galatasaray Medical Park New York Knicks York Revolution Ottawa Champions Duke Blue Devils Oakland Athletics Houston Rockets Valladolid RAC CB Gran Canaria Toronto Maple Leafs Buffalo Bulls men's basketball HK Alfa Ak Bars Kazan Los Angeles Angels Edinburgh Rugby Wagner Seahawks men's basketball Team Tvis Holstebro Eisbären Berlin ERC Ingolstadt Tulsa Shock Yomiuri Giants Basket Zielona Góra London Irish Oxford University RFC Trois-Rivières Aigles Lowell Spinners HC Slezan Opava St. Louis Cardinals SC Bern Orem Owlz Osaka Kintetsu Buffaloes Boston Red Sox Ethnikos Piraeus Water Polo Club Al-Wehda Club HC ZUBR Přerov Moors Sports Club Billings Mustangs Artland Dragons Vancouver Canadians Washington Capitols HC Benátky nad Jizerou Gwinnett Braves HC Fribourg-Gottéron Florida Gators baseball Pittsburgh Pirates Hofstra Pride men's basketball Cleveland Indians Charlotte Sting Albuquerque Isotopes Los Angeles Sparks PBC Lokomotiv-Kuban Portland Beavers EHC Olten Las Vegas NHL team Landstede Basketbal HC Chelny Tokyo Yakult Swallows Hanshin Tigers AZ Havířov Edmonton Oilers Western Province Durham County Cricket Club Chicago White Sox Oyonnax Rugby THW Kiel Oklahoma City Dodgers Detroit Tigers Atlanta Beat Valparaiso Crusaders men's basketball Sultanes de Monterrey San Antonio Silver Stars Olympiacos Water Polo Club Oklahoma City Thunder AEZ Zakakiou Spokane Indians UE Santboiana Blue Bulls Milwaukee Bucks Brooklyn Cyclones Limoges CSP F.C. Porto Santa Clara Broncos football Olmecas de Tabasco HK Orange 20 SaiPa Piratas de Campeche Broncos de Reynosa Chunichi Dragons TSV Hannover-Burgdorf Florida Gators women's gymnastics Florida Gators women's tennis Florida Gators women's soccer Florida Gators women's volleyball Proteas Voulas B.C. USC Trojans men's basketball Guam national rugby union team Houston Astros Sussex County Cricket Club Brazos Valley Bombers BM Ciudad Real Warwickshire County Cricket Club Kölner Haie Essex County Cricket Club Albuquerque Dukes Calgary Expos Duke Blue Devils Philadelphia Flyers Charlotte Hornets KK Crvena zvezda Seattle Pilots Montreal Canadiens New York Liberty Kentucky Wildcats women's basketball Düsseldorfer EG Delmarva Shorebirds Tucson Padres Adler Mannheim Aalborg DH Tampa Bay Rays Kalamazoo Wings Cincinnati Reds Hockey Club de Reims Alcobendas Rugby HYS The Hague Arizona Diamondbacks Tri-City Dust Devils Cambridge University Cricket Club San Francisco Giants Baltimore Orioles Gulf Coast League Red Sox Celana Basket Bergamo Rockland Boulders Detroit Pistons Hampshire County Cricket Club Los Angeles Lakers Petroleros de Minatitlán KK Loznica Walter Tigers Tübingen Scottsdale Scorpions Akita Northern Happinets Eisbären Bremerhaven Club Sport Emelec Reno Aces KIF Kolding Copenhagen Ski IL HC Bílí Tygři Liberec Atlas Aglandjias Sacramento Monarchs Florida Gators men's tennis HC Tábor Florida Gators softball Florida Gators swimming and diving Florida Gators track and field Metallurg Magnitogorsk Florida Gators women's golf CRC Madrid HC Slovan Ústečtí Lvi Brose Baskets Scarlets Florida Gators football Akron RubberDucks El Paso Chihuahuas New York Golden Blades Minnesota Lynx Sacramento River Cats BC Krasny Oktyabr Denver Nuggets Derbyshire County Cricket Club HC Neftekhimik Nizhnekamsk Elpida Astromeriti Mississippi Braves Cardiff Blues University of Miami Rugby Football Club Aberdeen IronBirds Atlanta Dream Tacoma Rainiers RK 03 Berlin Toronto Blue Jays TuS Nettelstedt-Lübbecke Portland Sea Dogs Kansas City Royals Salem Red Sox Hokki E.S. Kadmos Thivas Vienna Capitals BC Žalgiris
375
action count
action atmost
action union
action find_tuple_counts
relation home venue
type sports team
type stadium
action find_tuple_counts
relation home venue
type sports team
type sports venue
value 5
[{'concept': 'sports team'}, 'home venue', [{'concept': 'stadium'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:sports_venue ) ( ontology:stadium ) } . ?m rdf:type ?j } GROUP BY ?c } . FILTER ( ?x <= 5 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41139
P47
Q20667921
USER
Which french administrative divisions are bordered by Melun ?
(Q41139,P47,c(Q20667921))
action filter_type
action find
entity Q41139
relation P47
type Q20667921
['Q41139', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q41139 property:P47 ?r . ?r rdf:type ontology:Q20667921 }
Melun
action filter_type
action find
entity Melun
relation shares border with
type type of french administrative division
['Melun', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Melun property:shares_border_with ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q245095 Q271798 Q899554
SYSTEM
Dammarie-lès-Lys, La Rochette, Vert-Saint-Denis
Q900980 Q271798 Q899554 Q242983 Q1456478 Q245095 Q845829 Q1058178
(Q41139,P47,c(Q20667921))
action filter_type
action find
entity Q41139
relation P47
type Q20667921
[ANSWERS] are bordered by Melun
['Q41139', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q41139 property:P47 ?r . ?r rdf:type ontology:Q20667921 }
Rubelles La Rochette Vert-Saint-Denis Vaux-le-Pénil Voisenon Dammarie-lès-Lys Maincy Le Mée-sur-Seine
Dammarie-lès-Lys, La Rochette and Vert-Saint-Denis are bordered by Melun
Dammarie-lès-Lys La Rochette Vert-Saint-Denis
action filter_type
action find
entity Melun
relation shares border with
type type of french administrative division
['Melun', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Melun property:shares_border_with ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q41139
P47
Q20667921
USER
Are Melun bordered by those ones ?
(Q41139,P47,Q245095) (Q41139,P47,Q271798) (Q41139,P47,Q899554)
action is_in
entity prev_answer
action find
entity Q41139
relation P47
['Q41139', 'P47', 'Q245095'] ['Q41139', 'P47', 'Q271798'] ['Q41139', 'P47', 'Q899554']
ASK WHERE { resource:Q41139 property:P47 ?l . VALUES ( ?l ) { ( resource:Q900980 ) ( resource:Q271798 ) ( resource:Q899554 ) } }
Melun
action is_in
entity prev_answer
action find
entity Melun
relation shares border with
['Melun', 'shares border with', 'Dammarie-lès-Lys'] ['Melun', 'shares border with', 'La Rochette'] ['Melun', 'shares border with', 'Vert-Saint-Denis']
ASK WHERE { resource:Melun property:shares_border_with ?l . VALUES ( ?l ) { ( resource:Rubelles ) ( resource:La_Rochette ) ( resource:Vert-Saint-Denis ) } }
[]
type of french administrative division
SYSTEM
YES
(Q41139,P47,Q245095) (Q41139,P47,Q271798) (Q41139,P47,Q899554)
action is_in
entity prev_answer
action find
entity Q41139
relation P47
[ANSWER]
['Q41139', 'P47', 'Q245095'] ['Q41139', 'P47', 'Q271798'] ['Q41139', 'P47', 'Q899554']
ASK WHERE { resource:Q41139 property:P47 ?l . VALUES ( ?l ) { ( resource:Q900980 ) ( resource:Q271798 ) ( resource:Q899554 ) } }
Yes
action is_in
entity prev_answer
action find
entity Melun
relation shares border with
['Melun', 'shares border with', 'Dammarie-lès-Lys'] ['Melun', 'shares border with', 'La Rochette'] ['Melun', 'shares border with', 'Vert-Saint-Denis']
ASK WHERE { resource:Melun property:shares_border_with ?l . VALUES ( ?l ) { ( resource:Rubelles ) ( resource:La_Rochette ) ( resource:Vert-Saint-Denis ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q20667921 Q34442 Q618779
USER
Which french administrative divisions are namesakes of min number of roads or awards ?
(c(Q34442)|c(Q618779),P138,c(Q20667921))
action argmin
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q34442
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q618779
[[{'concept': 'Q34442'}, {'concept': 'Q618779'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?x WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:Q618779 ) ( ontology:Q34442 ) } } GROUP BY ?x } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) ?v WHERE { ?w rdf:type ?s . VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q618779 ) } } GROUP BY ?v } }
action argmin
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type road
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type award
[[{'concept': 'road'}, {'concept': 'award'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?x WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:award ) ( ontology:road ) } } GROUP BY ?x } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) ?v WHERE { ?w rdf:type ?s . VALUES ( ?s ) { ( ontology:road ) ( ontology:award ) } } GROUP BY ?v } }
[]
type of french administrative division road award
Q154748 Q42807 Q1476
SYSTEM
Verdun, Nîmes, Le Mans
Q205551 Q3769 Q521432 Q901416 Q253721 Q456477 Q132801 Q1172337 Q236579 Q840218 Q326687 Q817418 Q842942 Q183910 Q626987 Q633254 Q196360 Q679894 Q1440905 Q269364 Q2426877 Q2961727 Q48958 Q208812 Q3241770 Q193880 Q840597 Q329664 Q903665 Q7158 Q616668 Q264778 Q174032 Q229339 Q135265 Q208889 Q212274 Q274327 Q46135 Q1476 Q154715 Q193899 Q459683 Q623376 Q217077 Q809414 Q213317 Q501933 Q694818 Q212987 Q474524 Q187796 Q193819 Q234270 Q238377 Q762471 Q234274 Q243866 Q474503 Q251731 Q126675 Q149419 Q134674 Q474555 Q636299 Q605656 Q174257 Q154724 Q165271 Q163108 Q207632 Q476887 Q22739 Q189153 Q209086 Q195098 Q18199435 Q625570 Q569751 Q209005 Q736370 Q1111541 Q13917 Q241021 Q208793 Q387460 Q1080717 Q285 Q567956 Q204051 Q193877 Q781078 Q202565 Q468229 Q174247 Q185721 Q1165029 Q148787 Q530593 Q463304 Q44401 Q212966 Q213288 Q470959 Q14112 Q845975 Q689491 Q688262 Q404783 Q238339 Q271649 Q70285 Q154748 Q840164 Q134346 Q212959 Q541007 Q18199186 Q822303 Q474773 Q666180 Q12130 Q453492 Q208798 Q22380 Q22754 Q42807 Q317975 Q233909 Q177573 Q1217220 Q188750 Q241940 Q18102 Q128466 Q288 Q193903 Q256175 Q917770 Q3413171 Q532352 Q279681 Q1014746 Q6548 Q199682 Q266958 Q6397 Q316891 Q3413267 Q837748 Q1047171 Q1440685 Q272528 Q41139 Q191126 Q471902 Q135104 Q1056120 Q181306 Q475599 Q845191 Q221683 Q990774 Q1110622 Q273917 Q20892 Q832386
(c(Q34442)|c(Q618779),P138,c(Q20667921))
action argmin
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q34442
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q618779
[ANSWERS] are namesakes of min number of roads or awards
[[{'concept': 'Q34442'}, {'concept': 'Q618779'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?x WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:Q618779 ) ( ontology:Q34442 ) } } GROUP BY ?x } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) ?v WHERE { ?w rdf:type ?s . VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q618779 ) } } GROUP BY ?v } }
Mérignac French Guiana Saint-Marcellin Lacaune Malakoff Chooz Albi Morogues Semur-en-Auxois Barrême Banon Joinville Bonneville-la-Louvet Bayeux Herment Morbier Aisy-sur-Armançon Aurignac Ramonville-Saint-Agne Joué-lès-Tours Épinettes Chavignol Neuilly-sur-Seine Corbeil-Essonnes Lion Chaumont Le Croisic Le Creusot Liverdun Oms Pouligny-Saint-Pierre Loudes Crozant Champigneulles Issy-les-Moulineaux Saint-Ouen Nogent-sur-Marne Saint-Maurice Créteil Le Mans Montbéliard Fontenay-sous-Bois Sancerre Volvic Camembert Thiézac Ambert Taizé Sassenage Choisy-le-Roi Sainte-Maure-de-Touraine Orange Vincennes Montélimar Pont-Aven Ver-sur-Mer Manosque Olivet Valençay Coulommiers Chantilly Munster Bayonne Castelnau-le-Lez Le Pradet Gèdre Beauvais Bobigny Lens Saint-Malo Apt Roquefort-sur-Soulzon Hettange-Grande Saint-Cloud Pantin Frouard Charonne Langeac Termignon Cachan Bonneval-sur-Arc Costaros Île-de-France Montrouge Saint-Omer Sainte-Foy-lès-Lyon Champagne Cognac Isigny-sur-Mer Bonifacio Ivry-sur-Seine Euville Coutances Corneville-sur-Risle Mâcon Bar-le-Duc Le Pouliguen Ottmarsheim Chaource Fontaine-de-Vaucluse Cayenne Pompey Montbrison Voves Corsica Caussols Tautavel Champaubert Aiguillon Azincourt Marcq-en-Barœul Étel Verdun La Cadière-d'Azur Angoulême Denain Le Malzieu-Ville Grenelle Saint-Nectaire Roquebrune-sur-Argens Maroilles Brittany Matignon Cavaillon Créhange Bitche Nîmes Châtelperron Alfortville Bagnoles Laqueuille Saint-Estèphe Givet Saint-Mandé Villejuif Tours Cergy Barbizon Solutré-Pouilly Picpus La Villette Thouars Cilaos Orléans Floirac Rolleboise Avignon Montmorency Bel-Air Brétigny-sur-Orge Balma Belleville Pauillac Melun Saintes Salles Le Kremlin-Bicêtre Décines-Charpieu Digne-les-Bains Gien Javel Audierne Laguiole La Bouille Berrias-et-Casteljau Le Mont-Saint-Michel Selles-sur-Cher
Verdun, Nîmes and Le Mans are namesakes of min number of roads or awards
Verdun Nîmes Le Mans
action argmin
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type road
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type award
[[{'concept': 'road'}, {'concept': 'award'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?x WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:award ) ( ontology:road ) } } GROUP BY ?x } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) ?v WHERE { ?w rdf:type ?s . VALUES ( ?s ) { ( ontology:road ) ( ontology:award ) } } GROUP BY ?v } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q245095
P190
Q15617994
USER
Which administrative territory is partner town of Dammarie-lès-Lys ?
(Q245095,P190,c(Q15617994))
action filter_type
action find
entity Q245095
relation P190
type Q15617994
['Q245095', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q245095 property:P190 ?z . ?z rdf:type ontology:Q15617994 }
Dammarie-lès-Lys
action filter_type
action find
entity Dammarie-lès-Lys
relation sister city
type designation for an administrative territorial entity
['Dammarie-lès-Lys', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Dammarie-lès-Lys property:sister_city ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q46806
SYSTEM
Montebelluna
Q46806
(Q245095,P190,c(Q15617994))
action filter_type
action find
entity Q245095
relation P190
type Q15617994
[ANSWER] is partner town of Dammarie-lès-Lys
['Q245095', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q245095 property:P190 ?z . ?z rdf:type ontology:Q15617994 }
Montebelluna
Montebelluna is partner town of Dammarie-lès-Lys
Montebelluna
action filter_type
action find
entity Dammarie-lès-Lys
relation sister city
type designation for an administrative territorial entity
['Dammarie-lès-Lys', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Dammarie-lès-Lys property:sister_city ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]