Together with our partner, BIM-Connected, Miltos Gatzios, we tried to better formulate the actual issue we see with sh:declare.
Issue 1 (not tbc issue, but general shacl issue)
Metalanguage (https://www.w3.org/ns/shacl.ttl):
sh:declare
a rdf:Property ;
rdfs:label "declare"@en ;
rdfs:comment "Links a resource with its namespace prefix declarations."@en ;
rdfs:domain owl:Ontology ;
rdfs:range sh:PrefixDeclaration ;
rdfs:isDefinedBy sh: .
Specification (Shapes Constraint Language (SHACL) (w3.org)):
“ The
recommended subject for
values of sh:declare is the IRI of the named graph
containing the shapes that use the prefixes. These IRIs are often declared as an instance of owl:Ontology,
but this is not required.”
So the spec is flexible but the metalanguage makes a choice that it actually IS the named graph using the prefixes AND that it IS at an instance of owl:Ontology.
Issue 2 (the actual tbc/edg issue)
The implementation in tbc/edg seems to use the more strict way as recommended (we assume since that sh name space is used).
But that one seems not to work while the flexible way DOES seem to work …
Greetings, Michel
Ps
Attached the file where the shacl-rule does work (but we think now all prefixes become of type owl:Ontology…)
In case the declare’s are all attached to sainput: (the graph/ontology-prefix), the rule does not result in results.
|
||||||||||||||||
This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/fd20239d403743a8a9aa80d4e96828ef%40tno.nl.
<sainput.ttl>
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/B62F7DC9-15DC-4F01-B91D-2D569505A82C%40topquadrant.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/3e3294b8-6744-41b9-8586-fc9c2ee04548%40email.android.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/F145FDE5-1D3D-4304-BB3E-132D9BC37F19%40topquadrant.com.