[Introspector-developers] ntriples example output
Status: Beta
Brought to you by:
mdupont
|
From: James M. D. <mdu...@ya...> - 2002-11-26 10:30:01
|
The current output of the rdf is in ntriples http://www.w3.org/2001/sw/RDFCore/ntriples/ you can convert this to using perl and CWM (closed world model) http://infomesh.net/2001/cwm/ Here is how you can convert his python2.2.exe cwm.py --ntriples file:test.n3 --rdf > testout.rdf There is a problem with the rdf encoding, it is not escaping strings right now. "<internal>" should be escaped, and it is edited in the following file : http://introspector.sourceforge.net/2002/11/24/temp/test.n3 http://introspector.sourceforge.net/2002/11/24/temp/testout.rdf feeding the rdf to the visualization tool http://www.ilrt.bris.ac.uk/discovery/rdf-dev/rudolf/rdfviz/ gets timeouts, when it works,I will tell you. the test.n3 is created out of methods this c++ source, look for "foo" --------------------------------------------------------- class x { public: int x; }; class y { public: int g; int foo(class x & rx ) { int TEST=1; return TEST + rx.x++; } int bar (class x & rx); }; int y::bar(class x & rx) { return rx.x * 2; } MIike ===== James Michael DuPont http://introspector.sourceforge.net/ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |