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
1
vote
1 answer

graphDB consistency check not working while protege is showing expected results

My Ontology is simple (made in Protege). I've made Manga and Manhwa classes disjoint to each other. Any individual that is Comic + Japan is a Manga. Any individual that is Comic + South Korea is a Manhwa. Now I created an individual "SL" that…
Phobia7743
  • 43
  • 1
  • 5
1
vote
1 answer

Get list of instances matching the intersection of all restriction values

I just started learning how to work with ontologies and make SPARQL queries. I am using a merged copy of these 2 ontologies - wine and food in GraphDB with OWL-Max ruleset. I want to get a list of all suitable wines for a given meal. A meal could…
cherk
  • 21
  • 6
1
vote
0 answers

TupleQueryResultView - Serialization error - Query changes from graphdb using history and versioning plugin

I try to query the changes from graphdb using history and versioning plugin (https://graphdb.ontotext.com/documentation/standard/change-tracking.html). This is the query: var additionsQuery = repositoryConnection.prepareTupleQuery( …
tommi123
  • 11
  • 2
1
vote
1 answer

Graphdb seem to be missing rdfs:subClassOf inference

I am using the RDFS-Plus (Optimized) ruleset. According to this: https://docs.cambridgesemantics.com/anzograph/v2.2/userdoc/inferences.htm If something is of type owl:Class it should be inferred it is an rdfs:subClassof owl:Thing. If I run the…
agustaf
  • 683
  • 1
  • 6
  • 19
1
vote
1 answer

Explore Graph in RDF4J custom function

I'm trying to implement a plugin for Ontotext GraphDB. I hope it will compute the distance between two entities via breath first search (see GraphDB as an undirected graph). I found RDF4J custom function maybe a good way. public Value…
qkoqhh
  • 13
  • 2
1
vote
1 answer

Unable to see Max in SPARQL Query

Im trying to query a knowledge graph and im trying print the max occurrence of ?n in the result and i have tried running following query but it just doesn't prints anything here is my SPARQL Query PREFIX :…
zaid saeed
  • 125
  • 9
1
vote
0 answers

Issue when updating triple with blank nodes using sqarql

This is my query, this query works fine for nodes with no blank node but the issue with arrives while updating with blank node here those nodes get repeated 100 times after updating DELETE { it:4D9AT21jAasfL9ah schema:description ?o_0 . …
Rwz Stha
  • 11
  • 1
  • 3
1
vote
2 answers

Adding rdf:type to a blank node in Ontorefine

I'm using Ontorefine within GraphDB to create RDF triples from a csv source. It seems impossible to add a rdf:type when the subject is a blank node. When you hit the arrow in the bottom right corner of an object that is a blank node, you can type a…
NewMarc
  • 86
  • 6
1
vote
0 answers

How to create a property path query from one entity to another?

I have the following sample KB: (:Ethan, :rel1, :Peter) (:Ethan, :rel2, :son) (:Sienna, :rel3, :Josie) (:Sienna, :rel4, :daughter) (:Josie, :rel5, :Peter) (:Josie, :rel6, :wife) Now I need to find a property path (all related triples) from :son to…
1
vote
0 answers

GraphDB : datatyped dates comparison

Given this test data with an xsd:gYearMonth : "2021-12"^^ . This SPARQL query that compares it with…
ThomasFrancart
  • 470
  • 3
  • 13
1
vote
1 answer

Cypher query - Combine 2 queries by pipe result of one to other

I am a beginner on cypher and want to create a query that find all nodes that connect to specific nodes that other node connect to them, see the example I need to get all the brown nodes that connect to the red nodes that the blue node connect to…
1
vote
0 answers

Repository settings for maximum read performance

I'm setting up a demo with a database that contains around 150 million triples and wanted to confirm with you what repo settings I should change to maximize the performance of read queries. The only two things I have changed in the attached template…
M Barbieri
  • 21
  • 1
1
vote
1 answer

ABAC implementation for knowledge graph

Are there any solutions/products offering ABAC access control for knowledge graphs ? Ontotext has mentioned that they supports ABAC in the below…
Muthu
  • 11
  • 1
1
vote
1 answer

How to define advanced custom rule in GraphDb ruleset

Let's start from the begin. There are some persons stored in graph database with predicates like birthDate, name, etc. I'm currently trying to write custom rule which add some new fact for persons older than e.g. 50 years. So to achieve that two…
1
vote
1 answer

Retrieve specific depth in k shorest path query

I am applying this query for example FOR path IN ANY K_SHORTEST_PATHS 'person/27' TO 'person/36' case_item, relationship, transaction_link, passenger, is_on_watchlist, georelation, communication RETURN path this query returns all…
kamal adel
  • 11
  • 1