Wikidata:Property proposal/Child item about free software
Jump to navigation
Jump to search
Child item about free software[edit]
Originally proposed at Wikidata:Property proposal/Generic
Withdrawn
Description | Child item with the focus on free software |
---|---|
Data type | Item |
Example | Category:PHP software (Q9096249) → Category:Free software programmed in PHP (Q7455461) Category:C++ software (Q6259215) → Category:Free software programmed in C++ (Q9909784) |
Source | Wikipedia categorization, Wikidata taxonomy |
Planned use | this property can deprecate complicate Wikipedia modules configurations like w:it:Modulo:Software/Configurazione |
- Motivation
Useful to simplify software categorization.
The domain is not "Wikimedia categories" because it's also useful for taxonomy of generic items (e.g. software (Q7397) → free software (Q341)).
If consensus, we can next open a discussion about a new property for the "Child item about proprietary software" too. --Valerio Bozzolan (talk) 11:21, 26 June 2017 (UTC)
- Discussion
- Comment Why not link with has part(s) (P527) and part of (P361)? ArthurPSmith (talk) 18:29, 26 June 2017 (UTC)
- @ArthurPSmith: Because both has part(s) (P527) or part of (P361) accept multiple values, and from them it's not easy to answer the question: «Does it exist the descendent free child category?» (and this is the simple actual problem). Think about the use of has part(s) (P527) or part of (P361) with a certain qualifier: answering that question means retrieving all theirs values, looping theirs qualifiers, finding if it exists the one with the right "free software" (?) qualifier, and discarding the other values... It sounds not so good in terms of consistence and query optimization. --Valerio Bozzolan (talk) 23:05, 26 June 2017 (UTC)
- Oppose The fact that Category:Free software programmed in PHP (Q7455461) is about free software should be stored in that item and not in Category:PHP software (Q9096249). ChristianKl (talk) 18:31, 26 June 2017 (UTC)
- @ChristianKl: You are right, but I don't see how this can also answer this question: «How to retrieve, from a parent category, the free child?» --Valerio Bozzolan (talk) 23:05, 26 June 2017 (UTC)
- Category:Free software programmed in PHP (Q7455461) could be both part of (P361) Category:PHP software (Q9096249) and Category:Free software (Q4026554). I'm myself don't write the Lua code, but I hope someone else can help you how to write the queries. ChristianKl (talk) 23:15, 26 June 2017 (UTC)
- Question @ChristianKl: Does it really exist a similar Lua endpoint for manual queries? --Valerio Bozzolan (talk) 23:41, 26 June 2017 (UTC)
- I'm quite sceptic about this. The mw:Extension:Wikibase Client/Lua is oriented on querying single-items: I really think that this property is needed to do the job. --Valerio Bozzolan (talk) 23:48, 26 June 2017 (UTC)
- Question @ChristianKl: Does it really exist a similar Lua endpoint for manual queries? --Valerio Bozzolan (talk) 23:41, 26 June 2017 (UTC)
- Category:Free software programmed in PHP (Q7455461) could be both part of (P361) Category:PHP software (Q9096249) and Category:Free software (Q4026554). I'm myself don't write the Lua code, but I hope someone else can help you how to write the queries. ChristianKl (talk) 23:15, 26 June 2017 (UTC)
- @ChristianKl: You are right, but I don't see how this can also answer this question: «How to retrieve, from a parent category, the free child?» --Valerio Bozzolan (talk) 23:05, 26 June 2017 (UTC)
- Oppose I don't think this kind of subcategorised property is a good idea. It would need a huge proliferation of properties to cover everything like this. --99of9 (talk) 02:24, 27 June 2017 (UTC)
- Question @99of9: Do you suggest another way to retrieve this kind of information from Wikimedia modules in Lua without this property? --Valerio Bozzolan (talk) 09:48, 27 June 2017 (UTC)
- Sorry, I only wrote my first LUA last week... so I'm not good enough at it yet to know if it's possible. --99of9 (talk) 10:51, 27 June 2017 (UTC)
- It's not possible. --Valerio Bozzolan (talk) 12:07, 27 June 2017 (UTC)
- Then why did you ask me? If this is some rhetorical way to convince me that we need a proliferation of child properties, it's not convincing. --99of9 (talk) 12:45, 27 June 2017 (UTC)
- It's not possible. --Valerio Bozzolan (talk) 12:07, 27 June 2017 (UTC)
- Sorry, I only wrote my first LUA last week... so I'm not good enough at it yet to know if it's possible. --99of9 (talk) 10:51, 27 June 2017 (UTC)
- Question @99of9: Do you suggest another way to retrieve this kind of information from Wikimedia modules in Lua without this property? --Valerio Bozzolan (talk) 09:48, 27 June 2017 (UTC)
- Comments
- @99of9, ChristianKl: So instead, let's try another approach. Assuming your suggestion of using an has part(s) (P527) on the parent with a whatever qualifier. Are there some qualifiers that can fit this job in your opinion? (E.g. applies to part (P518) free software (Q341)) --Valerio Bozzolan (talk) 15:41, 28 June 2017 (UTC)
- I don't think that's how "applies to part" is supposed to work, but I'm no expert on that. Once you've made a "has part", can't Lua scan through all parts and in each case check if they have free software as a category topic? --99of9 (talk) 00:54, 29 June 2017 (UTC)
- @99of9: Do you mean inspecting the sitelink string looking for the word "free software" vs "proprietary software" (in local language)? We can surely do that, but probably is not "the Wikidata way" (e.g. not good for SPARQL queries). Instead, how does it sound in your opinion a new "main sub-topic focus" qualifier? --Valerio Bozzolan (talk) 10:19, 29 June 2017 (UTC)
- I don't think that's how "applies to part" is supposed to work, but I'm no expert on that. Once you've made a "has part", can't Lua scan through all parts and in each case check if they have free software as a category topic? --99of9 (talk) 00:54, 29 June 2017 (UTC)