Simple Question (Direct)
Simple Question
Q16007836
P54
Q12973014
USER
Which sports teams are Jim McGlothlin a member of ?
(Q16007836,P54,c(Q12973014))
action filter_type
action find
entity Q16007836
relation P54
type Q12973014
['Q16007836', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?p WHERE { resource:Q16007836 property:P54 ?p . ?p rdf:type ontology:Q12973014 }
Jim McGlothlin
action filter_type
action find
entity Jim McGlothlin
relation member of sports team
type sports team
['Jim McGlothlin', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?p WHERE { resource:Jim_McGlothlin property:member_of_sports_team ?p . ?p rdf:type ontology:sports_team }
[]
sports team
Q335169 Q826751
SYSTEM
Chicago White Sox, Cincinnati Reds
Q335169 Q826751
(Q16007836,P54,c(Q12973014))
action filter_type
action find
entity Q16007836
relation P54
type Q12973014
The [ANSWERS] are Jim McGlothlin a member of
['Q16007836', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?p WHERE { resource:Q16007836 property:P54 ?p . ?p rdf:type ontology:Q12973014 }
Chicago White Sox Cincinnati Reds
The Chicago White Sox and Cincinnati Reds are Jim McGlothlin a member of
Chicago White Sox Cincinnati Reds
action filter_type
action find
entity Jim McGlothlin
relation member of sports team
type sports team
['Jim McGlothlin', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?p WHERE { resource:Jim_McGlothlin property:member_of_sports_team ?p . ?p rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q335169 Q826751
P17
Q15617994
USER
Which administrative territories are Chicago White Sox and Cincinnati Reds a part of ?
(Q335169,P17,c(Q15617994)) (Q826751,P17,c(Q15617994))
action union
action filter_type
action find
entity Q335169
relation P17
type Q15617994
action filter_type
action find
entity Q826751
relation P17
type Q15617994
['Q335169', 'P17', {'concept': 'Q15617994'}] ['Q826751', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { resource:Q335169 property:P17 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q826751 property:P17 ?f . ?f rdf:type ontology:Q15617994 } }
Chicago White Sox Cincinnati Reds
action union
action filter_type
action find
entity Chicago White Sox
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Cincinnati Reds
relation country
type designation for an administrative territorial entity
['Chicago White Sox', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cincinnati Reds', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { resource:Chicago_White_Sox property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Cincinnati_Reds property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q30
SYSTEM
United States of America
Q30 Q30
(Q335169,P17,c(Q15617994)) (Q826751,P17,c(Q15617994))
action union
action filter_type
action find
entity Q335169
relation P17
type Q15617994
action filter_type
action find
entity Q826751
relation P17
type Q15617994
Which administrative territories are Chicago White Sox and Cincinnati Reds a part of
['Q335169', 'P17', {'concept': 'Q15617994'}] ['Q826751', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { resource:Q335169 property:P17 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q826751 property:P17 ?f . ?f rdf:type ontology:Q15617994 } }
United States of America United States of America
Which administrative territories are Chicago White Sox and Cincinnati Reds a part of
United States of America United States of America
action union
action filter_type
action find
entity Chicago White Sox
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Cincinnati Reds
relation country
type designation for an administrative territorial entity
['Chicago White Sox', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cincinnati Reds', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { resource:Chicago_White_Sox property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Cincinnati_Reds property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q335169
P115
Q811979
USER
Which architectural structure is the home venue of Chicago White Sox ?
(Q335169,P115,c(Q811979))
action filter_type
action find
entity Q335169
relation P115
type Q811979
['Q335169', 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?d WHERE { resource:Q335169 property:P115 ?d . ?d rdf:type ontology:Q811979 }
Chicago White Sox
action filter_type
action find
entity Chicago White Sox
relation home venue
type architectural structure
['Chicago White Sox', 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?d WHERE { resource:Chicago_White_Sox property:home_venue ?d . ?d rdf:type ontology:architectural_structure }
[]
architectural structure
Q633613
SYSTEM
Guaranteed Rate Field
Q633613
(Q335169,P115,c(Q811979))
action filter_type
action find
entity Q335169
relation P115
type Q811979
' guaranteed Rate Field is the home venue of Chicago White Sox
['Q335169', 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?d WHERE { resource:Q335169 property:P115 ?d . ?d rdf:type ontology:Q811979 }
Guaranteed Rate Field
' guaranteed Rate Field is the home venue of Chicago White Sox
Guaranteed Rate Field
action filter_type
action find
entity Chicago White Sox
relation home venue
type architectural structure
['Chicago White Sox', 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?d WHERE { resource:Chicago_White_Sox property:home_venue ?d . ?d rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q335169
P118
Q6631808
USER
Which baseball league does that sports team play in ?
(Q633613,P118,c(Q6631808))
action filter_type
action find
entity Q335169
relation P118
type Q6631808
['Q633613', 'P118', {'concept': 'Q6631808'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q6631808 . resource:Q335169 property:P118 ?b }
Chicago White Sox
action filter_type
action find
entity Chicago White Sox
relation league
type baseball league
['Guaranteed Rate Field', 'league', {'concept': 'baseball league'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:baseball_league . resource:Chicago_White_Sox property:league ?b }
[]
baseball league
Q1163715
SYSTEM
Major League Baseball
Q1163715
(Q633613,P118,c(Q6631808))
action filter_type
action find
entity Q335169
relation P118
type Q6631808
That sports team plays in [ANSWER]
['Q633613', 'P118', {'concept': 'Q6631808'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q6631808 . resource:Q335169 property:P118 ?b }
Major League Baseball
That sports team plays in Major League Baseball
Major League Baseball
action filter_type
action find
entity Chicago White Sox
relation league
type baseball league
['Guaranteed Rate Field', 'league', {'concept': 'baseball league'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:baseball_league . resource:Chicago_White_Sox property:league ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q335169
P641
Q349
USER
What did that sports team participate in ?
(Q1163715,P641,c(Q349))
action filter_type
action find
entity Q335169
relation P641
type Q349
['Q1163715', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q335169 property:P641 ?z . ?z rdf:type ontology:Q349 }
Chicago White Sox
action filter_type
action find
entity Chicago White Sox
relation sport
type sport
['Major League Baseball', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Chicago_White_Sox property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q5369
SYSTEM
baseball
Q5369
(Q1163715,P641,c(Q349))
action filter_type
action find
entity Q335169
relation P641
type Q349
That sports team participated in [ANSWER]
['Q1163715', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q335169 property:P641 ?z . ?z rdf:type ontology:Q349 }
baseball
That sports team participated in baseball
baseball
action filter_type
action find
entity Chicago White Sox
relation sport
type sport
['Major League Baseball', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Chicago_White_Sox property:sport ?z . ?z rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q503805
P361
Q874405 Q49447 Q15617994
USER
Which administrative territories are parts of greater number of social groups or world views than Deisenhausen ?
(c(Q15617994),P361,c(Q874405)|c(Q49447))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action count
action filter_multi_types
action find
entity Q503805
relation P361
type Q874405
type Q49447
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?c ) { ( ontology:Q874405 ) ( ontology:Q49447 ) } . ?z rdf:type ?c } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Q503805 property:P361 ?d . { { ?d rdf:type ontology:Q874405 } UNION { ?d rdf:type ontology:Q49447 } } } } . FILTER ( ?b > ?j ) }
Deisenhausen
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action count
action filter_multi_types
action find
entity Deisenhausen
relation part of
type social group
type world view
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'social group'}, {'concept': 'world view'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?c ) { ( ontology:social_group ) ( ontology:world_view ) } . ?z rdf:type ?c } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Deisenhausen property:part_of ?d . { { ?d rdf:type ontology:social_group } UNION { ?d rdf:type ontology:world_view } } } } . FILTER ( ?b > ?j ) }
[]
social group world view designation for an administrative territorial entity
Q184864 Q3773354 Q697685
SYSTEM
Megara, Alagonia, House of Nassau-Weilburg
Q184864 Q3773354 Q697685
(c(Q15617994),P361,c(Q874405)|c(Q49447))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action count
action filter_multi_types
action find
entity Q503805
relation P361
type Q874405
type Q49447
[ANSWERS] are parts of greater number of social groups or world views than Deisenhausen
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?c ) { ( ontology:Q874405 ) ( ontology:Q49447 ) } . ?z rdf:type ?c } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Q503805 property:P361 ?d . { { ?d rdf:type ontology:Q874405 } UNION { ?d rdf:type ontology:Q49447 } } } } . FILTER ( ?b > ?j ) }
Megara Alagonia House of Nassau-Weilburg
Megara, Alagonia and House of Nassau-Weilburg are parts of greater number of social groups or world views than Deisenhausen
Megara Alagonia House of Nassau-Weilburg
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action count
action filter_multi_types
action find
entity Deisenhausen
relation part of
type social group
type world view
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'social group'}, {'concept': 'world view'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?c ) { ( ontology:social_group ) ( ontology:world_view ) } . ?z rdf:type ?c } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Deisenhausen property:part_of ?d . { { ?d rdf:type ontology:social_group } UNION { ?d rdf:type ontology:world_view } } } } . FILTER ( ?b > ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q23848306
P706
Q14524493 Q15324 Q811979
USER
How many architectural structures have their location as lesser number of terrains and bodies of water than Apatitovyi tsirk ?
(c(Q811979),P706,c(Q14524493)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P706
type Q811979
type Q14524493
action find_tuple_counts
relation P706
type Q811979
type Q15324
action count
action filter_multi_types
action find
entity Q23848306
relation P706
type Q14524493
type Q15324
[{'concept': 'Q811979'}, 'P706', [{'concept': 'Q14524493'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?m ) WHERE { VALUES ( ?r ) { ( ontology:Q14524493 ) ( ontology:Q15324 ) } . ?b rdf:type ?r } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Q23848306 property:P706 ?q . { { ?q rdf:type ontology:Q14524493 } UNION { ?q rdf:type ontology:Q15324 } } } } . FILTER ( ?m < ?h ) }
Apatitovyi tsirk
action count
action less
action union
action find_tuple_counts
relation located on terrain feature
type architectural structure
type terrain
action find_tuple_counts
relation located on terrain feature
type architectural structure
type body of water
action count
action filter_multi_types
action find
entity Apatitovyi tsirk
relation located on terrain feature
type terrain
type body of water
[{'concept': 'architectural structure'}, 'located on terrain feature', [{'concept': 'terrain'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?m ) WHERE { VALUES ( ?r ) { ( ontology:terrain ) ( ontology:body_of_water ) } . ?b rdf:type ?r } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Apatitovyi_tsirk property:located_on_terrain_feature ?q . { { ?q rdf:type ontology:terrain } UNION { ?q rdf:type ontology:body_of_water } } } } . FILTER ( ?m < ?h ) }
[]
terrain body of water architectural structure
SYSTEM
184
Q5110637 Q20829079 Q3471001 Q10577966 Q19979588 Q11701416 Q7006696 Q6513455 Q685755 Q2985016 Q1319325 Q24035685 Q1055970 Q10510512 Q2026601 Q11694698 Q6371948 Q114160 Q2299354 Q12556819 Q3315941 Q26707101 Q11996388 Q12076825 Q26883434 Q23924632 Q10715859 Q20828324 Q3389946 Q2027080 Q17562765 Q7071305 Q10648564 Q20652573 Q5455200 Q1345155 Q326528 Q626914 Q811859 Q19251655 Q14764153 Q20828373 Q648483 Q24026055 Q23828935 Q11834860 Q20827762 Q20831161 Q12309643 Q24572884 Q12787696 Q27640071 Q5400656 Q23893375 Q23827729 Q24571923 Q10699035 Q10430998 Q2887454 Q1433477 Q24067108 Q16957641 Q3362818 Q10688590 Q3390686 Q6771090 Q403404 Q24314226 Q12885865 Q12794207 Q2720522 Q17013466 Q10494168 Q1535247 Q23894221 Q4957678 Q4566657 Q3375895 Q16254388 Q2551725 Q5420069 Q23924642 Q7629892 Q23937506 Q4141464 Q829294 Q26883401 Q24026070 Q265512 Q24045536 Q24029433 Q6432431 Q3079841 Q1550037 Q27012565 Q23894167 Q24705184 Q7579804 Q10726959 Q7332366 Q23933950 Q1777016 Q1354838 Q1753542 Q23828035 Q23937519 Q3433033 Q4712981 Q24033261 Q5769470 Q1810430 Q20830632 Q24555774 Q23829138 Q16331939 Q4681034 Q10681017 Q24050277 Q24576116 Q23924636 Q5532406 Q10709194 Q27489823 Q22683639 Q6112842 Q3363786 Q1196667 Q20828364 Q12313611 Q20830825 Q3652404 Q3439847 Q23907533 Q16964407 Q10502451 Q5625943 Q7861751 Q23848646 Q871941 Q10658323 Q5522681 Q404416 Q23937037 Q2073308 Q24556649 Q170103 Q963509 Q2385048 Q20828303 Q23937532 Q631733 Q16999453 Q24237074 Q20826635 Q6949958 Q26825001 Q3048023 Q10500796 Q3389937 Q12799481 Q4566667 Q14629344 Q24500126 Q20828358 Q10489195 Q10412359 Q10508707 Q12332361 Q16894103 Q1327827 Q10427890 Q19828249 Q20828319 Q1196688 Q20828315 Q6936733 Q1735173 Q20828313 Q7856623 Q3076267 Q10666210 Q8342981 Q1121496 Q10604793
(c(Q811979),P706,c(Q14524493)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P706
type Q811979
type Q14524493
action find_tuple_counts
relation P706
type Q811979
type Q15324
action count
action filter_multi_types
action find
entity Q23848306
relation P706
type Q14524493
type Q15324
[ANSWER]
[{'concept': 'Q811979'}, 'P706', [{'concept': 'Q14524493'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?m ) WHERE { VALUES ( ?r ) { ( ontology:Q14524493 ) ( ontology:Q15324 ) } . ?b rdf:type ?r } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Q23848306 property:P706 ?q . { { ?q rdf:type ontology:Q14524493 } UNION { ?q rdf:type ontology:Q15324 } } } } . FILTER ( ?m < ?h ) }
Christiansborg Slotsplads Kronprindsens Gade 87 Pavillon de l'eau Maskrosbollen Caomhan's Church Grmovškov dom pod Veliko Kopo New Cornelia mine Skjervøy Bridge Ruška koča Pagode de Vincennes St Anthony's Battery Shiromaru mine Cerro Rico Guldfjärdsplan Charax Dom na Smrekovcu Karl Johans torg Medborgarplatsen Solsteinhaus Nurqabay mire du Sud Green River formation (Sweetwater Co.) Proviantgården C.A.H.S. Stadium Esquire No. 7 claim Severniy mine Vintertullstorget Quarters B place Louis-Lépine Meret Oppenheim Fountain Valli-Tarama Nytorget Ragnar Östbergs plan Lame Dog Hut Fisketorget St. Mary's Tower Børsen Sky Blu Bauschänzli Water Boat fountain Pont sur le Doubs Lutheran Parsonage Stockholm City Hall Alum Cave Bluff Palitra pegmatite, Karnasurt mine Ribniška koča Legislature Building Government House Exercerhuset Heftetjern pegmatite Dom Planika pod Triglavom Mohawk Island Lighthouse Estate Catherineberg Natrolite stock, Karnasurt mount Kovdor phlogopite mine Jabel Harmun Tjärhovsplan Blasieholmstorg Bassin d'Apollo Arosa airfield Velikaya Guba uran-vanadium deposit Childs Restaurants Birger Jarls torg Södermalmstorg place du Pont-Neuf Markland Locks and Dam Axel Oxenstierna palace Molinello mine Frankish Tower Koča na Loki pod Raduho parvis Notre-Dame - place Jean-Paul-II Miaoulis Square Farsta fountain Palais de Tokyo Buckwheat pit Brantingtorget Brända tomten Bertel Thorvaldsens Plads Bernic Lake mine Belvedere water tower Exercishuset Oktyabr'skoe Cu-Ni deposit Stânca-Costeşti Dam Hilarion mine Castillo de Colomares Schloßplatz Esquire No. 8 claim Buca della Vena mine Mariborska koča Kapalagulu intrusion Roua mines Kornhamnstorg Roman theatre of Tarraco Krunkelbach valley uranium deposit Starlera mine Chinglusuai river valley pegmatite No. 22, Gottcha claim Sports and Fitness Center Åsötorget Riddarhustorget Harstigen mine Elostirion Lionel Roberts Park Mariina skála Kovdor Zheleznyi mine Christiana mine Mynttorget Alcazaba of Antequera Wood mine Cine Callao place Dauphine Bluebeard's Castle southern Hatrurim formation, Negev desert Karnasurt mine, Karnasurt mount Chalkida Bridge Addelita Cancryn Junior High School Ground Stora Hornsberg Tashelginskoe formation West Sunday mine Komsomol'skii mine Generalens Lysthus Umeå rådhus Gjerdingselva outcrops Bordeaux-Cadillac railway station Aquaria water museum Christian IV's Brewhouse Pont Louis-Philippe Villa Notman Generalkommandoen Danish Custom House Högvaktsterrassen Köpmantorget N'Chwaning mines Mayak mine Gamla bankhuset Gåstorget Tyska brunnsplan Koashva open pit Märchenbrunnen Ryssgården Gare de Bordeaux État Stockholm Stock Exchange Building Esperanza mine Pont de l'Archevêché Lukkulaisvaara ultrabasic massif Gendarmenmarkt Pont Marie mire du Nord Commercial Hotel and Coffee House Serpieri mine Ytterby mine Wessels mine Esquire no. 1 claim Government House Mälartorget Låven island Stortorget Färgargårdstorget place Louis-Aragon Prešernova koča na Stolu Järntorget Koča pri Triglavskih jezerih Gurim anticline Old Unity Lodge Essingetorget Anna Lindhs plats Greta Garbos torg Prins Jørgens Gård Lengenbach quarry Pont au Change Bellman house Phra That Si Surat Villa Santana Pont de Sully Hotel 1829 Munkbron Paul E. Joseph Stadium Jacob H.S. Lind House Turów Coal Mine fontaine du Château d'eau Sergelfontänen Cava Gran Crimean Atomic Energy Station Nymble
184
action count
action less
action union
action find_tuple_counts
relation located on terrain feature
type architectural structure
type terrain
action find_tuple_counts
relation located on terrain feature
type architectural structure
type body of water
action count
action filter_multi_types
action find
entity Apatitovyi tsirk
relation located on terrain feature
type terrain
type body of water
[{'concept': 'architectural structure'}, 'located on terrain feature', [{'concept': 'terrain'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?m ) WHERE { VALUES ( ?r ) { ( ontology:terrain ) ( ontology:body_of_water ) } . ?b rdf:type ?r } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Apatitovyi_tsirk property:located_on_terrain_feature ?q . { { ?q rdf:type ontology:terrain } UNION { ?q rdf:type ontology:body_of_water } } } } . FILTER ( ?m < ?h ) }
[]