- From: Alistair Miles <alimanfoo@googlemail.com>
- Date: Wed, 14 Apr 2010 16:43:38 +0100
- To: "Morshed, Ahsan (OEKC)" <Ahsan.Morshed@fao.org>
- Cc: public-esw-thes@w3.org
Hi Ahsan, It's a bit difficult to see what you want to do, because it looks like there are a few syntax errors in your proposed solution. Maybe you could run your solution through an RDF syntax checker, e.g. [1], and re-post it? One thing to note, each instance of skosxl:Label should have exactly one skosxl:literalForm [2]. So something like.. <skosxl:Label rdf:about="foo"> <skosxl:literalForm xml:lang="en">foo</skosxl:literalForm> <skosxl:literalForm xml:lang="fr">bar</skosxl:literalForm> </skosxl:Label> ...is not consistent. Hth, Alistair [1] http://www.rdfabout.com/demo/validator/ [2] http://www.w3.org/TR/skos-reference/#S52 On Fri, Apr 09, 2010 at 10:37:28AM +0200, Morshed, Ahsan (OEKC) wrote: > Dear All, > > At the moment, we are getting results from our agrovoc webservices in the > SKOS format where alternative labels are not clearly distinguishable. > > Ref: > http://lprapp14.fao.org:8080/agrovoc_ws/agrovoc_ws/sample_ag_ws_proxy/testcli > ent.jsp?method=113&input=1 > > Or you can see the result in the attachment file. > > > But, we want to represent it in the proposed way so that we can see the > labels more clearly. I have seen this SKOS extension at > > Ref: http://www.w3.org/TR/skos-reference/skos-xl.html > > > Could you please have a look at it, and what do you think about this > solution whether it is fit for SKOS standard or not?. > > > > > Solution: > > <skos:Concept rdf:about="http://www.fao.org/aims/aos/agrovoc/c_4043"> > <skosxl:prefLabel rdf:about="i_4043"/> > <skosxl:altLabel rdf:about="i_11895"/> > <skosxl:altLabel rdf:about="i_11896"/> > <skosxl:altLabel rdf:about="i_11897"/> > // Put more labels if needed .... > </skos:Concept> > > # define the extensions to skosxl:labelRelation > <ag:acronym> > <rdfs:subPropertyOf rdf:resource="skosxl:labelRelation" /> > </ag:acronym> > <ag:synonym> > <rdfs:subPropertyOf rdf:resource="skosxl:labelRelation" /> > </ag:synonym> > > > !----------------------labels > relations-------------------------------------------------- > <skosxl:Label rdf:about="i_4043"><ag:synonym>< skosxl:Label > rdf:about="i_11895"> > < skosxl:Label rdf:about="i_11895"><ag:synonym>< skosxl:Label > rdf:about="i_11896"> > < skosxl:Label rdf:about="i_11896">"><ag:synonym>< skosxl:Label > rdf:about="i_11897"> > < skosxl:Label rdf:about="i_11897"><ag:synonym>< skosxl:Label > rdf:about="i_4043"> (needed this one?????) > (needed also the other possibilities? E.g. 11895 - 11897, and the other > combinations????) > > !----------------------labels > definitions-------------------------------------------------- > < skosxl:Label rdf:about="i_4043"> > <skosxl:literalForm xml:lang="EN">Java</ skosxl:literalForm > > <skosxl:literalForm xml:lang="CS">jáva</ skosxl:literalForm > > // Put more languages ... > </ skosxl:Label > > > < skosxl:Label rdf:about="i_11895"> > <skosxl:literalForm xml:lang="EN">Java apple</ skosxl:literalForm > > <skosxl:literalForm xml:lang="CS">Java manzana</ skosxl:literalForm > > // Put more languages ... > </ skosxl:Label > > > < skosxl:Label rdf:about ="i _11896"> > < skosxl: prefLabel xml:lang="EN">Java plum</ skosxl:literalForm > > <skosxl:prefLabel xml:lang="CS "> Java ciruela</ skosxl:literalForm > > // Put more languages ... > </ skosxl:Concept> > > < skosxl:Label rdf:about ="i_11897"> > < skosxl:literalForm xml:lang="EN">Javanese long pepper</ skosxl:literalForm > > > < skosxl:literalForm xml:lang="CS "> pimienta larga de Java </ > skosxl:literalForm > > // Put more languages ... > </ skosxl:Concept> > > > Best Regards, > Ahsan > <<oldresult.docx>> -- Alistair Miles Centre for Genomics and Global Health <http://cggh.org> The Wellcome Trust Centre for Human Genetics Roosevelt Drive Oxford OX3 7BN United Kingdom Web: http://purl.org/net/aliman Email: alimanfoo@gmail.com Tel: +44 (0)1865 287669
Received on Wednesday, 14 April 2010 15:44:22 UTC