Wikidata:Property proposal/Infobox based on

Commons infobox based on

edit

Originally proposed at Wikidata:Property proposal/Sister projects

   Not done
DescriptionID of an object, which was depicted or digitized to create this file and which will be used to create infobox (like Book or Artwork template) describing it
Data typeItem
Template parameterwikidata parameter in c:template:Artwork, c:template:Book, c:template:Photograph, c:template:Art photo,
Domainobject (Q488383): mostly object (Q488383), but also some abstract entity (Q7184903)
Allowed valuesspecific artworks, artifacts and other museum holdings, as well as movies, or music compositions
Example 1Structured Data for  The Starry Night (Q45585) (for artworks opposite of image (P18))
Example 2Structured Data for  Mona Lisa (Q12418) (opposite of image with frame (P7420))
Example 3Structured Data for  David (Q179900)
Example 4Structured Data for File:Julien Bryan - Siege.ogvSiege (Q1351398) (opposite of video (P10))
Example 5Structured Data for File:"The Star-Spangled Banner" performed at the White House in 1994.ogaThe Star-Spangled Banner (Q44696) (opposite of audio (P51))
Example 6Structured Data for  Mona Lisa (Q12418) (opposite of 3D model (P4896))
Example 7Structured Data for File:EiffelTower fixed.stlEiffel Tower (Q243) (opposite of 3D model (P4896))
Example 8Structured Data for  March Constitution of Poland (Q2535435) (opposite of document file on Wikimedia Commons (P996))
Example 9Structured Data for  Nałęcz (Q1785126) (opposite of coat of arms image (P94))
Planned useThis SDC property will be used by file infoboxes on Commons to indicate which item should be used as basis for the infobox. It will have single-value constraint (Q19474404)
Robot and gadget jobsUser:JarektBot or others will populate this property based on current digital representation of (P6243): copying the values for 2D artworks and moving them for other objects.
See alsodigital representation of (P6243), based on (P144), image (P18), main subject (P921)

Motivation

edit

Property digital representation of (P6243) was originally proposed to be used with c:template:Artwork and be equivalent to {{Artwork|wikidata=...}}. It is being used that way right now by couple hundred thousand files and several templates. However other users had plans to use this property for 2D artworks only to indicate that the file is a faithful reproductions of two-dimensional works of art that meets requirements of c:template:PD-Art or to tag files where wikidata relative position within image (P2677) properties are valid. As a result Wikidata:Property proposal/Digital representation of proposal when finally approved was ambiguous about its purpose. Ever since, most of the discussions at Property_talk:P6243 revolve around multiple visions different users have for this property. Based on Property_talk:P6243#2D_vs._3D discussion it seems like the best solution is to split digital representation of (P6243) into at least 2 properties: one to be used by Commons infobox templates and one for digitizations of 2D artworks. --Jarekt (talk) 04:36, 28 September 2020 (UTC)[reply]

How is it different from other properties:

In general, getting a new single-purpose property with name linking it to its purpose is important, since adding this property would affect the displayed metadata, and should be independent of any other task.--Jarekt (talk) 12:53, 28 September 2020 (UTC)[reply]

Discussion

edit
Mike, Can you provide details on your proposal? How would it work? Depict statements seem particularly badly suited for this task:
If depicts (P180) is used correctly (i.e., for the specific things depicted, not random things), then it works well. E.g., see commons:File:Jodrell Bank Mark II 5.jpg, which uses commons:Template:Structured Data to pull out information about multiple telescopes in the image. The same should work fine in the cases here. Thanks. Mike Peel (talk) 18:28, 5 October 2020 (UTC)[reply]
However depicts (P180) is usually not used correctly and yes you can handcraft an image where it works but for great many images it does not. c:template:Artwork uses depicts (P180) to find and list depicted people. That code was crashing on some pages due too many depict statements and taking too long. I had to limit it to only first 50 depicts for which I was looking up instance of (P31). That is why "Infobox based on" only allows a single value. The purpose of depict is to list depicted people, places, objects, etc. and purpose of "Infobox based on" is to choose a single item to base the infobox on. Those 2 purposes are very different. We already tried to use a single property for 3 different tasks: digital representation of (P6243) and as a result it does not work well for any of them. --Jarekt (talk) 00:56, 7 October 2020 (UTC)[reply]
Sure --Jarekt (talk) 02:09, 1 November 2020 (UTC)[reply]
It would not work well with depicts (P180) as you might have large number of those and it might be a mess to find the depict with the qualifier. main subject (P921) might work because there should be only one of those. Tools like c:User:Magnus Manske/sdc tool.js which I currently use to add digital representation of (P6243) to files, do not support qualifiers. Is main subject (P921) appropriate for files which show image details or for PDF files which we would link to items? --Jarekt (talk) 01:28, 20 April 2021 (UTC)[reply]

Switched to using main subject (P921) on Commons so I think we can close this one. Multichill (talk) 21:07, 14 April 2022 (UTC)[reply]

In that case I'm closing this discussion. If I made a mistake please feel free to revert my closing. Thanks. RPI2026F1 (talk) 16:30, 4 January 2023 (UTC)[reply]