[Koha-bugs] [Bug 18585] Connect to RDF triplestore

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 1 07:59:49 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18585

--- Comment #8 from David Cook <dcook at prosentient.com.au> ---
(In reply to David Cook from comment #7)
> (In reply to Magnus Enger from comment #6)
> > At least the Fuseki triplestore has different endpoints for reading and
> > writing data. With Fuseki as the triplestore, this bug only adds a read
> > RDF::Trine::Model object. Would it be possible to do a followup that would
> > aloow us to create both read and write objects? (As two separate objects.)
> 
> Hi Magnus,
> 
> I'm not sure why you think it adds a read-only object. I can 100% assure you
> that the RDF::Trine::Model object is both read and write. The URL you
> provide is to the dataset (e.g.
> http://semantikoha.libriotech.no:3030/david-koha-test). From there,
> RDF::Trine::Model will build the "update" and "query" URLs dynamically for
> reading and writing using the SPARQL 1.1 standard. (In fact, this is why
> RDF::Trine doesn't work with older versions of Virtuoso, since Virtuoso
> before 6.1.7 or so didn't comply with SPARQL 1.1.)

Actually, as I read through the code at
http://cpansearch.perl.org/src/GWILLIAMS/RDF-Trine-1.016/lib/RDF/Trine/Store/SPARQL.pm,
it looks like they don't dynamically change the URL. Rather, they just use the
"update" and "query" parameters depending on the operation specified, but it's
all using the same URL which as I mentioned above is just to the dataset.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list