Property talk:P12559

From Wikidata
Jump to navigation Jump to search

Documentation

TMDB episode ID
identifier for a television series episode at The Movie Database
RepresentsThe Movie Database (Q20828898)
Associated itemThe Movie Database (Q20828898)
Applicable "stated in" valueThe Movie Database (Q20828898)
Has qualitynumeric identifier (Q93868746)
Data typeExternal identifier
Domaintelevision series episode (Q21191270) or television special (Q1261214)
Allowed values^[1-9]\d*$
Usage notesTo find the numeric ID, simply press Ctrl+U to view page source and use Ctrl+F to search for "glyphicons_v2 star white ". The following value after this string represents the numeric ID.
ExamplePilot (Q20020361)914358
Simpsons Roasting on an Open Fire (Q753507)62228
Woe Has Joined (Q108301046)1094008
Sourcehttps://www.themoviedb.org
Formatter URLhttps://www.themoviedb.org/tv/episode/$1
Lists
Proposal discussionProposal discussion
Current uses
Total7,048
Main statement7,045>99.9% of uses
Qualifier3<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
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/P12559#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/P12559#Unique value, SPARQL (every item), SPARQL (by value)
Format “[1-9]\d*: value must be formatted using this pattern (PCRE syntax). (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/P12559#Format, SPARQL
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/P12559#Type Q21191270, Q1261214, SPARQL
Conflicts with “TMDB movie ID (P4947): 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/P12559#Conflicts with P4947, search, SPARQL
Conflicts with “TMDB TV series ID (P4983): 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/P12559#Conflicts with P4983, search, SPARQL
Conflicts with “TMDB person ID (P4985): 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/P12559#Conflicts with P4985, search, SPARQL
Conflicts with “TMDB collection ID (P11805): 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/P12559#Conflicts with P11805, search, SPARQL
Conflicts with “TMDB company ID (P11806): 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/P12559#Conflicts with P11806, search, 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/P12559#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/P12559#Scope, SPARQL

How to get ID?

[edit]

The explanation on how to get the ID doesn't seem to work anymore. For example, the source code of TMDB's page for Pilot (Q20020361) doesn't include the substring 914358. Nw520 (talk) 18:39, 22 April 2024 (UTC)[reply]

@Nw520: The only workaround I have managed to find is by expanding the shortcut bar under an episode and clicking on "Images" then hitting ctrl-U into the page source, where the episode ID is listed after "media_id". But that does not work for episodes without images. Otherwise, perhaps the only method is using the API. Οἶδα (talk) 19:19, 4 July 2024 (UTC)[reply]