|
|
Index
| Recent Threads
| Who's Online
| User List
| Search
| Help
| |
|
Forum has been closed down This forum has been closed down due to extensive spamming activities. Please use the mailing list instead. |
![]() |
openRDF.org Forum » AliBaba & Elmo: Help » Thread: sk |
|
Total posts in this thread: 4 |
[Add To My Favorites] [Watch this Thread] |
| Author |
|
|
Feb 8, 2009 3:58:15 PM
fabriziogiudici Member
|
Hi. AFAIU, in order to change the Locale used in a certain statement I should call SesameManager.setLocale(...) before the operation (but I'm also unsure of this). What I'm doing is: final SesameManager em = ...; But I end up with this: <skos:Concept rdf:about="urn:bluebill:concept#dd11aac0-f5f8-11dd-a25e-002332c672e6"> that is, I don't see the language attribute inside skos:altLabel. Of course, my prefixes ENGLISH: and ITALIAN: are for debugging purposes only. Thanks. |
||
|
|
Feb 9, 2009 3:56:40 PM
james OpenRDF.org Consultant Canada Joined: Jul 21, 2005 Posts: 650 Status: Offline |
The locale is only applied to properties that have a @localized annotation on them. The getSkosAltLabels property that ships with Elmo does not contain that annotation (maybe it should?). You may want to consider forking the skos jar and making your own modifications and add the @localized annotation. ---------------------------------------- Sesame Consultant http://leighnet.ca http://jamesrdf.blogspot.com |
||
|
|
Feb 9, 2009 7:10:31 PM
fabriziogiudici Member
|
Thanks. Forking is a delicate thing, so I think I'll go instead patching my code and explicitly creating some RDF statements. I'll open an issue about @localized in skos.Concept. In any case, I suppose that for @localized properties the code I've posted is ok, right? |
||
|
|
Feb 9, 2009 7:18:37 PM
fabriziogiudici Member
|
Filed http://www.openrdf.org/issues/browse/ELMO-70 |
||
|
| [Show Printable Version of Thread] |