Hi all,

As part of one of our projects, we are using Jena 1.3 to process RDF
content in different serialization. When creating a RDF/XML output from a
JSON-LD output (created by another process using Jena 1.3), we have
identified an issue with the encoding. More specifically, the encoding of
resources in JSON-LD leads to the information being represented as a
literal in RDF/XML.

Let us assume that we have the following JSON-LD object:

{
   "@id" : "http://data.wolterskluwer.com/au/cch/taxform/2014/CGLS0004#CGLS10";,
  "@type" : "http://onto.wolterskluwer.com/pci/cpe/ProfileItem";,
"source" : "rvctc3.02.02#DE3233",
   "identifier" : "CGLS10",
   "isPartOf" :
"http://data.wolterskluwer.com/au/cch/taxform/2014/CGLS0004";,
"notation" : "GZM",
   "prefLabel" : {
      "@language" : "en",
      "@value" : "Tax losses, excluding film losses, transferred after
consolidation from a trust."
   }
}

when we process the RDF statement and output it as RDF/XML, we have
the following:

<rdf:Description
rdf:about="http://data.wolterskluwer.com/au/cch/taxform/2014/CGLS0004#CGLS10";>
  <dcterms:identifier>CGLS10</dcterms:identifier>
   <skos:notation>GZM</skos:notation>
   <dc:source>rvctc3.02.02#DE3233</dc:source>
   
<dcterms:isPartOf>http://data.wolterskluwer.com/au/cch/taxform/2014/CGLS0004</dcterms:isPartOf>
  <rdf:type rdf:resource="http://onto.wolterskluwer.com/pci/cpe/ProfileItem"/>
  <skos:prefLabel xml:lang="en">Tax losses, excluding film losses,
transferred after consolidation from a trust.</skos:prefLabel>
</rdf:Description>

As y

Reply via email to