From: Dan M. <dan...@gm...> - 2012-06-28 18:30:38
|
> I think this will change the perspective, didn't it? Yes, it is a different problem. It is not a user-arranged diagram but a graph that is automatically laid out using auto-placement algorithms. But if you are working with OWL, classes and properties it is not too difficult. The one open source tool I am familiar with is the old GraphViz <http://graphviz.org/>tools created by AT&T in the 1990s, before even XML and SVG was invented. The original version only created a non-XML .dot placement file that needs to be converted to SVG. Chris Wallace and I have both used GraphViz to auto-generate diagrams from ontologies using XQuery and then converting GraphVis "dot" format to SVG. Here is a into to this approach: http://en.wikibooks.org/wiki/XQuery/Graph_Visualization Here is an example of this: http://www.cems.uwe.ac.uk/~cjwallac/apps/services/dot2media.php?output=svg&url=http://www.cems.uwe.ac.uk/xmlwiki/empdept/hierarchydot.xq But I think that Chris Wallace's code is much better than mine. I will ping Chris to see if he can send us his code if he is port. - Dan On Thu, Jun 28, 2012 at 12:52 PM, Paolo Di Pietro <pdi...@di...>wrote: > Dan, > > I looked at the projects, and then just discovered to have posted the > wrong question. Sorry. > > What I want to do is not to draw a diagram directly from the browser, but > to build a diagram programmatically from the exist content, the display it > on the browser and let the user to navigate it. > > I think this will change the perspective, didn't it? > > Regards > > Paolo > > > Il 26/06/2012 17:02, Dan McCreary ha scritto: > > Have you seen the following projects? > > > *WireIt* > > http://neyric.github.com/wireit/ > This is a very nice Javascript library to build a "connection graph" based > on a single XML config file. This would be ideal for an XProc or workflow > tool that uses eXist as the backend store. > > * > DIRI Pipes* > > - Java client for connection-based RDF tools - looks like it is no longer > active, but a nice idea based on the work done with Yahoo Pipes > > http://pipes.deri.org > * > MIT Banach* > > MIT project for doing RDF wiring > http://simile.mit.edu/wiki/Banach > > > *Oryx* > > There is also the Oryx workflow editor: > > http://code.google.com/p/oryx-editor/ > > > But I think this is more targeted at BPM/workflow tools. > > On Tue, Jun 26, 2012 at 9:10 AM, Paolo Di Pietro <pdi...@di...> > wrote: > > Thanks to Dmitriy and Dan, > > > > You both have an opposite point of view, while Dan can see some > > advantages and Dmitriy say that's nothing you can't do with exists. > > It's just when you go to a doctor for a consult: you always nedd an odd > > number of answers! > > > > now I'd like to go one step forward, and I 'd like to integrate eXist > > with a tool for drawing OWL/RDF relationships. > > In general I'd loke to draw any kind of relationships between any > > couple of objects on the web. > > > > But the nice thing should be a tool able to do it live, with at least a > > little smartness to minimize the number of connection crossings .... > > > > Any suggestion in this fiels? > > > > Paolo > > > > Nella citazione in data martedì 26 giugno 2012 06:28:14, Dmitriy > > Shabanov ha scritto: > >> Most powerful feature of neo4j is traverser. If you find use you get > >> jackpot. OWL/RDF are not case, because eXist can cover that as good as > >> neo4j, maybe better. > >> > >> Remember in case of db combo one of it need to be frontend other > >> backend (index). Think this way a bit, it can help to understand > >> reality -) > >> > >> On Mon, Jun 25, 2012 at 10:13 PM, Paolo Di Pietro > >> <pdi...@di... <mailto:pdi...@di...>> wrote: > >> > >> > >> I have an exist application which manage an OWL/RDF ontology. > >> The ontology is stored into the DB. > >> > >> My question is: > >> > >> Some nodes contains complex XML document. > >> But the large numer of nodes ar just subject -> relation -> object > >> So, why don't use a Neo4J graph db to navigate these nodes and use > >> eXist > >> to store the complex xml documents? > >> > >> The question has the following reasons to be verified: > >> > >> 1) Awareness of the context: a subject can have any URI, and doesn't > >> need to be bound with the DB (It could be a Facebook user, a twitter > >> tweet, a linkedin curricula, and so on) > >> 2) Distribution: the Neo4J DB can be replicated over the time in a > >> 3) Performance: To be verified > >> > >> If the answer should be positive (it make sense to mix the 2 DB's), > >> could be nice to write an eXist interface (XQuery) to Neo4J. > >> I should do that, but of course, only if there is a reason for it. > >> > >> Please, have a look to the reasons at > >> http://docs.neo4j.org/chunked/stable/tutorials-rest.html and to the > >> already existing API at > >> http://docs.neo4j.org/chunked/stable/tutorials-rest.html > >> > >> And let me know if there are other way to accomplish the same > results > >> only with exists! > >> > >> > >> -- > >> Dmitriy Shabanov > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Exist-open mailing list > > Exi...@li... > > https://lists.sourceforge.net/lists/listinfo/exist-open > > > > -- > Dan McCreary > NoSQL Evangelist > office: (952) 931-9198 > cell: (612) 986-1552 > > > > -- Dan McCreary NoSQL Evangelist office: (952) 931-9198 cell: (612) 986-1552 |