0

I want to write a java code (like the code in be.ugent.rml.readme>ReadmeTest.java) to take a json data in a variable and use the mapping.ttl file to map and convert to rdf . As of now the mapping.ttl file has the file name in it . I want to replace that file name with a variable containing json data . Can anyone help me with this ?

Stanislav Kralin
  • 11,070
  • 4
  • 35
  • 58
deon lobo
  • 23
  • 2
  • that's not possible unless you extend the Java code by yourself. The obvious question, why can't you put the JSON data into a file? – UninformedUser May 10 '21 at 06:03

1 Answers1

0

It is possible, you have to change the LocalFileAccess.java file in the rmlmapper.jar . Learn the java files in rmlmapper-java repository .

deon lobo
  • 23
  • 2