?issue

12 views
Skip to first unread message

Bohms, H.M. (Michel)

unread,
Sep 9, 2019, 8:56:35 AM9/9/19
to topbrai...@googlegroups.com

Tbc is not showing type of LoadLevel in:

 

# baseURI: https://w3id.org/def/example4

# imports: http://www.w3.org/2004/02/skos/core

# imports: http://www.w3.org/ns/shacl#

# imports: https://w3id.org/def/basicsemantics-owl

# prefix: ex4

 

@prefix bs: <https://w3id.org/def/basicsemantics-owl#> .

@prefix cdt: <https://w3id.org/def/simple_custom_datatypes#> .

@prefix ex4: <https://w3id.org/def/example3#> .

@prefix owl: <http://www.w3.org/2002/07/owl#> .

@prefix quantitykind: <http://qudt.org/2.0/vocab/quantitykind/base#> .

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

@prefix sh: <http://www.w3.org/ns/shacl#> .

@prefix skos: <http://www.w3.org/2004/02/skos/core#> .

@prefix unit: <http://qudt.org/2.0/vocab/unit/space-and-time#> .

@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

 

<https://w3id.org/def/example4>

  a owl:Ontology ;

  owl:imports <http://www.w3.org/2004/02/skos/core> ;

  owl:imports sh: ;

  owl:imports <https://w3id.org/def/basicsemantics-owl> ;

.

ex4:Vehicle

  rdf:type owl:Class ;

  rdfs:subClassOf bs:PhysicalObject ;

.

ex4:Vehicle_1

  rdf:type ex4:Vehicle ;

  bs:hasProperty ex4:LoadLevel_1 ;

.

ex4:LoadLevelType

  rdf:type owl:Class ;

  rdfs:subClassOf owl:Thing ;

  owl:oneOf (

      ex4:Light

      ex4:Normal

      ex4:Heavy

    ) ;

.

ex4:Light

  rdf:type ex4:LoadLevelType ;

.

ex4:Normal

  rdf:type ex4:LoadLevelType ;

.

ex4:Heavy

  rdf:type ex4:LoadLevelType ;

.

ex4:LoadLevel

  rdf:type owl:Class ;

  rdfs:subClassOf bs:TopRelation ;

  rdfs:subClassOf [

      rdf:type owl:Restriction ;

      owl:hasValue ex4:LoadLevelType ;

      owl:onProperty bs:hasRangeClass ;

    ] ;

.

ex4:LoadLevel_1

  rdf:type ex4:Loadlevel ;

  bs:hasReference ex4:Heavy;

.

 

 

 

 

 

 

 

Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist

+31888663107
+31630381220
michel...@tno.nl

Location

 

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.

 

 

 

 

dprice

unread,
Sep 9, 2019, 9:22:00 AM9/9/19
to topbrai...@googlegroups.com
Hi Michel,

You’ve spelled it wrong in the instance LoadLevel vs. Loadlevel so  rdf:type ex4:Loadlevel is pointing to something that is not defined.

Not making data by hand editing text, which seems the likely underlying issue, will improve your changes of it being error-free.

Use Model, Find all locally defined resources in the future to find this kind of error.

Cheers,
David

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/6a33ef368ece42c6ac5989acbc476f2b%40tno.nl.


Bohms, H.M. (Michel)

unread,
Sep 9, 2019, 10:03:02 AM9/9/19
to topbrai...@googlegroups.com

Part of the issue indeed:

 

But: I have no error loading and when doubleclicking LoadLevel on the left, it does not appear in the middle..

 

  rdf:type ex4:LoadLevel ;

  bs:hasReference ex4:Heavy;

.

 

 

 

Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist

+31888663107
+31630381220
michel...@tno.nl

Location

 

basicsemantics-owl.ttl

dprice

unread,
Sep 9, 2019, 2:41:42 PM9/9/19
to topbrai...@googlegroups.com
Composer does not report an error because items in a schema are not 100% defined. It’s an editing tool so allows schemas to be incomplete.

LoadLevel double-click works for me, and I don’t even have the bs: schema.



Maybe something wrong with bs: getting in the way?

Cheers,
David


On 9 Sep 2019, at 15:02, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:

Part of the issue indeed:
 
But: I have no error loading and when doubleclicking LoadLevel on the left, it does not appear in the middle..
 
<image001.jpg>
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/f9fad829c9ab4eaf9a48385350e16a28%40tno.nl.
<basicsemantics-owl.ttl>

Bohms, H.M. (Michel)

unread,
Sep 10, 2019, 3:00:54 AM9/10/19
to topbrai...@googlegroups.com

Restart op tbc solved the issue..guess system was unstable because of earlier mistakes (yes, true, by manual editing...)

Thx David, Michel

 

 

 

 

 

Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist

+31888663107
+31630381220
michel...@tno.nl

Location

 

Reply all
Reply to author
Forward
0 new messages