Property talk:P1113

Active discussions


number of episodes
number of episodes in a film/TV/radio series
Descriptionthe number of items in a series
Representsepisode (Q1983062)
Data typeQuantity
Domainitems that that are used as the object for Property part of the series (P179) (note: this should be moved to the property statements)
Allowed values
According to this template: non-negative integers
According to statements in the property:
0 ≤ 𝓧 ≤ 16,000
When possible, data should only be stored as statements
Allowed unitsnot applicable
ExampleThe Simpsons (Q886) → 639
Guiding Light (Q1145764) → 15,762
Robot and gadget jobsDeltaBot does the following jobs:
Tracking: sameno label (Q55283001)
Tracking: differencesno label (Q40586236)
Tracking: usageCategory:Pages using Wikidata property P1113 (Q26998031)
Tracking: local yes, WD nono label (Q55283003)
See alsoduration (P2047), series ordinal (P1545), number of seasons (P2437), number of parts of this work (P2635), list of episodes (P1811)
  • Items with the most statements of this property
  • Count of items by number of statements (chart)
  • Count of items by number of sitelinks (chart)
  • Items with the most identifier properties
  • Items with no other statements
  • Most recently created items
  • Items with novalue claims
  • Items with unknown value claims
  • Usage history
  • Chart by item creation date
  • Minimum and maximum
  • User:Laboramus/Units/P1113 (Units used)
  • Database reports/Complex constraint violations/P1113
  • Database reports/Constraint violations/P1113
  • Map
  • Random list
  • Proposal discussionProposal discussion
    Current uses
    Main statement53,11399.9% of uses
    Qualifier570.1% of uses
    Reference6<0.1% of uses
    Explanations [Edit]

    This property shows the number of episodes a television or radio series has had. It should always be a numerical value, without other symbols or indications. It's possible to add qualifiers, such as point in time, or references.

    Programs in productionEdit

    If the program is still in production, ideally you should not update the property until the broadcast premiere of a new episode.

    The number of episode should be qualified:

    The date for number of episodes aired (Q39242248) shouldn't be in the future.

    Using number of episodes at the end of the current season or the last one aired (Q39239591) has the advantage that updates need be done only once per season.

    If there are several values for the same criterion used (P1013), the most recent one should get preferred rank.

    Programs that endedEdit

    In general, only the total number of episodes is stored.

    If there are several ways of counting this, in rare cases, there may be multiple values. Add a qualifier to indicate how it is determined.

    In general, attempt to follow the way the producer counts the number of episodes. Bear in mind the difference between two-part episode (Q21664088) and segment of a television episode (Q29555881).

    Items for episodesEdit

    Items for individual episodes can include further details.

    Range from “0” to “16000”: values should be in the range from “0” to “16000”. (Help)
    List of this constraint violations: Database reports/Constraint violations/P1113#Range, hourly updated report, SPARQL (new)
    Units: “novalue”: value unit must be one of listed. (Help)
    List of this constraint violations: Database reports/Constraint violations/P1113#Units, hourly updated report, SPARQL (new)
    Integer: values should be integers (ie. they shouldn't have a fractional part) (Help)
    List of this constraint violations: Database reports/Constraint violations/P1113#integer, hourly updated report, SPARQL, SPARQL (new)
    Single value: this property generally contains a single value. (Help)
    Exceptions are possible as rare values may exist.
    List of this constraint violations: Database reports/Constraint violations/P1113#Single value, SPARQL, SPARQL (new)
      Television series would have this (series with end date)
    check limited to series that ended ( end time (P582) ) (Help)
    Violations query: SELECT * { ?item wdt:P31 wd:Q5398426 ; wdt:P582 [] . MINUS { ?item wdt:P1113 [] } }
    List of this constraint violations: Database reports/Complex constraint violations/P1113#Television series would have this (series with end date)
      Television series would have this (series with episode items)
    check limited to series with more than 10 episode items (Help)
    Violations query: SELECT * { ?item wdt:P31 wd:Q5398426 . MINUS { ?item wdt:P1113 [] } { SELECT ?item (COUNT(?ep) as ?ct) { ?ep wdt:P31 wd:Q21191270 ; wdt:P179 ?item } GROUP BY ?item HAVING (?ct>10) } } ORDER BY DESC(?ct) }
    List of this constraint violations: Database reports/Complex constraint violations/P1113#Television series would have this (series with episode items)
    This property is being used by:

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


    For TV series, the property is usually used to indicate the number of episodes aired. We'd need a way to list the number of episodes produced (when the series is cancelled before all produced episodes are aired, and the remaining episodes were never aired or published in any other way). – Máté (talk) 14:05, 10 March 2016 (UTC)

    [rus] Русское названиеEdit

    «Количество серий» → «Количество серий или эпизодов», т.к. это свойство можно видеть в свойстве «серия опер», где «количество серий» слишком обескураживает. Так хотя бы легче сориентироваться при чтении свойств.--EUvin (talk) 22:14, 13 June 2016 (UTC)

    Usage instructionsEdit

    Hello everyone. I created the help page for this property ("Explanations" section above) trying to reflect one of the most common current usage in wikidata and comparable policies about television infoboxes in local editions of Wikipedia. I'm not sure if it's clear enough and we should also add a note on the aired vs produced topic proposed above by Máté. Also, I'm not sure what's the best qualifier/way to differentiate values in such cases. I'm going to notify about this discussion local projects that use the property and some of the main editions of wikipedia. --Supernino (talk) 06:43, 9 September 2017 (UTC)

    See Property_talk:P2437#Usage_instructions. Preferred rank can be used for the current value. "criterion used" can be used to qualify the number.
    --- Jura 08:01, 9 September 2017 (UTC)
    @Jura1: "criterion used" would be good, but only allows items (!) Is there an equivalent to add a note? --Supernino (talk) 07:10, 10 September 2017 (UTC)
    You can add the note to a new item and then add it ;)
    --- Jura 07:13, 10 September 2017 (UTC)
    @Jura1: Uhm.... An example please? --Supernino (talk) 07:29, 10 September 2017 (UTC)
    Q13365715#P1889. Obviously, these can be worded more or less abstract.
    --- Jura 07:32, 10 September 2017 (UTC)
    Ok then, I've updated the help page :) --Supernino (talk) 12:19, 10 September 2017 (UTC)

    How to count Two-Part-Episodes?Edit

    How to count two-part-episodes? Example Encounter at Farpoint (Q3239271) has been broadcasted as a single pilot originally in the US. In other countries and re-runs it was split in two episodes:

    They have different production numbers and in German, these two have different Titles and of course, separate broadcast dates. So should Star Trek: The Next Generation (season 1) (Q978153) have 25 or 26 number of episodes (P1113)? --Loominade (talk) 12:46, 6 February 2018 (UTC)



    Given the problems we encounter sometimes to calculate the number of episodes (sample), I think bounds should be possible by default, i.e. the "no bounds" constraint shouldn't be added.
    --- Jura 09:57, 28 April 2018 (UTC)

    That’s not a use case for bounds. If sources report different values, you need to add multiple claims and work with ranks, rather than applying bounds to a single value. —MisterSynergy (talk) 10:01, 28 April 2018 (UTC)
    If sources report an approximate value, this works just fine with bounds. I do think +-0 when present could be removed.
    --- Jura 10:10, 28 April 2018 (UTC)
    Return to "P1113" page.