Simple Question (Direct)
Simple Question
Q99219
P19
Q1048835
USER
Which political territory is the birthplace of Martin Lücker ?
(Q99219,P19,c(Q1048835))
action filter_type
action find
entity Q99219
relation P19
type Q1048835
['Q99219', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . resource:Q99219 property:P19 ?a }
Martin Lücker
action filter_type
action find
entity Martin Lücker
relation place of birth
type political territorial entity
['Martin Lücker', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Martin_Lücker property:place_of_birth ?a }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q99219,P19,c(Q1048835))
action filter_type
action find
entity Q99219
relation P19
type Q1048835
[ANSWER] is the birthplace of Martin Lücker
['Q99219', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . resource:Q99219 property:P19 ?a }
Germany
Germany is the birthplace of Martin Lücker
Germany
action filter_type
action find
entity Martin Lücker
relation place of birth
type political territorial entity
['Martin Lücker', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Martin_Lücker property:place_of_birth ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P710
Q820655
USER
Which statutes were that political territory a participant of ?
(c(Q820655),P710,Q183)
action filter_type
action find_reverse
entity Q183
relation P710
type Q820655
[{'concept': 'Q820655'}, 'P710', 'Q183']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q183 . ?n rdf:type ontology:Q820655 }
Germany
action filter_type
action find_reverse
entity Germany
relation participant
type statute
[{'concept': 'statute'}, 'participant', 'Germany']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Germany . ?n rdf:type ontology:statute }
[]
statute
Q672112 Q2307326
SYSTEM
Basic Treaty, Treaty of Rome
Q672112 Q2307326
(c(Q820655),P710,Q183)
action filter_type
action find_reverse
entity Q183
relation P710
type Q820655
[ANSWERS]
[{'concept': 'Q820655'}, 'P710', 'Q183']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q183 . ?n rdf:type ontology:Q820655 }
Basic Treaty Treaty of Rome
Which statutes were that political territory a participant of
Basic Treaty Treaty of Rome
action filter_type
action find_reverse
entity Germany
relation participant
type statute
[{'concept': 'statute'}, 'participant', 'Germany']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Germany . ?n rdf:type ontology:statute }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P793
Q1048835
USER
Are those statutes a key event of Germany ?
(Q183,P793,Q672112) (Q183,P793,Q2307326)
action is_in
entity prev_answer
action find
entity Q183
relation P793
['Q183', 'P793', 'Q672112'] ['Q183', 'P793', 'Q2307326']
ASK WHERE { VALUES ( ?c ) { ( resource:Q672112 ) ( resource:Q2307326 ) } . resource:Q183 property:P793 ?c }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation significant event
['Germany', 'significant event', 'Basic Treaty'] ['Germany', 'significant event', 'Treaty of Rome']
ASK WHERE { VALUES ( ?c ) { ( resource:Basic_Treaty ) ( resource:Treaty_of_Rome ) } . resource:Germany property:significant_event ?c }
[]
political territorial entity
SYSTEM
YES
(Q183,P793,Q672112) (Q183,P793,Q2307326)
action is_in
entity prev_answer
action find
entity Q183
relation P793
[ANSWER]
['Q183', 'P793', 'Q672112'] ['Q183', 'P793', 'Q2307326']
ASK WHERE { VALUES ( ?c ) { ( resource:Q672112 ) ( resource:Q2307326 ) } . resource:Q183 property:P793 ?c }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation significant event
['Germany', 'significant event', 'Basic Treaty'] ['Germany', 'significant event', 'Treaty of Rome']
ASK WHERE { VALUES ( ?c ) { ( resource:Basic_Treaty ) ( resource:Treaty_of_Rome ) } . resource:Germany property:significant_event ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q672112
P276
Q486972
USER
Which human settlement is the place where Basic Treaty is located ?
(Q672112,P276,c(Q486972))
action filter_type
action find
entity Q672112
relation P276
type Q486972
['Q672112', 'P276', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { resource:Q672112 property:P276 ?x . ?x rdf:type ontology:Q486972 }
Basic Treaty
action filter_type
action find
entity Basic Treaty
relation location
type human settlement
['Basic Treaty', 'location', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { resource:Basic_Treaty property:location ?x . ?x rdf:type ontology:human_settlement }
[]
human settlement
Q56037
SYSTEM
East Berlin
Q56037
(Q672112,P276,c(Q486972))
action filter_type
action find
entity Q672112
relation P276
type Q486972
[ANSWER] is the place where Basic Treaty is located
['Q672112', 'P276', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { resource:Q672112 property:P276 ?x . ?x rdf:type ontology:Q486972 }
East Berlin
East Berlin is the place where Basic Treaty is located
East Berlin
action filter_type
action find
entity Basic Treaty
relation location
type human settlement
['Basic Treaty', 'location', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { resource:Basic_Treaty property:location ?x . ?x rdf:type ontology:human_settlement }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1165679
P361
Q473972 Q107425 Q486972
USER
How many human settlements are a portion of less number of protected areas or landscapes than Sunset Key ?
(c(Q486972),P361,c(Q473972)|c(Q107425))
action count
action less
action union
action find_tuple_counts
relation P361
type Q486972
type Q473972
action find_tuple_counts
relation P361
type Q486972
type Q107425
action count
action filter_multi_types
action find
entity Q1165679
relation P361
type Q473972
type Q107425
[{'concept': 'Q486972'}, 'P361', [{'concept': 'Q473972'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?d WHERE { { ?d rdf:type ontology:Q486972 . ?a rdf:type ontology:Q107425 . ?d property:P361 ?a } UNION { ?d property:P361 ?a . ?d rdf:type ontology:Q486972 . ?a rdf:type ontology:Q473972 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Q1165679 property:P361 ?z . { { ?z rdf:type ontology:Q473972 } UNION { ?z rdf:type ontology:Q107425 } } } } . FILTER ( ?v < ?u ) }
Sunset Key
action count
action less
action union
action find_tuple_counts
relation part of
type human settlement
type protected area
action find_tuple_counts
relation part of
type human settlement
type landscape
action count
action filter_multi_types
action find
entity Sunset Key
relation part of
type protected area
type landscape
[{'concept': 'human settlement'}, 'part of', [{'concept': 'protected area'}, {'concept': 'landscape'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?d WHERE { { ?d rdf:type ontology:human_settlement . ?a rdf:type ontology:landscape . ?d property:part_of ?a } UNION { ?d property:part_of ?a . ?d rdf:type ontology:human_settlement . ?a rdf:type ontology:protected_area } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Sunset_Key property:part_of ?z . { { ?z rdf:type ontology:protected_area } UNION { ?z rdf:type ontology:landscape } } } } . FILTER ( ?v < ?u ) }
[]
protected area landscape human settlement
SYSTEM
206
Q187083 Q17015330 Q10480508 Q10938668 Q20829076 Q1792 Q3930055 Q835970 Q3078331 Q1880458 Q779435 Q12039539 Q12411908 Q1382123 Q17135880 Q11868256 Q223665 Q1728622 Q1766678 Q2534613 Q1388834 Q1494698 Q2439172 Q26036989 Q12400416 Q1172 Q15830667 Q985993 Q313965 Q213464 Q28516 Q15843967 Q5124078 Q3238097 Q3070285 Q6546412 Q14906336 Q4829294 Q4356881 Q19825961 Q753891 Q2169091 Q5521973 Q2641320 Q3078075 Q1783238 Q2185163 Q1619526 Q1852859 Q1815646 Q21839544 Q1167 Q16329577 Q2273370 Q1041704 Q1709192 Q75013 Q4972008 Q10715546 Q19928975 Q2081422 Q1309539 Q16913767 Q644490 Q3925059 Q10602449 Q2214823 Q21489170 Q504787 Q2982040 Q5750556 Q502741 Q2888355 Q1563898 Q2919442 Q13188442 Q21206559 Q47554 Q582942 Q10534217 Q4875945 Q2109613 Q21282281 Q829042 Q311849 Q3021127 Q522651 Q1671815 Q2900311 Q1573 Q3126518 Q478707 Q2381518 Q552523 Q1291451 Q5122339 Q1124159 Q1981743 Q324333 Q21282211 Q1484905 Q894219 Q1900690 Q16984072 Q129421 Q3208442 Q3661515 Q3705854 Q12346613 Q21282291 Q1019962 Q2419722 Q12039044 Q1560 Q1175 Q738570 Q502939 Q2359453 Q1055 Q5388220 Q106681 Q768542 Q1306755 Q1928594 Q1519771 Q263163 Q2013440 Q2904338 Q628163 Q20743728 Q1582 Q1310344 Q1580 Q10611682 Q314066 Q21282229 Q2067247 Q8078647 Q1181 Q19358914 Q1627459 Q564771 Q5309834 Q18202246 Q4980887 Q741012 Q15310264 Q1479493 Q389859 Q5056561 Q21402029 Q969850 Q604435 Q21282200 Q2084302 Q1809602 Q1020465 Q14613273 Q2657150 Q2370380 Q2632124 Q1441767 Q7007038 Q1781931 Q1923151 Q22115820 Q2916464 Q576339 Q1468524 Q3149657 Q661881 Q10667344 Q16583062 Q2360524 Q1138 Q2446 Q20018082 Q960480 Q591133 Q681873 Q4890135 Q1115511 Q10275877 Q151535 Q15058012 Q571034 Q1745254 Q502965 Q1015257 Q15122405 Q10727797 Q20759083 Q1498523 Q590710 Q689727 Q870499 Q5008786 Q251873 Q17278559 Q17496291 Q1881273 Q2916 Q104725 Q2392816 Q1788552 Q21199137
(c(Q486972),P361,c(Q473972)|c(Q107425))
action count
action less
action union
action find_tuple_counts
relation P361
type Q486972
type Q473972
action find_tuple_counts
relation P361
type Q486972
type Q107425
action count
action filter_multi_types
action find
entity Q1165679
relation P361
type Q473972
type Q107425
[ANSWER]
[{'concept': 'Q486972'}, 'P361', [{'concept': 'Q473972'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?d WHERE { { ?d rdf:type ontology:Q486972 . ?a rdf:type ontology:Q107425 . ?d property:P361 ?a } UNION { ?d property:P361 ?a . ?d rdf:type ontology:Q486972 . ?a rdf:type ontology:Q473972 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Q1165679 property:P361 ?z . { { ?z rdf:type ontology:Q473972 } UNION { ?z rdf:type ontology:Q107425 } } } } . FILTER ( ?v < ?u ) }
Zeitungsviertel Neighborhoods of Minneapolis Ekeby Západní Město Savan Gdańsk Bistrik Rückschlag Fort Trois-Rivières Lütten Klein Wrony, Lower Silesian Voivodeship rural township of Taiwan Sha'arei Yerushalayim Evershagen frazione of Genoa Jyskä Angkor Thom University of California, Merced Tormaleo Poggio di San Remo Freiendiez Garden city Crengeldanz Spaarndam-West Gasteig Sete de Arriba Groß Borstel Quarter of  Hamburg Jamaica Plain Unterliederbach Adachi Tarnobrzeg Sangenstedt Cityplace Lichtenbusch Europawijk Lightning Bad Liebenstein Avondale Solberga Leoni San Miguel de Allende Rottorf Garbacz Col du Pourtalet Fort Senneville Kontorhaus District Het Lage Land Hinrichshagen populated place in the Netherlands Leipzig suburb Lichtenbusch Alsterdorf Lower Toumba Centrum Capitol Hill Lärkstaden Österskär Broadacres Villastaden Caumerveld German campaign in Angola Toitenwinkel Heißum Hufeisensiedlung Boerhaavewijk Norra Hammarbyhamnen Salmünster Spangen Volkach Cahuenga Pass Hiawatha Iphofen Morgenstond Wiethagen Waldeck Holte Kraburg Toruń Fladungen Igelboda Beacon Hill Monte Masoni Roydorf Strümp Warnemünde Deep Ellum Marktbreit Winterberg Ma'alot Dafna Kleiner Grasbrook Hammarby Sjöstad Grachtengordel Südstadt Mellrichstadt Salzbrunn Cisów, Lower Silesian Voivodeship Stadtmitte Neustädtel Ruitzhof Bahlburg Hohe Düne Borstel Markgrafenheide Belmont Park University of California, Davis La Défense 1 Casbeno Dergano Dorf Wehlen Scharmbeck Börnicke Theresienhöhe urban township of Taiwan St. Georg (Hamburg) Langenhorn central business district Stadtprozelten Stuthof Hamburg Ericsson Włocławek Andrews Field administrative centre Historic Centre Tönnhausen Moosach Spaarndam-Oost Mekor Chaim Rothenfels Boldenshagen Steinwerder Talpiot Rothenburgsort Ormsta Bergen-Enkheim Luhdorf Peez Îlot-Trafalgar-Gleneagles Hoheluft Campus Bizzozero Hoopte Glauberg Drzetowo Kiel Bryn Mawr Rostock-Lichtenhagen Altstadt Pattensen Somport Cedar-Isles-Dean Quarrendorf Stony Brook University microdistrict Gehrden Spoorwijk Laßrönne Büderich Axelsberg Zeeheldenkwartier Igeldo Meerwijk Grabowo, Szczecin New Durham, North Bergen Muslim Quarter Dutch Velders Pastitz Baka Albayzín city centre Molenwijk Speicherstadt Sickla udde Nowy Most Stöckte Barmbek-Nord Dolberg Musschemig Ellsworth Air Force Base Old Town Schmarl Benoordenhout Sallern Irajá Sachsenhausen residential area Podgórna, Lower Silesian Voivodeship Neuseesen Marktsteft Oltrarno Mützenich Östberga Einhusen Gehlsdorf New Town Fort Garry Ouchy CARAG Weiße Stadt Quarter of Bremen Upper Toumba Seymerich Osnabrück Płock Bois-du-Luc Krieau Ramstein
206
action count
action less
action union
action find_tuple_counts
relation part of
type human settlement
type protected area
action find_tuple_counts
relation part of
type human settlement
type landscape
action count
action filter_multi_types
action find
entity Sunset Key
relation part of
type protected area
type landscape
[{'concept': 'human settlement'}, 'part of', [{'concept': 'protected area'}, {'concept': 'landscape'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?d WHERE { { ?d rdf:type ontology:human_settlement . ?a rdf:type ontology:landscape . ?d property:part_of ?a } UNION { ?d property:part_of ?a . ?d rdf:type ontology:human_settlement . ?a rdf:type ontology:protected_area } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Sunset_Key property:part_of ?z . { { ?z rdf:type ontology:protected_area } UNION { ?z rdf:type ontology:landscape } } } } . FILTER ( ?v < ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1031398
P361
Q473972 Q107425 Q486972
USER
And how about Campo Carlo Magno?
(c(Q486972),P361,c(Q473972)|c(Q107425))
action count
action less
action union
action find_tuple_counts
relation P361
type Q486972
type Q473972
action find_tuple_counts
relation P361
type Q486972
type Q107425
action count
action filter_multi_types
action find
entity Q1031398
relation P361
type Q473972
type Q107425
[{'concept': 'Q486972'}, 'P361', [{'concept': 'Q473972'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?j WHERE { { ?j property:P361 ?r . ?j rdf:type ontology:Q486972 . ?r rdf:type ontology:Q473972 } UNION { ?j rdf:type ontology:Q486972 . ?r rdf:type ontology:Q107425 . ?j property:P361 ?r } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q1031398 property:P361 ?m . { VALUES ( ?b ) { ( ontology:Q107425 ) ( ontology:Q473972 ) } . ?m rdf:type ?b } } } . FILTER ( ?g < ?v ) }
Campo Carlo Magno
action count
action less
action union
action find_tuple_counts
relation part of
type human settlement
type protected area
action find_tuple_counts
relation part of
type human settlement
type landscape
action count
action filter_multi_types
action find
entity Campo Carlo Magno
relation part of
type protected area
type landscape
[{'concept': 'human settlement'}, 'part of', [{'concept': 'protected area'}, {'concept': 'landscape'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?j WHERE { { ?j property:part_of ?r . ?j rdf:type ontology:human_settlement . ?r rdf:type ontology:protected_area } UNION { ?j rdf:type ontology:human_settlement . ?r rdf:type ontology:landscape . ?j property:part_of ?r } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Campo_Carlo_Magno property:part_of ?m . { VALUES ( ?b ) { ( ontology:landscape ) ( ontology:protected_area ) } . ?m rdf:type ?b } } } . FILTER ( ?g < ?v ) }
[]
protected area landscape human settlement
SYSTEM
206
Q187083 Q17015330 Q10480508 Q10938668 Q20829076 Q1792 Q3930055 Q835970 Q3078331 Q1880458 Q779435 Q12039539 Q12411908 Q1382123 Q17135880 Q11868256 Q223665 Q1728622 Q1766678 Q2534613 Q1388834 Q1494698 Q2439172 Q26036989 Q12400416 Q1172 Q15830667 Q985993 Q313965 Q213464 Q28516 Q15843967 Q5124078 Q3238097 Q3070285 Q6546412 Q14906336 Q4829294 Q4356881 Q19825961 Q753891 Q2169091 Q5521973 Q2641320 Q3078075 Q1783238 Q2185163 Q1619526 Q1852859 Q1815646 Q21839544 Q1167 Q16329577 Q2273370 Q1041704 Q1709192 Q75013 Q4972008 Q10715546 Q19928975 Q2081422 Q1309539 Q16913767 Q644490 Q3925059 Q10602449 Q2214823 Q21489170 Q504787 Q2982040 Q5750556 Q502741 Q2888355 Q1563898 Q2919442 Q13188442 Q21206559 Q47554 Q582942 Q10534217 Q4875945 Q2109613 Q21282281 Q829042 Q311849 Q3021127 Q522651 Q1671815 Q2900311 Q1573 Q3126518 Q478707 Q2381518 Q552523 Q1291451 Q5122339 Q1124159 Q1981743 Q324333 Q21282211 Q1484905 Q894219 Q1900690 Q16984072 Q129421 Q3208442 Q3661515 Q3705854 Q12346613 Q21282291 Q1019962 Q2419722 Q12039044 Q1560 Q1175 Q738570 Q502939 Q2359453 Q1055 Q5388220 Q106681 Q768542 Q1306755 Q1928594 Q1519771 Q263163 Q2013440 Q2904338 Q628163 Q20743728 Q1582 Q1310344 Q1580 Q10611682 Q314066 Q21282229 Q2067247 Q8078647 Q1181 Q19358914 Q1627459 Q564771 Q5309834 Q18202246 Q4980887 Q741012 Q15310264 Q1479493 Q389859 Q5056561 Q21402029 Q969850 Q604435 Q21282200 Q2084302 Q1809602 Q1020465 Q14613273 Q2657150 Q2370380 Q2632124 Q1441767 Q7007038 Q1781931 Q1923151 Q22115820 Q2916464 Q576339 Q1468524 Q3149657 Q661881 Q10667344 Q16583062 Q2360524 Q1138 Q2446 Q20018082 Q960480 Q591133 Q681873 Q4890135 Q1115511 Q10275877 Q151535 Q15058012 Q571034 Q1745254 Q502965 Q1015257 Q15122405 Q10727797 Q20759083 Q1498523 Q590710 Q689727 Q870499 Q5008786 Q251873 Q17278559 Q17496291 Q1881273 Q2916 Q104725 Q2392816 Q1788552 Q21199137
(c(Q486972),P361,c(Q473972)|c(Q107425))
action count
action less
action union
action find_tuple_counts
relation P361
type Q486972
type Q473972
action find_tuple_counts
relation P361
type Q486972
type Q107425
action count
action filter_multi_types
action find
entity Q1031398
relation P361
type Q473972
type Q107425
[ANSWER]
[{'concept': 'Q486972'}, 'P361', [{'concept': 'Q473972'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?j WHERE { { ?j property:P361 ?r . ?j rdf:type ontology:Q486972 . ?r rdf:type ontology:Q473972 } UNION { ?j rdf:type ontology:Q486972 . ?r rdf:type ontology:Q107425 . ?j property:P361 ?r } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q1031398 property:P361 ?m . { VALUES ( ?b ) { ( ontology:Q107425 ) ( ontology:Q473972 ) } . ?m rdf:type ?b } } } . FILTER ( ?g < ?v ) }
Zeitungsviertel Neighborhoods of Minneapolis Ekeby Západní Město Savan Gdańsk Bistrik Rückschlag Fort Trois-Rivières Lütten Klein Wrony, Lower Silesian Voivodeship rural township of Taiwan Sha'arei Yerushalayim Evershagen frazione of Genoa Jyskä Angkor Thom University of California, Merced Tormaleo Poggio di San Remo Freiendiez Garden city Crengeldanz Spaarndam-West Gasteig Sete de Arriba Groß Borstel Quarter of  Hamburg Jamaica Plain Unterliederbach Adachi Tarnobrzeg Sangenstedt Cityplace Lichtenbusch Europawijk Lightning Bad Liebenstein Avondale Solberga Leoni San Miguel de Allende Rottorf Garbacz Col du Pourtalet Fort Senneville Kontorhaus District Het Lage Land Hinrichshagen populated place in the Netherlands Leipzig suburb Lichtenbusch Alsterdorf Lower Toumba Centrum Capitol Hill Lärkstaden Österskär Broadacres Villastaden Caumerveld German campaign in Angola Toitenwinkel Heißum Hufeisensiedlung Boerhaavewijk Norra Hammarbyhamnen Salmünster Spangen Volkach Cahuenga Pass Hiawatha Iphofen Morgenstond Wiethagen Waldeck Holte Kraburg Toruń Fladungen Igelboda Beacon Hill Monte Masoni Roydorf Strümp Warnemünde Deep Ellum Marktbreit Winterberg Ma'alot Dafna Kleiner Grasbrook Hammarby Sjöstad Grachtengordel Südstadt Mellrichstadt Salzbrunn Cisów, Lower Silesian Voivodeship Stadtmitte Neustädtel Ruitzhof Bahlburg Hohe Düne Borstel Markgrafenheide Belmont Park University of California, Davis La Défense 1 Casbeno Dergano Dorf Wehlen Scharmbeck Börnicke Theresienhöhe urban township of Taiwan St. Georg (Hamburg) Langenhorn central business district Stadtprozelten Stuthof Hamburg Ericsson Włocławek Andrews Field administrative centre Historic Centre Tönnhausen Moosach Spaarndam-Oost Mekor Chaim Rothenfels Boldenshagen Steinwerder Talpiot Rothenburgsort Ormsta Bergen-Enkheim Luhdorf Peez Îlot-Trafalgar-Gleneagles Hoheluft Campus Bizzozero Hoopte Glauberg Drzetowo Kiel Bryn Mawr Rostock-Lichtenhagen Altstadt Pattensen Somport Cedar-Isles-Dean Quarrendorf Stony Brook University microdistrict Gehrden Spoorwijk Laßrönne Büderich Axelsberg Zeeheldenkwartier Igeldo Meerwijk Grabowo, Szczecin New Durham, North Bergen Muslim Quarter Dutch Velders Pastitz Baka Albayzín city centre Molenwijk Speicherstadt Sickla udde Nowy Most Stöckte Barmbek-Nord Dolberg Musschemig Ellsworth Air Force Base Old Town Schmarl Benoordenhout Sallern Irajá Sachsenhausen residential area Podgórna, Lower Silesian Voivodeship Neuseesen Marktsteft Oltrarno Mützenich Östberga Einhusen Gehlsdorf New Town Fort Garry Ouchy CARAG Weiße Stadt Quarter of Bremen Upper Toumba Seymerich Osnabrück Płock Bois-du-Luc Krieau Ramstein
206
action count
action less
action union
action find_tuple_counts
relation part of
type human settlement
type protected area
action find_tuple_counts
relation part of
type human settlement
type landscape
action count
action filter_multi_types
action find
entity Campo Carlo Magno
relation part of
type protected area
type landscape
[{'concept': 'human settlement'}, 'part of', [{'concept': 'protected area'}, {'concept': 'landscape'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?j WHERE { { ?j property:part_of ?r . ?j rdf:type ontology:human_settlement . ?r rdf:type ontology:protected_area } UNION { ?j rdf:type ontology:human_settlement . ?r rdf:type ontology:landscape . ?j property:part_of ?r } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Campo_Carlo_Magno property:part_of ?m . { VALUES ( ?b ) { ( ontology:landscape ) ( ontology:protected_area ) } . ?m rdf:type ?b } } } . FILTER ( ?g < ?v ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q15617994 Q486972
USER
Which administrative territories have atmost 1 human settlement have their center of administration ?
(c(Q486972),P1376,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
value 1
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?w ) WHERE { ?r rdf:type ontology:Q486972 . ?k rdf:type ontology:Q15617994 . ?r property:P1376 ?k } GROUP BY ?k } . FILTER ( ?w <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?w ) WHERE { ?r rdf:type ontology:human_settlement . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:capital_of ?k } GROUP BY ?k } . FILTER ( ?w <= 1 ) }
[]
designation for an administrative territorial entity human settlement
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q804 Q801 Q800 Q1098820 Q12631 Q419 Q414 Q3368 Q1111401 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2998020 Q3044731 Q252 Q399 Q398 Q258 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q12689 Q1974 Q2527360 Q699731 Q3377 Q3372 Q611074 Q2007299 Q3093 Q1254171 Q220249 Q979470 Q3259 Q1270648 Q2528268 Q12594 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q736 Q12574 Q12798 Q1280 Q1282 Q12792 Q1284 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q541811 Q1390630 Q1458 Q1452 Q12700 Q12703 Q815731 Q31074 Q31075 Q96 Q12709 Q1050 Q311803 Q298 Q29937 Q115 Q114 Q117 Q30786 Q12569 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q12642 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q3216 Q3194 Q34020 Q541589 Q760 Q12804 Q12808 Q14762300 Q3326 Q696651 Q3286 Q3528124 Q2719360 Q948 Q1243 Q945 Q3266 Q3105 Q639100 Q731547 Q33788 Q855327 Q328134 Q1237 Q701 Q702 Q968630 Q705 Q707 Q709 Q4450475 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q833 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q290739 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q1232680 Q889 Q12789 Q884 Q1452646 Q881 Q231168 Q2281221 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 Q541095 Q3148 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q492437 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q12675 Q129003 Q12589 Q12584 Q12580 Q1101 Q1206596 Q3131 Q12788 Q12784 Q3139 Q12782 Q686312 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q12730 Q2562901 Q31068 Q12736 Q31067 Q31065 Q1270568 Q1773268 Q12657 Q30835 Q12652 Q30831 Q12556 Q574 Q1558632 Q694594 Q191 Q874 Q79 Q77 Q199688 Q878 Q46130 Q3044651 Q3044714 Q3044715 Q176 Q12816 Q30682 Q30683 Q1951 Q2091235 Q2006764 Q1952 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q684030 Q2567507 Q3278 Q3044623 Q651394 Q30946 Q3184 Q3044781 Q239502 Q712 Q711 Q710 Q717 Q3044777 Q2900529 Q12770 Q12772 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q1886098 Q958 Q986 Q219 Q957825 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1999970 Q155019 Q1974486 Q153091 Q107426 Q693658 Q1508927 Q1948 Q511365 Q654849 Q2038939 Q311794 Q12661 Q20 Q27 Q28 Q1366860 Q148 Q598193 Q227 Q225 Q30650 Q223 Q222 Q221 Q47261 Q1270623 Q311668 Q229 Q228 Q1410315 Q1989 Q60011 Q10957559 Q965 Q967 Q962 Q963 Q2921370 Q3125 Q3120 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q2380910 Q1438 Q3110307 Q686 Q30832 Q891165 Q12722 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q12620 Q12626 Q29 Q12543 Q617646 Q72670 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q12536 Q262 Q474421 Q2009 Q12820 Q265 Q3342 Q842 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q3083 Q2003 Q3240 Q2662372 Q3249 Q686924 Q34762 Q517333 Q30669 Q30662 Q4628 Q455705 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q4712 Q924 Q928 Q929 Q858 Q423 Q424 Q851 Q29999 Q854 Q2226837 Q165763 Q1443 Q224 Q1447 Q2360428 Q30656 Q12717 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q3334 Q12572 Q12576 Q30797 Q1904 Q12578 Q347 Q3462133 Q12679 Q30815 Q17 Q153402 Q3207 Q894973 Q894972 Q894971 Q894970 Q1053888 Q3044677 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q160307 Q244 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q974 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q678 Q8575586 Q672 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q486972),P1376,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
value 1
[ANSWERS] have atmost 1 human settlement have their center of administration
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?w ) WHERE { ?r rdf:type ontology:Q486972 . ?k rdf:type ontology:Q15617994 . ?r property:P1376 ?k } GROUP BY ?k } . FILTER ( ?w <= 1 ) }
Yemen Panama Israel Costa Rica Gênes Meuse Peru Argentina Essonne Kispest District Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Corse Guyane Indonesia Armenia Bahrain South Africa Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde Pas-de-Calais British Columbia Stura Wied Eure-et-Loir Eure Mopani District Municipality OR Tambo District Municipality Aisne Dr Ruth Segomotsi Mompati District Municipality Eden District Municipality Seine-et-Oise Cantal Sieg Mont-Blanc Marne Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Ecuador Loiret Vendée Umbria Lazio Vaucluse Abruzzo Sambre-et-Meuse John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Pakistan Northwest Territories Belarus Mozambique Morocco Ems-Oriental Ourthe Calabria Basilicata Hautes-Pyrénées Pyrénées-Atlantiques Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Pyrénées-Orientales Swaziland Umgungundlovu District Municipality Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Loire Rhine Trasimène Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Morbihan Samoa Principality of Wales Province of Brescia Isère Ruhr Aveyron Aube Niue Ems-Supérieur Saint Lucia Vienne Haute-Vienne single-tier municipality Corrèze Saxe-Eisenach Cher Tibre Duchy of Luxembourg Tunisia Veneto Togo Charente Vosges Principality of Reuss-Gera Lippe New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Marshall Islands Talitsky District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality Malaysia Sègre-Ter Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Haute-Marne Sesia Portugal Turkey Greece El Salvador Haiti Iraq Iran Ithaque Afghanistan Var South Korea Montenotte Vietnam Zuyderzée Principality of Orange Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Puy-de-Dôme Asyut Governorate Gard Gers Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Drôme Ems-Occidental Rhin-et-Moselle Ardèche Pô Principality of Lüneburg Loire-Atlantique Finistère Damietta Governorate Montenegro Bouches-du-Weser Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine Oise French Southern and Antarctic Lands Manche Maine-et-Loire Lozère North Brabant Deux-Nèthes Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Alpes-Maritimes Territoire de Belfort Duchy of Amalfi Bangladesh Uganda Rwanda Niger Nigeria Namibia Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen Bolivia Haute-Saône West Coast District Municipality Dakahlia Governorate Saône-et-Loire Ismailia Governorate Qena Governorate Ems ZF Mgcawu District Municipality Nièvre Gharbia Governorate Moselle Red Sea Governorate Indre-et-Loire East Timor Rome Bremen-Verden Estonia Turkmenistan Egypt Uruguay Almohad United Arab Emirates Rhône Louverture Ouest Ozama Quebec Yonne Matrouh Governorate Beni Suef Governorate Alberta Ugu District Municipality Xhariep District Municipality Nova Scotia Creuse Dordogne Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Bouches-de-l'Elbe Principality of Serbia Arno Charente-Maritime Cibao Ramensky District Kafr el-Sheikh Governorate Ariège Sud Kingdom of Galicia–Volhynia Fiji Mongolia Kiribati Venezuela Nord Bezirk Lothringen Somme Tarn Chad West Rand District Municipality Sègre Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Pixley ka Seme District Municipality South Sudan Eritrea Bulgaria Yssel-Supérieur Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Upper Alsace Duchy of Lorraine Cape Winelands District Municipality Duchy of Prussia Anjou Izabal Department Méditerranée Manitoba Arvika Municipality Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality Nord Norway Ireland Hungary Escaut People's Republic of China Apennins Azerbaijan Bosnia and Herzegovina New Valley Governorate Greenland Albania Republic of Macedonia Duchy of Bavaria Meurthe UThungulu District Municipality Cyprus Andorra Fezile Dabi District Municipality Saskatchewan Kars Oblast Moldavia Burkina Faso Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat Hautes-Alpes Jura Bouches-de-l'Èbre Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Côte d'Ivoire Duchy of Zaslawye Campania Golo Vanuatu Giza Governorate Bojanala Platinum District Municipality Haut-Rhin Indre Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Mayenne Meurthe-et-Moselle Spain Hauts-de-Seine Namakwa District Municipality Batumi Oblast Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy Mont-Tonnerre Duchy of Athens Jaén District Unterelsaß France Simplon Alexandria Governorate United Kingdom Abbasid caliphate Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan Côte-d'Or Oman Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Ain Newfoundland and Labrador Bouches-du-Rhône Principality of Minsk Calvados Mer-Égée Principality of Bayreuth Principality of Polotsk Sohag Governorate North Sinai Governorate Faroe Islands Amathole District Municipality Seine-Saint-Denis Deux-Sèvres Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Duchy of Burgundy Tanzania Philippines Central African Republic Syria North Korea Cambodia Saudi Arabia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Molise Croatia Apulia Tijuana Municipality Faiyum Governorate Bas-Rhin Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Haute-Corse Haute-Loire Lot Luxor Governorate Ontario Lot-et-Garonne Liechtenstein Saxe-Coburg and Gotha Orne South Sinai Governorate Japan Roer Aude Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Bouches-de-la-Meuse Central Karoo District Municipality Samaná Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Barbados Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Democratic Republic of the Congo Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Madagascar Overijssel Drenthe Liberia Libya Cape Verde Lesotho Tonga Umayyad Caliphate Tuvalu Seine-Maritime Lys Port Said Governorate Seine-et-Marne Haute-Savoie Simferopol municipality Sisonke District Municipality Guatemala Department Loir-et-Cher
Italy, Brazil and United States of America have atmost 1 human settlement have their center of administration
Italy Brazil United States of America
action atmost
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?w ) WHERE { ?r rdf:type ontology:human_settlement . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:capital_of ?k } GROUP BY ?k } . FILTER ( ?w <= 1 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q2088357
USER
How many administrative territories are the origin of greater number of film genres and musical ensembles than that administrative territory ?
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
designation for an administrative territorial entity film genre musical ensemble
Comparative|Count over More/Less|Mult. entity type|Clarification
Q38
SYSTEM
Did you mean Italy ?
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Did you mean Italy ?
Italy
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
4
Q142 Q55 Q145 Q30
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
France Netherlands United Kingdom United States of America
4
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]