Re: Janus as an RDF store


Jason Plurad <plu...@...>
 

JanusGraph supports 3 file formats that are provided via Apache TinkerPop -- Gryo, GraphML, and GraphSON.
http://tinkerpop.apache.org/docs/current/reference/#_gremlin_i_o

You can load it like this:

gremlin> graph = JanusGraphFactory.open("conf/janusgraph-hbase.properties")
==>standardjanusgraph[hbase:[127.0.0.1]]
gremlin
> graph.io(gryo()).readGraph("data/tinkerpop-modern.kryo")
gremlin
> graph.io(graphml()).readGraph("data/tinkerpop-modern.xml")
gremlin
> graph.io(graphson()).readGraph("data/tinkerpop-modern.json")

If you have some other format file, you'll need to write code to read it in the data file, and then construct the graph elements based on the data.


On Thursday, July 27, 2017 at 9:40:30 AM UTC-4, 谭宇超 wrote:
Hello Jason,I'm new to JanusGraph, and I didn't find any method that could load data-file into hbase. So, how can I load my data-file into hbase? ps: backend=hbase&caching

在 2017年3月30日星期四 UTC-7下午2:25:26,Jason Plurad写道:
JanusGraph provides native support for the property graph data model exposed by Apache TinkerPop and uses Gremlin as its query language. It does not have native support for RDF or SPARQL. That being said, you could write custom scripts to ingest RDF and transform it into a property graph model. Daniel Kuppitz started work on transforming SPARQL queries into Gremlin, and that effort continues on at https://github.com/LITMUS-Benchmark-Suite/sparql-to-gremlin

If you are looking for something that does both, you might want to consider something like Stardog or BlazeGraph.

On Thursday, March 30, 2017 at 9:35:11 AM UTC-4, Laura Morales wrote:
Hi all,
 
        I'm relatively new to graph databases, and there seems to be a significant difference among "graph/property stores" and "RDF stores". Not a big difference in theory, but quite a big difference in practice about how these databases are implemented. So my question is, is Janus a graph/property store or an RDF store? Or can Janus do both? Can I, for example, use Janus to load a bunch of RDF dumps such as DBPedia/Wikidata and perform SPARQL queries over it?

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.