Commons:Structured data/Modeling/Location

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 locations in structured data, for files on Wikimedia Commons

Caution: distinction between location of where the file was produced and what is depicted in the file

This has traditionally been done via the two templates {{Location}} and {{Object location}}. Here we are modelling the first of the two.

Caution: distinction between a digital file, and a creative work shown/depicted in a file

When a file on Wikimedia Commons shows/depicts a creative work, location information about the file and about the depicted work are usually very different.

It is best to describe the creative work as an item on Wikidata to keep this distinction clear.

(example)

Type of metadataNotesWikidata propertyStatus
Location we seeA specific location we see in the imagedepicts (P180)
Where the photo was madelocation of creation (P1071)
Where the photographer is standinglocation of the point of view (P7108)
Street the photograph is aboutlocated on street (P669)
Coordinates of the photographerSame as {{Location}}coordinates of the point of view (P1259) (optional qualifier heading (P7787) and elevation above sea level (P2044))✓ Done
Coordinates of the depicted objectSame as {{Object location}}coordinates of depicted place (P9149) (optional qualifier heading (P7787) and elevation above sea level (P2044))✓ Done

Properties not to use

These properties shouldn't be used and will give a constraint violation

PropertyReplacementNotes
location (P276)location of creation (P1071) or depicts (P180)Use location of creation (P1071) if it's about where to photo was created. Use depicts (P180) for what location is depicted
located in the administrative territorial entity (P131)
country (P17)
located in protected area (P3018)
location of creation (P1071)location of creation (P1071) should contain the most specific location item. located in the administrative territorial entity (P131) & country (P17) can be derived from this item.
recording location (P8546)location of creation (P1071)location of creation (P1071) should be used for consistency
coordinate location (P625)coordinates of depicted place (P9149)coordinate location (P625) is ambiguous so it is replaced by coordinates of depicted place (P9149)

General notes and remarks

  • Both Location and Coordinates and are wanted since they can help answer different kind of SPARQL queries.

Examples

(list files below that provide best practices on how to model various situations)


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