Property talk:P1740

Documentation

category for films shot at this location
the object is a category for films shot at or in the subject
Descriptionsee WikiProject Filming Locations for more information.
Has qualitycomplex constraint value label (Q100884525)
Data typeItem
Domain
According to this template: geographic locations, studios
According to statements in the property:
geographical feature (Q618123)
When possible, data should only be stored as statements
Allowed valuescategory items: items with
(note: this should be moved to the property statements)
ExampleAmsterdam (Q727)Category:Films shot in Amsterdam (Q10217113)
United States of America (Q30)Category:Films shot in the United States (Q6839466)
Venice (Q773853)Category:Films shot in Venice, Los Angeles (Q8458232)
See alsocategory for films in this language (P5996)
Lists
Proposal discussionProposal discussion
Current uses
Total1,301
Main statement1,29899.8% of uses
Qualifier30.2% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Property “instance of (P31): Wikimedia category (Q4167836)” declared by target items of “category for films shot at this location (P1740): If [item A] has this property with value [item B], [item B] is required to have property “instance of (P31): Wikimedia category (Q4167836)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1740#Target required claim P31, hourly updated report, SPARQL
Property “category combines topics (P971): filming location (Q1045481)” declared by target items of “category for films shot at this location (P1740): If [item A] has this property with value [item B], [item B] is required to have property “category combines topics (P971): filming location (Q1045481)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1740#Target required claim P971, hourly updated report, SPARQL
Inverse property of “category combines topics (P971):
if [item A] has this property (category for films shot at this location (P1740)) linked to [item B],
then [item B] should also have property “category combines topics (P971)” linked to [item A]. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1740#inverse, SPARQL
Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1740#Single value, hourly updated report, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1740#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
Type “geographical feature (Q618123): item must contain property “instance of (P31)” with classes “geographical feature (Q618123)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: film studio (Q375336)
List of violations of this constraint: Database reports/Constraint violations/P1740#Type Q618123, SPARQL
Conflicts with “instance of (P31): Wikimedia disambiguation page (Q4167410), human (Q5), Wikimedia category (Q4167836): this property must not be used with the listed properties and values. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1740#Conflicts with P31, hourly updated report, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P1740#Scope, hourly updated report, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1740#Entity types
value label (1: should match regex)
fix label or adjust regex for language at Property:P1740#P1552: complex constraint value label (Q100884525) (Help)
Violations query: SELECT ?item ?lang ?l ?value ?v ?t WHERE { hint:Query hint:optimizer "None". wd:P1740 p:P1552 [ ps:P1552 wd:Q100884525 ; pq:P8770 ?t ] BIND( lang(?t) as ?lang) ?item wdt:P1740 ?value . ?item rdfs:label ?l . FILTER(lang(?l) = ?lang) ?value rdfs:label ?v . FILTER(lang(?v) = ?lang) FILTER ( !REGEX(str(?v), str(?t) ) ) } # ORDER BY ?lang ?v
List of this constraint violations: Database reports/Complex constraint violations/P1740#value label (1: should match regex)
value label (1: languages lacking a regex)
determine a regex and add it at Property:P1740#P1552: complex constraint value label (Q100884525) (Help)
Violations query: SELECT ?item ?lang (COUNT(*) as ?count) (SAMPLE(?l) as ?sample) WHERE { hint:Query hint:optimizer "None". [] wdt:P1740 ?v . ?v rdfs:label ?l . BIND(lang(?l) as ?lang) OPTIONAL { wd:P1740 p:P1552 [ ps:P1552 wd:Q100884525 ; pq:P8770 ?t ] FILTER( lang(?t) = ?lang) } FILTER( !BOUND(?t) ) ?item wdt:P424 ?lang ; wdt:P305 [] } GROUP BY ?item ?lang HAVING ( ?count > 9) ORDER BY DESC ( ?count)
List of this constraint violations: Database reports/Complex constraint violations/P1740#value label (1: languages lacking a regex)

Consistency of value labels with value label regex edit

This list is periodically updated by a bot. Manual changes to the list will be removed on the next update!

WDQS | PetScan | TABernacle | Find images | Recent changes
lang ?lang regex labels ≠regex % regex
Italian it Categoria:Film girati .+ 189 0 100
Canadian English en-ca Category:Films shot (in|at) .+ 50 0 100
Brazilian Portuguese pt-br Categoria:Filmes gravados (na|em|no|nos) .+ 49 0 100
French fr Catégorie:Film tourné .+ 974 1 99.9
Polish pl Kategoria:Filmy kręcone .+ 695 2 99.7
Spanish es Categoría:Películas rodadas .+ 268 1 99.6
English en Category:Films shot (in|at) .+ 1217 2 99.8
Portuguese pt Categoria:Filmes gravados .+ 315 2 99.4
Swedish sv Kategori:Filmer inspelade (i|på) .+ 470 3 99.4

Discussion edit

Missing use of P461 generates a lot of errors edit

It seems like rules demanding use of opposite of (P461) generates a lot of errors, as the opposite category very often does not exist. That would be sort of okey, but the error messages are about errors on the category pages and are posted on the location pages where this property is used. It is thus an out of context error message. Because the test is actually wrong, as it is not an error that the opposite category does not exist, I think the simplest solution would be to remove the rule completely. Jeblad (talk) 17:54, 24 July 2015 (UTC)Reply

I moved it down the page. After the next update of the constraints for the special page, the errors there will disappear. --- Jura 18:13, 24 July 2015 (UTC)Reply
Return to "P1740" page.