Closed fr0gs closed 7 years ago
Is this not related to the separate rdf-raptor issue you filed. The only way to get Ruby to segfault otherwise is because of an interpreter bug.
But I have tested it manually by fetching the TTL via http, pretty much how it is done here, and then serialized the resulting file into RDF in order to verify it was successfully retrieved, and it works.
RDF::Writer.open("/app/output.rdf") do |writer|
RDF::Reader.open("/app/test.ttl") do |reader| # The fetched TTL calling CONSTRUCT via http.
reader.each_statement do |statement|
writer << statement
end
end
end
It is only when calling the construct and parsing it into a series of RDF::Statement that the program segfaults.
But it seems to be segfaulting in Raptor. Does it segfault using a native Ruby serializer?,
Hello,
I want to retrieve a TTL from a virtuoso endpoint.
The construct query returns ~652977 statements.
But I get a segmentation fault.
However testing to query the virtuoso endpoint via HTTP directly the result is successfully fetched and created.
And it creates the full TTL