# Best practices with SKOS files

**URL:** <https://forum.openrefine.org/t/best-practices-with-skos-files/962>\
**Category:** Support and Helpdesk\
**Created:** [September 11, 2023, 10:01pm UTC](https://forum.openrefine.org/t/best-practices-with-skos-files/962 "2023-09-11T22:01:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![olea](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/olea/32/231_2.png) [@olea](https://forum.openrefine.org/u/olea)\
**Post date:** [September 11, 2023, 10:01pm UTC](https://forum.openrefine.org/t/best-practices-with-skos-files/962/1 "2023-09-11T22:01:08Z")

</div>

Hi:

I'm interested in best practices working with SKOS files with OR. Any suggestion?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ostephens](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/ostephens/32/8_2.png) [@ostephens](https://forum.openrefine.org/u/ostephens)\
**Post date:** [September 22, 2023, 9:07am UTC](https://forum.openrefine.org/t/best-practices-with-skos-files/962/2 "2023-09-22T09:07:42Z")

</div>

Hi @olea - are you trying to do something directly to the SKOS files in OpenRefine or are you trying to match/reconcile data in an OpenRefine to data in the SKOS?

---

<div class="post-metadata">

**Author:** ![olea](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/olea/32/231_2.png) [@olea](https://forum.openrefine.org/u/olea)\
**Post date:** [September 22, 2023, 10:14am UTC](https://forum.openrefine.org/t/best-practices-with-skos-files/962/3 "2023-09-22T10:14:51Z")

</div>

First I've been interested in how practical OR can be processing the content of SKOS files.

Now I curious about the matching task. How people get it done? Setting up an ad hoc reconciliation service?

---

<div class="post-metadata">

**Author:** ![ostephens](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/ostephens/32/8_2.png) [@ostephens](https://forum.openrefine.org/u/ostephens)\
**Post date:** [September 22, 2023, 10:57am UTC](https://forum.openrefine.org/t/best-practices-with-skos-files/962/4 "2023-09-22T10:57:28Z")

</div>

You should be able to import SKOS in various RDF formats into OpenRefine - rdf/xml, ttl, nt etc. Generally the more compact the syntax, the smaller the file, and the easier to import into OR (i.e. you may find that nt is more efficient than rdf/xml for the same SKOS when importing to OR

Once in OpenRefine it's likely that a single subject will have multiple related rows in OR - so you will want to work in Records mode to keep rows together

I can't say I've got much experience beyond that and it might depend on the SKOS you are working with, the properties included and what task you are trying to complete. Essentially each property should end up as a column which means the column names can be a bit verbose e.g. "[SKOS Simple Knowledge Organization System Namespace Document - HTML Variant, 18 August 2009 Recommendation Edition](http://www.w3.org/2004/02/skos/core#broader)"

I will say that the OpenRefine record mode isn't perfect - you have to understand the structure of the SKOS and how that's come into OR - essentially don't treat each 'row' as a set of connected statements - they may not be

---

<div class="post-metadata">

**Author:** ![ostephens](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/ostephens/32/8_2.png) [@ostephens](https://forum.openrefine.org/u/ostephens)\
**Post date:** [September 22, 2023, 11:01am UTC](https://forum.openrefine.org/t/best-practices-with-skos-files/962/5 "2023-09-22T11:01:12Z")

</div>

In terms of matching - I asked because I was wondering about this thread [RDF extension missing clear matches](https://forum.openrefine.org/t/rdf-extension-missing-clear-matches/952)

---

<div class="post-metadata">

**Author:** ![antonin\_d](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/antonin_d/32/32_2.png) [@antonin\_d](https://forum.openrefine.org/u/antonin_d)\
**Post date:** [September 22, 2023, 3:31pm UTC](https://forum.openrefine.org/t/best-practices-with-skos-files/962/6 "2023-09-22T15:31:31Z")

</div>

Also worth mentioning regarding SKOS and matching: SkoHub, and in particular its SkoHub Reconcile part (which seems to be down at the moment, but I am sure it's temporary):

> **[SkoHub](https://skohub.io/)**
>
> SkoHub seeks to implement a novel approach in syndicating content on the web by combining current web standards for sending notifications and subscribing to feeds with knowledge organization systems (KOS, sometimes also called “controlled...
