The dialog first requires selecting the node kind. This is done so that it can decide whether to then activate the sh:class or sh:datatype widgets. If you then select sh:datatype, sh:nodeKind is redundant. But if you chose either sh:IRI or sh:BlankNode then the sh:nodeKind is not redundant, and therefore preserved. If you have a sh:class then sh:BlankNodeOrIRI is redundant.

Holger


On 28/11/2017 9:24, Bohms, H.M. (Michel) wrote:

Yes that could be it

So if I select a datatype first literal is implicit?

Same for class select first (then iri implicit or not because of choice here)?

        

Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist

        

T +31888663107
M +31630381220
E [email protected] <mailto:[email protected]>

        

Location <https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=%213m1%214b1%214m5%213m4%211s0x47c5b58c52869997:0x56681566be3b8c88%218m2%213d52.000788%214d4.376707>

<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:*[email protected] [mailto:[email protected]] *On Behalf Of *Holger Knublauch
*Sent:* Tuesday, November 28, 2017 12:21 AM
*To:* [email protected]
*Subject:* Re: [topbraid-users] RE: default nodeKind

There is no such code that would delete sh:nodeKind statements from files that you load. Maybe you went through the create property constraint dialog? That dialog does not produce a sh:nodeKind sh:Literal triple if you already have selected a specific sh:datatype - it would be redundant. Could this explain it?

Holger

On 28/11/2017 5:35, Bohms, H.M. (Michel) wrote:

    In a file not yet loaded into 5.4.1 I had:

    sh:property [

    rdf:type sh:PropertyShape ;

    sh:path stip:residualLife ;

    sh:datatype unit-st:YR ;

    sh:name "residualLife" ;

    sh:nodeKind sh:Literal ;

    ] ;

    So somehow the latest version deletes them……

        

    Dr. ir. H.M. (Michel) Böhms
    Senior Data Scientist


        

    T +31888663107
    M +31630381220
    E [email protected] <mailto:[email protected]>

        

    Location
    
<https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=%213m1%214b1%214m5%213m4%211s0x47c5b58c52869997:0x56681566be3b8c88%218m2%213d52.000788%214d4.376707>

    <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:*[email protected]
    <mailto:[email protected]>
    [mailto:[email protected]] *On Behalf Of *Bohms,
    H.M. (Michel)
    *Sent:* Monday, November 27, 2017 8:33 PM
    *To:* [email protected]
    <mailto:[email protected]>
    *Subject:* [topbraid-users] default nodeKind

    Hi Holger

    When I define nodeKindas literals in a NodeShape this is not
    stored. Is that because it is the default if not indicated (IRI IS
    stored).

    So eg:

    sh:property [

    rdf:type sh:PropertyShape ;

    sh:path kebo:applicationArea ;

    sh:datatype xsd:string ;

    sh:name "application area" ;

    ] ;

    sh:property [

    rdf:type sh:PropertyShape ;

    sh:path kebo:consistsOfElementType ;

    sh:class kebo:ElementType ;

    sh:name "consistsOfElementType" ;

    sh:nodeKind sh:IRI ;

    ] ;

    Thx Michel

        

    Dr. ir. H.M. (Michel) Böhms
    Senior Data Scientist

        

    T +31888663107
    M +31630381220
    E [email protected] <mailto:[email protected]>

        

    Location
    
<https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=%213m1%214b1%214m5%213m4%211s0x47c5b58c52869997:0x56681566be3b8c88%218m2%213d52.000788%214d4.376707>

    <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 [email protected]
    <mailto:[email protected]>.
    For more options, visit https://groups.google.com/d/optout.

-- 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 [email protected]
    <mailto:[email protected]>.
    For more options, visit https://groups.google.com/d/optout.

--
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 [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
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 [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to