It is not just an interface issue

Also in the file after save it gives:

<https://w3id.org/def//wegennetwerk#1L-ZOAB-dl>
  a owl:Class ;
  rdfs:subClassOf wn:TL-PA ;
.

Instead of:

wn::1L-ZOAB-dl
  a owl:Class ;
  rdfs:subClassOf wn:TL-PA ;
.

So if the spec allows I would just see it as an TBC issue that could be fixed….

michel



Dr. ir. H.M. (Michel) Bohms
Scientist Specialist
Structural Reliability

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E [email protected]<mailto:[email protected]>

Location<http://www.tno.nl/locations/DTS>



[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.




Van: [email protected] <[email protected]> Namens 
David Price
Verzonden: woensdag 10 februari 2021 14:54
Aan: [email protected]
Onderwerp: Re: [topbraid-users] class name?




On 10 Feb 2021, at 13:34, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
<[email protected]<mailto:[email protected]>> wrote:


Van: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> 
Namens David Price
Verzonden: woensdag 10 februari 2021 13:29
Aan: [email protected]<mailto:[email protected]>
Onderwerp: Re: [topbraid-users] class name?

I assume by “class name” you mean the local name part of the URI following the 
hash or final slash. If not, then ask again and be more clear.

>    yes

If I remember correctly, there is or was some issue with the local name part of 
a URI starting with a number wrt being 100% valid following the underlying 
standards for such things (and I mean down int the lower level standards, not 
in SHACL or OWL/RDFS).

>    I assume its an rdf-level issue indeed

I do remember odd/occasional cases where the maybe the encoding into TTL or 
viewing in the UI didn’t correctly use prefixes. If it’s a concern, what I’ve 
done in the past was always have the URI-building-function include something 
for the local name that like “ID_” + <integer> to make sure and avoid those 
cases.

That said, I’ve also worked on projects using TBC and EDG where numbers were 
used and everything important works. In fact, in some projects the whole local 
name was an integer cast into a string for use in building the URI.

So, “2L-14” should be fine even if you occasionally see something a bit odd in 
a TBC UI, etc.

>    The actual issue I have now:

wn:TL-ZOAB-dl
  rdf:type owl:Class ;
  rdfs:subClassOf wn:TL-PA ;
.


Client wants:

wn:1L-ZOAB-dl
  rdf:type owl:Class ;
  rdfs:subClassOf wn:TL-PA ;
.

(being a subclass of asphalt)

In TBC:
When I change to 2nd option I get:


[cid:[email protected]]

So the name space (“wn”) disappears…



Yes, as I mentioned I did remember this wrt TBC form and prefixes in this case. 
I cannot remember the underlying issue but as I said I think there was a time 
when these were not “valid” wrt some standard.

In any case, everything “works” as far as the semantics are concerned.  If that 
form is a problem for you/client, then I suggest using the “human label” UI 
mode (person icon next to Home icon) in Composer where it will show the 
rdfs:label instead of the local name of the URI. That means you also get the 
much cleaner looking use of spaces in the UI wrt class and property names.

FWIW Composer is an IDE intended for developers, and there is the human label 
view mode, so these corner cases are not something likely to ever be “fixed” in 
Composer.

Cheers,
David





On 10 Feb 2021, at 10:16, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
<[email protected]<mailto:[email protected]>> wrote:

Is it possible that a classname starts with a number?
“2L-14”

(I experienced an issue in TBC)



Dr. ir. H.M. (Michel) Bohms
Scientist Specialist
Structural Reliability

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E [email protected]<mailto:[email protected]>

Location<http://www.tno.nl/locations/DTS>



<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]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/15b453a21f0449378912b26d837380ba%40tno.nl<https://groups.google.com/d/msgid/topbraid-users/15b453a21f0449378912b26d837380ba%40tno.nl?utm_medium=email&utm_source=footer>.

UK +44 (0) 7788 561308
US +1 (336) 283-0808

--
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]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/D745D8CE-37D2-4C6D-B5B3-F3DDCD11E9B2%40topquadrant.com<https://groups.google.com/d/msgid/topbraid-users/D745D8CE-37D2-4C6D-B5B3-F3DDCD11E9B2%40topquadrant.com?utm_medium=email&utm_source=footer>.

--
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]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/8afe3731a37c4eea81e0bd5a7f2fc022%40tno.nl<https://groups.google.com/d/msgid/topbraid-users/8afe3731a37c4eea81e0bd5a7f2fc022%40tno.nl?utm_medium=email&utm_source=footer>.

UK +44 (0) 7788 561308
US +1 (336) 283-0808

--
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]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/DB368A67-8958-4C1E-BFD2-C378BE795874%40topquadrant.com<https://groups.google.com/d/msgid/topbraid-users/DB368A67-8958-4C1E-BFD2-C378BE795874%40topquadrant.com?utm_medium=email&utm_source=footer>.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/736f196779f24fe0a83429bf0bf01196%40tno.nl.

Reply via email to