Skip to content

Commit

Permalink
Label intermediate/noncanonical types.
Browse files Browse the repository at this point in the history
A question mark was not informative enough.
  • Loading branch information
nsbgn committed May 17, 2022
1 parent 8145da3 commit 47ed25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transformation_algebra/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def add_expr(self, expr: Expr, root: Node,
datatype in self.language.taxonomy)):
type_str = str(datatype)
else:
type_str = "?"
type_str = f"? ({datatype})"

self.add((current, RDFS.label, Literal(
f"{self.ref()}{type_str} via {expr.operator.name}")))
Expand Down

0 comments on commit 47ed25d

Please sign in to comment.