[Koha-bugs] [Bug 18585] Connect to RDF triplestore
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 2 04:58:52 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18585
--- Comment #15 from David Cook <dcook at prosentient.com.au> ---
I'm thinking a little bit about what this would look like...
I'm thinking maybe:
Code:
C4::Context::triplestore($model_name)
Config:
model_name: query
module:
url:
username:
password:
realm:
model_name: update
module:
url:
username:
password:
realm:
model_name: custom
module:
url:
username:
password:
realm:
#NOTE: I doubt we'd ever use custom... but the flexibility would be there.
Maybe there will be a case where in the future we want to be able to connect to
multiple triplestores for some reason. Who knows?
--
This would actually work well with how RDF::Trine::Store::DBI is set up since
it uses "model name" in its constructor.
http://search.cpan.org/dist/RDF-Trine/lib/RDF/Trine/Store/DBI.pm
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list