Skosmos
Skosmos copied to clipboard
Skosmos does not show names correctly in the tooltip next to the title of the concept page
At which URL did you encounter the problem?
In a local test environment while reviewing the concept page (...skosmos/juho/fi/page/xltestikasite-r19)
What steps will reproduce the problem?
- Import the data below to the triplestore (modify to suit your own test environment)
- Hover the mouse over the info icon (tooltip) next to the title in the Preferred term section on the concept page
- Notice that skosxl-based 'Creator' shows only an uri not a name
What is the expected output? What do you see instead?
A skosxl-based name instead of uri is expected
What browser did you use? (eg. Firefox, Chrome, Safari, Internet explorer)
Firefox
PREFIX dc11: <http://purl.org/dc/elements/1.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX skosxl: <http://www.w3.org/2008/05/skos-xl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX juho: <http://www.yso.fi/onto/juho/>
PREFIX dcterms: <http://purl.org/dc/terms/>
INSERT {
GRAPH juho: {
juho:xltestperson-r19 rdfs:label "Mika Vaara"@fi ;
rdf:type skosxl:Label ;
skosxl:literalForm "Mika Vaara"@fi ;
skosxl:literalForm "Mika Vaara"@en ;
skosxl:prefLabel "Mika Vaara"@fi ;
skosxl:prefLabel "Mika Vaara"@en .
}
}
WHERE {
GRAPH juho: {
#
}
}
A skosxl-based name instead of uri is expected
# 2 ***
INSERT {
GRAPH juho: {
juho:xltestilabel-r19a
dc11:contributor juho:xltestperson-r19 ;
skosxl:literalForm "LAB SKOS-XL testikäsite"@fi ;
skos:note "Huomautus suom. termiin"@fi ;
dcterms:creator juho:xltestperson-r19 ;
dc11:source "Lingsoft"@fi ;
dc11:modified "2022-03-31T13:18:47+03:00"^^xsd:dateTime,
"2022-03-30T12:22:56+03:00"^^xsd:dateTime ;
a skosxl:Label .
}
}
WHERE {
GRAPH juho: {
#
}
}
# 3 ***
INSERT {
GRAPH juho: {
juho:xltestilabel-r19b dc11:contributor juho:xltestperson-r19 ;
skosxl:literalForm "LAB SKOS-XL example concept"@en ;
skos:note "Note for the English term"@en ;
dcterms:creator juho:xltestperson-r19 ;
dc11:modified "2022-03-31T13:18:08+03:00"^^xsd:dateTime, "2022-03-30T15:45:38+03:00"^^xsd:dateTime, "2022-03-30T12:39:55+03:00"^^xsd:dateTime ;
a skosxl:Label .
}
}
WHERE {
GRAPH juho: {
#
}
}
# 4 ***
INSERT {
GRAPH juho: {
juho:xltestikasite-r19 skos:inScheme juho: ;
dcterms:creator juho:xltestperson-r19 ;
dc11:contributor juho:xltestperson-r19 ;
dc11:modified "2022-03-30T12:50:25+03:00"^^xsd:dateTime,
"2022-03-30T12:48:05+03:00"^^xsd:dateTime,
"2022-03-30T12:35:22+03:00"^^xsd:dateTime ;
skosxl:prefLabel juho:xltestilabel-r19a, juho:xltestilabel-r19b ;
skos:prefLabel "SKOS-XL example concept"@en, "SKOS-XL testikäsite"@fi ;
a skos:Concept .
}
}
WHERE {
GRAPH juho: {
#
}
}