Property talk:P7668

From Wikidata
Jump to navigation Jump to search

Documentation

file page
property to indicate a page number of a pdf file or similar. The page number is sometimes different from the numbering of the text reproduced in the document. Should allow to link the page when combined with the file URL
Data typeQuantity
Allowed values1 ≤ 𝓧 ≤ 1,000,000
Allowed unitsnot applicable
Example
According to this template:
According to statements in the property:
I never lost as much but twice (Q75803176) → 160
Aplin, John George (NBD) (Q23989679) → 32
When possible, data should only be stored as statements
See alsopage(s) (P304), title page number (P4714), Wikisource index page URL (P1957)
Lists
Proposal discussionProposal discussion
Current uses
Total12,512
Main statement1<0.1% of uses
Qualifier7,47159.7% of uses
Reference5,04040.3% of uses
[create Create a translatable help page (preferably in English) for this property to be included here]
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/P7668#integer, SPARQL
Range from “1” to “1000000”: values should be in the range from “1” to “1000000”. (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/P7668#Range
Units: “novalue”: value unit must be one of listed. (Help)
List of violations of this constraint: Database reports/Constraint violations/P7668#Units, hourly updated report
Allowed entity types are Wikibase item (Q29934200), Wikibase MediaInfo (Q59712033), Wikibase lexeme (Q51885771), Wikibase sense (Q54285715), Wikibase form (Q54285143): 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/P7668#Entity types
Scope is as qualifier (Q54828449), 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/P7668#Scope, SPARQL
Files should be pdf or djvu
change to page(s) (P304) or remove (Help)
Violations query: SELECT ?item ?itemLabel ?value ?fp { ?item p:P996 [ ps:P996 ?value ; pq:P7668 ?fp ] FILTER ( !strends( str(?value), ".djvu") ) FILTER ( !strends( str(?value), ".pdf") ) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
List of this constraint violations: Database reports/Complex constraint violations/P7668#Files should be pdf or djvu

jpg sample

[edit]

How would multipage jpgs work? I removed the sample for now. --- Jura 22:30, 5 December 2019 (UTC)[reply]

Display thumbnail based on file page (P7668) or title page number (P4714)

[edit]

Please see Wikidata:Contact the development_team/Archive/2019/12#Page for thumbnail.

Eventually a new request should be made as suggested there by Lea. --- Jura 13:51, 3 April 2020 (UTC)[reply]