Saving JenaBeans to file

12 views
Skip to first unread message

Arthur Keen

unread,
Jul 26, 2010, 3:32:23 PM7/26/10
to jenabe...@googlegroups.com
I open an owl file and access owl individuals in the file as JenaBeans (works great), however, when I add property values or create new individuals and then use a Bean2RDF writer to save the bean, it looks like the information is being written to the rdf graph (so the new information can be accessed by JenaBeans), but it is not out to the file on disk (No file modify date time change).    Would I be correct to assume that Bean2RDF saves to the in memory RDF graph and not out to disk/database and that I have to explicitly write the model back to the file on disk (or commit to database). Is that correct?  

Regards
Arthur

Taylor Cowan

unread,
Jul 26, 2010, 9:01:54 PM7/26/10
to jenabe...@googlegroups.com
Yes. Jenabean writes to the model you gave it. Note that jena has a file backed model...try that.
Sent from my HTC



From: Arthur Keen <arthur...@gmail.com>
Sent: 26 July 2010 12:32 PM
To: jenabe...@googlegroups.com
Subject: Saving JenaBeans to file


I open an owl file and access owl individuals in the file as JenaBeans (works great), however, when I add property values or create new individuals and then use a Bean2RDF writer to save the bean, it looks like the information is being written to the rdf graph (so the new information can be accessed by JenaBeans), but it is not out to the file on disk (No file modify date time change).    Would I be correct to assume that Bean2RDF saves to the in memory RDF graph and not out to disk/database and that I have to explicitly write the model back to the file on disk (or commit to database). Is that correct?  

Regards
Arthur

--
You received this message because you are subscribed to the Google Groups "jenabean-dev" group.
To post to this group, send email to jenabe...@googlegroups.com.
To unsubscribe from this group, send email to jenabean-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jenabean-dev?hl=en.
Reply all
Reply to author
Forward
0 new messages