Commons talk:Structured data
| SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 7 days. | |
|
|
Wikicrowd
I don't know much about Wikicrowd, and don't particularly care to, but is it actively encouraging edits like , or did this user just happen to do that? I suppose the edit is not actively harmful, but to take a picture of two people, at least one of whom has a Wikidata item, and say that what it depicts is a microphone seems really useless. It might as well say it depicts a wall and water bottle. - Jmabel ! talk 18:50, 18 December 2025 (UTC)
- (Courtesy ping @Ranjithsiji, who made the edit, and @Addshore, who made the tool.)
- The edit summary would seem to suggest that the statement was effectively copied from the file’s membership in Category:Microphones (or more specifically Category:People with microphones). I’m not convinced that depicts statement is significantly worse than the category, which has been on that file since 2021. Lucas Werkmeister (talk) 19:05, 18 December 2025 (UTC)
- Depicts says entity visually depicted in an image . In this image there is a Microphone and it is clearly visible. There are humans, May be people who has wikidata item. We can add more than one depicts into an image. So I don't see a problem here. THe microphone is not make prominent here. Ranjithsiji (talk) 19:16, 18 December 2025 (UTC)
- I also believe the edit is fine, though of course I'm happy to tweak the tool to guide based on what the community in general wants and finds acceptable. My understanding though mirrors the above comment, which is the microphone is clearly depicted, and thus should likely be included.
- Really, the unfortunate thing is that JessAnn Smith and pianist and music historian Eric Hung who are photographed don't have entries on Wikidata, and thus can not also be added as depicted. For the benefit of this conversation, however, I have gone ahead and said that they also depict "person" ·addshore· talk to me! 12:25, 21 December 2025 (UTC)
And this? - Jmabel ! talk 20:48, 31 December 2025 (UTC)
- Again, there probably isn't anything wrong with that image saying depicts trousers, likely it should also have other depicts statements also (which I have gone ahead and added https://commons.wikimedia.org/w/index.php?title=File:No_Kings_NYC_(October_2025)_41.jpg&diff=1140570455&oldid=1139705827)
- It all really depends on what people want to be able to look for within the dataset of commons images. ·addshore· talk to me! 14:25, 2 January 2026 (UTC)
Caption expand button is not usable, as it is barely visible

As shown in the image caption expand button is barely visible while using on Firefox 148.0 browser (image shown) or Google chrome Version 143.0.7499.169 (Official Build) (64-bit) on Ubuntu 22.04 Arjunaraoc (talk) 07:26, 3 March 2026 (UTC)
- There are multiple gadgets that intentionally hide or minimize the SDC interface, because many people dislike the whole concept of SDC. Do you happen to use one of them? If yes, https://commons.wikimedia.org/wiki/File:Mallavaram_Dam.jpg?safemode=1 should appear fine for you, as
?safemode=1disables all gadgets, user scripts and similar. If that URL indeed appears fine, you’ll need to go through your gadgets and find the problematic one. —Tacsipacsi (talk) 19:56, 3 March 2026 (UTC)
Search for capture date
How can I use SDC search to find all images in a category tree, captured at a specific date (e.g. March 16th, independent of year)? I failed with various values for haswbstatement:P571=. (Intersection of commonscat and SDC property)? best --Herzi Pinki (talk) 13:49, 16 March 2026 (UTC)
- @Herzi Pinki: I would guess you would do better with deepcat:"6 March, by year" than with anything off of SDC. Neither will be comprehensive, of course, but I don't see a way to tease out day-of-year from date in a search based on structured data. - Jmabel ! talk 18:05, 16 March 2026 (UTC)
- Thanks, but to work this needs full categorization by date of all images. My focus was on finding images that where taken on a specific date constellation and do not have the by date categories at the moment of search, for example to set those categories or to find images without such categories. hoped that the automatic propagation of capture dates to SDC would help. --Herzi Pinki (talk) 23:24, 16 March 2026 (UTC)
- @Herzi Pinki: It might be doable with a SPARQL query as long as the commonscat isn’t too large… which category are you interested in? Lucas Werkmeister (talk) 17:57, 20 March 2026 (UTC)
- @Lucas Werkmeister: I see some eager people hiding images in those by-date-categories. If these images (by date) can be retrieved by a smart search, there would be no further need to hide the images deep down the category tree of these by-date categories. e.g. category:Großglockner.
- sparql for regex date & depicts (P180), alas no Großglockner image has a suitable depicts (P180)
- is there a way to mix sparql with incategory: search?
- btw: dates BC with day precision - unbelievable! best --Herzi Pinki (talk) 19:19, 20 March 2026 (UTC)
- @Herzi Pinki: Yes, it’s possible using the MWAPI service. (Note that, while that page has a find category members example, to get deep category members you need to use the search instead.) This query returns one result for 17 March. Lucas Werkmeister (talk) 20:58, 20 March 2026 (UTC)
- @Herzi Pinki: It might be doable with a SPARQL query as long as the commonscat isn’t too large… which category are you interested in? Lucas Werkmeister (talk) 17:57, 20 March 2026 (UTC)
- Thanks, but to work this needs full categorization by date of all images. My focus was on finding images that where taken on a specific date constellation and do not have the by date categories at the moment of search, for example to set those categories or to find images without such categories. hoped that the automatic propagation of capture dates to SDC would help. --Herzi Pinki (talk) 23:24, 16 March 2026 (UTC)
- AFAIK haswbstatement has never supported time values: phab:T238498. --Matěj Suchánek (talk) 09:31, 20 March 2026 (UTC)
- deepcategory:"San Marino" insource:/[0-9]{4}-03-16/ https://commons.wikimedia.org/w/index.php?search=deepcategory%3A%22San+Marino%22+insource%3A%2F%5B0-9%5D%7B4%7D-03-16%2F
- @Herzi Pinki this is my approach without using sdc, with which i implemented Template:Category search by/month Template:Category search by/hour about finding files according to date/time. it works on the assumption that files contain yyyy-mm-dd hh:mm:ss in their wikitext.
- so, this method works for most files, but not for files that dont have such info in wikitext but only in sdc, e.g. files in Category:Uploads using Flickypedia.
- sorry if this is offtopic since my method is non-sdc. RoyZuo (talk) 16:23, 15 May 2026 (UTC)
- @RoyZuo: , thanks for the hint. The background of my question was: If we can find images via sdc dates and if there are these irresistible bots adding the date/time info into sdc, there would be no more need to manually clutter all the image descriptions with these annoying date and corresponding cross-cutting categories. We could free sparse resources for genuine categorization work (look at the image and recognize what is shown there). Of course your proposal will also help to not add these date categories. best --Herzi Pinki (talk) 17:45, 15 May 2026 (UTC)
date errors / BC / upload / ?bots
Hi, found some date errors and a consecutive misinterpretation by automated processes: See e.g. File:Our Lady of the Sacred Heart Church christmas 001.jpg with a syntactically wrong date, which is misinterpreted by the automated upload process regarding the SDC and is set to a BC date ().
- see SDC query for more cases
- Can somebody please fix the wrong dates? Experience with also fixing SDC is also needed.
- Can someone fix the upload process to check for invalid / questionable dates?
see also images with BC dates
best --Herzi Pinki (talk) 12:36, 21 March 2026 (UTC)
- More efficient SDC query; note that some of these dates are arguably not wrong, e.g. File:Aiease 1767709691935-removebg-preview-removebg-preview.png where 105 BCE refers to the depicted coin, rather than the photograph. Lucas Werkmeister (talk) 14:57, 22 March 2026 (UTC)
- thanks for the more efficient one. I know, that some of those dates might be correct. But without individual checking it is difficult to judge. See
- File:Silver tetradrachm of Antimachos I of Bactria, 185-170 BC - Sackler Museum - Harvard University - PXL 20250722 152610494.jpg, where the date 185-170 BC is plausible, but the SDC date derived is 16. Juni 0185 BCE.
Done - File:Tetradrachm of Antiochus, son of Seleucus IV.jpg date known by day precision?
- and we have 7600 images with SDC date > 2026-04-00 (=in the future).
- File:Silver tetradrachm of Antimachos I of Bactria, 185-170 BC - Sackler Museum - Harvard University - PXL 20250722 152610494.jpg, where the date 185-170 BC is plausible, but the SDC date derived is 16. Juni 0185 BCE.
- So let's talk about those having date problems (luckily there are only
229206 BC cases). best --Herzi Pinki (talk) 13:32, 24 March 2026 (UTC)- You may all know what I'm about to say here, but just in case someone reading this does not: Wikibase is rather limited in its ability to express a date range. You can see an example of both the issue and a workaround in Column Capital in the form of a Bes-image (Q116249017), property inception (P571). The actual value is marked as being accurate only to century; it is qualified by earliest date (P1319) and latest date (P1326). Honestly, it is horribly clumsy, especially for a short date range around the turn of a century (where the value as such ends up having to indicate only a millennium!) but it can be, and has been, made to work. - Jmabel ! talk 05:11, 25 March 2026 (UTC)
- thanks for the more efficient one. I know, that some of those dates might be correct. But without individual checking it is difficult to judge. See
EXIF ↔ SDC mapping
Do we habe any listing of SDC properties equivalent of EXIF (and analog) atributes? I guess I'm talking about every attribute you can extract with API:Imageinfo. —Ismael Olea (talk) 19:29, 23 March 2026 (UTC)
- It's here: Commons:Structured data/Modeling/Meta --Schlurcher (talk) 10:35, 24 March 2026 (UTC)
- @Schlurcher but there is not equivalency to EXIF/XMP/... :-m Is this information elsewhere? Maybe you have it hardcoded in one of your scripts? —Ismael Olea (talk) 16:35, 24 March 2026 (UTC)
- I thought the table included on that page under the Heading "Modeling various types of metadata and exif(-like) data related to Wikimedia Commons files" was exactly what you are looking for. My bot extracts the imageinfo and matches it according ro that table. Otherwise, I am misunderstanding your question. --Schlurcher (talk) 06:44, 25 March 2026 (UTC)
- (Side note: the “Data in RDF” table on that page also points out that WikibaseMediaInfo already emits much of this metadata automatically, making your bot edits redundant and, in my opinion, an enormous waste of resources. Queries should generally prefer e.g.
schema:heightoverwdt:P2048, because the former is automatically kept up to date by WikibaseMediaInfo if e.g. a new version of the file is uploaded.) Lucas Werkmeister (talk) 21:21, 26 March 2026 (UTC)- Just a +1 on the side note that I think we should bring up again somehow. What would be a possible way forward to stop this waste or resources? Ainali (talk) 07:44, 27 March 2026 (UTC)
- This would be my way to go: Commons:Requests for comment/Technical needs survey/UploadWizardSDC --Schlurcher (talk) 13:46, 29 March 2026 (UTC)
- Just a +1 on the side note that I think we should bring up again somehow. What would be a possible way forward to stop this waste or resources? Ainali (talk) 07:44, 27 March 2026 (UTC)
- (Side note: the “Data in RDF” table on that page also points out that WikibaseMediaInfo already emits much of this metadata automatically, making your bot edits redundant and, in my opinion, an enormous waste of resources. Queries should generally prefer e.g.
- I thought the table included on that page under the Heading "Modeling various types of metadata and exif(-like) data related to Wikimedia Commons files" was exactly what you are looking for. My bot extracts the imageinfo and matches it according ro that table. Otherwise, I am misunderstanding your question. --Schlurcher (talk) 06:44, 25 March 2026 (UTC)
- @Schlurcher but there is not equivalency to EXIF/XMP/... :-m Is this information elsewhere? Maybe you have it hardcoded in one of your scripts? —Ismael Olea (talk) 16:35, 24 March 2026 (UTC)
Does the Structured Commons have a future?
When the Structured Commons started, the expectations were that it would replace the system of categories. Now, if I get it right, we are not there, and the WMF stopped developing the Structured Commons. Is the project useful in its current stage? Is it going to survive (I mean not to be closed as having no future)? I am specifically asking because I add to every image I upload two properties, d:P31 and d:P1071 (as well as d:P571, but this is mostly done by bots, sometimes incorrectly). It would be useful for me to know whether I am just wasting my time, but I would be also interested in a broader perspective, for example, an answer to the original question - it is a possible, perspective replacement of categories? Ymblanter (talk) 16:58, 26 March 2026 (UTC)
- That there is no development is a political decision of the WMF. This can change any time. We can not do more than demanding things and hope to be heard. We do not know what happens in the near or far future. GPSLeo (talk) 17:35, 26 March 2026 (UTC)
- To me, structured data has a value in itself now, and for me, replacing categories could happen or not. Structured data is still great in search, SPARQL queries and working with APIs. So I don't think you are wasting time, you're making Commons better. Thanks! Ainali (talk) 19:34, 26 March 2026 (UTC)
- instance of (P31) location of creation (P1071) inception (P571). RoyZuo (talk) 16:03, 15 May 2026 (UTC)
Video
2 years after Commons_talk:Structured_data/Archive_2025#c-RoyZuo-20241119142700-Modeling_video_/_audio_/_pdf_/_djvu_files i wanna ask about videos again. there is still absolutely no info about anything related to videos. last time i asked about languages and time when a video is made.
this time i was prompted by the wish to classify a video according to its type: animation / feature film / podcast / tv episode / tv news package... e.g. File:What is Magna Carta-.webm is animated film (Q202866).
dont know which property to use or if there is actually one for this purpose.--RoyZuo (talk) 15:59, 15 May 2026 (UTC)
State of neglect
it seems to me sdc is in a state of neglect. there are multiple discussion pages including but not limited to Commons talk:Structured data/Modeling Commons talk:Structured data/Properties table, but all seem to attract very little attention from users and whoever that's supposed to be in charge of maintenance and development of sdc.
supposedly my questions about sdc modeling for videos should be raised at Commons talk:Structured data/Modeling but i just post them here since those pages are hardly monitored.
i wonder:
- how many people are actively involved in maintenance and development of sdc? paid or volunteer? as of right now, 2026?
- in addition to #1, how many people are actively involved in the development and curation of data models?
i ask because if the number is >100, then i can reasonably expect someone should notice questions on these discussion pages soon. but if the number is <10, then i understand why no one seems to be answering. also whether these people are paid or just volunteering makes a big difference, coz it's within my expectation that volunteers might only get to work on something much longer after the issues are raised.--RoyZuo (talk) 15:59, 15 May 2026 (UTC)
