Don’t bother

PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

CONSTRUCT {?x rdfs:label ?z}
WHERE {
    ?x rdf:type ?y .
    ?y rdfs:subClassOf* owl:Thing .
LET (?z := smf:generateLabel (?x)).
}

Works perfect, thx






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=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707>



[cid:[email protected]]<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 Bohms, H.M. (Michel)
Sent: donderdag 2 november 2017 15:06
To: [email protected]
Subject: RE: [topbraid-users] swa default app issue

So:
CONSTRUCT {?x rdfs:label ?y}
WHERE {
    ?x rdf:type stip:Aannemer ;
LET (?y := smf:generateLabel (?x)).
}

Works perfectly but I have many leaf classes…

So I’dd like to do:

CONSTRUCT {?x rdfs:label ?y}
WHERE {
    ?x rdf:type owl:Thing ;
LET (?y := smf:generateLabel (?x)).
}

But I have to infere instances for owl:Thing first somehow…must be very simple 
I guess ….




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=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707>



[cid:[email protected]]<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: Bohms, H.M. (Michel)
Sent: donderdag 2 november 2017 14:56
To: '[email protected]' 
<[email protected]<mailto:[email protected]>>
Subject: RE: [topbraid-users] swa default app issue


Yes was think about that one but struggle how to address all instances say of 
type owl:Thing….
(in sparql view not yet available needing inference first) (?)





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=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707>



[cid:[email protected]]<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 Irene Polikoff
Sent: donderdag 2 november 2017 14:29
To: [email protected]<mailto:[email protected]>
Subject: Re: [topbraid-users] swa default app issue

smf:generateLabel?

On Nov 2, 2017, at 8:56 AM, Bohms, H.M. (Michel) 
<[email protected]<mailto:[email protected]>> wrote:

Can you advice a quick sparql construct to add labels based on names (for my 
existing stuff)?
Thx a lot!






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=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707>



<image001.gif><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 Holger Knublauch
Sent: woensdag 1 november 2017 23:14
To: [email protected]<mailto:[email protected]>
Subject: Re: [topbraid-users] swa default app issue

Thanks for the bug report - the new instances component was looking for 
rdfs:labels only. Fixed for the upcoming 5.4.1 patch release. Meanwhile, adding 
rdfs:labels to your classes should fix it with earlier 5.4 versions too.

Holger
On 1/11/2017 22:55, Bohms, H.M. (Michel) wrote:

Please note I had this problem in the latest 5.4 beta….(my TSM license stopped 
just a few days ago so I could not try it in the final 4.5 ☹; working on that….





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>



<image001.gif><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: Bohms, H.M. (Michel)
Sent: woensdag 1 november 2017 09:36
To: '[email protected]<mailto:[email protected]>' 
<[email protected]><mailto:[email protected]>
Subject: RE: [topbraid-users] swa default app issue

Hi Holger,

When I load att. ontology with 5.4, and then “Model/Open with SWA Default 
Application, I get:

<image002.jpg>

Where the individuals do not show up when I click the “Aannemer” subclass of 
Party.

Maybe another hint: when I click first time on the Party superclass I get:

<image003.jpg>

So the actual individuals are there but not by their name but by their subclass 
 (of Party) type. Which is I think also not intended (?).

(when I click later on superclass, after I had the problem with the subclass, I 
also have the same problem with the superclass…ie no instances showing at all).

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>



<image001.gif><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 Holger Knublauch
Sent: dinsdag 31 oktober 2017 22:34
To: [email protected]<mailto:[email protected]>
Subject: Re: [topbraid-users] swa default app issue

Hi Michel,

if I launch the default app via Model > Open with SWA Default Application, I 
can see the instances showing up. However, the instances gadget has changed and 
is a bit in an intermediate stage in 5.4.0. We are still working on improving 
the use of space. This is what I see with kennedys:

<image004.png>

If you see something completely different, please send a screenshot along.

Holger
On 31/10/2017 18:44, Bohms, H.M. (Michel) wrote:
Hi Holger,

In tbl, my instances are not showing up. Can you reproduce that?

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>



<image001.gif><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]<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