W3C home > Mailing lists > Public > public-esw-thes@w3.org > July 2013

RE: How to do rich skos:note ?

From: Johan De Smedt <johan.de-smedt@tenforce.com>
Date: Wed, 31 Jul 2013 14:14:54 +0200
To: <vladimir.alexiev@ontotext.com>, <public-esw-thes@w3.org>
Message-ID: <038601ce8de7$91b84ee0$b528eca0$@tenforce.com>
Hi Vladimir,

See in-line for some approaches.

Kind Regards,

Johan De Smedt 
Chief Technology Officer

mail: johan.de-smedt@tenforce.com
mobile: +32 477 475934



> -----Original Message-----
> From: Vladimir Alexiev [mailto:vladimir.alexiev@ontotext.com]
> Sent: Wednesday, 31 July, 2013 13:46
> To: public-esw-thes@w3.org
> Subject: How to do rich skos:note ?
> 
> Hi everyone!
> 
> 1. What would you use for a defining note: skos:definition or skos:scopeNote ?

[JDS:>] scope note typically is the instruction of how/when to use the concept for classification (as per ISO 25964-1).
The definition note is not required, nut typically gives a full formal definition of the concept.

> 
> 2. How can one model :rich" skos:notes to include extra info (e.g. provenance)?
> SKOSXL allows you to attach extra info to labels by treating them as nodes on their own. Unfortunately
> it does not allow you the same for notes (IMHO an oversight).
> Some alternatives (but I don't like either one):
> 
> A. No range is stated for the SKOS documentation properties [1] so it's consistent to have a node
> there, eg
>   <concept> skos:note
>     [rdf:value "note";
>      dct:contributor :someone;
>      dct:created "2013-07-24"^^xsd:date].
> 
> a similar example is shown in SKOS Core Guide: Versioning and Change Management [2]
>     <skos:historyNote rdf:parseType="Resource">
>       <rdf:value>The preferred label was changed from 'pink' to 'pink (colour)'.</rdf:value>
>       <dc:date>2004-10-08</dc:date>
>     </skos:historyNote>
> 
> Questions
> - What type to use for this node? skosxl:Label or none?
> - What to use for the data property: rdf:value or skosxl:literalForm ?
> - The big disadvantage is that apps would expect skos:note to be a literal...

[JDS:>] several solutions have been implemented by different implementations.
XMLLiteral also allows to have XHTML as a literal value - though then identification of the note language still requires a complex structure.
Eurovoc uses the approach above with a eurovoc specific literalForm property because skos-xl defines the domain of xl:literalForm to be an xl:Label.
Example:
<skos:scopeNote rdf:nodeID="node16o8pa88dx14079"/>
...
<rdf:Description rdf:nodeID="node16o8pa88dx14079">
	<ev:language>hr</ev:language>
	<ev:noteLiteral rdf:parseType="Literal"><p>Sporazum o međunarodnoj trgovini tekstilom.</p></ev:noteLiteral>
</rdf:Description>

> 
> B. Dual representation
> SKOS says that SKOSXL labels should be accessible as SKOS labels [3].

[JDS:>] To accommodate applications not handling skos-xl, it seems best to publish
- xl:prefLabel/xl:literalForm and the inferred skos:prefLabel 
- likewise for other types of labels (alt, hidden, ...)

> Similar to this dual approach, we could also put a literal as sibling of the structured node:
> 
>   <concept> skos:note
>     "note",
>     [rdf:value "note";
>      dct:contributor :someone;
>      dct:created "2013-07-24"^^xsd:date].
> 
> - But clients won't expect they would have to filter by literal vs node, so confusion will result
> 
> C. Reification
> 
> Despite all disadvantages of reification, we could use it as a general mechanism to annotate a
> statement:
> 
>   <concept> skos:note "note".
>   [a rdf:Statement;
>    rdf:subject <concept>; rdf:predicate skos:note; rdf:object "note";
>    dct:contributor :someone;
>    dct:created "2013-07-24"^^xsd:date].
> 
> 
> 
> [1] http://www.w3.org/TR/skos-reference/#L1917
> [2] http://www.w3.org/wiki/SkosCoreGuideToc/SectionVersioning
> [3] http://www.w3.org/TR/skos-reference/#L780
> 
> 
> Thanks for your feedback!
> --
> Vladimir Alexiev, PhD, PMP
> Lead, Data and Ontology Management Group
> Ontotext Corp, www.ontotext.com
> Sirma Group Holding, www.sirma.com
> Email: vladimir.alexiev@ontotext.com, skype:valexiev1
> Mobile: +359 888 568 132, SMS: 359888568132@sms.mtel.net
> Landline: +359 (988) 106 084, Fax: +359 (2) 975 3226
> Calendar: https://www.google.com/calendar/embed?src=vladimir%40sirma.bg
> 
> 
> 
Received on Wednesday, 31 July 2013 12:15:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 2 March 2016 13:32:17 UTC