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

Re: Questions about TBX to RDF handling

From: Peter Svanberg <Peter.Svanberg@tnc.se>
Date: Thu, 22 Oct 2015 14:42:50 +0000
To: "public-bpmlod@w3.org" <public-bpmlod@w3.org>
Message-ID: <4A99D00C-D855-4566-83D2-8577AB00545D@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">
    <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>

which then should be concatenated to display the definition. Or how do you handle ”marked up” text in RDF? 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">
    <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"/>
  </rdf:Description>
Received on Thursday, 22 October 2015 14:43:28 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 22 October 2015 14:43:29 UTC