Thx

One thing I do not understand…why ^rdf:type and not just rdf:type?

Assume I have object :o1 and classes :PO (PhysicalObject) and :SPO 
(SpecializedPhysicalObject) and IO (InformationObject)

So if “:o1 rdf:type :IO” I want t make sure its not of type PO or any recursive 
subclass of PO like SPO.

Isnt this then :

NOT
{

smls:InformationObject-invType
  a sh:PropertyShape ;
  sh:path (
      [
        sh:path rdf:type ;
      ]
      [
        sh:zeroOrMorePath rdfs:subClassOf ;
      ]
    ) ;
  sh:hasValue smls:InformationObject ;
}





Van: topbraid-users@googlegroups.com <topbraid-users@googlegroups.com> Namens 
Irene Polikoff
Verzonden: Tuesday, March 10, 2020 2:58 PM
Aan: topbraid-users@googlegroups.com
Onderwerp: Re: [topbraid-users] shacl-rep?

That in itself does not necessarily require SHACL SPARQL.

Instead, a complex path could be used - 
https://www.w3.org/TR/shacl/#property-path-zero-or-more.e.g., a path such as 
^rdf:type/rdfs:subClassOf*

smls:InformationObject-invType
  a sh:PropertyShape ;
  sh:path (
      [
        sh:inversePath rdf:type ;
      ]
      [
        sh:zeroOrMorePath rdfs:subClassOf ;
      ]
    ) ;
  sh:hasValue smls:InformationObject ;

Throw in sh:not for this particular case to say that a smls:PhysicalObject 
can’t conform to this. Also, sh:or to cover other classes.



On Mar 10, 2020, at 8:44 AM, David Price 
<dpr...@topquadrant.com<mailto:dpr...@topquadrant.com>> wrote:

The complication in the general case is that you cannot just look at 
rdf:type(s) of the individual, you have to search up the superclasses to check 
for the class stated in the owl:disjointWith statement.

--
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/E0526AA2-DCC7-4111-BC56-263F1C9A1856%40topquadrant.com<https://groups.google.com/d/msgid/topbraid-users/E0526AA2-DCC7-4111-BC56-263F1C9A1856%40topquadrant.com?utm_medium=email&utm_source=footer>.
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/95cd83fc695243bf8705d06e3dbce4c9%40tno.nl.

Reply via email to