Questions tagged [redland]

Redland is a set of free C libraries providing support for Resource Description Framework (RDF) data.

Redland is a set of free C libraries providing support for Resource Description Framework (RDF) data.

Redland consists of the following parts:

  • Raptor RDF Syntax Library for parsing and serializing RDF syntaxes

  • Rasqal RDF Query Library for executing RDF queries

  • Redland RDF Library (librdf) providing the RDF API and triple stores, building on top of Raptor and Rasqal

  • Redland Language Bindings for language APIs to Redland in Perl, PHP, Python and Ruby

Use this tag for questions about using any of the above libraries.

Related tags:

Redland website

41 questions
0
votes
0 answers

rdflib::as_rdf only recognizes some IRIs

I am trying to convert a dataframe to RDF. The dataframe contains literals as well as IRIs. I'm doing test_withangles.rdf <- rdflib::as_rdf(x = test_withangles, key = 'uuid') rdf_serialize(rdf = test_withangles.rdf, doc =…
Mark Miller
  • 3,011
  • 1
  • 14
  • 34
0
votes
1 answer

Getting statements from redland hash storage

Is librdf_model_add writing the statements into the hash-storage? I am having problem to run a sparql query to retrieve them. The db files are probably populated as their file size keep increasing, but when I attempt to perform sparql query to them…
Jeffrey04
  • 6,138
  • 12
  • 45
  • 68
0
votes
0 answers

rdfproc took forever to parse a 8.33 MB file?

I'm trying to combine all my ttl files into one data dump, but when I try to do rdfproc test_big parse vm_base.ttl turtle It's taking forever, still waiting..., making me suspect it has stuck somewhere. Is there a better alternative which can do…
Mzq
  • 1,796
  • 4
  • 30
  • 65
0
votes
2 answers

Redland python bindings.Unexpected print ot triples

I have the below code in python: import RDF parser = RDF.Parser() model=RDF.Model() stream=parser.parse_into_model(model,"file:./zoo/zoo.rdf") list = [] for triple in model: print triple.subject, triple.predicate, triple.object …
curious
  • 1,524
  • 6
  • 21
  • 45
0
votes
0 answers

Parsing owl to ntriples and store them in separate files

Trying To-Do: 1) Execute Rapper functionality for each file in 'data' folder to get ntriples out of owl files. 2) Copy the resultant ntriples into another file as 'ntriples/output_file.ntriples' 3) Command : rapper -o ntriple ./data/file1.owl >…
0
votes
2 answers

Why rasqal configuration can't recognize the already raptor library on cygwin?

I am trying to install rasqal 0.9.20 library http://librdf.org/rasqal/ onto a windows 7 machine with cygwin.Earlier i have successfully installed the raptor-2.2.0 library http://librdf.org/raptor/ and i can verify this with the rapper tool was…
curious
  • 1,524
  • 6
  • 21
  • 45
0
votes
3 answers

Connecting Redland to Virtuoso through Virtuoso's ODBC/iODBC on MacOS X Environment

In order to install Virtuoso on my MacOS X environment, i used the brew port, that is: brew install virtuoso By doing so, it automatically installed some ODBC/iODBC drivers, that could not be overwritte by any other unixodbc setup. In particular if…
jackb
  • 695
  • 8
  • 26
0
votes
0 answers

produce Sparql S-Expressions (SSE) by redland librdf

Apache Jena/arq has a 'qparse' tool that parse a SPARQL query and generate SPARQL Algebra output (in SSE format). But Apache Jena' API has been written in Java. So I use Redlan librdf (C++) for parsing queries. Dose librdf do that? generating SPARQL…
hich9n
  • 1,578
  • 2
  • 15
  • 32
0
votes
1 answer

How does one retrieve a saved RDF::Redland persistent store?

The Redland library and the RDF::Redland bindings for Perl are very well documented when it comes to creating a persistent store and a model and parsing an RDF/XML file into it, for instance here and here. On the other hand, I cannot find any…
scozy
  • 2,511
  • 17
  • 34
0
votes
1 answer

Redland context in Virtuoso

I'm using the Redland Python bindings to add triples to Virtuoso RDF.Storage(storage_name='virtuoso') and am trying to understand how context is implemented. I am getting some surprising results. If I add triples…
heyitsbmo
  • 1,715
  • 1
  • 14
  • 29
-3
votes
1 answer

RDF::Redland::Model how to add tag

I have a loaded an RDF::Redland::Model parsed from an RDF/XML document and I want to add tag in it. How can I do it? Update: This is my code so far: my $st =…
Nikita
  • 837
  • 1
  • 12
  • 23
1 2
3