Skip to content

Commit

Permalink
move filter to optional
Browse files Browse the repository at this point in the history
  • Loading branch information
white-gecko committed Jun 27, 2023
1 parent 93c542d commit eb4129f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ical/scripts/gen_ical.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ def iri_to_file(self, iri, suffix=None):
dct:title ?dcttitle_ .
optional {
?event skos:prefLabel ?prefLabel_ .
filter(langMatches(lang(?prefLabel_), "en"))
}
?loc dct:title ?location_ .
filter(langMatches(lang(?dcttitle_), "en"))
filter(langMatches(lang(?prefLabel_), "en"))
filter(langMatches(lang(?location_), "en"))
bind (coalesce(?prefLabel_, ?dcttitle_) as ?title_)
optional {
Expand Down

0 comments on commit eb4129f

Please sign in to comment.