property shape type

9 views
Skip to first unread message

Bohms, H.M. (Michel)

unread,
Dec 12, 2017, 4:16:25 PM12/12/17
to topbrai...@googlegroups.com

When creating a shape in 5.4.2

      rdf:type sh:PropertyShape ;

is still not generated with the widget:

 

  sh:property [

      rdf:type sh:PropertyShape ;

      sh:path kebo:location ;

      sh:datatype xsd:string ;

      sh:group kebo:AttributesAndRelationships ;

      sh:name "location" ;

      sh:order "2"^^xsd:decimal ;

    ] ;

  sh:property [

      sh:path kebo:leadsToRiskType ;

      sh:class kebo:RiskType ;

      sh:maxCount 1 ;

      sh:minCount 1 ;

      sh:name "leads to risk type" ;

      sh:nodeKind sh:IRI ;

    ] ;

.

 

Second one was added.

 

Was this somehow intentional? Thought this would be fixed in this version?

 

Thx Michel

 

 

 

 

 

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

+31888663107
+31630381220
michel...@tno.nl

Location

 

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.

 

 

 

 

Irene Polikoff

unread,
Dec 12, 2017, 7:23:29 PM12/12/17
to topbrai...@googlegroups.com
Michel,

I am not clear on what your problem is.

Have you created a property shape and it didn't show up somehow?

As an aside, our recommendation is to use URIs for the property shapes. This way they have a unique and persistent identity. 

If you create a property shape in TBC by selecting "Create property constraint..." option from the menu next to the sh:property field, you can follow this step with selecting an option "Convert to URI node" next to the newly created shape.

Inline image 1

Inline image 2

TopBraid EDG/EVN will automatically create a URI for a new property shape - unless you check the "not extensible outside of this vocabulary" box.

Inline image 3

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bohms, H.M. (Michel)

unread,
Dec 13, 2017, 3:18:59 AM12/13/17
to topbrai...@googlegroups.com

Dear Irene

 

Sorry for being unclear. Ill retry.

 

When using the widget Create property constraint one triple is not generated:

  sh:property [

      rdf:type sh:PropertyShape ;

This was discussed also in an earlier thread with Holger who confirmed and advised to add these triples manually for the moment.*

 

If this typing is not added you get problems in EVN later as I remember. (in tbc the shape stays shaded also):

(the bottom/blue one just added having no type)

 

Hope this helps,

Michel

 

 

 

* on 20-11-2017:

The display is currently "normal", but the details of the sh:property shape would only show up if the blank node had rdf:type sh:PropertyShape. I'll look into making this more flexible. Meanwhile, please add these triples yourself.

Holger

--

To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.


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 topbraid-user...@googlegroups.com.

Holger Knublauch

unread,
Dec 25, 2017, 4:53:05 PM12/25/17
to topbrai...@googlegroups.com


On 13/12/2017 7:16, Bohms, H.M. (Michel) wrote:

When creating a shape in 5.4.2

      rdf:type sh:PropertyShape ;

is still not generated with the widget:

 

  sh:property [

      rdf:type sh:PropertyShape ;

      sh:path kebo:location ;

      sh:datatype xsd:string ;

      sh:group kebo:AttributesAndRelationships ;

      sh:name "location" ;

      sh:order "2"^^xsd:decimal ;

    ] ;

  sh:property [

      sh:path kebo:leadsToRiskType ;

      sh:class kebo:RiskType ;

      sh:maxCount 1 ;

      sh:minCount 1 ;

      sh:name "leads to risk type" ;

      sh:nodeKind sh:IRI ;

    ] ;

.

 

Second one was added.

 

Was this somehow intentional? Thought this would be fixed in this version?


The change to add rdf:type triples in the TBC Create property constraint dialog was applied for 5.5.0, not 5.4.x

Holger


 

Thx Michel

 

 

 

 

 

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

+31888663107
+31630381220
michel...@tno.nl

Location

 

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.


 

 

 

 

--

Bohms, H.M. (Michel)

unread,
Dec 26, 2017, 5:27:00 AM12/26/17
to topbrai...@googlegroups.com
Yes sorry i was too impatient ...

Verzonden van mijn Android-telefoon via TouchDown (www.symantec.com)
Reply all
Reply to author
Forward
0 new messages