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

Inserting literal with escape characters in SPARQL

I want to insert literal which has brackets(") inside using insert statement. sparql insert data { pred:a pred:b "Literal"} The above query works fine. sparql insert data { pred:a pred:b "\"Literal\""} I want to add Literal along with quotes…
harish chava
  • 252
  • 2
  • 19
-1
votes
1 answer

How to parse a big rdf file in rdf4j

I want to parse a huge file in RDF4J using the following code but I get an exception due to parser limit; public class ConvertOntology { public static void main(String[] args) throws RDFParseException, RDFHandlerException, IOException { …
bib
  • 944
  • 3
  • 15
  • 32
-1
votes
1 answer

rdf4j: parse a sparql query to change some uri in the triple pattern

I would like to use RDF4J to parse a query to change some of the uris in the triple patterns. Could someone point me to some code please. I couldn't find anything. Thank you D063520
D063520
  • 113
  • 6
-1
votes
1 answer

RDF4j .ttl file filter IF statement

I am having problem during compilation. Can you help to figure out the problem please? ` public static void main(String[] args) throws IOException { File dir = new File("C:data\\test"); String[] fileNames = dir.list(); FileWriter…
Aram
  • 123
  • 1
  • 8
1 2 3
10
11