Property talk:P7561
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)
Commons category for media files depicting interior views of this item (object, place)
[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). 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)
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:
List of this constraint violations: Database reports/Complex constraint violations/P7561#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:
List of this constraint violations: Database reports/Complex constraint violations/P7561#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
|
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)
- @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)
- @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)
- @Jura1: All should be fixed now. Thanks for the feedback! Vojtěch Dostál (talk) 09:01, 17 November 2019 (UTC)
Categories:
- All Properties
- Properties with wikibase-item-datatype
- Properties used on 10000+ items
- Properties with constraints on type
- Properties with inverse constraints
- Properties with conflicts with constraints
- Properties with single value constraints
- Properties with unique value constraints
- Properties with constraints on items using them
- Properties with scope constraints
- Properties with entity type constraints
- Properties with complex constraints