YASHE
YASHE copied to clipboard
l14n (localization) of shape descriptions
In the Wikidata demo, when you hover over a predicate in a TripleExpression, it fetches the schema:description
. Does it pick the language based on browser preferences?
It would be cool to extend this functionality by adding annotations to shapes as well, e.g.
<#P352_uniprot_id> {
ps:P352 LITERAL ;
prov:wasDerivedFrom IRI;
}
// schema:description "UniProt identifier"@en
// schema:description "identificador de UniProt"@es # just a guess
The editor could hide all of them except those in the preferred language so it wouldn't get to messy.
Implemented the part of the preferred language when hovering over a TripleExpression.
The other idea maybe would be in a future version.
Thank you for your contribution :)