The Semantic Puzzle

Florian Huber

Visualize PoolParty project data with SKOS Play! in four steps

There is a new functionality in PoolParty 5Web based ontology manager which can serve as a central hub for your knowledge organization. With PoolParty you can organize and maintain knowledge models based on widely accepted specifications like RDF, SPARQL and SKOS..5 that allows users to manage the skos:inScheme relationship of their concepts.

When you activate the skos:inScheme functionality for your PoolPartyWeb based ontology manager which can serve as a central hub for your knowledge organization. With PoolParty you can organize and maintain knowledge models based on widely accepted specifications like RDF, SPARQL and SKOS. project you can create input data for SKOSSimple Knowledge Organization System (SKOS) is a family of formal languages designed for representation of thesauri, classification schemes, taxonomies, subject-heading systems, or any other type of structured controlled vocabulary. SKOS is built upon RDF and RDFS, and its main objective is to ... Play! very easy. SKOS Play! is a free application that lets you render and visualize SKOS taxonomies in different formats (html, pdf) and different graphical representations (tree tabular, etc.).

With four steps you can generate such a representation based on PoolParty data: 

1) Activate skos:inScheme in your PoolParty project:

screen-shot-2016-09-21-at-16-41-58

2) Apply skos:inScheme settings for concepts in your taxonomyTaxonomy is the practice and science of classification. The word finds its roots in the Greek τάξις, taxis (meaning 'order' or 'arrangement') and νόμος, nomos (meaning 'law' or 'science'). Taxonomy uses taxonomic units, known as taxa. In addition, the word is also used as a count noun: ....

For existing concepts, user can select the subtree in which the skos:inScheme setting should be applied. For new concepts you can define a behavior to automatically apply the inScheme setting on the active subtree.

This is a screenshot of a small PoolParty subtree, showing beverages that are used for cocktail creation:

Like usual, you can see the skos:ConceptScheme in purple. The narrower nodes in green represent skos:Concepts. All skos:Concepts in this subtree have a skos:inScheme relation to the skos:ConceptScheme with title “Beverages”.

 

 

3) SKOS Play!

When your PoolParty project is publicly available (help page explaining user groups in PoolParty), you can simply copy the URL of the corresponding SPARQL endpoint and paste it into the SKOS Play! input field during the upload process: http://labs.sparna.fr/skos-play/upload. In this example I simply used the SPARQL endpoint of the Cocktails thesaurusA thesaurus is a book that lists words grouped together according to similarity of meaning, in contrast to a dictionary, which contains definitions and pronunciations. The largest thesaurus in the world is the Historical Thesaurus of the Oxford English Dictionary, which contains more than ...: http://vocabulary.semantic-web.at/PoolParty/sparql/cocktails. As an alternative you could also export you PoolParty project and import the resulting file in SKOS Play! A corresponding file you could retrieve from http://vocabulary.semantic-web.at/cocktails/export/cocktails.trig

For simplicity you can skip the advanced options.

4) Get results

After you hit the Next button you receive feedback that concept data was processed successfully on the top of the page. When you scroll down you have options to select the skos:ConceptScheme and language that should be further processed. In addition you have the option to print and to visualize your data. Printing lets you select between alphabetical index and tree. Both version are clickable and can be created in html or pdf format. Visualization offers different types like a collapsible tree, zoomable square or circle representations and also an autocomplete form.

I chose the tree visualization which results in a nice interactive tree. Users can click circles to unfold the tree. When a label is clicked, the user is directed to this concept URI. In this use case the user is directed to PoolParty Linked Data Frontend.

And the cool thing is that you can simply download the generated tree by right hand mouse button > Save as…

You simply have to edit the downloaded raw html file to have a fully working visualization: delete the svg element completely to generate an empty div element (id=”body”).

screen-shot-2016-10-10-at-14-21-04