Property talk:P22

From Gratisdata

Documentation

Google Knowledge Graph ID
identifier for Google Knowledge Graph API (starting with "/g/"). IDs starting with "/m/" are Freebase IDs
Data typeExternal identifier
Allowed values/g/1(?:[1258dhjnpqstvwxyz][0-9b-df-hj-np-tv-z_]{6,8}|3b[013-9b-df-hj-np-tv-z_]{4}|3z[2356gmpqwz_]{6})
Usage notesTo find the Google Knowledge Graph ID, open the page source and look after "/g/XXXX where XXXXX is the ID
Sourcehttps://developers.google.com/knowledge-graph/
https://angryloki.github.io/mreid-resolver/
Formatter URLhttps://www.google.com/search?kgmid=$1
https://www.google.com/search?kponly&kgmid=$1&hl=en
https://www.google.com/search?kgmid=$1&hl=en
https://trends.google.com/trends/explore?q=$1
http://web.archive.org/*/www.freebase.com$1
https://freebase.toolforge.org/google$1 (Works reliably only for the English locale)
https://g.co/kg$1
See alsoFreebase ID (P73)
Lists
Proposal discussionOriginally created without a formal discussion
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “/g/1(?:[1258dhjnpqstvwxyz][0-9b-df-hj-np-tv-z_]{6,8}|3b[03-9b-df-hjl-np-tv-z_]{4}|3z[2356gmpqwz_]{6}): value must be formatted using this pattern (PCRE syntax).
List of this constraint violations: Database reports/Constraint violations/P22#Format, hourly updated report, SPARQL
Distinct values: this property likely contains a value that is different from all other items.
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P22#Unique value, SPARQL (every item), SPARQL (by value)
Single value: this property generally contains a single value.
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P22#Single value, SPARQL
Scope is as main value (Q793), as reference (Q780): the property must be used by specified way only
List of this constraint violations: Database reports/Constraint violations/P22#scope, hourly updated report, SPARQL
Allowed entity types are Wikibase item datatype (Q799): the property may only be used on a certain entity type
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P22#allowed entity types
Conflicts with “Freebase ID (P73): this property must not be used with the listed properties and values.
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P22#Conflicts with, search, SPARQL