Questions tagged [rdf4j]

Eclipse RDF4J is a Java framework for working with RDF, SPARQL, and OWL. It offers a set of libraries and APIs for parsing, writing, scalable storage and reasoning, as well as a Workbench and Server application for deployment of RDF databases. This tag should be used for all questions regarding use of the RDF4J libraries and tools.

Eclipse RDF4J is a Java framework for parsing, writing, storing, querying and reasoning with RDF, SPARQL, and OWL. It offers a set of libraries and APIs for parsing, writing, scalable storage and reasoning, as well as a Workbench and Server application for deployment of RDF databases.

Eclipse RDF4J is the successor of the OpenRDF Sesame project.

For more information see the RDF4J community website.

155 questions
0
votes
2 answers

JAXP00010004 and java.lang.OutOfMemoryError: GC overhead limit exceeded

I have a maven project when i need to parse abig rdf file. my code is : import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import…
bib
  • 944
  • 3
  • 15
  • 32
0
votes
1 answer

Jena alternative of ModelBuilder in RDF4J

Is there some Interface available in Apache Jena like ModelBuilder in RDF4J? I can see ModelMaker in Jena but that is not something similar to builder I suppose. Following is the function using rdf4j that need to be implemented in Jena: public…
sumit
  • 133
  • 2
  • 10
0
votes
0 answers

RDF4J SAIL (not sails.js!) implementation for MongoDB

Has there been any work done to craft a MongoDB implementation of the RDF4J SAIL persistor interface?
Buzz Moschetti
  • 7,057
  • 3
  • 23
  • 33
0
votes
1 answer

embed credentials for protected GraphDB in cURL?

I like to explore the contents of my triplestores with either the rrdf or SPARQL packages in R. I believe they use cURL under the hood. They can take additional parameters, beyond the endpoint address and the query itself. Here's GraphDB's notes…
Mark Miller
  • 3,011
  • 1
  • 14
  • 34
0
votes
1 answer

Virtuoso crash "search.c:326 box_serial_length not supported for data type"

I am connecting to a Virtuoso 7.20.3216 compiled and installed inside a VirtualBox CentOS 7.3 64bit, using the RDF4J Virtuoso adapter. I try to load a Turtle file in Virtuoso using this code : Repository r = new…
ThomasFrancart
  • 470
  • 3
  • 13
0
votes
1 answer

rdf4j filter model by rdf:id

Is it possible in rdf4j to filter a model by their rdf:id? I tried already the following approach: model.filter(res, null, null) But with this, I also get all occurrences of rdf:resource and rdf:about. At the moment I filter first the whole model…
Daniel Müssig
  • 1,582
  • 1
  • 14
  • 26
0
votes
1 answer

Can't connect to a SPARQLRepository unsing openrdf (sesame), in the mapper class of a Hadoop/Mapreduce job

I did write a Java application using Sesame (RDF4j) API to test the availability of >700 SPARQL endpoints, but it takes hours to complete, so I'm trying to distribute this application using Hadoop/MapReduce framwork. The problem now is that, in the…
S. Oued
  • 13
  • 1
  • 4
0
votes
1 answer

How to turn a SPARQL/SPIN query/rule into an RDF structure from Java?

I have been using TopQuadrant Composer Free Edition (TBC FE) to embed SPARQL/SPIN rules (primarily SPIN constructors) in my OWL ontologies stored as RDF. Part of this process is that the SPARQL source code is tokenized/encoded in an RDF structure…
Greg Cox
  • 287
  • 1
  • 12
0
votes
1 answer

Convert RDF4J stream filter (lambda?) from Java to Scala

A follow-up to Are typed literals "tricky" in RDF4J? I have some triples abut the weight of dump trucks, using literal objects with different data types. I'm only interested in the integer values, so I want to filter based on the data type. Jeen…
Mark Miller
  • 3,011
  • 1
  • 14
  • 34
0
votes
1 answer

RDF4J REST API update returning 500, 'Transaction handling error: java.util.concurrent.ExecutionException: java.lang.NullPointerException'

I'm using python to query the REST API of RDF4J but I can't seem to get it work as described in the documentation (http://docs.rdf4j.org/rest-api/#_the_rdf4j_server_rest_api) I'm doing a select statement which works fine but when I try to do an…
hoisu
  • 305
  • 2
  • 14
0
votes
1 answer

How to set the default server for RDF4J workbench?

Imagine I have a RDF4J server and workbench running on an AWS server at http://1.2.3.4 ...and I recently registered the domain example.com via AWS route 53 and pointed it to http://1.2.3.4 My AWS security group has all ports open for the laptop I'm…
Mark Miller
  • 3,011
  • 1
  • 14
  • 34
0
votes
1 answer

RDF4J only scheduling 5 Queries against a Triple Store

I have some more Issues with handling semantic data technologies: I have a GraphDB Triplestor running locally on my machine an try to schedule some SPARQL queries against it using RDF4J and Java. As you can see from the code below 10 Queries shall…
0
votes
1 answer

Not able to add file to repo larger than 1.5 MB

Systeminformation: Application Information Application Name RDF4J-server Version 2.2 Runtime Information : Operating System Linux 3.10.0-327.36.2.el7.x86_64 (amd64) Java Runtime Oracle Corporation OpenJDK 64-Bit Server VM (1.8.0_102) I'm using…
Michael
  • 405
  • 4
  • 10
0
votes
1 answer

JSON-LD serialization string without indentation, spaces or line breaks in RDF4J / Sesame

I am trying to serialize a Model as JSON-LD and store it in a string variable using RDF4J. My code looks like this: public void storeAsString(Model model) { StringWriter stringWriter = new StringWriter(); RDFWriter rdfWriter =…
phly
  • 185
  • 1
  • 12
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
1 2 3
10
11