Skip to content

Commit fa752a3

Browse files
add comment to cast
1 parent dfd2679 commit fa752a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/rdf/query-unit-labels.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const buildUnitsQuery = (values: Term[], locale: string) => {
3333
BIND(str(coalesce(str(?symbol), str(?ucumCode), str(?expression), str(?rdfsLabel), "?")) AS ?l)
3434
3535
FILTER ( lang(?rdfsLabel) = "${locale}" || lang(?rdfsLabel) = "en" || datatype(?rdfsLabel) = ${ns.xsd.string} )
36+
# this cast is a workaround for git issue 2525
3637
BIND(xsd:string(?l) AS ?label)
3738
`.prologue`${pragmas}`;
3839
};

0 commit comments

Comments
 (0)