Visualize PoolParty Project Data with SKOS Play!
There is a new functionality in PoolParty 5.5 that allows users to manage the In Scheme (skos:inScheme) relationship of their concepts.
When you activate the In Scheme functionality for your PoolParty project you can create input data for SKOS Play! very easily. 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 In Scheme in your PoolParty project:
2. Apply In Scheme Settings for Concepts in Your Taxonomy
For existing concepts, user can select the subtree in which the In Scheme setting should be applied. For new concepts you can define a behavior to automatically apply the In Scheme 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 In Scheme 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 thesaurus: 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-clicking and selecting Save as from the context menu!
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”).