W3C home > Mailing lists > Public > public-bpmlod@w3.org > October 2015

Re: Questions about TBX to RDF handling

From: Felix Sasaki <fsasaki@w3.org>
Date: Sat, 24 Oct 2015 08:44:24 +0200
Cc: "public-bpmlod@w3.org" <public-bpmlod@w3.org>
Message-Id: <BDCC8D57-BA99-496E-8C49-06D1B140E32E@w3.org>
To: Peter Svanberg <Peter.Svanberg@tnc.se>
Hello Peter,

other people who are more knowledgable in the TBX to RDF handing may come back to you, bellow some general feedback.

> Am 22.10.2015 um 16:42 schrieb Peter Svanberg <Peter.Svanberg@tnc.se>:
> Returning again to this issue, specifically the cross reference. I got the comment that having XML code in the definition entry text is not so RDF-ish – how should it be made into triplets?
> After looking more on RDF handling, I suppose you could make it into a ref:seq, something like:
> <rdf:Description rdf:about="http://example.com/Bas4711 <http://example.com/Bas4711>">
>     <tbx:definition rdf:parseType=”?”>
>         <rdf:Seq>
>             <rdf:li>kommersiell</rdf:li>
>             <rdf:li ref:resource=”#Bas4712”>verksamhet</rdf:li>
>     <rdf:li>som drivs under ordnade former</rdf:li>
> </rdf:Seq>
>     </tbx:definition>
> </rdf:Description>

The rdf:li and rdf:Seq constructs are not used widely, I would try to avoid them. 

> which then should be concatenated to display the definition. Or how do you handle ”marked up” text in RDF?

The general way is parseType literal, what is in your mail below. But this does not give you a URI for kommersiell or verksamhet, and I think this is what you want. 

<http://example.com/Bas4711> tbd:definition _bs393.

_bs393 rdfs:label „kommersiell“.
_bs393 rdfs:label „verksamhet“.

Would that make sense for you?



> And need these things be described in your recommendations?
> /Peter
>> 28 sep. 2015 kl. 17:01 skrev Peter Svanberg <Peter.Svanberg@tnc.se <mailto:Peter.Svanberg@tnc.se>>:
>> 2.       We would like to use cross references in some fields, manly definition. TBX allows that through a hi element in the value, for example (text in Swedish, sorry …):
>>       <termEntry>
>>         <langSet xml:lang="sv" id="Bas4711">
>>           <descrip type="definition">kommersiell <hi target="Bas4712">verksamhet</hi> som drivs under ordnade former</descrip>
>>           <tig>
>>             <term>företag</term>
>>           </tig>
>>         </langSet>
>>       </termEntry>
> :
> :
>>   <rdf:Description rdf:about="http://example.com/Bas4711 <http://example.com/Bas4711>">
>>     <tbx:definition rdf:parseType="Literal">kommersiell
>>                <hi target="Bas4712">verksamhet</hi> som drivs under
>>        ordnade former</tbx:definition>
>>     <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept <http://www.w3.org/2004/02/skos/core#Concept>"/>
>>   </rdf:Description>
Received on Saturday, 24 October 2015 06:44:35 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 24 October 2015 06:44:35 UTC