Wikidata:WikiProject KOS
WikiProject Knowledge Organization Systems (KOS) is a WikiProject to improve coverage of information about knowledge organization system (Q6423319) (KOS) in Wikidata.
Goals
[edit]- Add KOS types and instances to Wikidata
- Improve consistent use of properties for description of KOS
- Make KOS data from Wikidata more usable
- Extract KOS mappings from Wikidata
Introduction
[edit]A KOS is a set of concept (Q151885) based on a mental model (Q1851867)
Properties
[edit]KOS types
[edit]See also Help:Modelling#Hierarchy of classes
KOS instances
[edit]KOS parts
[edit]- part of (P361) and has part(s) (P527)
- ...
Overviews and reports
[edit]Some items of KOS types combine both a method and a KOS of one of its outcomes. For some areas both are separated items:
The item taxonomy (Q7211) confuses some of the meanings and has some overlap with taxonomy (Q8269924), biological classification (Q11398), and classification scheme (Q5962346).
reports are automaticaly generated from queries:
- See Talk:Q6423319 for links to several KOS-related reports
- See Wikidata:Database_reports/Constraint_violations/P2689 for report of BARTOC ID (P2689) usage. This report may reveal additional KOS types
- ...
Typical errors
[edit]- Assignment of KOS instances to wrong classes and as subclasses instead of instances
- ...
Tasks
[edit]KOS types
[edit]- Clarify relation between classification scheme (Q5962346) , taxonomy (Q7211) , taxonomy (Q8269924) , biological classification (Q11398) etc.
- Cleanup subtypes of dictionary (Q23622)
- Cleanup subtypes of catalogue (Q2352616)
- Most subtypes should have a qualifier of (P642) to refer to the type of items collected in this specific type of catalog. For instance
telephone directory (Q220393)subclass of (P279)catalogue (Q2352616) with of (P642)telephone number (Q214995)
- Most subtypes should have a qualifier of (P642) to refer to the type of items collected in this specific type of catalog. For instance
- Cleanup overlapping KOS types data model (Q1172480) , conceptual model (Q2623243) , mind map (Q192833) , semantic network (Q1045785) , ontology (Q324254) , conceptual graph (Q1420493) ,concept map (Q830115)
- Clarify relation to related concepts (e.g. which properties to use for connection)
- reference work (Q13136) as many KOS are also reference works
- knowledge representation and reasoning (Q3478658) and its methods. The difference between knowledge representation and knowledge organization is worth to evaluate further.
- code (Q188889) and subclasses (is code system a subclass of KOS?)
- database (Q8513) and subclasses
- modeling language (Q1941921) such as UML, RDFS, ERM notations, ontology languages, possibly XML schema languages...
- scientific modeling (Q1116876) and modeling language (Q1941921) with subclasses
- Connections could be made with used by (P1535)
KOS instances
[edit]- Introduction of BARTOC-ID als Wikidata property to map BARTOC and Wikidata Done
- All instances of personal bibliography (Q26876682) and its subclasses should be connected to the person the bibliography is about.
- All instances of subject bibliography (Q1391116) and its subclasses should be connected to the subject the bibliography is about.
- Move instances of bibliography (Q134995) (the profession) to instances of bibliography (Q1631107) (the work) or one of its subclasses.
- Add instances of terminologies (many to be found for instance at Category:Terminology (Q6641081) )
- Add more instances to be found via categories (category's main topic (P301) )
KOS parts and instances
[edit]- Find KOS instances that given as subclass or instances of class (Q16889133) , for instance boat type (Q16103215) and category in the Köppen climate classification systems (Q23702033)
- Check whether there are categories for a classes (category's main topic (P301)) and articles in the categories which are not instances yet
Queries
[edit]# number of KOS types
SELECT (COUNT(distinct ?kos) AS ?count) {
?kos wdt:P279* wd:Q6423319
}
# number of KOS instances
SELECT (COUNT(distinct ?kos) AS ?count) {
?kos wdt:P31/wdt:P279* wd:Q6423319
}
# KOS types with number of instances and additional numbers
SELECT ?item ?itemLabel ?broader ?parents ?size ?sites {
{
# number of additional superclasses
SELECT ?item (count(distinct ?parent)-1 as ?parents) {
?item wdt:P279* wd:Q6423319
OPTIONAL { ?item wdt:P279 ?parent }
} GROUP BY ?item
} {
# number of instances
SELECT ?item (count(distinct ?element) as ?size) {
?item wdt:P279* wd:Q6423319
OPTIONAL { ?element wdt:P31 ?item }
} GROUP BY ?item
} {
# number of sitelinks
SELECT ?item (count(distinct ?site) as ?sites) {
?item wdt:P279* wd:Q6423319
OPTIONAL { ?site schema:about ?item }
} GROUP BY ?item
}
OPTIONAL { ?item wdt:P279 ?broader }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
# number of KOS instances grouped by KOS type of first level
SELECT ?kostype ?kostypeLabel (COUNT(distinct ?kos) AS ?count) {
?kostype wdt:P279 wd:Q6423319 .
?kos wdt:P31/wdt:P279* ?kostype .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
}
GROUP BY ?kostype ?kostypeLabel
ORDER BY DESC(?count)
# language coverage of KOS types
SELECT ?lang (COUNT(DISTINCT ?label) as ?items) WHERE {
?item wdt:P279* wd:Q6423319 .
?item rdfs:label ?label . # skos:altLabel/schema:description for alternative labels/descriptions
BIND(lang(?label) as ?lang)
}
GROUP BY ?lang
# HAVING (?items > 2) # limit to most used languages
ORDER BY DESC(?items)
# classification systems with parts as Wikidata items
SELECT ?kos ?kosLabel (COUNT(DISTINCT ?part) as ?parts) {
?kos wdt:P31/wdt:P279* wd:Q5962346 .
?part wdt:P361 ?kos .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
} GROUP BY ?kos ?kosLabel
ORDER BY DESC(?parts)
# classification systems with type of their parts
SELECT ?kos ?kosLabel ?parts ?partsLabel {
?kos wdt:P31/wdt:P279* wd:Q5962346 .
?kos wdt:P2670 ?parts .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
Terminology registries
[edit]Instances of terminology registry (Q22692845) collect, describe and/or provide multiple KOS. Get all terminology registries with their BARTOC URI (if available) with this query:
SELECT ?item ?itemLabel ?bartoc WHERE {
?item wdt:P31/wdt:P279* wd:Q22692845 .
OPTIONAL {
?item wdt:P2689 ?id .
BIND (IRI(CONCAT('http://bartoc.org/en/node/',?id)) AS ?bartoc) .
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
Participants
[edit]The participants listed below can be notified using the following template in discussions:{{Ping project|KOS}}
- Akuckartz (talk) 07:29, 9 August 2020 (UTC)
- JakobVoss (talk)
- Vladimir Alexiev (talk) 09:27, 5 July 2016 (UTC)
- TomT0m author TomT0m / talk page 20:15, 21 September 2016 (UTC)
- Jneubert (talk) 09:22, 29 January 2018 (UTC)
- Ettorerizza (talk) 11:00, 26 September 2018 (UTC)
- ElanHR (talk) 10:01, 17 March 2019 (UTC)
- Dcflyer (talk) 19:46, 29 March 2019 (UTC)
- ArthurPSmith (talk) 16:32, 1 September 2022 (UTC)
- Melmakko (talk) 17:34, 4 November 2022 (UTC)
- Maxime