[Bug 18713] New: Add support for named graphs and rfds:seeAlso to Koha:: RDF

classic Classic list List threaded Threaded
49 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

--- Comment #20 from Mirko Tietgen <[hidden email]> ---
(In reply to Marcel de Rooy from comment #18)

> No, that cant be true. I will reset the status.
> If another QAer can test on Stretch, he may recommend to add the higher
> version to the Koha repo.

Stretch is not required to test this. The dependency is in the unstable
repository and works with Jessie. I suppose it is just not declared in the
patch?

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

--- Comment #21 from Mirko Tietgen <[hidden email]> ---
From this[1] comment by David on bug 10662 I take we need 1.018 anyway and the
version in Stretch is not enough for all enhancements.

It should pass the test for this patch, but we require a higher version for the
harvesting client.

David, can you confirm that is correct?

[1] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10662#c128

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

--- Comment #22 from David Cook <[hidden email]> ---
(In reply to Mirko Tietgen from comment #21)
> From this[1] comment by David on bug 10662 I take we need 1.018 anyway and
> the version in Stretch is not enough for all enhancements.
>
> It should pass the test for this patch, but we require a higher version for
> the harvesting client.
>
> David, can you confirm that is correct?
>
> [1] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10662#c128

It seems like the dependency isn't specified anywhere here. I think maybe I
just did that for bug #10662?

For bug #18713, version 1.015 should be enough (now that I've reviewed the
versions more thoroughly again).

However, for bug #10662, we'll need version 1.017 or 1.018, since that bug does
bulk SPARQL operations and older versions like 1.015 don't work for that.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

--- Comment #23 from David Cook <[hidden email]> ---
Or maybe I added the dependency to #18585 ...

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

--- Comment #24 from Mirko Tietgen <[hidden email]> ---
(In reply to David Cook from comment #23)
> Or maybe I added the dependency to #18585 ...

I'd say you either could set this bug to 'depends on' one of the bugs that have
the dependency declared, or you also add it for this one.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

David Cook <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |18585


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18585
[Bug 18585] Connect to RDF triplestore
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

--- Comment #25 from David Cook <[hidden email]> ---
(In reply to Mirko Tietgen from comment #24)
> (In reply to David Cook from comment #23)
> > Or maybe I added the dependency to #18585 ...
>
> I'd say you either could set this bug to 'depends on' one of the bugs that
> have the dependency declared, or you also add it for this one.

Done :)

Guess I better update #18585 now then..

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713
Bug 18713 depends on bug 18586, which changed state.

Bug 18586 Summary: Create module to mint RDF subject URIs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18586

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Pushed to Master            |RESOLVED
         Resolution|---                         |FIXED

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

--- Comment #26 from David Cook <[hidden email]> ---
After gaining more experience with RDF and triplestores, I'm not really happy
with this one anymore.

This functionality should probably be moved into a Koha::RDF::Triplestore
module, as it's very triplestore specific... or maybe Koha::RDF::Model... since
you could use other non-triplestore models.

But there's other things that can be done in Koha::RDF that don't need to
relate to models/triplestores...

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

--- Comment #27 from David Cook <[hidden email]> ---
This one still seems to apply on master.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

David Cook <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |21359


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21359
[Bug 21359] Add RDF support to OAI-PMH harvester
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

David Cook <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|10662                       |


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10662
[Bug 10662] Build OAI-PMH Harvesting Client
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

Katrin Fischer <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |BLOCKED

--- Comment #28 from Katrin Fischer <[hidden email]> ---
Depends on a bug waiting for signoff. Moving to BLOCKED.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

Josef Moravec <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|BLOCKED                     |Signed Off

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

Josef Moravec <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #69633|0                           |1
        is obsolete|                            |

--- Comment #29 from Josef Moravec <[hidden email]> ---
Created attachment 83612
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83612&action=edit
Bug 18713: Add support for named graphs and rfds:seeAlso to Koha::RDF

This patch adds methods to Koha::RDF that creates or deletes a named
graph by removing/adding RDF quads from/to a triplestore.

This patch also can create a rdfs:seeAlso relationship between
two RDF entities.

This patch includes unit tests for both of these changes.

_TEST PLAN_
1) Run "prove t/Koha/RDF.t"
2) Note that all tests have run successfully.

Signed-off-by: Josef Moravec <[hidden email]>

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

--- Comment #30 from Josef Moravec <[hidden email]> ---
Rebased on top of signed off patches from bug 18585 and set back to signed off.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

--- Comment #31 from David Cook <[hidden email]> ---
For what it's worth, I'm no longer convinced what I have here is the best way
forward, but I suppose it's better than nothing.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

Katrin Fischer <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Needs Signoff
                 CC|                            |[hidden email]

--- Comment #32 from Katrin Fischer <[hidden email]> ---
(In reply to David Cook from comment #26)
> After gaining more experience with RDF and triplestores, I'm not really
> happy with this one anymore.
>
> This functionality should probably be moved into a Koha::RDF::Triplestore
> module, as it's very triplestore specific... or maybe Koha::RDF::Model...
> since you could use other non-triplestore models.
>
> But there's other things that can be done in Koha::RDF that don't need to
> relate to models/triplestores...

>For what it's worth, I'm no longer convinced what I have here is the best way >forward, but I suppose it's better than nothing.

Those comments make me doubt that we should put more work into this. I'd really
like to get more opinions on this. I am asking for a second sign-off, also to
widen the audience on this bug beyond the QA team.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 18713] Add support for named graphs and rfds:seeAlso to Koha::RDF

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18713

--- Comment #33 from David Cook <[hidden email]> ---
(In reply to Katrin Fischer from comment #32)
> Those comments make me doubt that we should put more work into this. I'd
> really like to get more opinions on this. I am asking for a second sign-off,
> also to widen the audience on this bug beyond the QA team.

As the author of the patch, I'd say it's probably worth pausing for the time
being.

I think our next priority should be changing biblio_metadata.marcflavour to
something like biblio_metadata.schema (Tomas and I have talked about this
before).

Then the next step would be to store RDFXML in biblio_metadata.metadata with a
biblio_metadata.format of "rdfxml" and a schema like "BIBFRAME".

The next logical step would probably be to generate RDF from MARC, so that 1
"bibliographic record" can have 2 different metadata records.

After that, we could focus on allowing Koha to use RDF (or any non-MARC
metadata really). Practically, this might mean introducing a Koha intermediate
metadata format which maps to/from other metadata formats.

--

RDF itself isn't necessarily that hard to work with. RDFXML is awful to look at
in comparison to Turtle or N3, but it's machine readable and easy enough to
work at after it's parsed into triples in Perl.

However, "Linked Data" is difficult. When RDF objects are links to external
objects, things get tricky. However, I have yet to find a RDF system that
handles perfectly Linked Data.

Fedora Commons 4.x uses RDF natively but it doesn't have any "Linked Data"
handling. You can have an external URI as an object, but it won't do anything
special. That'll be up to the application one level higher from Fedora. (I
haven't worked with Samvera or Hydra or Fez or anything like that.)

IIIF is a RDF metadata schema that mostly embeds literal values although some
objects can be resolvable URIs. I don't think anyone does that in practice
though.

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
12