Can you show some actual example code that you are trying to use? Otherwise it's difficult to say what is not right.
--- A. Soroka The University of Virginia Library > On Jun 19, 2016, at 10:57 AM, tina sani <[email protected]> wrote: > > Actually I have already read this documentation but I did not find what I > am looking for exactly. In documentation, it includes something like > this :model.write(System.out); > which only writes a model to a file. > > What I needed is to create an rdf file locally on disk using Jena code and > then store some users data inside that file. Like > FileOutputStream fout=new FileOutputStream( > "C:\\desktop//tina.rdf"); > model.write(fout); > The file on my desktop is actually created but it is an empty file but I > want some input from users and store it in this file which currently I am > not sure how to do it. > > Thank you > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > Virus-free. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > On Sun, Jun 19, 2016 at 7:44 AM, A. Soroka <[email protected]> wrote: > >> Please start with the documentation provided for exactly this purpose: >> >> https://jena.apache.org/tutorials/rdf_api.html >> https://jena.apache.org/getting_started/ >> >> --- >> A. Soroka >> The University of Virginia Library >> >>> On Jun 19, 2016, at 12:40 AM, tina sani <[email protected]> wrote: >>> >>> Hello all. >>> How can I create an RDF file using Jena and then save some data like >>> student name. address etc? >> >>
