Wikidata:Property proposal/Google Fonts ID
Google Fonts ID edit
Originally proposed at Wikidata:Property proposal/Authority control
Description | font name on Google Fonts |
---|---|
Data type | External identifier |
Template parameter | Google Fonts link |
Domain | item |
Allowed values | any value that is allowed on Google Fonts (it depends on the font name) |
Allowed units | unlimited number of links |
Example 1 | Ubuntu (Q637171) → Ubuntu, Ubuntu+Condensed and Ubuntu+Mono |
Example 2 | Allerta (Q4732131) → Allerta and Allerta+Stencil |
Example 3 | Open Sans (Q7096182) → Open+Sans and Open+Sans+Condensed |
Source | Google Fonts (Q14799884) and https://fonts.google.com |
External links | Use in sister projects: [ar] • [de] • [en] • [es] • [fr] • [he] • [it] • [ja] • [ko] • [nl] • [pl] • [pt] • [ru] • [sv] • [vi] • [zh] • [commons] • [species] • [wd] • [en.wikt] • [fr.wikt]. |
Planned use | On all font items on Wikidata that can be found on Google Fonts (Q14799884) |
Number of IDs in source | depends on the font. Maybe only one, more are possible |
Expected completeness | eventually complete |
Formatter URL | https://fonts.google.com/specimen/$1 |
Robot and gadget jobs | could be done using a bot |
See also | Google Knowledge Graph ID (P2671) |
Applicable "stated in"-value | Google Fonts (Q14799884) |
Single-value constraint | no |
Distinct-values constraint | yes |
Wikidata project | Google Fonts (Q14799884) |
Motivation edit
While working on the Ubuntu (Q637171) font family I saw that on Google Fonts (Q14799884) many fonts are collected that are licenced under a free licence. Since Wikimedia Commons does not allow the upload of font files, there could be the question where one could download an open-source and free-to-use font. This property is menat to be an easy and fast to use cross site connection. The idea for this property is loosely based on Google Knowledge Graph ID (P2671). --D-Kuru (talk) 21:32, 11 September 2021 (UTC)
- Comments
- single value constraint: There can be more than one link to a (family of) font(s). Eg. Ubuntu (Q637171) with "Ubuntu" "Ubuntu Condensed" and "Ubuntu Mono". The link should be combined with title (P1476) as qualifier and the name of the font.
- infobox parameter: The link could be displayed in the Wikidata infobox as direct link to the font eg. [https://fonts.google.com/specimen/Ubuntu ''Ubuntu'' on Google Fonts]. (of course as real link)
- Changes
- changed datatype from string to external-id --D-Kuru (talk) 18:18, 14 September 2021 (UTC)
Discussion edit
- Comment On Space Mono (Q98271152) the Google Font website is used with official website (P856). I don't think that this is really the best way for this. --D-Kuru (talk) 17:37, 16 September 2021 (UTC)
- In my opinion "Ubuntu" "Ubuntu Condensed" and "Ubuntu Mono" should be three items, and we explicitly identify Ubuntu (Q637171) as a font family instead of individual font.--GZWDer (talk) 17:41, 12 September 2021 (UTC)
- @GZWDer: That would be fine for me as well. The question how far do you want to go? Would you create one item for each of Ubuntu Regular, Ubuntu Italic, Ubuntu Bold, Ubuntu Bold Italic, Ubuntu Light, Ubuntu Light Italic, Ubuntu Medium and Ubuntu Medium Italic? They do have the same ID on Google Fonts, but you could create a separate item for each of them. Should each of them have the same link in that case? --D-Kuru (talk) 07:27, 13 September 2021 (UTC)
- I also think it would be best to have a unique, distinct values mapping (and make this an external id), with one item per font however font is defined (but if different sources have different definitions then we may have some issues or more difficult choices). ArthurPSmith (talk) 17:15, 13 September 2021 (UTC)
- Comment if it's to be a string-datatype property, please don't include "ID" in its label. --- Jura 12:41, 14 September 2021 (UTC)
- It was planned to be a link that will take you directly to the google page. I changed the datatype to external-id. Would that work better? --D-Kuru (talk) 18:18, 14 September 2021 (UTC)
- String properties can link too. If the datatype is external-ID, the problem ArthurPSmith and GZWDer mentioned should be resolved. --- Jura 10:08, 16 September 2021 (UTC)
- It was planned to be a link that will take you directly to the google page. I changed the datatype to external-id. Would that work better? --D-Kuru (talk) 18:18, 14 September 2021 (UTC)
- Question @GZWDer:, @Jura1:, @ArthurPSmith: Are there any concerns left or would you support the property proposal --D-Kuru (talk) 17:37, 16 September 2021 (UTC)
- Support AntisocialRyan (Talk) 19:48, 12 February 2022 (UTC)
- Oppose as an external id, with the usage suggested by the current examples. ArthurPSmith (talk) 21:16, 14 February 2022 (UTC)
- @ArthurPSmith: You are no against the property as such, but you don't think that an external id is the best data type for this, is that correct? What would be your suggestion in that case?
- My personal goal is to link the giant library of Google Fonts with Wikidata. I want that the Google site can directly be accessed via the Wikdata page (and not that you may would have to search for it). This is what the data type should be able to do. How this is done is not really something I care about much.
- --D-Kuru (talk) 10:43, 15 February 2022 (UTC)
- @D-Kuru: Then perhaps a URL datatype is what you want, if the primary purpose is linking and you don't want to create new items for each individual font? ArthurPSmith (talk) 20:59, 15 February 2022 (UTC)
- @ArthurPSmith: As previously said: This proposal is loosely based on Google Knowledge Graph ID (P2671). This property's data type is External identifier. It is combined with formatter URL (P1630). The property works like I this property should work ---D-Kuru (talk) 13:39, 18 February 2022 (UTC)
- Google Knowledge Graph ID (P2671) is a unique identifier for a concept. But "Ubuntu+Mono", as you propose here, is not an identifier for the "Ubuntu" font family (or superfamily). It could be an identifier if there was an item in wikidata for the "Ubuntu Mono" font family - it would uniquely identify that. If you plan on adding such items, I think that's a good approach. But I don't think it should be considered an external id if it's not really an id for what you're putting it on. You can always use described at URL (P973) or another property like that to directly link items like "Ubuntu" to these Google font pages. ArthurPSmith (talk) 18:14, 18 February 2022 (UTC)
- @ArthurPSmith: As previously said: This proposal is loosely based on Google Knowledge Graph ID (P2671). This property's data type is External identifier. It is combined with formatter URL (P1630). The property works like I this property should work ---D-Kuru (talk) 13:39, 18 February 2022 (UTC)
- @D-Kuru: Then perhaps a URL datatype is what you want, if the primary purpose is linking and you don't want to create new items for each individual font? ArthurPSmith (talk) 20:59, 15 February 2022 (UTC)
- Comment I agree that "External identifier" should not be used here if one Q-item maps to multiple font pages on Google Font. If we want to use "External identifier" then we would need to create Q-items for each font (which I would also be fine with) but the proposal needs to be adapted. --Hannes Röst (talk) 15:46, 28 March 2022 (UTC)
- As said: I don't really care about the actual type or way the property is included. The potential creator of this property should know what works and what does not so I forward this decision to this user. I want to use the property as link and not have an endless discussion about if the same same entry that is supposed to do the same thing is included one way or another. TLDR: @Property creator: Fell free to change the the type --D-Kuru (talk) 12:54, 3 April 2022 (UTC)
- Support Germartin1 (talk) 13:34, 17 April 2022 (UTC)