Is it possible that a classname starts with a number?
“2L-14”
(I experienced an issue in TBC)
|
||||||||||||||||
On 10 Feb 2021, at 10:16, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> 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
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-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/15b453a21f0449378912b26d837380ba%40tno.nl.
Van: topbrai...@googlegroups.com <topbrai...@googlegroups.com>
Namens David Price
Verzonden: woensdag 10 februari 2021 13:29
Aan: topbrai...@googlegroups.com
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:

So the name space (“wn”) disappears…
Cheers,
David
On 10 Feb 2021, at 10:16, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> 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 ReliabilityT +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E michel...@tno.nlThis 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-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/15b453a21f0449378912b26d837380ba%40tno.nl.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/D745D8CE-37D2-4C6D-B5B3-F3DDCD11E9B2%40topquadrant.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/8afe3731a37c4eea81e0bd5a7f2fc022%40tno.nl.
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
|
|
|
| ||||||||
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/DB368A67-8958-4C1E-BFD2-C378BE795874%40topquadrant.com.
On 10 Feb 2021, at 14:09, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:It is not just an interface issueAlso in the file after save it gives:a owl:Class ;rdfs:subClassOf wn:TL-PA ;.Instead of:wn::1L-ZOAB-dla 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
<image003.png>
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/736f196779f24fe0a83429bf0bf01196%40tno.nl.