> On 16 Jul 2015, at 16:17, Quentin Reul <[email protected]> wrote:
> 
> Hi all,
> 
> [Sorry for duplicate]
> 
> As part of one of our projects, we are using Jena 1.3

Are you sure about that version?

> 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."
>   }
> }

From what you’ve written it sounds like you produced this json-ld from java 
code where the value of isPartOf was a resource (“in the Java code, we are 
encoding
http://data.wolterskluwer.com/au/cch/taxform/2014/CGLS0004 as a resource”). 
However this isn’t the output I’d expect at all.[1]

Could you explain where this json came from?

Damian

[1] This would work (note the added @context):

{
  "@context" : { "@vocab" : "http://purl.org/dc/terms/";, "isPartOf" : { 
"@type": "@id" } },
  "@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."
  }
}

-- 
Damian Steer
Senior Technical Researcher
Research IT
+44 (0) 117 928 7057

Reply via email to