Questions tagged [openrdf]

38 questions
1
vote
1 answer

org.eclipse.rdf4j vs org.openrdf

I am learning on RDF and framework to implement them from RDF4J. While exploring I came across two APIs that seem to be very similar. This is the one that RDF4J uses in its examples. These start with org.eclipse.rdf4j.... There is a very similar API…
whitehat
  • 2,381
  • 8
  • 34
  • 47
1
vote
1 answer

Connect to RDF4J server with Sesame library?

I am working on a project that primarily uses Blazegraph as a back-end, and from what I understand, that locks me into a relatively old Sesame (2.7.12). The project has another component that can use an embedded Sesame, or a free-standing Sesame OR…
Mark Miller
  • 3,011
  • 1
  • 14
  • 34
1
vote
1 answer

Use of namespace prefixes in import statements for Turtle documents causes failures when using OWLAPI

If an ontology being saved (using OWLAPI) in Turtle format uses a set of prefixes, the import statements for the imported ontologies, use the declared prefixes. The ontology thus saved using the prefixes cannot be read back by the OWLAPI Turtle…
Nilesh
  • 23
  • 2
1
vote
1 answer

RDF4J rdf lucene configuration

I have been trying for some time to configure my sesame RDF repository (at the moment is called RDF4j) in order to use full text queries. I did not find much documentation about this configuration, I think that I need to create a template file so…
Hibernator
  • 33
  • 8
1
vote
1 answer

Check if a predicate is of standard type in Sesame

Is there any possibility in Sesame to check if a Predicate (URI), is w3c standard predicate(RDFS predicates for example) like RDF.TYPE or is included in RDF vocabulary?
jd466
  • 547
  • 1
  • 6
  • 20
1
vote
0 answers

Handling Blank nodes in Sesame

In Model.filter(), I would like to store the objects. But if the object is a blank node, I would like to retrieve the corresponding triple and store the real object. The problem in Model.filter() is that If the blank node(object) is _:a , the…
jd466
  • 547
  • 1
  • 6
  • 20
1
vote
2 answers

First call to openrdf-sesame update endpoint it very slow. Is there a way to optimize it?

We have some python scripts to execute both sparql queries and "updates" (an insert/delete). Here is most of the relevant code (I think): server = "localhost" repo = "test" query_endpoint = "http://%s:8080/openrdf-sesame/repositories/%s" %…
1
vote
2 answers

Cloudbees Tomcat Application IOException

I'm using Cloudbees as my Java PaaS, I have created to Tomcat 8 Applications and uploaded two WAR files: OpenRDF Workbench OpenRDF Sesame [source: http://www.openrdf.org ] I uploaded Workbench and after the supposed waiting period, my instance of…
Paulo Oliveira
  • 2,411
  • 1
  • 31
  • 47
1
vote
1 answer

Importing Triples with Tinkerpop/bluebrints into OrientDB

Im trying to import RDF-Triples into OrientDB with help of tinkerpop/blueprints. I found the basic usage here. Im now that far: import info.aduna.iteration.CloseableIteration; import org.openrdf.model.Statement; import…
user1882812
  • 936
  • 5
  • 18
  • 41
0
votes
1 answer

How make org.openrdf.rio parser supports Turtle documents?

I have a java project on Eclipse that read R2RML (.ttl) file. I am using R2RMLReader from it.unibz.inf.ontop.r2rml.R2RMLReader which uses Open RDF Rio org.openrdf.rio.Rio, here is the method code: public static ArrayList readR2RMLFile()…
0
votes
0 answers

Possible causes for an intermittent IOException error?

I am attempting to write to a Blazegraph database file multiple times using the OpenRDF Java API. Here is some pseudocode that mimics what I'm trying to do: //create Connection to the database Repository repo = new…
hayfreed
  • 525
  • 7
  • 21
0
votes
1 answer

Sesame And RDF4J Custom Server Data Location

I have a Tomcat instance running an openrdf-sesame environment. By default the location of my openrdf-sesame database configuration and data is at %APPDATA%\aduna. I am trying to change where this data saves to something custom like C:\aduna. I have…
MrJman006
  • 752
  • 10
  • 26
0
votes
1 answer

how to insert a list in rdf

I have a graph, and in this graph I have a list like this: :Michelangelo :representativeFor :Italy; rdfs:label "Michelangelo di Ludovico Buonarroti Simoni"; :birthInfo [:date "1475-03-10"^^xsd:date; :place …
Anca Ioana
  • 33
  • 8
0
votes
1 answer

UNRESOLVED DEPENDENCIES org.openrdf#sesame;2.3.1: not found

I'm trying to use spark with C-SPARQL in a sbt project, I am getting unresolved dependencies errors when trying to build the project [info] Resolving org.openrdf#sesame;2.3.1 ... [warn] module not found: org.openrdf#sesame;2.3.1 [warn] ==== local:…
testing
  • 183
  • 1
  • 2
  • 6
0
votes
1 answer

What are possible causes of Multiple ID-statement Exception in Sesame?

I would like to know what are possible causes that can rise the following Exception ? org.openrdf.repository.config.RepositoryConfigException: Multiple ID-statements for repository ID test_3 It rises when i try to query the test_3 repository.…
Fopa Léon Constantin
  • 11,863
  • 8
  • 48
  • 82