Closed maelle closed 1 year ago
I have been trying a few things with that but can't seem to get anywhere. I haven't managed to use an argument .languages=NULL in spq_label which you implied you had implemented in Discord (and which is a possibility according to the documentation of spq_label).
The query:
spq_init() %>%
spq_add("?labo dcterms:identifier ?labo_id.") %>%
spq_label(labo, .required = TRUE,.languages=NULL) %>%
spq_filter(str_detect(labo_label,"EVS")) %>%
spq_head(10)
returns a similar error
Error in `purrr::map()` at glitter/R/spq_filter.R:22:2:
ℹ In index: 1.
Caused by error in `spq_translate_dsl()` at glitter/R/spq_filter.R:79:4:
! ✖ Can't find SPARQL equivalent for spq().
works.
Created on 2023-09-28 with reprex v2.0.2