Questions tagged [blazegraph]

Blazegraph is an open-source RDF/graph database capable of clustered deployment. This tag is specific for questions on the database API. RDF and SPARQL are often related technologies.

Overview

Blazegraph is an open-source, ultra-scalable, high-performance graph database written in Java. It supports various technologies such as:

Blazegraph offers different operating modes (triples, provenance, and quads) and either operates as an embedded database or over a client/server REST API.

Blazegraph supports up to 50 billion edges on a single machine and has a high availability and scale-out architecture. It is in production use for Fortune 500 customers such as EMC, Autodesk, and many others. It was selected by the Wikimedia foundation to power their Wikidata query service.

Documentation links

The official Blazegraph website can be found here. In-depth technical details on the graph database can be found in the official Blazegraph Wiki. The Blazegraph API itself is documented on GitHub.

Background information on the big-data architecture, internals, and deployment models can be found in several white papers in the Blazegraph Blog.

When to use this tag

Please use the tag on questions about the database API. If you have a more general question to which an answer might not necessarily depend on the Blazegraph API, please consider including or .

If you want to discuss or suggest Blazegraph features, please do it via the Blazegraph contact page.

Related tags

Adapted from the Blazegraph website and the Blazegraph Wiki.

128 questions
3
votes
1 answer

Grouping by blank nodes

I have the following data: @prefix f: . _:a f:trait "Rude"@en . _:a f:name "John" . _:a f:surname "Roy" . _:b f:trait "Crude"@en . _:b f:name "Mary" . _:b f:surname "Lestern" . However, if I execute the following query in…
Gitnik
  • 564
  • 7
  • 26
3
votes
0 answers

Is there a better way to do case insensitive queries?

I'm looking for a way to match claims values in a case insensitive way. For instance, Wikidata has the following statement: wd:Q1524522 wdt:P2002 'bouletcorp' but, following the case used in twitter, let's say that I would use the value Bouletcorp…
maxlath
  • 1,804
  • 15
  • 24
3
votes
2 answers

How do I set up remote access to a Blazegraph server?

I try to remote access my Blazegraph server, which is running on a Ubuntu VM on Azure. So I want to access the server with its public IP address, e.g. 51.123.45.234:9999. I changed the firewall settings in Azure to allow incoming traffic to port…
user128574
  • 123
  • 1
  • 4
3
votes
0 answers

How to improve SPARQL Update performance in Blazegraph?

I'm trying to execute a large SPARQL Update request, basically with one INSERT DATA command, and a set of DELETE ... WHERE commands. The request performs an insertion of some triples and removes the old values of functional properties of…
xscratt
  • 159
  • 5
3
votes
1 answer

How to import and query 4-column N-Quad quadruples into Blazegraph?

I'm relatively new to RDF/SPARQL and I'm trying to import and query some N-Quad, 4 column/quadruple data, into Blazegraph (See schemaOrgEvent.sample.txt). When I import the Quads data (web console), I'm left with only triples-based 3-column tuple…
Big Rich
  • 5,864
  • 1
  • 40
  • 64
3
votes
1 answer

Loading triples into Blazegraph using the bulk data loader

I'm experimenting with using Blazegraph to run graph algorithms on ConceptNet, but first I have to get the data imported. The data will be Write Once, Read Many, so I don't need any kind of incremental writing. I installed Blazegraph 2.1.1 from its…
rspeer
  • 3,539
  • 2
  • 25
  • 25
3
votes
1 answer

How to load quads using the bulk loader?

I have a file data.nq containing the following lines: . . In the same directory, there…
Daniel Hernández
  • 1,279
  • 8
  • 15
2
votes
1 answer

Cannot Set CORS with Blazegraph (localhost:9999, Jetty) for Access from Another Port (localhost:600, http-server)

I've been running MediaWiki with Wikibase, the Wikidata Query Service (GitHub), and the Wikidata Query Service GUI on a remote Ubuntu server. I am tunneling into that server in order to access things on my local machine. The GUI (running at…
user3684314
  • 707
  • 11
  • 31
2
votes
1 answer

Using graph-notebook to connect to Blazegraph Database

I tried to use https://github.com/aws/graph-notebook to connect to Blazegraph Database. I have verified Blazegraph is running from the following. serviceURL: http://192.168.1.240:9999 Welcome to the Blazegraph(tm) Database. Go to…
2
votes
0 answers

Named subquery slow in Wikidata Query Service

I am wondering why the following SPARQL query with a named subquery is slow on Blazegraph instance Wikidata Query Service. Taking out the subquery and executing that alone completes in around a second on the Wikidata Query Service, while the one…
Finn Årup Nielsen
  • 6,130
  • 1
  • 33
  • 43
2
votes
1 answer

Jena Fuseki and Blazegraph behave differently with respect to 'type strictness' for string literals

I'm playing with Blazegraph (2.1.5) and Jena Fuseki (3.10.0). First I insert two triples with the following query: PREFIX xsd: insert data { 'abc' .
Roman Puchkovskiy
  • 11,415
  • 5
  • 36
  • 72
2
votes
1 answer

How to change the directory where blazegraph store data?

I am trying to change the directory where blazegraph store its data. Right now, the data is stored in /var/lib/blazegraph/blazegraph.jnl I tried to change BLZG_DATA in /etc/default/blazegraph and /usr/bin/blazegraph but data is still stored in…
amirouche
  • 7,682
  • 6
  • 40
  • 94
2
votes
1 answer

How to setup and configure HA Journal Server (High Availability) for Blazegraph

The blazegraph documentation for High Availability lacks. For starters, the documentation states to download the source code and run "ant deploy-artifact". This is incorrect as they've transitioned to maven and you should really run "ant…
2
votes
1 answer

Using Apache Jena with Blazegraph as Triplestore

For a project I have to use Apache Jena combined with Blazegraph as triplestore. But I have problems connecting Jena to Blazegraph by using RDFConnection. RDFConnection conn = RDFConnectionFactory.connect(...) conn.load("data.ttl") ; QueryExecution…
andreask
  • 109
  • 1
  • 13
2
votes
1 answer

Wikidata LabelService does not behave as expected

The following Wikidata query does not work as I would expect it: # WikiData SPARQL Query # # Wolfgang Fahl 2018-01-06 # # get father of queen victoria SELECT ?queenVictoria ?queenVictoriaLabel ?fatherProperty ?fatherPropertyLabel ?father…
Wolfgang Fahl
  • 15,016
  • 11
  • 93
  • 186
1
2
3
8 9