Property talk:P7561

From Wikidata
Jump to navigation Jump to search

Documentation

category for the interior of the item
Commons category for media files depicting interior views of this item (object, place)
Representsinterior (Q2998430), Commons category (Q24574745)
Has qualitycomplex constraint value label (Q100884525)
Data typeItem
ExampleUnion Station (Q861473)Category:Interior of Union Station (Portland) (Q73397870)
Raio Palace (Q7285026)Category:Interior of Palácio do Raio (Q73397950)
Church of Our Lady of Sorrows (Q37285516)Category:Interior of the Church of Our Lady of Sorrows (Horní Planá) (Q73397984)
Baranagore Ramakrishna Mission Ashrama High School (Q19882251)Category:Interior of Baranagore Ramakrishna Mission Ashrama High School (Q75828783)
<complementary property>category for the exterior of the item (P8596)
See alsocategory for people born here (P1464), category for the view from the item (P8933)
Lists
Proposal discussionProposal discussion
Current uses
Total21,170
Main statement21,166>99.9% of uses
Qualifier4<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Value type “Wikimedia category (Q4167836): This property should use items as value that contain property “instance of (P31)”. On these, the value for instance of (P31) should be an item that uses subclass of (P279) with value Wikimedia category (Q4167836) (or a subclass thereof). (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/P7561#Value type Q4167836, SPARQL
Inverse property of “category combines topics (P971):
if [item A] has this property (category for the interior of the item (P7561)) 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/P7561#inverse, SPARQL
Conflicts with “instance of (P31): Wikimedia category (Q4167836), Wikimedia disambiguation page (Q4167410), human (Q5): this property must not be used with the listed properties and values. (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/P7561#Conflicts with P31, SPARQL
Single value: this property generally contains a single value. (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/P7561#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (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/P7561#Unique value, SPARQL (every item), SPARQL (by value)
Item “image of interior (P5775): Items with this property should also have “image of interior (P5775)”. (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/P7561#Item P5775, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (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/P7561#Scope, 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/P7561#Entity types
value label (1: should match regex)
fix label or adjust regex for language at Property:P7561#P1552: complex constraint value label (Q100884525) (Help)
Violations query: SELECT ?item ?lang ?l ?value ?v ?t WHERE { hint:Query hint:optimizer "None". wd:P7561 p:P1552 [ ps:P1552 wd:Q100884525 ; pq:P8770 ?t ] BIND( lang(?t) as ?lang) ?item wdt:P7561 ?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/P7561#value label (1: should match regex)
value label (1: languages lacking a regex)
determine a regex and add it at Property:P7561#P1552: complex constraint value label (Q100884525) (Help)
Violations query: SELECT ?item ?lang (COUNT(*) as ?count) (SAMPLE(?l) as ?sample_l) (SAMPLE(?s) as ?sample_s) (SAMPLE(?value) as ?sample_value) WHERE { hint:Query hint:optimizer "None". ?s wdt:P7561 ?value . ?value rdfs:label ?l . BIND(lang(?l) as ?lang) OPTIONAL { wd:P7561 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/P7561#value label (1: languages lacking a regex)

Consistency of value labels with 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
French fr Category:Intérieur de .+ 89 84 5.6
English en Category:Interior of .+ 21163 794 96.2

Discussion[edit]

Apply to items or category items[edit]

For buildings with both an item about the building and a category, I think the property should be on the first.

Accordingly, I added a property constraint. @Vojtěch Dostál: what do you think? --- Jura 10:51, 16 November 2019 (UTC)[reply]

@Jura1: I guess the rule for category for the interior of the item (P7561) in this respect should be the same as the rule for Commons category (P373), shouldn't it? Please could you remind me where P373 goes in these cases? Vojtěch Dostál (talk) 20:17, 16 November 2019 (UTC)[reply]
@Vojtěch Dostál: Not sure if much can be learned from p373. I think it should rather follow every other property for categories, e.g. category for people born here (P1464).
In any case, category items are not suitable for Q75110781#P971. --- Jura 22:01, 16 November 2019 (UTC)[reply]
@Jura1: All should be fixed now. Thanks for the feedback! Vojtěch Dostál (talk) 09:01, 17 November 2019 (UTC)[reply]