Wikidata:Property proposal/supports programming language
supports programming language
[edit]Originally proposed at Wikidata:Property proposal/Natural science
Description | programming language which is supported by this programming tool |
---|---|
Data type | Item |
Domain | instances of programming tool (Q1077784) (including subclasses) |
Allowed values | instances of programming language (Q9143) (including subclasses) |
Example | |
See also | programmed in (P277) |
- Motivation
programmed in (P277) means the programming language a program is developed in. However, for programming tools, the programming languages supported by the tool can be different from the programming language in which the tool itself is written. For example, GnuCOBOL (Q7095747) is a compiler for the programming language COBOL (Q131140), but it is not itself written in COBOL, it is actually written in C (Q15777). So, in that case, P277 would point to the C programming language and this property would point to COBOL. The domain of this property is any tool which takes some specific programming language(s) as input or subject, whether that be a compiler, interpreter, debugger, IDE, profiler, code coverage tool, testing framework, static analysis tool, etc. SJK (talk) 13:56, 10 January 2017 (UTC)
- Discussion
- I think something like this is good, but I think I would prefer to see more specific properties e.g. "compiles", "syntax colors", and etc., unless there's a reasonable belief that every program is going to support the same features for every language it supports. --Izno (talk) 21:35, 10 January 2017 (UTC)
- @Izno: Not in principle opposed to more specific properties, although it is unclear to me how many are actually needed, so I thought proposing just one was a good start. Also, do we need more specific properties or can that be expressed via qualifiers? For example, what if we qualified this property with has use (P366) syntax highlighting (Q747907) to say it supported the programming language for syntax colouring, or has use (P366) scripting language (Q187432) to say it supported it as a scripting language? In many cases, it should be obvious what this property means by the class the item belongs to, e.g. on an instance of compiler (Q47506) we can assume it means the compiler supports this programming language as input to be compiled, unless a qualifier indicates something else. SJK (talk) 07:07, 11 January 2017 (UTC)
- I don't think this property is ready without support votes. That especially goes for a property that's more complex than authority control. WikiProject Informatics has more than 50 participants and couldn't be pinged. Please post on the WikiProject's talk page instead. ChristianKl (talk) 11:33, 11 April 2017 (UTC)
- Support I came across many similar examples while working with Wikidata:WikiProject_Informatics/Programming_Language and GNU has several tools with names that goes like GNUProgrammingLanguageName. But I do feel that this property can be further generalized to 'supports' since I see further use cases like OS supports softwares, libraries, file systems. Currently, it is done by using has part(s) (P527). Jsamwrites (talk) 12:01, 11 April 2017 (UTC)
- Why not simply uses (P2283)? The property looks too narrow as it stands. − Pintoch (talk) 12:04, 11 April 2017 (UTC)
- It’s not a consumer relation. Does not seem appropriate and too vague. This property could be used to describe a dependancy of the software to a library for example. author TomT0m / talk page 20:00, 6 May 2017 (UTC)
- Support. Legitimate and necessary to describe the use of this type of software. author TomT0m / talk page 20:00, 6 May 2017 (UTC)
- @TomT0m, Pintoch, Jsamwrites, SJK: Done ChristianKl (talk) 11:10, 23 May 2017 (UTC)