>From the information provided I don't see anything wrong. But there may be >other steps in your script. For example, you may change other resources that >are not correctly typed and thus the sh:class constraint fails.
Could you paste the whole script? Holger > On 18 Nov 2024, at 11:07 AM, 'Luis Enrique Ramos García' via TopBraid Suite > Users <topbraid-users@googlegroups.com> wrote: > > Dear All, > > I am receiving this error message in the execution of an script: > > Value must be an instance of skos:Concept > > Value: http:sampleuri.com/id <http://sampleuri.com/id> > Suggestion: Set type of http:sampleuri.com/id <http://sampleuri.com/id> to > Concept > > However, in the output of statements I get: > > <http:sampleuri.com/id <http://sampleuri.com/id>> > a skos:Concept ; > skos:broader <http:sampleuri.com/anotherid > <http://sampleuri.com/anotherid>> ; > > Where I can see that http:sampleuri.com/id <http://sampleuri.com/id> is a > skos:Concept, > > thus I wonder why I am recieving this message?. > > this is the part of the script I use to create the concepts: > > > let concept = skos.createConcept({ > uri: 'http:sampleuri.com/ <http://sampleuri.com/>'+ row['id'], > notation: row.id <http://row.id/> > }) > > Best regards > > > Luis Ramos > > > > -- > The topics of this mailing list include TopBraid EDG and related technologies > such as SHACL. > To post to this group, send email to topbraid-users@googlegroups.com > --- > 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 visit > https://groups.google.com/d/msgid/topbraid-users/CABy94XnQXBo2R-sO3m0GeNpwRt%3DAGOYvnKV7g3ADP0yT0YNDBw%40mail.gmail.com > > <https://groups.google.com/d/msgid/topbraid-users/CABy94XnQXBo2R-sO3m0GeNpwRt%3DAGOYvnKV7g3ADP0yT0YNDBw%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- The topics of this mailing list include TopBraid EDG and related technologies such as SHACL. To post to this group, send email to topbraid-users@googlegroups.com --- 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 visit https://groups.google.com/d/msgid/topbraid-users/D7B7795B-7520-4873-849B-DB56665B02F1%40topquadrant.com.