Skip to content

In conversion jsonld to rdf some data are missing. #232

@giatrakister

Description

@giatrakister

Hi,

i use jsonld java to convert jsonld data to rdf. My jsonld data are like that:

jsonld.txt

and the code i used for the conversion is:

         InputStream inputStream = new FileInputStream("C:\\Users\\Desktop\\jsonLD.json");
        Object jsonObject = JsonUtils.fromInputStream(inputStream);
         Map context = new HashMap();
         JsonLdOptions options = new JsonLdOptions();
        Object myRdf = JsonLdProcessor.toRDF(jsonObject, options);

but the results does not include all the data, only the nested ones and the rdf format is not as expected:
resultsRDF.txt

Is there any intermediate step that i should follow?

thanx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions