Dear Irene

I fixed my file by taking the sh:declare’ s out of the ontology clause.

A partner of us noted that there are two styles of declarations:

1. acc. to shacl
Here the example with sh:declare shows that you can declare prefixes inside the 
ontology instance
https://www.w3.org/TR/shacl/#sparql-prefixes

several prefixes are collected under the ontology clause.

This one seems not to work in TBC.

2. acc. to shacl-af
but in Advanced features an example with the sh:declare is outside the ontology 
instance.
https://www.w3.org/TR/shacl-af/#SPARQLTarget

This one DOES work in TBC.

Here every prefix has its own declaration.

Maybe you can indicate why there are two different ways and why the shacl-way 
does not work?

Thx a lot,
Michel




Dr. ir. H.M. (Michel) Bohms
Scientist Specialist
Structural Reliability

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E michel.bo...@tno.nl<mailto:michel.bo...@tno.nl>

Location<http://www.tno.nl/locations/DTS>



[cid:image001.gif@01D7B3DB.12BEC1A0]<http://www.tno.nl/>

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.




From: topbraid-users@googlegroups.com <topbraid-users@googlegroups.com> On 
Behalf Of Irene Polikoff
Sent: Sunday, September 26, 2021 2:28 AM
To: topbraid-users@googlegroups.com
Subject: Re: [topbraid-users] malformed shacl

Hi Michel,

If you think your problem is due to some issue with prefixes, a quick 
workaround is to replace the QNames in the query with full URIs in <>.

I know that you sent a number of other e-mails to this list about your prefixes 
problems. I am quite certain that they are not about bugs in our tool, but are 
either a result of user error or some issues with the files you are using.

Investigating what is happening with your example would require me to get your 
files and try to reproduce what you were doing. Unfortunately, we do not have 
time and resources to provide this kind of involved assistance free of charge.

Many of our users have technical expertise to resolve such issues themselves 
and only need some general tips and hints that this list is designed to offer. 
When this is not the case (or for projects that may be too complicated to do 
without more intense interaction and mentoring from TopQuadrant), we can 
provide help off the mailing list through a contracted professional services 
project.

Regards,

Irene


On Sep 24, 2021, at 3:16 PM, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
<topbraid-users@googlegroups.com<mailto:topbraid-users@googlegroups.com>> wrote:

Took out the prefixes there, and added 3x declare in beginning, still:

<image003.png>



Dr. ir. H.M. (Michel) Bohms
Scientist Specialist
Structural Reliability

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E michel.bo...@tno.nl<mailto:michel.bo...@tno.nl>

Location<http://www.tno.nl/locations/DTS>



<image004.gif><http://www.tno.nl/>

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.




From: 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
<topbraid-users@googlegroups.com<mailto:topbraid-users@googlegroups.com>>
Sent: Friday, September 24, 2021 8:56 PM
To: topbraid-users@googlegroups.com<mailto:topbraid-users@googlegroups.com>
Subject: [topbraid-users] malformed shacl

Hi David, Irene

Tbc says maformed shacl for:

<image005.png>
Any tip welcome, thx Michel



Dr. ir. H.M. (Michel) Bohms
Scientist Specialist
Structural Reliability

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E michel.bo...@tno.nl<mailto:michel.bo...@tno.nl>

Location<http://www.tno.nl/locations/DTS>



<image004.gif><http://www.tno.nl/>

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-users+unsubscr...@googlegroups.com<mailto:topbraid-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/6a93f92fda784aaf98b0bc4773ce7e71%40tno.nl<https://groups.google.com/d/msgid/topbraid-users/6a93f92fda784aaf98b0bc4773ce7e71%40tno.nl?utm_medium=email&utm_source=footer>.

--
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-users+unsubscr...@googlegroups.com<mailto:topbraid-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/0ffc2a35a5414b63993ea69ed18b1e13%40tno.nl<https://groups.google.com/d/msgid/topbraid-users/0ffc2a35a5414b63993ea69ed18b1e13%40tno.nl?utm_medium=email&utm_source=footer>.

--
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-users+unsubscr...@googlegroups.com<mailto:topbraid-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/8DA4CD5F-BA0A-44C6-96D7-57AA83A6CB32%40topquadrant.com<https://groups.google.com/d/msgid/topbraid-users/8DA4CD5F-BA0A-44C6-96D7-57AA83A6CB32%40topquadrant.com?utm_medium=email&utm_source=footer>.

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/20becbedbadf419e8f7350d99d4a24d0%40tno.nl.

Reply via email to