Property talk:P1104

Latest comment: 1 month ago by Aluxosm in topic PagesBot

Documentation

number of pages
number of pages in an edition of a written work; see allowed units constraint for valid values to use for units in conjunction with a number
DescriptionTotal number of pages that contains the book, article, etc.
Representspage (Q1069725), leaf (Q107256474), page of plates (Q108607840), leaf of plates (Q108607991), unnumbered page of plates (Q110993911), number of pages (Q115804545)
Data typeQuantity
Domain
According to this template: Mainly published materials.
According to statements in the property:
version, edition or translation (Q3331189), volume (Q1238720), issue (Q28869365), report (Q10870555), manuscript (Q87167), webcomic (Q213369), article (Q191067), thesis (Q1266946), programme (Q1508646), chapter (Q1980247), Institutional Acts (Q2018524), comic story (Q56855534), research proposal (Q947859), document (Q49848), work of science (Q11826511), publication (Q732577), xiaoshuo (Q59126), essay collection (Q16324495), pamphlet (Q190399), museum catalogue (Q63161834), essay (Q35760), book review (Q637866), literary work (Q7725634), review (Q265158) or life hack (Q516195)
When possible, data should only be stored as statements
Allowed values1 ≤ 𝓧 ≤ 1,000,000,000
Allowed unitsnot applicable, page (Q1069725), plate (Q17109349), Roman-numbered page (Q56761382), double page (Q92866474), leaf (Q107256474), page of plates (Q108607840), leaf of plates (Q108607991), unnumbered page of plates (Q110993911) or web page (Q36774)
Usage notes"Roman-numbered page" (Q56761382) can be used as unit for such pages.
Example
According to this template: A Game of Thrones 1st ed UK hardback <total number of pages> 672
When possible, data should only be stored as statements
Tracking: usageCategory:Pages using Wikidata property P1104 (Q23909079)
See alsopage(s) (P304), column (P3903), folio(s) (P7416)
Lists
Proposal discussionProposal discussion
Current uses
Total2,368,197
Main statement2,362,56399.8% of uses
Qualifier5,2580.2% of uses
Reference376<0.1% of uses
[create Create a translatable help page (preferably in English) for this property to be included here]
Range from “1” to “1000000000”: values should be in the range from “1” to “1000000000”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Siku Quanshu (Q699477)
List of violations of this constraint: Database reports/Constraint violations/P1104#Range
Type “version, edition or translation (Q3331189), volume (Q1238720), issue (Q28869365), report (Q10870555), manuscript (Q87167), webcomic (Q213369), article (Q191067), thesis (Q1266946), programme (Q1508646), chapter (Q1980247), Institutional Acts (Q2018524), comic story (Q56855534), research proposal (Q947859), document (Q49848), work of science (Q11826511), publication (Q732577), xiaoshuo (Q59126), essay collection (Q16324495), pamphlet (Q190399), museum catalogue (Q63161834), essay (Q35760), book review (Q637866), literary work (Q7725634), review (Q265158), life hack (Q516195): item must contain property “instance of (P31), subclass of (P279)” with classes “version, edition or translation (Q3331189), volume (Q1238720), issue (Q28869365), report (Q10870555), manuscript (Q87167), webcomic (Q213369), article (Q191067), thesis (Q1266946), programme (Q1508646), chapter (Q1980247), Institutional Acts (Q2018524), comic story (Q56855534), research proposal (Q947859), document (Q49848), work of science (Q11826511), publication (Q732577), xiaoshuo (Q59126), essay collection (Q16324495), pamphlet (Q190399), museum catalogue (Q63161834), essay (Q35760), book review (Q637866), literary work (Q7725634), review (Q265158), life hack (Q516195)” 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/P1104#Type Q3331189, Q1238720, Q28869365, Q10870555, Q87167, Q213369, Q191067, Q1266946, Q1508646, Q1980247, Q2018524, Q56855534, Q947859, Q49848, Q11826511, Q732577, Q59126, Q16324495, Q190399, Q63161834, Q35760, Q637866, Q7725634, Q265158, Q516195, SPARQL
Integer: values should be integers (ie. they shouldn't have a fractional part) (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/P1104#integer, SPARQL
Allowed entity types are Wikibase item (Q29934200), Wikibase MediaInfo (Q59712033): 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/P1104#Entity types
Scope is as main value (Q54828448), as qualifier (Q54828449): 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/P1104#Scope, SPARQL
 
This property is being used by:

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

How do deal with other than simple Arabic numerals numbering? edit

How do deal with books with other forms of pagination (Q783209)?

  • Roman numerals (for the front matter),
  • folium rectum and versum numbering,
  • column numbering and
  • letter numbering?

Thanks for any help! --Marsupium (talk) 16:53, 11 July 2017 (UTC)Reply

@Marsupium: I have tentatively added several alternatives to allowed units constraint (Q21514353) (tipped-in page for plates, and Latin-numbered pages for, well, the obvious), which should hopefully fix this issue. Circeus (talk) 23:55, 27 September 2018 (UTC)Reply
@Circeus: Thank you for that idea! Above it says: "DeltaBot does the following jobs: Remove units". And there are many templates using this property (see above). So I'm afraid it needs more than just changing the constraint. I'm not sure if it's the perfect solution, but perhaps the best we can get. Also, should we broaden the scope of the property and adapt the labels and aliases and also add column (Q2306599)? --Marsupium (talk) 08:30, 1 October 2018 (UTC)Reply
Deltabot isn't a problem because unless I'm mistaken, it takes its cue from the property definition here, so the units as defined here don't trigger it. Circeus (talk) 16:20, 1 October 2018 (UTC)Reply
What to do if a book has, for example, 200 pages numbered with arabic numbers and 10 pages numbered with roman numerals:
number of pages (P1104)200 page number of pages (P1104)10 roman-numbered page
OR
number of pages (P1104)210 page number of pages (P1104)10 roman-numbered page?--Malore (talk) 02:32, 27 October 2018 (UTC)Reply
So far I've entered it as the first case (in bibliographical description, this would normally be given as 200+x os something along those lines). Circeus (talk) 11:04, 27 October 2018 (UTC)Reply
@Circeus, Marsupium: Today I added P1104 statements to Q61976455 with units (Roman/Arabic) as described above, and DeltaBot removed the units within minutes. Do you think this should be reported as an error at User talk:DeltaBot? — Ipoellet (talk) 20:23, 5 March 2019 (UTC)Reply
Absolutely! I can't swear on it (I am no programmer), but unless I am mistaken, Deltabot will always delete any and all units (it's not even having hardcoded units, much less pulling them dynamically from the constraint), which is most certainly undesirable! Circeus (talk) 23:42, 5 March 2019 (UTC)Reply

The bot owner has removed that task from the bot now. While I'd prefer the bot checked against the constraint, this is also acceptable. Circeus (talk) 11:59, 3 June 2019 (UTC)Reply

Use on issue (Q28869365) edit

Is the use of this property on issue (Q28869365) OK? It currently fails the type constraint, like on The London Gazette 51981 (Q56057169). Ghouston (talk) 06:24, 12 August 2018 (UTC)Reply

I added issue (Q28869365) as an allowed value on the constraint. Ghouston (talk) 23:50, 31 August 2018 (UTC)Reply

Use on document (Q49848) edit

Should this property be allowed on document (Q49848)? It currently fails the type constraint, like on number of pages (P1104) of Request for New Language Code Element [rgn] in ISO 639-3 (Q61685511). — Sascha (talk) 19:54, 12 February 2019 (UTC)Reply

Determination of number of pages edit

  WikiProject Books has more than 50 participants and couldn't be pinged. Please post on the WikiProject's talk page instead. Given a document like https://babel.hathitrust.org/cgi/pt?id=mdp.39015082905749, what is the correct value for this property? One of all of the following?

  • 728 images in the scan sequence → pages (minus the covers? but note there appears to be text inside the cover). Or divide by 2 and use leaf?
  • 698 "Arabic" numbered pages (what unit?)
  • 21 or 22 Roman-numbers pages (the blank page between xxi and 1 is not numbered, and, as usual, the first few pages aren't visibly numbered)

Inductiveload (talk)

How to deal with columns? edit

Some works have not counted pages, but columns. This means for example two columns per page (which are numbered). Sinuhe20 (talk) 11:24, 21 March 2023 (UTC)Reply

PagesBot edit

There is currently an RFP for a bot that reads page(s) statements on items of type scholarly article, it then infers number of pages statements before adding them with a reference.

Please see: Wikidata:Requests for permissions/Bot/PagesBot

Any comments would be much appreciated! Cheers, Aluxosm (talk) 12:32, 17 March 2024 (UTC)Reply

Return to "P1104" page.