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>
Post by A. Sorokahttps://jena.apache.org/tutorials/rdf_api.html
https://jena.apache.org/getting_started/
---
A. Soroka
The University of Virginia Library
Post by tina saniHello all.
How can I create an RDF file using Jena and then save some data like
student name. address etc?