The NIS end date can be used as a SPARQL filter instead of filtering in R, see https://w.wiki/CxAW (thanks @seppe for the suggestion)