|
From: Rob V. <rv...@do...> - 2013-01-24 10:07:42
|
Hi Rene dotNetRDF comes with a variety of writers that can be used to write graphs back out to files, see the Writing RDF [1] documentation for an overview. See the IRdfWriter documentation [2] for a list of available implementations. For your specific question I suspect you likely want to use the CompressingTurtleWriter [3], I don't know exactly what the Protégé Turtle export looks like but this writer should give you fairly nice and compact Turtle. You may want to turn up the compression level to get the best out of this. Hope this helps, Rob [1] http://www.dotnetrdf.org/content.asp?pageID=Writing%20RDF [2] http://www.dotnetrdf.org/api/index.asp?Topic=VDS.RDF.IRdfWriter [3] http://www.dotnetrdf.org/api/index.asp?Topic=VDS.RDF.Writing.CompressingTurt leWriter From: Raynier van Egmond <ra...@xb...> Organization: XBRL Consulting Partners LLC Reply-To: <ra...@xb...>, dotNetRDF User Help and Support <dot...@li...> Date: Wednesday, January 23, 2013 9:47 PM To: <dot...@li...> Subject: [dotNetRDF-Support] Ontology printer output like Protege > Hi All, > > I have started using dotNetRDF for a prototype ontology server and wondered if > there is a ³writer-class² that formats the output of the content of a graph > like the turtle export from Protégé? Since I use both (Protégé to confirm that > my manual modeling is done correctly) it would be very helpful to be able to > round-trip the two files (into and out-of Protégé and the dotNetRDF > application). > > If there is no such thing (yet) would I need to create my own formatter to > achieve this? Which wouldn¹t be a problem but if it¹s not needed > > Kind regards, > > > René > Vashon (WA), USA > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, > Windows 8 Apps, JavaScript and much more. Keep your skills current with > LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and > experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d______________________________________________ > _ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |