Code Monkey home page Code Monkey logo

Comments (3)

costezki avatar costezki commented on June 18, 2024 1

Give a second review to this issue, transforming RDF graphs into GraphML/GraphSON/Gyro is beyond the scope of this library. That will have to be handled by using a network library such as NetworkX, which is already implemented in the rdflib library (https://github.com/RDFLib/rdflib/blob/master/rdflib/extras/external_graph_libs.py) but differs from the graph transformation adopted here. Unless there is another use case requiring this transformation to be serialised into a file, I will postpose this issue.

from rdf2gremlin.

costezki avatar costezki commented on June 18, 2024

Hi Douglas,
thank you for your feedback.

Currently this tool was conceived to load the RDF triples into an in-memory rdflib graph, which is then fed bit by bit into the property graph using Gremlin commands.

In your case, for staging purpose, I would write the graph data in GraphML, GraphSON, or Gryo formats. These are then native to property graphs and can be loaded as a bulk.

What rdf2gremlin could implement is a conversion from RDF representation into the corresponding GraphML, GraphSON, or Gryo representation. This should be quite straight forward. I will bear this in mind for the future, or in case you are willing to contribute, I can guide you how to do it.

from rdf2gremlin.

fils avatar fils commented on June 18, 2024

@costezki

Thanks much for the detailed reply. I'll take a look at those three formats. With 0 knowledge of them all I'd likely try and focus on GraphSON on the assumption it's JSON esq. I'm already doing quite a both with JSON-LD so I might be able to work from there. I'm better in Go than Python so I might try there first. I'm find the Go RDF package I use to have a feel much like that of Python's RDFLIB, so I'll try and do it in a manner that might give me insight on giving it a go in this code base.

Given my note about 0 knowledge, is there a recommendation you would give between GraphML, GraphSON and Gryo?

Thanks much
Doug

from rdf2gremlin.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.