Open aturbati opened 3 years ago
In https://github.com/NatLibFi/Skosmos/wiki/Configuration I see that there is the boolean property "skosmos:conceptSchemesInHierarchy", so I've tried it (on v2.8) but it makes no difference (I've tried with both false or true values). I still see in the hierarchy only the conceptSchemes having a label in the selected "Content language" (and if I select a language and no scheme has a label is such language then I see the standard hiearchy with only the concepts). I've tried the skosmos:conceptSchemesInHierarchy false also on v2.12 ( on https://zeus.art.uniroma2.it/skosmos_test/en/ ) but even there it does not seems to make any difference, the ConceptSchemes are still shown in the hierarchy tab
It seems that if there are skos:ConceptScheme with a prefLabel, they are shown sometimes in the hierarchy tab instead of the real topConcept (these skos:ConceptScheme are linked to some concepts with the skos:inScheme property, but no concept is stated as being topConcept of these skos:ConceptScheme ). This happens only if you switch to a language, via the "Content language" in which the skos:ConceptScheme have a prefLabel.
This is an example case where this happened:
I do not know if I need to specify something in the Skosmos configuration file to avoid showing skos:ConceptScheme in the hierarchy tab, but I did not find anything about it
I've deployed a quick test instance of Skosmos (v2.12) at https://zeus.art.uniroma2.it/skosmos_test/en/ . If you select "English" as the "Content Language" and go in the hierarchy tab (called "Hier-nav" I'm not sure why, maybe I did not configure the display tab name) you will see 3 of the 4 conceptScheme (since only these three have a prefLabel in English), and the concept are then placed under the "main scheme", but if you select "Italian" as the "Content Language", in the hierarchy tab you see immediatelly the concept tree.
You are able to see the concept tree in the English tree only because the main scheme has a label, but if such scheme did not have a label, then you could not see any concept in the concept tree.
If you want, you can download this very small and fake SKOS thesaurus from https://zeus.art.uniroma2.it/export.nt