Simple Question (Direct)
Simple Question
Q3431576
P166
Q618779
USER
Which award was received by Rick Manning ?
(Q3431576,P166,c(Q618779))
action filter_type
action find
entity Q3431576
relation P166
type Q618779
['Q3431576', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?b WHERE { resource:Q3431576 property:P166 ?b . ?b rdf:type ontology:Q618779 }
Rick Manning
action filter_type
action find
entity Rick Manning
relation award received
type award
['Rick Manning', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?b WHERE { resource:Rick_Manning property:award_received ?b . ?b rdf:type ontology:award }
[]
award
Q120649
SYSTEM
Rawlings Gold Glove Award
Q120649
(Q3431576,P166,c(Q618779))
action filter_type
action find
entity Q3431576
relation P166
type Q618779
[ANSWER] was received by Rick Manning
['Q3431576', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?b WHERE { resource:Q3431576 property:P166 ?b . ?b rdf:type ontology:Q618779 }
Rawlings Gold Glove Award
Rawlings Gold Glove Award was received by Rick Manning
Rawlings Gold Glove Award
action filter_type
action find
entity Rick Manning
relation award received
type award
['Rick Manning', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?b WHERE { resource:Rick_Manning property:award_received ?b . ?b rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3431576
P54
Q12973014
USER
Which sports teams are that person a member of ?
(Q120649,P54,c(Q12973014))
action filter_type
action find
entity Q3431576
relation P54
type Q12973014
['Q120649', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12973014 . resource:Q3431576 property:P54 ?n }
Rick Manning
action filter_type
action find
entity Rick Manning
relation member of sports team
type sports team
['Rawlings Gold Glove Award', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sports_team . resource:Rick_Manning property:member_of_sports_team ?n }
[]
sports team
Q848103 Q642553
SYSTEM
Milwaukee Brewers, Cleveland Indians
Q848103 Q642553
(Q120649,P54,c(Q12973014))
action filter_type
action find
entity Q3431576
relation P54
type Q12973014
[ANSWERS] are that person a member of
['Q120649', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12973014 . resource:Q3431576 property:P54 ?n }
Milwaukee Brewers Cleveland Indians
Milwaukee Brewers and Cleveland Indians are that person a member of
Milwaukee Brewers Cleveland Indians
action filter_type
action find
entity Rick Manning
relation member of sports team
type sports team
['Rawlings Gold Glove Award', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sports_team . resource:Rick_Manning property:member_of_sports_team ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q642553
P137
Q811979
USER
Which architectural structure can be described as facility operator of Cleveland Indians ?
(c(Q811979),P137,Q642553)
action filter_type
action find_reverse
entity Q642553
relation P137
type Q811979
[{'concept': 'Q811979'}, 'P137', 'Q642553']
SELECT DISTINCT ?j WHERE { ?j property:P137 resource:Q642553 . ?j rdf:type ontology:Q811979 }
Cleveland Indians
action filter_type
action find_reverse
entity Cleveland Indians
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Cleveland Indians']
SELECT DISTINCT ?j WHERE { ?j property:operator resource:Cleveland_Indians . ?j rdf:type ontology:architectural_structure }
[]
architectural structure
Q2947644
SYSTEM
Chain of Lakes Park
Q2947644
(c(Q811979),P137,Q642553)
action filter_type
action find_reverse
entity Q642553
relation P137
type Q811979
[ANSWER] can be described as facility operator of Cleveland Indians
[{'concept': 'Q811979'}, 'P137', 'Q642553']
SELECT DISTINCT ?j WHERE { ?j property:P137 resource:Q642553 . ?j rdf:type ontology:Q811979 }
Chain of Lakes Park
Chain of Lakes Park can be described as facility operator of Cleveland Indians
Chain of Lakes Park
action filter_type
action find_reverse
entity Cleveland Indians
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Cleveland Indians']
SELECT DISTINCT ?j WHERE { ?j property:operator resource:Cleveland_Indians . ?j rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2947644
P466
Q12973014
USER
Who was the tenant of that architectural structure ?
(Q2947644,P466,c(Q12973014))
action filter_type
action find
entity Q2947644
relation P466
type Q12973014
['Q2947644', 'P466', {'concept': 'Q12973014'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12973014 . resource:Q2947644 property:P466 ?n }
Chain of Lakes Park
action filter_type
action find
entity Chain of Lakes Park
relation occupant
type sports team
['Chain of Lakes Park', 'occupant', {'concept': 'sports team'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sports_team . resource:Chain_of_Lakes_Park property:occupant ?n }
[]
sports team
Q213959
SYSTEM
Boston Red Sox
Q213959
(Q2947644,P466,c(Q12973014))
action filter_type
action find
entity Q2947644
relation P466
type Q12973014
The tenant of that architectural structure was the [ANSWER]
['Q2947644', 'P466', {'concept': 'Q12973014'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12973014 . resource:Q2947644 property:P466 ?n }
Boston Red Sox
The tenant of that architectural structure was the Boston Red Sox
Boston Red Sox
action filter_type
action find
entity Chain of Lakes Park
relation occupant
type sports team
['Chain of Lakes Park', 'occupant', {'concept': 'sports team'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sports_team . resource:Chain_of_Lakes_Park property:occupant ?n }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q549451 Q2947644
P466
Q12973014
USER
Or Stadio Comunale Mario Battaglini?
OR((Q2947644,P466,c(Q12973014)), (Q549451,P466,c(Q12973014)))
action filter_type
action union
action find
entity Q2947644
relation P466
action find
entity Q549451
relation P466
type Q12973014
{'OR': [['Q2947644', 'P466', {'concept': 'Q12973014'}], ['Q549451', 'P466', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q2947644 property:P466 ?f } UNION { resource:Q549451 property:P466 ?f } } . ?f rdf:type ontology:Q12973014 }
Stadio Comunale Mario Battaglini Chain of Lakes Park
action filter_type
action union
action find
entity Chain of Lakes Park
relation occupant
action find
entity Stadio Comunale Mario Battaglini
relation occupant
type sports team
{'OR': [['Chain of Lakes Park', 'occupant', {'concept': 'sports team'}], ['Stadio Comunale Mario Battaglini', 'occupant', {'concept': 'sports team'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Chain_of_Lakes_Park property:occupant ?f } UNION { resource:Stadio_Comunale_Mario_Battaglini property:occupant ?f } } . ?f rdf:type ontology:sports_team }
[]
sports team
Q213959 Q979797
SYSTEM
Boston Red Sox, Rugby Rovigo Delta
Q213959 Q979797
OR((Q2947644,P466,c(Q12973014)), (Q549451,P466,c(Q12973014)))
action filter_type
action union
action find
entity Q2947644
relation P466
action find
entity Q549451
relation P466
type Q12973014
[ANSWERS]
{'OR': [['Q2947644', 'P466', {'concept': 'Q12973014'}], ['Q549451', 'P466', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q2947644 property:P466 ?f } UNION { resource:Q549451 property:P466 ?f } } . ?f rdf:type ontology:Q12973014 }
Boston Red Sox Rugby Rovigo Delta
Boston Red Sox Rugby Rovigo Delta
action filter_type
action union
action find
entity Chain of Lakes Park
relation occupant
action find
entity Stadio Comunale Mario Battaglini
relation occupant
type sports team
{'OR': [['Chain of Lakes Park', 'occupant', {'concept': 'sports team'}], ['Stadio Comunale Mario Battaglini', 'occupant', {'concept': 'sports team'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Chain_of_Lakes_Park property:occupant ?f } UNION { resource:Stadio_Comunale_Mario_Battaglini property:occupant ?f } } . ?f rdf:type ontology:sports_team }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P115
Q1076486 Q811979 Q12973014
USER
Which sports teams have less number of sports venues and architectural structures as their home field than that sports team ?
(c(Q12973014),P115,c(Q1076486)|c(Q811979))
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q1076486'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?y WHERE { { ?z property:P115 ?e . VALUES ( ?e ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q12973014 . ?y rdf:type ontology:Q1076486 . ?x rdf:type ontology:Q811979 }
[{'concept': 'sports team'}, 'home venue', [{'concept': 'sports venue'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?y WHERE { { ?z property:home_venue ?e . VALUES ( ?e ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:sports_team . ?y rdf:type ontology:sports_venue . ?x rdf:type ontology:architectural_structure }
[]
sports venue architectural structure sports team
Comparative|More/Less|Mult. entity type|Clarification
Q979797
SYSTEM
Did you mean Rugby Rovigo Delta ?
(c(Q12973014),P115,c(Q1076486)|c(Q811979))
[ANSWER]
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q1076486'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?y WHERE { { ?z property:P115 ?e . VALUES ( ?e ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q12973014 . ?y rdf:type ontology:Q1076486 . ?x rdf:type ontology:Q811979 }
Did you mean Rugby Rovigo Delta ?
Rugby Rovigo Delta
[{'concept': 'sports team'}, 'home venue', [{'concept': 'sports venue'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?y WHERE { { ?z property:home_venue ?e . VALUES ( ?e ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:sports_team . ?y rdf:type ontology:sports_venue . ?x rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (All)
USER
No, I meant Boston Red Sox. Could you tell me the answer for that?
(c(Q12973014),P115,c(Q1076486)|c(Q811979))
Q213959
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q1076486'}, {'concept': 'Q811979'}]]
[{'concept': 'sports team'}, 'home venue', [{'concept': 'sports venue'}, {'concept': 'architectural structure'}]]
[]
SYSTEM
165
Q5018221 Q466586 Q868082 Q1141306 Q463349 Q868101 Q19870761 Q3151359 Q157376 Q1251724 Q454764 Q692417 Q5416971 Q836109 Q7016620 Q12018770 Q54927 Q54922 Q131371 Q940641 Q8025768 Q498084 Q4841174 Q1019345 Q1130636 Q7074000 Q1901938 Q329816 Q868067 Q159729 Q521663 Q2085806 Q7009239 Q954798 Q656923 Q217601 Q583259 Q665920 Q388858 Q387496 Q825838 Q2104699 Q3400957 Q1270259 Q169138 Q2083283 Q213417 Q334634 Q3489807 Q867828 Q4938454 Q1564514 Q324589 Q5668261 Q643795 Q4993321 Q1518257 Q331650 Q916967 Q650840 Q246782 Q154053 Q2205512 Q1779406 Q15786 Q1568246 Q162289 Q10856994 Q1465192 Q1357204 Q1266000 Q1047634 Q5715626 Q4791331 Q1319827 Q848103 Q1419127 Q1420393 Q3960035 Q17236274 Q504339 Q7826440 Q974900 Q413568 Q688162 Q695825 Q7845058 Q2075122 Q838520 Q504309 Q36916 Q213959 Q611163 Q812713 Q3124782 Q16259354 Q684077 Q7914130 Q3124767 Q642553 Q1067358 Q1329633 Q7231881 Q2406877 Q766529 Q3041569 Q165127 Q650855 Q971676 Q1472697 Q922432 Q180950 Q12872831 Q7578867 Q3174673 Q169637 Q2975432 Q1753439 Q868098 Q12872691 Q848117 Q2725705 Q697902 Q3058749 Q192083 Q163480 Q704336 Q2740400 Q358191 Q650865 Q1498153 Q826751 Q267094 Q2979803 Q1566189 Q670376 Q5617449 Q169661 Q121783 Q12752453 Q461647 Q4701227 Q7534873 Q1019555 Q23979109 Q1541588 Q3124779 Q853056 Q389007 Q1562969 Q700366 Q15279091 Q1474850 Q4239555 Q162954 Q1788018 Q16331496 Q169941 Q7895746 Q756160 Q828527 Q650829 Q680599 Q20750295 Q686068
(c(Q12973014),P115,c(Q1076486)|c(Q811979))
[ANSWER]
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q1076486'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?y WHERE { { { ?z property:P115 ?y } UNION { ?z property:P115 ?x } } . ?z rdf:type ontology:Q12973014 . ?y rdf:type ontology:Q1076486 . ?x rdf:type ontology:Q811979 }
Cal State Fullerton Titans men's basketball Seattle Mariners Guerreros de Oaxaca KK Zadar Phoenix Hagen Acereros de Monclova Jaguares Inland Empire 66ers of San Bernardino Golden State Cavaliers Baltimore Monumentals TBB Trier New York Mets Everett AquaSox Skyliners Frankfurt Newark Bears HC Stadion Litoměřice Saski Baskonia Real Madrid Baloncesto Boston Celtics SK Horácká Slavia Třebíč Winnipeg Maroons Iserlohn Roosters Badureliya Sports Club Bærum SK Oulun Kärpät Oakland Golden Grizzlies men's basketball BC Ural Yekaterinburg Texas Rangers Saraperos de Saltillo San Antonio Spurs Mitteldeutscher BC Philadelphia Phantoms New Jersey Jackals HC Sareza Ostrava MT Melsungen Drøbak-Frogn IL Las Vegas 51s VfB Lübeck Colorado Rockies Tigres de Quintana Roo Washington Nationals Port Huron Border Cats Portland Power Piráti Chomutov Miami Heat Colorado Springs Sky Sox New York Yankees Los Angeles Dodgers Somerset County Cricket Club Rojos del Águila de Veracruz Boise Hawks New Haven Elm Citys C.A. Lanús Algodoneros de San Luis Alba Berlin Odense Håndbold Ospreys FBK Kaunas KK Cibona Philadelphia Phillies Chicago Cubs Eintracht Braunschweig SC Rasta Vechta Norfolk Tides 1. FC Nürnberg Altoona Mountain City 1. FC Köln Frauen ZJS Zbrojovka Spartak Brno Washington Mystics Jokerit Dunkerque Handball Grand Littoral Diablos Rojos del México BC Apollo Arizona League Angels US Dax Milwaukee Brewers Tappara Galatasaray Medical Park York Revolution Ottawa Champions Oakland Athletics Toronto Maple Leafs HK Alfa Ak Bars Kazan Eisbären Berlin ERC Ingolstadt Trois-Rivières Aigles Lowell Spinners HC Slezan Opava St. Louis Cardinals SC Bern Boston Red Sox Ethnikos Piraeus Water Polo Club Al-Wehda Club HC ZUBR Přerov Moors Sports Club Artland Dragons Vancouver Canadians HC Benátky nad Jizerou Cleveland Indians Charlotte Sting Los Angeles Sparks Portland Beavers HC Chelny AZ Havířov Durham County Cricket Club THW Kiel Detroit Tigers Sultanes de Monterrey San Antonio Silver Stars Olympiacos Water Polo Club Oklahoma City Thunder AEZ Zakakiou Spokane Indians UE Santboiana Milwaukee Bucks HK Orange 20 SaiPa Broncos de Reynosa Proteas Voulas B.C. Houston Astros Warwickshire County Cricket Club Kölner Haie Essex County Cricket Club Philadelphia Flyers Charlotte Hornets Düsseldorfer EG Tucson Padres Adler Mannheim Tampa Bay Rays Kalamazoo Wings Cincinnati Reds Hockey Club de Reims Alcobendas Rugby HYS The Hague Arizona Diamondbacks Gulf Coast League Red Sox Detroit Pistons Los Angeles Lakers KK Loznica Walter Tigers Tübingen Akita Northern Happinets Ski IL HC Bílí Tygři Liberec Atlas Aglandjias Sacramento Monarchs HC Tábor Metallurg Magnitogorsk CRC Madrid HC Slovan Ústečtí Lvi Brose Baskets El Paso Chihuahuas Minnesota Lynx BC Krasny Oktyabr Denver Nuggets Derbyshire County Cricket Club Elpida Astromeriti Cardiff Blues University of Miami Rugby Football Club Atlanta Dream RK 03 Berlin Toronto Blue Jays TuS Nettelstedt-Lübbecke E.S. Kadmos Thivas Vienna Capitals
165
[{'concept': 'sports team'}, 'home venue', [{'concept': 'sports venue'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?y WHERE { { { ?z property:home_venue ?y } UNION { ?z property:home_venue ?x } } . ?z rdf:type ontology:sports_team . ?y rdf:type ontology:sports_venue . ?x rdf:type ontology:architectural_structure }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q20950396 Q642553
P641
Q349
USER
Which sports did Cleveland Indians and 2016 Major League Baseball season participate in ?
AND((Q642553,P641,c(Q349)), (Q20950396,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q642553
relation P641
action find
entity Q20950396
relation P641
type Q349
{'AND': [['Q642553', 'P641', {'concept': 'Q349'}], ['Q20950396', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q642553 property:P641 ?s . resource:Q20950396 property:P641 ?s }
2016 Major League Baseball season Cleveland Indians
action filter_type
action intersection
action find
entity Cleveland Indians
relation sport
action find
entity 2016 Major League Baseball season
relation sport
type sport
{'AND': [['Cleveland Indians', 'sport', {'concept': 'sport'}], ['2016 Major League Baseball season', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Cleveland_Indians property:sport ?s . resource:2016_Major_League_Baseball_season property:sport ?s }
[]
sport
Q5369
SYSTEM
baseball
Q5369
AND((Q642553,P641,c(Q349)), (Q20950396,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q642553
relation P641
action find
entity Q20950396
relation P641
type Q349
Cleveland Indians and 2016 Major League [ANSWER] season participated in [ANSWER]
{'AND': [['Q642553', 'P641', {'concept': 'Q349'}], ['Q20950396', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q642553 property:P641 ?s . resource:Q20950396 property:P641 ?s }
baseball
Cleveland Indians and 2016 Major League Baseball season participated in baseball
baseball
action filter_type
action intersection
action find
entity Cleveland Indians
relation sport
action find
entity 2016 Major League Baseball season
relation sport
type sport
{'AND': [['Cleveland Indians', 'sport', {'concept': 'sport'}], ['2016 Major League Baseball season', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Cleveland_Indians property:sport ?s . resource:2016_Major_League_Baseball_season property:sport ?s }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P669
Q811979 Q4830453 Q55488
USER
Which architectural structures are max number of business enterprises or railway stations located ?
(c(Q4830453)|c(Q55488),P669,c(Q811979))
action argmax
action union
action find_reverse_tuple_counts
relation P669
type Q811979
type Q4830453
action find_reverse_tuple_counts
relation P669
type Q811979
type Q55488
[[{'concept': 'Q4830453'}, {'concept': 'Q55488'}], 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?r ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:Q4830453 ) ( ontology:Q55488 ) } } GROUP BY ?t } } . FILTER ( ?n = ?r ) . { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?n ) WHERE { { ?k property:P669 ?h . ?k rdf:type ontology:Q4830453 . ?h rdf:type ontology:Q811979 } UNION { ?k property:P669 ?h . ?h rdf:type ontology:Q811979 . ?k rdf:type ontology:Q55488 } } GROUP BY ?h } }
action argmax
action union
action find_reverse_tuple_counts
relation located on street
type architectural structure
type business enterprise
action find_reverse_tuple_counts
relation located on street
type architectural structure
type railway station
[[{'concept': 'business enterprise'}, {'concept': 'railway station'}], 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?r ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:business_enterprise ) ( ontology:railway_station ) } } GROUP BY ?t } } . FILTER ( ?n = ?r ) . { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?n ) WHERE { { ?k property:located_on_street ?h . ?k rdf:type ontology:business_enterprise . ?h rdf:type ontology:architectural_structure } UNION { ?k property:located_on_street ?h . ?h rdf:type ontology:architectural_structure . ?k rdf:type ontology:railway_station } } GROUP BY ?h } }
[]
architectural structure business enterprise railway station
Q2097879 Q3390162 Q3390598
SYSTEM
place Denfert-Rochereau, place Victor-Hugo, place du Colonel-Fabien
Q2071624 Q1368319 Q3390657 Q3389976 Q2550495 Q51108 Q3390541 Q3389946 Q3390487 Q1409805 Q3390162 Q1325713 Q2756450 Q3390598 Q2783781 Q12323100 Q2097879 Q3902479 Q3434140 Q602107 Q1966521 Q12340524 Q1375505 Q898629
(c(Q4830453)|c(Q55488),P669,c(Q811979))
action argmax
action union
action find_reverse_tuple_counts
relation P669
type Q811979
type Q4830453
action find_reverse_tuple_counts
relation P669
type Q811979
type Q55488
[ANSWERS] are max number of business enterprises or railway stations located
[[{'concept': 'Q4830453'}, {'concept': 'Q55488'}], 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?r ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:Q4830453 ) ( ontology:Q55488 ) } } GROUP BY ?t } } . FILTER ( ?n = ?r ) . { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?n ) WHERE { { ?k property:P669 ?h . ?k rdf:type ontology:Q4830453 . ?h rdf:type ontology:Q811979 } UNION { ?k property:P669 ?h . ?h rdf:type ontology:Q811979 . ?k rdf:type ontology:Q55488 } } GROUP BY ?h } }
Piazza Cordusio Esplanadi place du Palais-Royal place Martin-Nadaud Washingtonplatz piazza del Duomo place des Ternes place Louis-Lépine place des Abbesses Leidseplein place Victor-Hugo Place Jacques-Cartier place de l'Opéra place du Colonel-Fabien Piazza San Babila Kultorvet place Denfert-Rochereau Piazzale Cadorna Gammel Strand place Pigalle place d'Italie Vandkunsten Europaplatz place des Vosges
Place Denfert-Rochereau, place Victor-Hugo and place du Colonel-Fabien are max number of business enterprises or railway stations located
place Denfert-Rochereau place Victor-Hugo place du Colonel-Fabien
action argmax
action union
action find_reverse_tuple_counts
relation located on street
type architectural structure
type business enterprise
action find_reverse_tuple_counts
relation located on street
type architectural structure
type railway station
[[{'concept': 'business enterprise'}, {'concept': 'railway station'}], 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?r ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:business_enterprise ) ( ontology:railway_station ) } } GROUP BY ?t } } . FILTER ( ?n = ?r ) . { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?n ) WHERE { { ?k property:located_on_street ?h . ?k rdf:type ontology:business_enterprise . ?h rdf:type ontology:architectural_structure } UNION { ?k property:located_on_street ?h . ?h rdf:type ontology:architectural_structure . ?k rdf:type ontology:railway_station } } GROUP BY ?h } }
[]