diff --git a/src/PropertyDocumentMixin.js b/src/PropertyDocumentMixin.js index 71b6940..decb53a 100644 --- a/src/PropertyDocumentMixin.js +++ b/src/PropertyDocumentMixin.js @@ -121,6 +121,12 @@ const mxFunction = (base) => { if (this._hasType(range, rs.ScalarShape)) { return this._computeScalarDataType(range); } + if (this._hasProperty(range, this.ns.w3.shacl.xone)) { + return 'One of'; + } + if (this._hasProperty(range, this.ns.w3.shacl.or)) { + return 'Any of'; + } if (this._hasType(range, rs.UnionShape)) { return 'Union'; }