Commons:Structured data/Modeling/Location

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
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[edit]

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[edit]

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)

Modeling various dates and times related to Wikimedia Commons files[edit]

Type of metadata Notes Wikidata property Status
Location we see A specific location we see in the image depicts (P180)
Where the photo was made location of creation (P1071)
Where the photographer is standing location of the point of view (P7108)
Coordinates of the photographer Same as {{Location}} coordinates of the point of view (P1259) (optional qualifier heading (P7787)) ✓ Done
Coordinates of the depicted object Same as {{Object location}} coordinate location (P625) coordinates of depicted place (P9149) (optional qualifier heading (P7787)) ✓ Done

General notes and remarks[edit]

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

Examples[edit]

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