Property talk:P7087

From Wikidata
Jump to navigation Jump to search

Documentation

inverse label item
item with label/aliases of the inverse relationship of a property
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “Wikidata property (Q18616576): item must contain property “instance of (P31)” with classes “Wikidata property (Q18616576)” 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).
List of violations of this constraint: Database reports/Constraint violations/P7087#Type Q18616576, SPARQL
Value type “inverse property label item (Q65932995): 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 inverse property label item (Q65932995) (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/P7087#Value type Q65932995, 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/P7087#Single value, SPARQL
Allowed entity types are Wikibase property (Q29934218): 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/P7087#Entity types
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/P7087#Scope, SPARQL
Item “property constraint (P2302): Items with this property should also have “property constraint (P2302)”. (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/P7087#Item P2302, search, SPARQL

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

item datatype properties would generally have this
if applicable, create an item and link it with P7087 (Help)
Violations query: SELECT ?item ?property ?propertyLabel { ?property wikibase:propertyType wikibase:WikibaseItem . MINUS { ?property wdt:P1696 [] } MINUS { ?property wdt:P2302 wd:Q21510862 } MINUS { ?property wdt:P7087 [] } MINUS { ?property wdt:P31 wd:Q18667213 } MINUS { ?property wdt:P31 wd:Q18720640 } OPTIONAL { ?property wdt:P1629 ?item } SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } }
List of this constraint violations: Database reports/Complex constraint violations/P7087#item datatype properties would generally have this

Query of Properties Missing inverse label item (P7087)[edit]

Here's a query for showing all of the proeprties that are missing P7087. (Thanks to Tagishsimon for helping create this query!)

SELECT DISTINCT ?item ?itemLabel 
WHERE 
{
  ?item wdt:P31/wdt:P279* wd:Q18616576.
  FILTER NOT EXISTS {?item wdt:P7087 [] .} # Omit properties that have an "inverse label item" statement.
  FILTER NOT EXISTS {?item wdt:P1696 [] .} # Omit properties that have an "inverse property" statement.
  FILTER NOT EXISTS {?item wdt:P31/wdt:P279* wd:Q15720608 .} # Omit quantifiers (comment this line to show.)
  ?item wikibase:propertyType wikibase:WikibaseItem. # Only show properties with "item" datatypes.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } 
}
Try it!

The Erinaceous One 🦔 05:23, 13 December 2022 (UTC)[reply]

What is the difference between property "inverse Property" and "inverse label item"[edit]

The property "inverse property" seems to be the same. The only difference i see is that "inverse property" targets another property, while this property targets an inverse property label item.

But i cant see the difference between a property label item and a property.

I cant label both as same as, because that property only targets items and not properties. R Focke (talk) 09:12, 12 April 2023 (UTC)[reply]