Closed eroux closed 3 years ago
(note that when there are 3 digits, a 0 should be added on the left of the query (years always have 4 digits in xml for some reason)
seems to be workign fine! http://library-dev.bdrc.io/search?date=%221747%22&t=Person&pg=1&f=relation,inc,bdo:PersonBirth
(had to use ldspdi
not ldspdi-dev
to make it work here though)
Very cool, thanks a lot!! There's an issue where the BDRC and TOL records of the same person are presented as different, but it's probably in the data or SPARQL query, I'll take a look tomorrow
well, here the results from the query look correct actually... @berger-n any idea why they are not merged? The merging seems to work just fine for the search on name for instance
also, let's slightly refine the search bar:
everything's fine now: http://library-dev.bdrc.io/search?date=%221747%22&t=Person&pg=1&f=relation,inc,bdo:PersonBirth putting date (if <2100) first
Wonderful, thanks a lot! Let's put that in prod
having a closer looker at http://purl.bdrc.io/lib/datePersons?GY_RES=1892&format=json some events data seem to be missing (like https://purl.bdrc.io/resource/EVFE776E25CE86AF85.ttl regarding death for https://library.bdrc.io/show/bdr:P258) resulting in birth/death date not displayed on https://library.bdrc.io/search?date=%221892%22&t=Person&pg=1&f=relation,inc,bdo:PersonDeath
Great, thanks a lot! I'll look at the data and query, I noticed that in the general query about persons too
so, the story is that some events don't reach the results because of the limit of 500 triples we put in the SPARQL query results. I've changed the query a bit so that it sends less useless triples. The dates for this query are back so that's good, but I suspect that for some queries with a bigger number of results we will still encounter the same issue. I think we allow some queries to have a much bigger amount of results, I'm wondering if we pass these queries the ?I_LIM=xxx
argument in the JavaScript code?
I've added I_LIM=700
to data/id queries
one minor bug to fix here:
fixed: https://library.bdrc.io/
great, thanks!
When the user types 3 or 4 digits (and only that) in the search box, a new option "date" should be available. It uses the same system as other types of queries, there's a type count, and the per-entity requests for instance works associated with 1747