[OTDev] RDF size and use of prefixes
Nina Jeliazkova jeliazkova.nina at gmail.comFri May 20 10:19:03 CEST 2011
- Previous message: [OTDev] toxcreate3 server up again
- Next message: [OTDev] RDF size and use of prefixes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi All, Related to the recent discussion on RDF scalability, I am sending an example how simple use of prefixes in RDF can reduce the size of the serialized RDF. The length of the newly generated prefixed files (both in RDF/XML and N3) is *3 times less* than the original one (RDF/XML). The examples are generated by reading the original XML file through Jena, setting prefixes and rdf writer options and writing back into RDF/XML and N3. The code could be inspected here [1] (look at the last write() method). There should be similar facilities in other RDF libraries. Best regards, Nina [1] https://ambit.svn.sourceforge.net/svnroot/ambit/branches/opentox/opentox-dsl/src/main/java/org/opentox/rdf/OT.java -------------- next part -------------- A non-text attachment was scrubbed... Name: rdf-datasets.zip Type: application/zip Size: 334752 bytes Desc: not available URL: <http://lists.opentox.org/pipermail/development/attachments/20110520/1dc0cbac/attachment.zip>
- Previous message: [OTDev] toxcreate3 server up again
- Next message: [OTDev] RDF size and use of prefixes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Development mailing list