Simple Question (Direct)
Simple Question
Q19953739
P641
Q349
USER
Which sport was Hanna Pilipenka a part of ?
(Q19953739,P641,c(Q349))
action filter_type
action find
entity Q19953739
relation P641
type Q349
['Q19953739', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q19953739 property:P641 ?c . ?c rdf:type ontology:Q349 }
Hanna Pilipenka
action filter_type
action find
entity Hanna Pilipenka
relation sport
type sport
['Hanna Pilipenka', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Hanna_Pilipenka property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q19953739,P641,c(Q349))
action filter_type
action find
entity Q19953739
relation P641
type Q349
Which sport was Hanna Pilipenka a part of
['Q19953739', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q19953739 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
Which sport was Hanna Pilipenka a part of
association football
action filter_type
action find
entity Hanna Pilipenka
relation sport
type sport
['Hanna Pilipenka', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Hanna_Pilipenka property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19953739
P106
Q12737077
USER
What is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q19953739
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q19953739 property:P106 ?z }
Hanna Pilipenka
action filter_type
action find
entity Hanna Pilipenka
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Hanna_Pilipenka property:occupation ?z }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q19953739
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q19953739 property:P106 ?z }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Hanna Pilipenka
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Hanna_Pilipenka property:occupation ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19953739
P19
Q15617994
USER
Which administrative territory is the place of birth of that person ?
(Q937857,P19,c(Q15617994))
action filter_type
action find
entity Q19953739
relation P19
type Q15617994
['Q937857', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q19953739 property:P19 ?i . ?i rdf:type ontology:Q15617994 }
Hanna Pilipenka
action filter_type
action find
entity Hanna Pilipenka
relation place of birth
type designation for an administrative territorial entity
['association football player', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Hanna_Pilipenka property:place_of_birth ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(Q937857,P19,c(Q15617994))
action filter_type
action find
entity Q19953739
relation P19
type Q15617994
To [ANSWER] is the place of birth of that person
['Q937857', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q19953739 property:P19 ?i . ?i rdf:type ontology:Q15617994 }
Belarus
To Belarus is the place of birth of that person
Belarus
action filter_type
action find
entity Hanna Pilipenka
relation place of birth
type designation for an administrative territorial entity
['association football player', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Hanna_Pilipenka property:place_of_birth ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19953739
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q184,P27,c(Q15617994))
action filter_type
action find
entity Q19953739
relation P27
type Q15617994
['Q184', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q19953739 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Hanna Pilipenka
action filter_type
action find
entity Hanna Pilipenka
relation country of citizenship
type designation for an administrative territorial entity
['Belarus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Hanna_Pilipenka property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(Q184,P27,c(Q15617994))
action filter_type
action find
entity Q19953739
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q184', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q19953739 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Belarus
Belarus is the country of citizenship of that person
Belarus
action filter_type
action find
entity Hanna Pilipenka
relation country of citizenship
type designation for an administrative territorial entity
['Belarus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Hanna_Pilipenka property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations with atleast 121 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 121
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?k ) WHERE { ?v property:P530 ?y . ?v rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?k >= 121 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 121
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?k ) WHERE { ?v property:diplomatic_relation ?y . ?v rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?k >= 121 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
1
Q183
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 121
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?k ) WHERE { ?v property:P530 ?y . ?v rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?k >= 121 ) }
Germany
1
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 121
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?k ) WHERE { ?v property:diplomatic_relation ?y . ?v rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?k >= 121 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184
P17
Q12973014
USER
Which sports teams are present in Belarus ?
(c(Q12973014),P17,Q184)
action filter_type
action find_reverse
entity Q184
relation P17
type Q12973014
[{'concept': 'Q12973014'}, 'P17', 'Q184']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12973014 . ?a property:P17 resource:Q184 }
Belarus
action filter_type
action find_reverse
entity Belarus
relation country
type sports team
[{'concept': 'sports team'}, 'country', 'Belarus']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sports_team . ?a property:country resource:Belarus }
[]
sports team
Q36888 Q681433 Q9306634
SYSTEM
HK Vitebsk, Keramin Minsk, Belarus men's national field hockey team
Q36818 Q9306634 Q862266 Q1605112 Q16838132 Q36982 Q36896 Q2280570 Q4073993 Q24998 Q36888 Q681433
(c(Q12973014),P17,Q184)
action filter_type
action find_reverse
entity Q184
relation P17
type Q12973014
[ANSWERS] are present in Belarus
[{'concept': 'Q12973014'}, 'P17', 'Q184']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12973014 . ?a property:P17 resource:Q184 }
HK Lida Belarus men's national field hockey team HC Dinamo Minsk Tivali Minsk FC Luninets Yunost Minsk HC Shakhtyor Soligorsk Belarus national basketball team BNTU Minsk HK Gomel HK Vitebsk Keramin Minsk
HK Vitebsk, Keramin Minsk and Belarus men's national field hockey team are present in Belarus
HK Vitebsk Keramin Minsk Belarus men's national field hockey team
action filter_type
action find_reverse
entity Belarus
relation country
type sports team
[{'concept': 'sports team'}, 'country', 'Belarus']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sports_team . ?a property:country resource:Belarus }
[]
Clarification
Simple Question|Single Entity|Indirect
Q681433
P115
Q811979
USER
Which architectural structure is the home venue of that sports team ?
(Q681433,P115,c(Q811979))
action filter_type
action find
entity Q681433
relation P115
type Q811979
['Q681433', 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q811979 . resource:Q681433 property:P115 ?f }
Keramin Minsk
action filter_type
action find
entity Keramin Minsk
relation home venue
type architectural structure
['Keramin Minsk', 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:architectural_structure . resource:Keramin_Minsk property:home_venue ?f }
[]
architectural structure
Clarification for simple ques.
Q9306634
SYSTEM
Did you mean Belarus men's national field hockey team ?
Q36888 Q681433 Q9306634
(Q36888,P115,c(Q811979)) (Q681433,P115,c(Q811979)) (Q9306634,P115,c(Q811979))
[ANSWER]
['Q36888', 'P115', {'concept': 'Q811979'}] ['Q681433', 'P115', {'concept': 'Q811979'}] ['Q9306634', 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q811979 . resource:Q681433 property:P115 ?f }
HK Vitebsk Keramin Minsk Belarus men's national field hockey team
Did you mean Belarus men's national field hockey team ?
Belarus men's national field hockey team
['HK Vitebsk', 'home venue', {'concept': 'architectural structure'}] ['Keramin Minsk', 'home venue', {'concept': 'architectural structure'}] ["Belarus men's national field hockey team", 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:architectural_structure . resource:Keramin_Minsk property:home_venue ?f }
[]
Simple Question (Coreferenced)
USER
No, I meant Keramin Minsk. Could you tell me the answer for that?
(Q681433,P115,c(Q811979))
Q681433
['Q681433', 'P115', {'concept': 'Q811979'}]
['Keramin Minsk', 'home venue', {'concept': 'architectural structure'}]
[]
Q4295222
SYSTEM
Minsk Ice Palace
Q4295222
(Q681433,P115,c(Q811979))
action filter_type
action find
entity Q681433
relation P115
type Q811979
[ANSWER] is the home venue of that sports team
['Q681433', 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q811979 . resource:Q681433 property:P115 ?f }
Minsk Ice Palace
Minsk Ice Palace is the home venue of that sports team
Minsk Ice Palace
action filter_type
action find
entity Keramin Minsk
relation home venue
type architectural structure
['Keramin Minsk', 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:architectural_structure . resource:Keramin_Minsk property:home_venue ?f }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P115
Q811979 Q1076486 Q12973014
USER
Which sports teams have min number of architectural structures or sports venues as their home venue ?
(c(Q12973014),P115,c(Q811979)|c(Q1076486))
action argmin
action union
action find_tuple_counts
relation P115
type Q12973014
type Q811979
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?k WHERE { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?e WHERE { { ?e property:P115 ?p . ?e rdf:type ontology:Q12973014 . ?p rdf:type ontology:Q811979 } UNION { ?e property:P115 ?p . ?p rdf:type ontology:Q1076486 . ?e rdf:type ontology:Q12973014 } } GROUP BY ?e } . FILTER ( ?q = ?z ) }
action argmin
action union
action find_tuple_counts
relation home venue
type sports team
type architectural structure
action find_tuple_counts
relation home venue
type sports team
type sports venue
[{'concept': 'sports team'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?k WHERE { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?e WHERE { { ?e property:home_venue ?p . ?e rdf:type ontology:sports_team . ?p rdf:type ontology:architectural_structure } UNION { ?e property:home_venue ?p . ?p rdf:type ontology:sports_venue . ?e rdf:type ontology:sports_team } } GROUP BY ?e } . FILTER ( ?q = ?z ) }
[]
architectural structure sports venue sports team
Q12872831 Q213959 Q16331496
SYSTEM
AEZ Zakakiou, Boston Red Sox, Elpida Astromeriti
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(Q811979)|c(Q1076486))
action argmin
action union
action find_tuple_counts
relation P115
type Q12973014
type Q811979
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
[ANSWERS] have min number of architectural structures or sports venues as their home venue
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?k WHERE { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?e WHERE { { ?e property:P115 ?p . ?e rdf:type ontology:Q12973014 . ?p rdf:type ontology:Q811979 } UNION { ?e property:P115 ?p . ?p rdf:type ontology:Q1076486 . ?e rdf:type ontology:Q12973014 } } GROUP BY ?e } . FILTER ( ?q = ?z ) }
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
AEZ Zakakiou, Boston Red Sox and Elpida Astromeriti have min number of architectural structures or sports venues as their home venue
AEZ Zakakiou Boston Red Sox Elpida Astromeriti
action argmin
action union
action find_tuple_counts
relation home venue
type sports team
type architectural structure
action find_tuple_counts
relation home venue
type sports team
type sports venue
[{'concept': 'sports team'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?k WHERE { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?e WHERE { { ?e property:home_venue ?p . ?e rdf:type ontology:sports_team . ?p rdf:type ontology:architectural_structure } UNION { ?e property:home_venue ?p . ?p rdf:type ontology:sports_venue . ?e rdf:type ontology:sports_team } } GROUP BY ?e } . FILTER ( ?q = ?z ) }
[]