On 6 Nov 2017, at 10:41, Bohms, H.M. (Michel) <michel.bo...@tno.nl> wrote:
> 
>  
> Suppose I want to say that a individual person hasExpertiseIn and then a 
> range being “rdfs:Class” but I want to add there : “a specific class or one 
> of its subclasses (recursively)”

Here, the object of the triple is a member of rdfs:Class (i.e. it’s treated as 
an instance). The subClassOf inference logic only becomes relevant for 
instances of that class and its subclasses, not that class itself and its 
subclasses. There is no inference at the class level that helps you say what 
you want to add formally so that it’s understood by a reasoner, for example.

>  
> Can I do that somehow using standards rdfs? (the range being the set of 
> classes starting at some root) Or should I revert to shacl/dash for this?

Don’t think SHACL has anything to help here either, but did not spend time 
searching.

What you can do is handle this in SPARQL. When you search for the 
hasExpertiseIn property and get a class just also return all of its subclasses 
too.

You can also just enumerate all the subclasses in triples <Person1> 
:hasExpertiseIn <class1>, <Person1> :hasExpertiseIn <subclass1>,  <Person1> 
:hasExpertiseIn <subclass2>, etc. in the data.

Cheers,
David

>  
> Thx Michel
>  
>  
> Dr. ir. H.M. (Michel) Böhms
> Senior Data Scientist
> 
> T +31888663107
> M +31630381220
> E michel.bo...@tno.nl <mailto:michel.bo...@tno.nl>    
> Location 
> <https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.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 topbraid-users+unsubscr...@googlegroups.com 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <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-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to