Property talk:P1740
Jump to navigation
Jump to search
Documentation
category for films shot at this location
the object is a category for films shot at or in the subject
the object is a category for films shot at or in the subject
[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, SPARQLProperty “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, SPARQLInverse 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). 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)
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, SPARQLDistinct 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
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Africa (Q15), South America (Q18), Europe (Q46), Asia (Q48), North America (Q49), Antarctica (Q51), Insular Oceania (Q538), Americas (Q828), Central America (Q27611), Caribbean (Q664609)
List of violations of this constraint: Database reports/Constraint violations/P1740#Item P17, search, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P1740#Item P17, search, 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, SPARQLScope 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, SPARQLAllowed 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:
List of this constraint violations: Database reports/Complex constraint violations/P1740#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:
List of this constraint violations: Database reports/Complex constraint violations/P1740#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
|
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)
- 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)
Categories:
- All Properties
- Properties with wikibase-item-datatype
- Properties used on 1000+ items
- Properties with target required claim constraints
- Properties with inverse constraints
- Properties with single value constraints
- Properties with unique value constraints
- Properties with constraints on type
- Properties with constraints on items using them
- Properties with conflicts with constraints
- Properties with scope constraints
- Properties with entity type constraints
- Properties with complex constraints