This approach works when creating forms (as far as I have tested it), but results in an error like "couldn't resolve sh:or for value" when trying to bind to an existing graph. The error message refers to the object of the triple ( eg. <http://example.com/external_uri> for ex:example mdto:hasPart <http://example.com/external_uri> .).
This is indeed in line with the documentation on how sh:or is resolved but perhaps for constructs like exemplified here, it could resolve to the sh:IRI as a fallback?
A shape contains a construct like:
This approach works when creating forms (as far as I have tested it), but results in an error like "couldn't resolve sh:or for value" when trying to bind to an existing graph. The error message refers to the object of the triple ( eg.
<http://example.com/external_uri>
forex:example mdto:hasPart <http://example.com/external_uri> .
).This is indeed in line with the documentation on how
sh:or
is resolved but perhaps for constructs like exemplified here, it could resolve to thesh:IRI
as a fallback?