Commons:Structured data/Modeling/Meta

Show your love! Please help! – Work in progress
You can help by working on guidelines and providing examples below. Visit the talk page to discuss this process in general.

How to model various types of file metadata and exif(-like) data in structured data, for files on Wikimedia Commons

Type of metadataWikidata propertyStatus
Typeinstance of (P31) Working
Exposure timeexposure time (P6757)✓ Done
F-numberf-number (P6790)✓ Done
Focal lengthfocal length (P2151)✓ Done
ISO speed ratingISO speed (P6789)✓ Done
MIME typemedia type (P1163)✓ Done
Number of pagesnumber of pages (P1104)✓ Done
Data sizedata size (P3575)✓ Done
Durationduration (P2047)✓ Done
Widthwidth (P2049)✓ Done
Heightheight (P2048)✓ Done
Checksumchecksum (P4092) with qualifier determination method or standard (P459)✓ Done

Data in RDF

Field Example Description Related property
schema:caption Otham ways [3] The caption (label in Wikibase)
schema:contentSize 2848686 Size of the file in bytes data size (P3575)
schema:contentUrl <https://upload.wikimedia.org/wikipedia/commons/0/06/Otham_ways_(3)_-_geograph.org.uk_-_7078464.jpg> URL of the file
schema:encodingFormat image/jpeg Mime type media type (P1163)
schema:height 4320 Height of the file in pixels height (P2048)
schema:url commons:Otham ways (3) - geograph.org.uk - 7078464.jpg URL of the file (can be used in image grid)
schema:width 3240 Width of the file in pixels width (P2049)
schema:version 969368863 revisionid of last revision
schema:dateModified 12 December 2024 date of last revision
rdf:type schema:ImageObject / schema:MediaObject /wikibase:Mediainfo Type of file
rdfs:label Otham ways [3] Same as caption

Properties not to use

These properties shouldn't be used

PropertyReplacementNotes
Commons category (P373)location of creation (P1071) or depicts (P180) and othersRecord the information about the category instead, i.e., use depicts (P180) for what is depicted or use location of creation (P1071) if it's about where to photo was created.
file format (P2701)Should use media type (P1163) insteadDuplicate information

Examples

Category:Structured Data on Commons Category:Structured Data on Commons
Category:Structured Data on Commons