Property talk:P7091
Jump to navigation
Jump to search
Documentation
Common Sense Media ID
identifier for a website or work of fiction on Common Sense Media
identifier for a website or work of fiction on Common Sense Media
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “film (Q11424), video game (Q7889), television series (Q5398426), book (Q571), album (Q482994), website (Q35127), television program (Q15416), literary work (Q7725634)”: item must contain property “instance of (P31)” with classes “film (Q11424), video game (Q7889), television series (Q5398426), book (Q571), album (Q482994), website (Q35127), television program (Q15416), literary work (Q7725634)” 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/P7091#Type Q11424, Q7889, Q5398426, Q571, Q482994, Q35127, Q15416, Q7725634, 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/P7091#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/P7091#Unique value, SPARQL (every item), SPARQL (by value)
List of violations of this constraint: Database reports/Constraint violations/P7091#Format, hourly updated report, 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/P7091#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): 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/P7091#Scope, SPARQL
Broken formatter URL?[edit]
I tried the few examples and they do not resolve anymore − eg https://www.commonsensemedia.org/node/5405541. Jean-Fred (talk) 14:45, 11 May 2022 (UTC)
- I seem to be having the same problem, the "shortlink" element is no longer found in the source code of Common Sense Media URLs. - Victor P. (talk) 16:04, 27 May 2022 (UTC)
- There are 3 IDs that Common Sense uses (and a 4th canonical URL). Let's take Jurassic Park for an example:
- "CMS Node" (5 digits): 60313 - https://www.commonsensemedia.org/node/60313
- "NID" (7 digits): 1256650
- "UUID": 35b6b6d7-0c78-4136-85a2-f3a2d97bbe86 - https://www.commonsensemedia.org/contentlink/35b6b6d7-0c78-4136-85a2-f3a2d97bbe86
- "Slug": movie-reviews/jurassic-park - https://www.commonsensemedia.org/movie-reviews/jurassic-park
- I think what you are seeing @Jean-Fred is some are using the Node(5) (currently resolving) and some are using the NID(7) (failing). The Node(5) is exposed in the source code by searching for "currentPath"; the NID(7) and UUID is not exposed in the source code but is available through the API. From the looks of things, this property began by using the NID(7), previously available in the URL or source code. At some point the NID(7) was moved elsewhere and Common Sense put Node(5) at the /node/ URL. 799 items use this property, 695 are using the original NID(7), and 167 have been updated with the Node(5) which resolves. Chchowmein (talk) 08:11, 1 January 2024 (UTC) edited 09:07, 1 January 2024 (UTC)
- One issue with that third-party formatter URL is that EIDR is only storing the NID and the UUID. They also are saying the seven digit NID is being replaced by the UUID. Chchowmein (talk) 08:24, 1 January 2024 (UTC)
- There are 3 IDs that Common Sense uses (and a 4th canonical URL). Let's take Jurassic Park for an example:
Id acquisition userscript[edit]
here is a userscript that will put the node id in the url when browsing the website:
Maybe it's of use to anyone else – Shisma (talk) 17:01, 10 May 2024 (UTC)
Categories:
- All Properties
- Properties with external-id-datatype
- Properties used on 100+ items
- Properties with constraints on type
- Properties with single value constraints
- Properties with unique value constraints
- Properties with format constraints
- Properties with entity type constraints
- Properties with scope constraints