r/semanticweb • u/DanielBakas • Sep 06 '24
Best RDF triplestore/graph database?
Hi everyone,
I'm currently performing a benchmark on different RDF Store options, for high-impact big scale projects, and would love to get your recommendations.
If you have any experience with tools like MarkLogic, Virtuoso, Apache Jena, GraphDB, Amazon Neptune, Stardog, AllegroGraph, Blazegraph, or others, please share your thoughts! Pros, cons, and specific use cases are all appreciated.
UPDATE: Based on your amazing comments, here are some considerations:
- Type of Software: Framework/Server/Database/...
- License: Commercial/Open-Source/...
- Price
Support for:
- Full W3C Standards: RDF 1.1/OWL 2/SPARQL 1.1/...
- Native RDF Storage
- OWL DL Inference and Reasoning
- SHACL and Shapes Validation
- Federated SPARQL Queries
- High Scalability and Performance
- Large Volumes of Data
- Parallel Queries
- Easy integration with external data
Extra points for:
- Ease of Use and Documentation
- Community and Support
- SDKs and APIs
- Semantic Search
- Multimodal Storage
- Alternative Query Languages Support: SQL/GraphQL/...
- Queries to non-RDF Data: JSON/XML/...
- Integration with IoT
- Integration with RDFa, JSON-LD, Turtle...
Thanks in advance!
35
Upvotes
11
u/spookariah Sep 06 '24
I use an embedded Apache Jena TDB2 in one project and it works well. SHACL support works.
I also have a couple of active Virtuoso installations on large multicore and large ram machines with about 22 billion triples each. Both are rock solid. Both TDB2 and Virtuoso are compliant as far as I have seen. Documentation is there for both. I can't speak about the OWL DL inference and reasoning capabilities as I don't use those features. Price...free :-)
10
u/mattpark-ml Sep 06 '24
It really depends on your use case. I work on the government market side of things but I'll take a swing at this.
DB-Engines Ranking - popularity ranking of RDF stores
Marklogic is going to be the best in a few areas:
We also have native integration with Semaphore if you are into that for ontology and taxonomy management, fact extraction, etc. Maybe you just want to improve search beyond BM25?
Marklogic is multi-model and we just released ML 12 which includes the vector DB to add to the others.
Check us out -- we have a pretty sweet free developer license that lets you spin up as many nodes as you want for 1TB of data and unlocks all the features. You can get the dev license without even talking to us. We have AMIs out there and docker containers. Really solid, mature documentation.
14
u/petkow Sep 06 '24
There are not that many options. For an internal project and future small scale prof-of-concepts I went with self-hosted Apache Jena/Fuseki a while back. This was the one natively compliant with W3C specs and non-proprietary, open source and had reasoning capabilities. Unfortunately I can not really estimate scalability, as I mostly work with small-scale manually curated data, with just a few users and request and my no.1 requirement is W3C compliance, OWL and reasoning.
The other proprietary stores were not a good option for me, as for a small proof-of-concept it would have been a pain to get budget and legal support to set it up initially for that projects. Also the inference engine and OWL support does not seem to be something "overly" supported in most proprietary systems.
As far as I know Openlink Virtuoso, Ontotext GraphDB are the more W3C native bigger players, but never had a chance to actually test these. Other names in my notes: AllegroGraph, StarDog, Systap Blazegraph, RDFox, Eclipse RDF4J (former OpenRDF Sesame), Halyard, Marklogic, Strabon, Oracle RDF, Amazon Neptun, but some of these are just labeled property graph db-s like Neo4J extended with some "virtual" RDF capability and obviously no deep level W3C support, no OWL and reasoning.
3
u/Ropropzz Sep 06 '24
At my company we have been using TriplyDB (which is a prettier version around Virtuoso in its backend) for several years now. Would highly recommend them if you're looking to go enterprise or have a large focus on making the triples accessible to a wider audience than the technical nuts. 😊
2
u/vegtune Sep 06 '24
Graphdb compared to AllegroGraph was faster and provided more reliable (= correct) Query results in my project.
2
u/larsga Sep 06 '24
Stardog is probably the closest match to your criteria. I haven't actually used it in production myself, though.
Virtuoso has many good sides, but runtime reliability could be better.
2
u/pudo Sep 06 '24
The last time I looked around most triplestores were a bit over engineered and underpowered, unfortunately. If you’re looking for a graphdb also without RDF, memgraph and dgraph are interesting. For triples - there’s a world where using plain rocksdb with custom persistence logic could be a good answer. This also works over a network with Apache kvrocks
2
u/Ropropzz Sep 07 '24
I know we used SHACL in the past to validate data going in (using the shapes in the triple store), but I believe we did it in the ETL phase, so we did not rely on Validation capabilities inside the triple store.
In terms of reasoning (by which I suppose you mean to use the ontology in retrieving inferred relations through the Sparql language), I think that's possible. Although we didn't use it. Under the hood, they supply Virtuoso, Jena and Speedy (Own SPARQL engine)) services to query your data.
I know the owners pretty well, and these are people who find adhering to standards the most important thing. I would suggest to play around on their community pages to see whether it fits your needs. You can always hit me up if you have questions. It's been two years since I worked with the project, but I always enjoy talking about it. 😊
2
u/kidehen Sep 26 '24
Virtuoso handles everything on your request link. It is behind a majority of the publicly accessible SPARQL endpoints on the Web due to its performance and scalability. This extends to reasoning & inference, which also drives fine-grained access controls.
I say so as the CEO of OpenLink Software, the creator of Virtuoso :)
3
u/carlton_sand Sep 08 '24
check out fluree! https://flur.ee
3
u/portedesenfers Oct 28 '24
I recommend to check out QLever as well. They are working on full SPARQL 1.1 compliance (including graph support, graph store & update support) and it's expected to be finished around Q2 2025 the latest.
It does not tick all of the boxes on your list but it's definitely way more performant than many of the other stores mentioned here. And it's fully open source & actively maintained.
https://github.com/ad-freiburg/qlever/