rufuspollock-okfn/bibserver

Do AJAX call from bnb to pdcalc

Closed this issue · 4 comments

re. ticket #185 - write an AJAX call from a BNB record page to pdcalc and display the result.

Just to say, I think we should just do this generally for collections as an option. I think there is a more general bit of planning to do around pdcalc (sorry if i missed it!).

pdcalc was discussed yesterday, etienne is handling in the related ticket. This first AJAX is proof of concept to show the PD of a record from the pdcalc. After that I can attach the AJAX generally.

pdcalc API is up and running, but unfortunately although the idea is great and the reasoner / legal mappings are good, without author death date it is impossible to get a useful answer out. So this is being dropped from bibserver work.

@markmacgillivray this is why we want to start using New General Catalog of Books and Authors dataset (also now in bibsoup group: http://thedatahub.org/group/bibsoup). I also note that the calculators should use publication dates where relevant (if pub date is 1830 we can be pretty sure author is dead for more than 70 years!)

This is the best (open) source of author death dates I know of and the dataset I used when doing my research on the Public Domain. Extensive scripts for processing this format can be found in original pdw repo:

https://bitbucket.org/okfn/pdw/src/tip/pdw/getdata

(See ngcoba files ...)

Also a secondary point: it might really be worth you, Etienne and I having a chat on this as I was the author of most of the original PD Calculator stuff and did a whole research project on it ;-)

I note, for example, that it was always the case (and something I went on to Tatiana about) that a pure PD Calculator is fairly useless without additional data (and in fact gets more useful the more precise it is because it needs more and more info). Thus, I had suggest 2 levels of pdcalculator (we really should rename!):

  • Pure legal version (what we have now)
  • Version that incorporated data (or, conversely, had good data to put into it). In this version the calculator would attempt to call out to a data source service when missing relevant info. So if you gave it, say, "Charles Dickens, Christmas Carol" it would look this up in, say, Bibliographica (now Bibsoup) pick the most likely match and give a result. NB: this could involve getting to the "Work" / "Manifestation" distinction as you want the publication date (creation date) of first version not that of later versions.