patrickmcelwee / ml-visjs-graph-ng

graph visualization for triples stored in MarkLogic, based on the VisJS Network library
Other
4 stars 2 forks source link

Eliminate need for mlpm module #2

Open grtjn opened 8 years ago

grtjn commented 8 years ago

Change the service to connect to the MarkLogic sparql endpoint, and convert to visjs nodes/edges client-side.

grtjn commented 8 years ago

(I might play around with this today..)

patrickmcelwee commented 8 years ago

awesome!

patrickmcelwee commented 8 years ago

We should probably also leave open the possibility of specifying a REST extension to get the VisJS data, which would bypass the client-side SPARQL.

That would allow non-SPARQL implementations. Also, it can be helpful to store some non-RDF information on the nodes - for a current health PoC, for example, my REST extension adds a 'diagnoses' array on patient nodes to feed a 'baseball card' summary view.

This probably would be covered by #3, since if you can make your own service, you can call whatever endpoint you want - but I wanted to spell out the use case a bit.