- From: Morshed, Ahsan (OEKC) <Ahsan.Morshed@fao.org>
- Date: Fri, 09 Apr 2010 10:37:28 +0200
- To: public-esw-thes@w3.org
- Message-id: <BA453B6B6B217B4D95AF12DBA0BFB6690622C199@hqgiex01.fao.org>
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>>
Attachments
- application/octet-stream attachment: oldresult.docx
Received on Friday, 9 April 2010 14:03:56 UTC