Simple Question (Direct)
Simple Question
Q15639296
P734
Q82799
USER
Who is associated with Antoine Louis Hippolyte Duchesne ?
(Q15639296,P734,c(Q82799))
action filter_type
action find
entity Q15639296
relation P734
type Q82799
['Q15639296', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q15639296 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Antoine Louis Hippolyte Duchesne
action filter_type
action find
entity Antoine Louis Hippolyte Duchesne
relation family name
type name
['Antoine Louis Hippolyte Duchesne', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Antoine_Louis_Hippolyte_Duchesne property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q21448862
SYSTEM
Duchesne
Q21448862
(Q15639296,P734,c(Q82799))
action filter_type
action find
entity Q15639296
relation P734
type Q82799
[ANSWER] is associated with Antoine Louis Hippolyte [ANSWER]
['Q15639296', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q15639296 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Duchesne
Duchesne is associated with Antoine Louis Hippolyte Duchesne
Duchesne
action filter_type
action find
entity Antoine Louis Hippolyte Duchesne
relation family name
type name
['Antoine Louis Hippolyte Duchesne', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Antoine_Louis_Hippolyte_Duchesne property:family_name ?i . ?i rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15639296
P19
Q56061
USER
Which administrative territory is the place of birth of Antoine Louis Hippolyte Duchesne ?
(Q15639296,P19,c(Q56061))
action filter_type
action find
entity Q15639296
relation P19
type Q56061
['Q15639296', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q15639296 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Antoine Louis Hippolyte Duchesne
action filter_type
action find
entity Antoine Louis Hippolyte Duchesne
relation place of birth
type administrative territorial entity
['Antoine Louis Hippolyte Duchesne', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Antoine_Louis_Hippolyte_Duchesne property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1289
SYSTEM
Grenoble
Q1289
(Q15639296,P19,c(Q56061))
action filter_type
action find
entity Q15639296
relation P19
type Q56061
[ANSWER] is the place of birth of Antoine Louis Hippolyte Duchesne
['Q15639296', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q15639296 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Grenoble
Grenoble is the place of birth of Antoine Louis Hippolyte Duchesne
Grenoble
action filter_type
action find
entity Antoine Louis Hippolyte Duchesne
relation place of birth
type administrative territorial entity
['Antoine Louis Hippolyte Duchesne', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Antoine_Louis_Hippolyte_Duchesne property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1289
P47
Q20667921
USER
Which french administrative divisions are bordered by that administrative territory ?
(Q1289,P47,c(Q20667921))
action filter_type
action find
entity Q1289
relation P47
type Q20667921
['Q1289', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q1289 property:P47 ?g . ?g rdf:type ontology:Q20667921 }
Grenoble
action filter_type
action find
entity Grenoble
relation shares border with
type type of french administrative division
['Grenoble', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Grenoble property:shares_border_with ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q211134 Q1069745 Q243868
SYSTEM
Échirolles, Saint-Égrève, Saint-Martin-d'Hères
Q687967 Q694818 Q838235 Q1069745 Q243868 Q1017260 Q211134 Q1081604 Q594785 Q1002915
(Q1289,P47,c(Q20667921))
action filter_type
action find
entity Q1289
relation P47
type Q20667921
[ANSWERS] are bordered by that administrative territory
['Q1289', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q1289 property:P47 ?g . ?g rdf:type ontology:Q20667921 }
Saint-Martin-le-Vinoux Sassenage Fontaine Saint-Égrève Saint-Martin-d'Hères La Tronche Échirolles Seyssinet-Pariset Seyssins Eybens
Échirolles, Saint-Égrève and Saint-Martin-d'Hères are bordered by that administrative territory
Échirolles Saint-Égrève Saint-Martin-d'Hères
action filter_type
action find
entity Grenoble
relation shares border with
type type of french administrative division
['Grenoble', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Grenoble property:shares_border_with ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q211134 Q1069745 Q243868
P47
Q56061
USER
Who share the border with Échirolles, Saint-Égrève and Saint-Martin-d'Hères ?
(Q211134,P47,c(Q56061)) (Q1069745,P47,c(Q56061)) (Q243868,P47,c(Q56061))
action union
action filter_type
action find
entity Q211134
relation P47
type Q56061
action filter_type
action find
entity Q1069745
relation P47
type Q56061
action filter_type
action find
entity Q243868
relation P47
type Q56061
['Q211134', 'P47', {'concept': 'Q56061'}] ['Q1069745', 'P47', {'concept': 'Q56061'}] ['Q243868', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?u ) { ( resource:Q211134 ) ( resource:Q1069745 ) } . ?u property:P47 ?m }
Échirolles Saint-Égrève Saint-Martin-d'Hères
action union
action filter_type
action find
entity Échirolles
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Saint-Égrève
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Saint-Martin-d'Hères
relation shares border with
type administrative territorial entity
['Échirolles', 'shares border with', {'concept': 'administrative territorial entity'}] ['Saint-Égrève', 'shares border with', {'concept': 'administrative territorial entity'}] ["Saint-Martin-d'Hères", 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?u ) { ( resource:Échirolles ) ( resource:Saint-Égrève ) } . ?u property:shares_border_with ?m }
[]
administrative territorial entity
Q1289 Q1289 Q1289
SYSTEM
Grenoble
Q1289 Q1289 Q1289
(Q211134,P47,c(Q56061)) (Q1069745,P47,c(Q56061)) (Q243868,P47,c(Q56061))
action union
action filter_type
action find
entity Q211134
relation P47
type Q56061
action filter_type
action find
entity Q1069745
relation P47
type Q56061
action filter_type
action find
entity Q243868
relation P47
type Q56061
[ANSWER], [ANSWER] and [ANSWER] share the border with Échirolles, Saint-Égrève and Saint-Martin-d'Hères
['Q211134', 'P47', {'concept': 'Q56061'}] ['Q1069745', 'P47', {'concept': 'Q56061'}] ['Q243868', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?u ) { ( resource:Q211134 ) ( resource:Q1069745 ) } . ?u property:P47 ?m }
Grenoble Grenoble Grenoble
Grenoble, Grenoble and Grenoble share the border with Échirolles, Saint-Égrève and Saint-Martin-d'Hères
Grenoble Grenoble Grenoble
action union
action filter_type
action find
entity Échirolles
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Saint-Égrève
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Saint-Martin-d'Hères
relation shares border with
type administrative territorial entity
['Échirolles', 'shares border with', {'concept': 'administrative territorial entity'}] ['Saint-Égrève', 'shares border with', {'concept': 'administrative territorial entity'}] ["Saint-Martin-d'Hères", 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?u ) { ( resource:Échirolles ) ( resource:Saint-Égrève ) } . ?u property:shares_border_with ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q211134
P1376
Q20667921
USER
Which french administrative divisions have Échirolles as their county seat ?
(Q211134,P1376,c(Q20667921))
action filter_type
action find
entity Q211134
relation P1376
type Q20667921
['Q211134', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q211134 property:P1376 ?s . ?s rdf:type ontology:Q20667921 }
Échirolles
action filter_type
action find
entity Échirolles
relation capital of
type type of french administrative division
['Échirolles', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Échirolles property:capital_of ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q614075 Q1618394
SYSTEM
canton of Échirolles-Ouest, canton of Échirolles-Est
Q614075 Q1618394
(Q211134,P1376,c(Q20667921))
action filter_type
action find
entity Q211134
relation P1376
type Q20667921
[ANSWERS] have Échirolles as their county seat
['Q211134', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q211134 property:P1376 ?s . ?s rdf:type ontology:Q20667921 }
canton of Échirolles-Ouest canton of Échirolles-Est
Canton of Échirolles-Ouest and canton of Échirolles-Est have Échirolles as their county seat
canton of Échirolles-Ouest canton of Échirolles-Est
action filter_type
action find
entity Échirolles
relation capital of
type type of french administrative division
['Échirolles', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Échirolles property:capital_of ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q614075
P36
Q20667921
USER
Which french administrative division is the capital of that one ?
(Q614075,P36,c(Q20667921))
action filter_type
action find
entity Q614075
relation P36
type Q20667921
['Q614075', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q20667921 . resource:Q614075 property:P36 ?v }
canton of Échirolles-Ouest
action filter_type
action find
entity canton of Échirolles-Ouest
relation capital
type type of french administrative division
['canton of Échirolles-Ouest', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_french_administrative_division . resource:canton_of_Échirolles-Ouest property:capital ?v }
[]
type of french administrative division
Clarification for simple ques.
Q614075
SYSTEM
Did you mean canton of Échirolles-Ouest ?
Q614075 Q1618394
(Q614075,P36,c(Q20667921)) (Q1618394,P36,c(Q20667921))
[ANSWER]
['Q614075', 'P36', {'concept': 'Q20667921'}] ['Q1618394', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q20667921 . resource:Q614075 property:P36 ?v }
canton of Échirolles-Ouest canton of Échirolles-Est
Did you mean canton of Échirolles-Ouest ?
canton of Échirolles-Ouest
['canton of Échirolles-Ouest', 'capital', {'concept': 'type of french administrative division'}] ['canton of Échirolles-Est', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_french_administrative_division . resource:canton_of_Échirolles-Ouest property:capital ?v }
[]
Simple Question (Coreferenced)
USER
Yes
(Q614075,P36,c(Q20667921))
['Q614075', 'P36', {'concept': 'Q20667921'}]
['canton of Échirolles-Ouest', 'capital', {'concept': 'type of french administrative division'}]
[]
Q211134
SYSTEM
Échirolles
Q211134
(Q614075,P36,c(Q20667921))
action filter_type
action find
entity Q614075
relation P36
type Q20667921
[ANSWER] is the capital of that one
['Q614075', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q20667921 . resource:Q614075 property:P36 ?v }
Échirolles
Échirolles is the capital of that one
Échirolles
action filter_type
action find
entity canton of Échirolles-Ouest
relation capital
type type of french administrative division
['canton of Échirolles-Ouest', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_french_administrative_division . resource:canton_of_Échirolles-Ouest property:capital ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q56061 Q15617994
USER
How many administrative territories and administrative territories are sister town of that french administrative division ?
(c(Q56061),P190,Q211134) (c(Q15617994),P190,Q211134) (c(Q56061),P190,Q211134) (c(Q15617994),P190,Q211134)
action count
action union
action filter_type
action find_reverse
entity Q211134
relation P190
type Q56061
action filter_type
action find_reverse
entity Q211134
relation P190
type Q15617994
[{'concept': 'Q56061'}, 'P190', 'Q211134'] [{'concept': 'Q15617994'}, 'P190', 'Q211134'] [{'concept': 'Q56061'}, 'P190', 'Q211134'] [{'concept': 'Q15617994'}, 'P190', 'Q211134']
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:P190 resource:Q211134 . ?t rdf:type ontology:Q56061 } UNION { ?t property:P190 resource:Q211134 . ?t rdf:type ontology:Q15617994 } }
action count
action union
action filter_type
action find_reverse
entity Échirolles
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Échirolles
relation sister city
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Échirolles'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Échirolles'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Échirolles'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Échirolles']
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:sister_city resource:Échirolles . ?t rdf:type ontology:administrative_territorial_entity } UNION { ?t property:sister_city resource:Échirolles . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q2464975 Q9398
(c(Q56061),P190,Q211134) (c(Q15617994),P190,Q211134) (c(Q56061),P190,Q211134) (c(Q15617994),P190,Q211134)
action count
action union
action filter_type
action find_reverse
entity Q211134
relation P190
type Q56061
action filter_type
action find_reverse
entity Q211134
relation P190
type Q15617994
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q211134'] [{'concept': 'Q15617994'}, 'P190', 'Q211134'] [{'concept': 'Q56061'}, 'P190', 'Q211134'] [{'concept': 'Q15617994'}, 'P190', 'Q211134']
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:P190 resource:Q211134 . ?t rdf:type ontology:Q56061 } UNION { ?t property:P190 resource:Q211134 . ?t rdf:type ontology:Q15617994 } }
Kimberley Grugliasco
2
action count
action union
action filter_type
action find_reverse
entity Échirolles
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Échirolles
relation sister city
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Échirolles'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Échirolles'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Échirolles'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Échirolles']
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:sister_city resource:Échirolles . ?t rdf:type ontology:administrative_territorial_entity } UNION { ?t property:sister_city resource:Échirolles . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16084383 Q15639296
P27
Q15617994
USER
Which administrative territories do Antoine Louis Hippolyte Duchesne or Živka Matić belong to ?
OR((Q15639296,P27,c(Q15617994)), (Q16084383,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15639296
relation P27
action find
entity Q16084383
relation P27
type Q15617994
{'OR': [['Q15639296', 'P27', {'concept': 'Q15617994'}], ['Q16084383', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q16084383 property:P27 ?e } UNION { resource:Q15639296 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
Živka Matić Antoine Louis Hippolyte Duchesne
action filter_type
action union
action find
entity Antoine Louis Hippolyte Duchesne
relation country of citizenship
action find
entity Živka Matić
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Antoine Louis Hippolyte Duchesne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Živka Matić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Živka_Matić property:country_of_citizenship ?e } UNION { resource:Antoine_Louis_Hippolyte_Duchesne property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q403
SYSTEM
France, Serbia
Q142 Q403
OR((Q15639296,P27,c(Q15617994)), (Q16084383,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15639296
relation P27
action find
entity Q16084383
relation P27
type Q15617994
Antoine Louis Hippolyte Duchesne or Živka Matić belong to the [ANSWERS]
{'OR': [['Q15639296', 'P27', {'concept': 'Q15617994'}], ['Q16084383', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q16084383 property:P27 ?e } UNION { resource:Q15639296 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
France Serbia
Antoine Louis Hippolyte Duchesne or Živka Matić belong to the France and Serbia
France Serbia
action filter_type
action union
action find
entity Antoine Louis Hippolyte Duchesne
relation country of citizenship
action find
entity Živka Matić
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Antoine Louis Hippolyte Duchesne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Živka Matić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Živka_Matić property:country_of_citizenship ?e } UNION { resource:Antoine_Louis_Hippolyte_Duchesne property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q201658
USER
How many administrative territories are the origins of more number of works of art and film genres than that administrative territory ?
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?j ) { ( ?z ) ( ?x ) } . ?j property:P495 ?y } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?j ) { ( ?z ) ( ?x ) } . ?j property:country_of_origin ?y } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
designation for an administrative territorial entity work of art film genre
Comparative|Count over More/Less|Mult. entity type|Clarification
Q142
SYSTEM
Did you mean France ?
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?j ) { ( ?z ) ( ?x ) } . ?j property:P495 ?y } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
Did you mean France ?
France
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?j ) { ( ?z ) ( ?x ) } . ?j property:country_of_origin ?y } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
3
Q668 Q145 Q30
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
India United Kingdom United States of America
3
[[{'concept': 'work of art'}, {'concept': 'film genre'}], '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:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]