Questions tagged [graphdb]

Ontotext GraphDB is a semantic triplestore: a database for RDF and OWL data. Use this tag for questions specifically about the Ontotext GraphDB product. For questions that are about graph databases in general (or about other graph database products), use the [graph-databases] tag instead.

In essence, GraphDB™ is a “semantic repository” using ontologies that allow the repository to automatically reason about the data. It works with a flexible and generic physical graph data model allowing for easy interpretation and adoption of new ontologies or metadata on-the-fly. GraphDB™ is packaged as a storage and inference layer (SAIL) for Sesame. Sesame is one of the most popular semantic repositories that supports RDF(S) and all the major syntaxes and query languages related to it. GraphDB is fully SPARQL 1.1 compliant. You can read more about GraphDB™ here. The full documentation can be found here.


Related tags

519 questions
7
votes
1 answer

Most efficient way to clear a named graph?

I am working with an instance of Ontotext GraphDB and often want to clear a named graph with a large number of triples. Currently, my technique involves issuing a SPARQL command to the graph server, which searches and matches a triple pattern of…
hayfreed
  • 525
  • 7
  • 21
5
votes
3 answers

insert from two named graphs?

I'm looking for an easy way to insert triples from two or more named graphs (but not the entire unnamed default graph) into another named graph. I'm using GraphDB. I guess this could be done by writing out the same query multiple times in the WHERE…
Mark Miller
  • 3,011
  • 1
  • 14
  • 34
4
votes
3 answers

Horst (pD*) compared to OWL2-RL

We are using GraphDB 8.4.0 as a triple store for a large data integration project. We want to make use of the reasoning capabilities, and are trying to decide between using HORST (pD*) and OWL2-RL. However, the literature describing these is quite…
Bill
  • 179
  • 8
4
votes
2 answers

Writing to Ontotext GraphDB using Jena

I am trying to use Jena to write to a local free standalone GraphDB (version 8.5.0) repository. What I have tried (1) Direct use from Jena I used this Jena 3.7.0 code snippet: String strInsert = "INSERT DATA {" +…
Henriette Harmse
  • 4,167
  • 1
  • 13
  • 22
4
votes
3 answers

select all triples, indicating named graph if relevant

Let's say I make the following insertions into my GraphDB 8.3 triplestore: PREFIX : insert data { :hello a :word } and PREFIX : insert data { graph :farewells { :goodbye a :word }} now, if I ask select…
Mark Miller
  • 3,011
  • 1
  • 14
  • 34
4
votes
1 answer

Can't get INSERT to work in SPARQLWrapper

I've been trying to get SPARQLWrapper to insert a simple triple into GraphDB with no success. I have no trouble with select queries. Here's Python test code that fails: db = sparqlw.SPARQLWrapper(endpoint) query = ''' INSERT…
4
votes
1 answer

OWL-?? to OWL-RL for GraphDB (OWLIM)

I am trying to use GraphDB-SE triplestore to store Einstein Riddle and use ruleset to infer the answers. GraphDB has build in support for OWL2-RL and OWL2-QL. According to w3.org OWL 2 RL supports all axioms of OWL 2 apart from disjoint unions of …
4
votes
1 answer

Aligning two ontologies with an "adapter"

Simplifying a little, I have a domain ontology (D) expressed in OWL, which describes devices, their capabilities, configurations. Also, for each vendor I would like to have vendor-specific ontology (V), which would be connected to the domain one.…
Roman Susi
  • 4,135
  • 2
  • 32
  • 47
3
votes
1 answer

Converting a bnode to a string in graphdb

I have an RDF file where the resources are identified with nodeID's instead of URIs. I have imported them into Ontotext graphdb, and would like to generate URIs based on the nodeID (which I preserved during import). For example, I am trying to map…
alexis
  • 48,685
  • 16
  • 101
  • 161
3
votes
0 answers

SPARQL Query to create a merged graph from different graphs based on property value comparisons

I have three graph data models with nodes representing the same physical entity in different ways in the three graphs. Graph G1 where Pump P1 is of type CentrifugalPumpType Graph G2 where Pump P2 is of type PADIMType Graph G3 where Pump P3 is of…
Ricky
  • 81
  • 11
3
votes
1 answer

How does Ontotext GraphDB assign colors in Visual Graph?

I have been trying to create some graph visualizations using Ontotext GraphDB. I would like the colors to be consistent between various visualizations that I make of the same data. I understand that the coloring is based on the type, but it does not…
hayfreed
  • 525
  • 7
  • 21
3
votes
1 answer

geoSPARQL distance produces empty results

I try using the distance geoSPARQL function in graphDB and I don't get any result. Here's a test : PREFIX rdf: PREFIX rdfs: PREFIX wgs84_pos:…
3
votes
2 answers

Enable CORS on GraphDB

Everything in the question. Additional info: Working with Win 10, GraphDB free, 9.1.1 • RDF4J 3.0.1 • Connectors 12.0.2 I added in console => settings, graphdb.workbench.cors.enable / true + Set + restart I also tried to set parameter…
Okilele
  • 85
  • 1
  • 5
3
votes
2 answers

How to completely delete an RDF node/instance from a graph database?

Good day, I am using Graphdb to store some triples as seen in the image below. This particular RDF node uses a regular URI http://example/regular/uri. What I wish to do is to not only completely delete all properties attached to this node, but also…
3
votes
1 answer

How to specify 'named graph' while loading data into graphdb with preload or loadrdf tools?

With GraphDB workbench, it can specify 'named graph' to load RDF. But how to specify a 'named graph' with the command line tools, preload, or loadrdf? Thanks!
LeonL.
  • 105
  • 5
1
2 3
34 35