Comments (3)
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.
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.
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)
- add the setup.py
- multiple property values not supported HOT 1
- no duplicates in the tree in the generate_traversal_tree result
- warning on initializing gremlin graph HOT 1
- create a command line tool to execute operations
- create a web-service to execute operation
- Can't split URI HOT 3
- How to visualise the graph after load_rdf2g HOT 1
- Add node for every node HOT 1
- add examples
- add the readme
- add node retrieval
- add tree generator
- refactor code based on the operation purpose
- tornado version>=5 prevents connection to the server
- list in list, generated by rdf2g.expand_tree, shall be flattened HOT 1
- install bug, incorrect dependecy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdf2gremlin.