inference question

43 views
Skip to first unread message

Bohms, H.M. (Michel)

unread,
Jun 11, 2020, 11:26:59 AM6/11/20
to topbrai...@googlegroups.com

Can I exp3ect from topspin based on:

 

 

 

To derive an instance of Wegdeel with the values mentioned?

 

Thx Michel

 

 

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,
Jun 11, 2020, 12:31:16 PM6/11/20
to topbrai...@googlegroups.com
On 11 Jun 2020, at 16:26, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:

Can I exp3ect from topspin based on:
 
image001.jpg
 
 
To derive an instance of Wegdeel with the values mentioned?

You can only be sure with a test, but I expect that is beyond OWL RL. I had a quick look at the RL profile and only see very simple equivalentClass axioms - see Table 7 in: 


Cheers,
David


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

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


Bohms, H.M. (Michel)

unread,
Jun 11, 2020, 2:04:15 PM6/11/20
to topbrai...@googlegroups.com
Looking at these rule types in RL i might try subclass of in one direction only starting at the intersection.....
Will experiment....
Thx

Op 11 jun. 2020 18:31 schreef dprice <dpr...@topquadrant.com>:

Bohms, H.M. (Michel)

unread,
Jun 12, 2020, 1:42:42 AM6/12/20
to topbrai...@googlegroups.com

Also the other way round is not successful (having an instance first for Wegdeel

But then I thought....owl:hasValue restriction can only be used on datatypeproperties, right?

 

I hoped that cls-int1 and cls-int2 would do the job.

 

So any idea on making this work (in owl) would be very helpful.

 

Otherwise I have to fall back on shacl (checking or inferencing).

 

Thx michel

 

 

 

 

 

 

 

 

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

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

Location

 

Bohms, H.M. (Michel)

unread,
Jun 12, 2020, 5:00:34 AM6/12/20
to topbrai...@googlegroups.com

Could we say:

 

Linking a class in one ontology to another class in another ontology with extra restrictions of the form that an objectProperty has a certain value, are beyond OWL-RL reasoning?

Do we need to go to shacl-af rule for that?

 

 

 

 

 

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.


Verzonden: Thursday, June 11, 2020 6:31 PM
Aan: topbrai...@googlegroups.com
Onderwerp: Re: [topbraid-users] inference question

Irene Polikoff

unread,
Jun 12, 2020, 7:54:24 AM6/12/20
to topbrai...@googlegroups.com
Presumably, if you are not getting the inferences, then no,  OWL RL does not support it.

However, you should read through OWL RL specification to fully confirm this. It very clearly identifies all inferences that are included.

The style of modeling in your example is very DL-like. But yes, if you need an inference as a result of it, then write a rule.

On Jun 12, 2020, at 5:00 AM, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:

Could we say:

 

Linking a class in one ontology to another class in another ontology with extra restrictions of the form that an objectProperty has a certain value, are beyond OWL-RL reasoning?

Do we need to go to shacl-af rule for that?

 

 

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.


Verzonden: Thursday, June 11, 2020 6:31 PM
Aan: topbrai...@googlegroups.com
Onderwerp: Re: [topbraid-users] inference question

On 11 Jun 2020, at 16:26, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:

 

Can I exp3ect from topspin based on:

 

<image003.jpg>

Bohms, H.M. (Michel)

unread,
Jun 13, 2020, 5:08:30 AM6/13/20
to topbrai...@googlegroups.com

Hi David

 

In 6.3 (OWL-RL grammer) I also found:

 

equivClassExpression :=
    
Class other than owl:Thing |
    
equivObjectIntersectionOf |
    
ObjectHasValue |
    
DataHasValue

equivObjectIntersectionOf := 'ObjectIntersectionOf' '(' equivClassExpression equivClassExpression { equivClassExpression } ')'

 

 

so I hoped that my expression:

 

owl:equivalentClass [

      rdf:type owl:Class ;

      owl:intersectionOf (

          :DichteDeklagen

          [

            rdf:type owl:Restriction ;

            owl:hasValue :geslotenverharding ;

            owl:onProperty :fysiekvoorkomen ;

          ]

          [

            rdf:type owl:Restriction ;

            owl:hasValue :rijbaan-lokaleweg ;

            owl:onProperty :functie ;

          ]

        ) ;

    ] ;

 

Would fit in that...

 

Combining an:

equivObjectIntersectionOf and a
ObjectHasValue

 

? michel

 

 

 

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.


Verzonden: Thursday, June 11, 2020 6:31 PM
Aan: topbrai...@googlegroups.com
Onderwerp: Re: [topbraid-users] inference question

Irene Polikoff

unread,
Jun 13, 2020, 9:16:06 AM6/13/20
to topbrai...@googlegroups.com
Michel,

You need to look at the tables that David sent a link to: https://www.w3.org/TR/owl-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules 

There is cls-int2 rule in Table 6. If you look in the owlrl-all.ttl file, you will see a SPIN template for each rule in these tables.


Any time you have a question about OWL RL support, check these rules - in the spec and in TBC. Neither David nor I, remember them by heart. So, we would need to go through exactly the same process.

If a rule is there, but does not work for you, then may be you did not include the rules file above prior to running inferences. It must be owl:imported into your file for the engine to find and execute the rules.



<image001.gif>

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: topbrai...@googlegroups.com <topbrai...@googlegroups.com> Namens dprice
Verzonden: Thursday, June 11, 2020 6:31 PM
Aan: topbrai...@googlegroups.com
Onderwerp: Re: [topbraid-users] inference question
 
 


On 11 Jun 2020, at 16:26, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:
 
Can I exp3ect from topspin based on:
 
<image003.jpg>

Bohms, H.M. (Michel)

unread,
Jun 15, 2020, 9:05:23 AM6/15/20
to topbrai...@googlegroups.com

Still wondering here…

 

It seems my case is under RL grammer ….

 

Or … can something be perfectly supported by the grammer (par 6.3) but not supported by amy reasoning rule (par 4.3) ?

 

Thx a lot!

 

(I am still hoping I just made a stupid mistake and that it could work directly…)

 

michel

dprice

unread,
Jun 15, 2020, 9:58:48 AM6/15/20
to topbrai...@googlegroups.com
It’s the inferences supported by each OWL profile that are important. 

A typical RL engine is not going to complain about DL or OWL Full/RDF-Semantics constructs existing, it’s just not going to infer anything using them.

If a structure in an OWL model is not mentioned in the standard RL inferences, then it’s not supported by the TopBraid OWL RL rules.

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.
 
Van: topbrai...@googlegroups.com <topbrai...@googlegroups.com> Namens dprice
Verzonden: Thursday, June 11, 2020 6:31 PM
Aan: topbrai...@googlegroups.com
Onderwerp: Re: [topbraid-users] inference question
 
 
On 11 Jun 2020, at 16:26, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:
 
Can I exp3ect from topspin based on:
 
<image002.jpg>

Bohms, H.M. (Michel)

unread,
Jun 15, 2020, 10:44:45 AM6/15/20
to topbrai...@googlegroups.com

Thats  clear David

 

Only here the structures ARE in OWL-RL (well, seem to be: intersection of classes, where classes are constructed with object value restrictions).

But the reasoning rules seem not to cover that relevant part of OWL-RL constructs.

 

(although looking at the kind of inferences wanted: they seem pretty strait forward ...)

 

michel

 

 

 

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

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

Location

 

Bohms, H.M. (Michel)

unread,
Jun 15, 2020, 11:23:30 AM6/15/20
to Miltos Gatzios, topbrai...@googlegroups.com

Wrt last, if I understand right...

 

Yes but this is part of the automation..

 

In our case we combine with owl equivalence

 

So I am trying to find out whether it is normal that tbc does not support it yet or if it is a bug (on my or tbc side...)

 

The things we do ARE in owl-rl grammer but....maybe not covered by the owl-rl reasoning rules (like implemented by tbc topspin)

List is:

topbrai...@googlegroups.com

 

you can register via topquadrant.com ... community.....

 

often interesting stuff!

 

 

 

 

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.

 

 

 

 

Van: Miltos Gatzios <miltos....@bim-connected.nl>
Verzonden: Monday, June 15, 2020 5:16 PM
Aan: Bohms, H.M. (Michel) <michel...@tno.nl>
Onderwerp: RE: [topbraid-users] inference question

 

Hey Michel,

No I am not in the tbc user list. What is that?

I really find it very interesting the part of the blank nodes and the inferencing.
If you know both then u can model everything and therefore,  in my opinion, it is quite important to know how both work.
As the Dutch would say, I found them the “puntjes op de i ” (I hope I used correctly the expression).

So please feel free to share. This is definitely not a spam.
😊
Knowledge is always appreciated.

By the way, answering my question I asked last Friday:
why :DichteDeklagen becomes always rdfs:subClassOf :Wegdeel (in the use case as it is now)

I think the reason lies in
In 4.3 (OWL-RL grammer), Table 9, and specifically:

scm-int

T(?c, owl:intersectionOf, ?x)
LIST[?x, ?c1, ..., ?cn]

T(?c, rdfs:subClassOf, ?c1)
T(?c, rdfs:subClassOf, ?c2)
...
T(?c, rdfs:subClassOf, ?cn)

 

Met vriendelijke groeten / Kind regards,

 

Miltos Gatzios | BIM Consultant

 

Logo_BIM-Connected

Torenallee 62-22

Gebouw Anton, eerste verdieping

5617 BD, Eindhoven

www.bim-connected.nl

KvK-nummer 76907279

 

+31 6 40 21 95 95

miltos....@bim-connected.nl

 

 

 

From: Bohms, H.M. (Michel) <michel...@tno.nl>
Sent: Monday, June 15, 2020 4:58 PM
To: Miltos Gatzios <miltos....@bim-connected.nl>
Subject: RE: [topbraid-users] inference question

 

If you find interesting I can share more...

 

If not tell me and I stop spamming 😊

 

(or are you already on the tbc user list?)

 

 

 

 

 

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.

 

 

 

 

Van: Miltos Gatzios <miltos....@bim-connected.nl>
Verzonden: Monday, June 15, 2020 4:53 PM
Aan: Bohms, H.M. (Michel) <michel...@tno.nl>
Onderwerp: RE: [topbraid-users] inference question

 

Hey Michel,

Thanks for sharing the discussion.

Met vriendelijke groeten / Kind regards,

 

Miltos Gatzios | BIM Consultant

 

Logo_BIM-Connected

Torenallee 62-22

Gebouw Anton, eerste verdieping

5617 BD, Eindhoven

www.bim-connected.nl

KvK-nummer 76907279

 

+31 6 40 21 95 95

miltos....@bim-connected.nl

 

 

 

 

From: Bohms, H.M. (Michel) <michel...@tno.nl>
Sent: Monday, June 15, 2020 3:06 PM
To: Miltos Gatzios <miltos....@bim-connected.nl>
Subject: FW: [topbraid-users] inference question

 

 

 

Fyi

 

Still trying to get things fully clear for our use case......

 

Gr michel

Bohms, H.M. (Michel)

unread,
Jun 15, 2020, 11:25:50 AM6/15/20
to topbrai...@googlegroups.com

Oeps, tbc list, sorry

 

Just needed the exact mail but forgot to remove...

 

Trying to get more people on tbc board 😊

Irene Polikoff

unread,
Jun 15, 2020, 11:52:03 AM6/15/20
to topbrai...@googlegroups.com, Miltos Gatzios
TopSpin is simply an engine that runs SPIN rules. The inferences it produces depends on the rules provided as input.

We have create SPIN rule for each OWL-RL in the spec. As I showed previously in a screenshot their URIs correspond to the names of the rues in the spec e.g., cos-int2.

This is an open approach, you can add as many additional rules as you want.

On Jun 15, 2020, at 11:23 AM, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:

Wrt last, if I understand right...
 
Yes but this is part of the automation..
 
In our case we combine with owl equivalence
 
So I am trying to find out whether it is normal that tbc does not support it yet or if it is a bug (on my or tbc side...)
 
The things we do ARE in owl-rl grammer but....maybe not covered by the owl-rl reasoning rules (like implemented by tbc topspin)
List is:
 
you can register via topquadrant.com ... community.....
 
often interesting stuff!
 
Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist

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: Miltos Gatzios <miltos....@bim-connected.nl> 
Verzonden: Monday, June 15, 2020 5:16 PM
Aan: Bohms, H.M. (Michel) <michel...@tno.nl>
Onderwerp: RE: [topbraid-users] inference question
 

Hey Michel,

No I am not in the tbc user list. What is that?

I really find it very interesting the part of the blank nodes and the inferencing. 
If you know both then u can model everything and therefore,  in my opinion, it is quite important to know how both work. 
As the Dutch would say, I found them the “puntjes op de i ” (I hope I used correctly the expression).

So please feel free to share. This is definitely not a spam. 
😊
Knowledge is always appreciated. 

By the way, answering my question I asked last Friday:
why :DichteDeklagen becomes always rdfs:subClassOf :Wegdeel (in the use case as it is now)

I think the reason lies in 
In 4.3 (OWL-RL grammer), Table 9, and specifically:

scm-int
T(?c, owl:intersectionOf, ?x)
LIST[?x, ?c1, ..., ?cn]
T(?c, rdfs:subClassOf, ?c1)
T(?c, rdfs:subClassOf, ?c2)
...
T(?c, rdfs:subClassOf, ?cn)

 

Met vriendelijke groeten / Kind regards,
 
Miltos Gatzios | BIM Consultant
 
Torenallee 62-22
Gebouw Anton, eerste verdieping
5617 BD, Eindhoven
KvK-nummer 76907279
 
+31 6 40 21 95 95
 

 

 
From: Bohms, H.M. (Michel) <michel...@tno.nl> 
Sent: Monday, June 15, 2020 4:58 PM
To: Miltos Gatzios <miltos....@bim-connected.nl>
Subject: RE: [topbraid-users] inference question
 
If you find interesting I can share more...
 
If not tell me and I stop spamming 😊
 
(or are you already on the tbc user list?)
 
 

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

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: Miltos Gatzios <miltos....@bim-connected.nl> 
Verzonden: Monday, June 15, 2020 4:53 PM
Aan: Bohms, H.M. (Michel) <michel...@tno.nl>
Onderwerp: RE: [topbraid-users] inference question
 

Hey Michel, 

Thanks for sharing the discussion.

Met vriendelijke groeten / Kind regards,
 
Miltos Gatzios | BIM Consultant
 
Torenallee 62-22
Gebouw Anton, eerste verdieping
5617 BD, Eindhoven
KvK-nummer 76907279
 
+31 6 40 21 95 95
 
 
 
 
From: Bohms, H.M. (Michel) <michel...@tno.nl> 
Sent: Monday, June 15, 2020 3:06 PM
To: Miltos Gatzios <miltos....@bim-connected.nl>
Subject: FW: [topbraid-users] inference question
 
 
 
Fyi
 
Still trying to get things fully clear for our use case......
 
Gr michel
 
 

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

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: topbrai...@googlegroups.com <topbrai...@googlegroups.com> Namens dprice
Verzonden: Thursday, June 11, 2020 6:31 PM
Aan: topbrai...@googlegroups.com
Onderwerp: Re: [topbraid-users] inference question
 
 
On 11 Jun 2020, at 16:26, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:
 
Can I exp3ect from topspin based on:
 
<image007.jpg>

Irene Polikoff

unread,
Jun 15, 2020, 12:07:37 PM6/15/20
to topbrai...@googlegroups.com, Miltos Gatzios
I meant cls-int2

Bohms, H.M. (Michel)

unread,
Jun 15, 2020, 1:16:04 PM6/15/20
to topbrai...@googlegroups.com, Miltos Gatzios
That is clear irene.
Assuming that the topspin is rlcomplete i am just surprised the owl rl rule i need is not in the official owlrl rule set despite the fact all the related grammer stuff needed is in the owlrl grammer.
The rule i need seems quite strait forward and does not feel owldl...

Anyway if this is the situation i could try to define that rule and add it or try to do a shaclaf construct query i guess.
Michel

Op 15 jun. 2020 18:07 schreef Irene Polikoff <ir...@topquadrant.com>:

Bohms, H.M. (Michel)

unread,
Jun 16, 2020, 7:49:01 AM6/16/20
to topbrai...@googlegroups.com, Miltos Gatzios

I tried different approach:

 

I defined a class (could also be in an independent ruleset ontology) that is a subclass of Wegdeel and has the two owl restrictions. Next I defined a owl:equivalentClass between that new class called Wegdeel_gv_rblw and AsfaltverhardingWithDichteDeklagen.

 

But still no inference....so I must be doing something wrong here....

 

Michel

 

Code:

 

# baseURI: http://www.tno.nl/amsterdam

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

 

@prefix : <http://www.tno.nl/amsterdam#> .

@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#> .

 

<http://www.tno.nl/amsterdam>

  a owl:Ontology ;

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

  owl:versionInfo "Created with TopBraid Composer" ;

.

:Asfaltverharding

  a owl:Class ;

  rdfs:subClassOf :Verhardingsobject ;

.

:AsfaltverhardingWithDichteDeklagen

  a owl:Class ;

  rdfs:subClassOf :Asfaltverharding ;

  owl:equivalentClass :Wegdeel_dv_rblw ;

.

:BegroeidTerreindeel

  a owl:Class ;

  rdfs:subClassOf :IMGeo-Object ;

.

:Berm

  a owl:Class ;

  rdfs:subClassOf :OndersteunendWegdeel ;

.

:FunctieType

  a owl:Class ;

  rdfs:subClassOf <https://w3id.org/def/basicsemantics-owl#EnumerationType> ;

.

:FysiekVoorkomenType

  a owl:Class ;

  rdfs:subClassOf <https://w3id.org/def/basicsemantics-owl#EnumerationType> ;

.

:GebruiksfunctieType

  a owl:Class ;

  rdfs:subClassOf <https://w3id.org/def/basicsemantics-owl#EnumerationType> ;

.

:GroenObject

  a owl:Class ;

 rdfs:subClassOf :IMBOR-Object ;

.

:Haag

  a owl:Class ;

  rdfs:subClassOf :GroenObject ;

.

:IMBOR-Object

  a owl:Class ;

  rdfs:subClassOf <https://w3id.org/def/basicsemantics-owl#PhysicalObject> ;

.

:IMGeo-Object

  a owl:Class ;

  rdfs:subClassOf <https://w3id.org/def/basicsemantics-owl#PhysicalObject> ;

.

:OndersteunendWegdeel

  a owl:Class ;

  rdfs:subClassOf :IMGeo-Object ;

.

:Onverhard

  a owl:Class ;

  rdfs:subClassOf :Verhardingsobject ;

.

:Verhardingsobject

  a owl:Class ;

  rdfs:subClassOf :IMBOR-Object ;

.

:Wegdeel

  a owl:Class ;

  rdfs:subClassOf :IMGeo-Object ;

.

:Wegdeel_1

  a :Wegdeel_dv_rblw ;

  :functie :rijbaan-lokaleweg ;

  :fysiekvoorkomen :geslotenverharding ;

.

:Wegdeel_dv_rblw

  a owl:Class ;

  rdfs:subClassOf :Wegdeel ;

  owl:equivalentClass [

      a owl:Restriction ;

      owl:hasValue :geslotenverharding ;

      owl:onProperty :fysiekvoorkomen ;

    ] ;

  owl:equivalentClass [

      a owl:Restriction ;

      owl:hasValue :rijbaan-lokaleweg ;

      owl:onProperty :functie ;

    ] ;

.

:berm

  a :GebruiksfunctieType ;

.

:functie

  a owl:ObjectProperty ;

  rdfs:domain :IMGeo-Object ;

  rdfs:range :FunctieType ;

.

:fysiekvoorkomen

  a owl:ObjectProperty ;

  rdfs:domain :IMGeo-Object ;

  rdfs:range :FysiekVoorkomenType ;

.

:gebruiksfunctie

  a owl:ObjectProperty ;

  rdfs:domain :Verhardingsobject ;

  rdfs:range :GebruiksfunctieType ;

.

:geslotenverharding

  a :FysiekVoorkomenType ;

.

:groenvoorziening

  a :FysiekVoorkomenType ;

.

:onverhard

  a :FysiekVoorkomenType ;

.

:rijbaan-lokaleweg

  a :FunctieType ;

.

 

 

Setting:

 

 

 

 

 

 

 

 

 

 

 

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

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

Location

 

dprice

unread,
Jun 16, 2020, 8:51:12 AM6/16/20
to topbrai...@googlegroups.com, Miltos Gatzios
If you mean no inferences at all then likely because you did not import the OWL RL SPIN file. The engines look for rules in the open/current graph and graphs included via owl:imports.

I generally Create SPIN file (e.g. Run-OWL-RL), drag the OWL RL ALL file into Imports and save. I then drag the ontology/data in question (and any graph into which I might want to assert inferences) into Imports and Run the engine. You can review the inferences
before deciding to assert them or not, and choose the graph into which to assert them. That way you’re not imported SPIN, etc. into your ontologies/data. Anyway, I copied and pasted some of your ontology and it works for me (if I’ve understood what you are doing):


Cheers,
David

<image005.jpg>
 
 
 
 
 
 
 
 
 
 
Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist

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: Bohms, H.M. (Michel) <michel...@tno.nl> 
Verzonden: Monday, June 15, 2020 7:16 PM
Aan: topbrai...@googlegroups.com
CC: Miltos Gatzios <miltos....@bim-connected.nl>
Onderwerp: Re: [topbraid-users] inference question
 
That is clear irene. 
Assuming that the topspin is rlcomplete i am just surprised the owl rl rule i need is not in the official owlrl rule set despite the fact all the related grammer stuff needed is in the owlrl grammer.
The rule i need seems quite strait forward and does not feel owldl...
 
Anyway if this is the situation i could try to define that rule and add it or try to do a shaclaf construct query i guess.
Michel
 
Op 15 jun. 2020 18:07 schreef Irene Polikoff <ir...@topquadrant.com>:
I meant cls-int2 
 
<image006.png>

Bohms, H.M. (Michel)

unread,
Jun 16, 2020, 8:56:50 AM6/16/20
to topbrai...@googlegroups.com, Miltos Gatzios

Ahhhh

 

No I did not import

 

Because it is a tbc level function I thought this would be internal/automatic....

 

Thx david, Ill experiment (and will even retry my original issue...yiou never know....)

 

 

 

 

 

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

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

Location

 

Bohms, H.M. (Michel)

unread,
Jun 16, 2020, 10:42:09 AM6/16/20
to topbrai...@googlegroups.com, Miltos Gatzios

 

I added spin stuff but still no reasoning results...

 

Thx for any advice

 

Btw: earlier without spin imports I saw top-spin times etc.....so it seemed working....

amsterdam.ttl

dprice

unread,
Jun 16, 2020, 11:17:45 AM6/16/20
to topbrai...@googlegroups.com, Miltos Gatzios
Hi Michel,

Suggest start again from scratch and carefully give my suggested approach one more try.

If you cannot get it to work then please package up the necessary files and send them to me outside this group. I’ll figure it out and reply.

Cheers,
David

On 16 Jun 2020, at 15:42, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:

 
I added spin stuff but still no reasoning results...
 
Thx for any advice
 
Btw: earlier without spin imports I saw top-spin times etc.....so it seemed working....
 
 
Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist

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: Bohms, H.M. (Michel) 
Verzonden: Tuesday, June 16, 2020 2:57 PM
Aan: topbrai...@googlegroups.com
CC: Miltos Gatzios <miltos....@bim-connected.nl>
Onderwerp: RE: [topbraid-users] inference question
 
Ahhhh
 
No I did not import
 
Because it is a tbc level function I thought this would be internal/automatic....
 
Thx david, Ill experiment (and will even retry my original issue...yiou never know....)
 
 

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

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: topbrai...@googlegroups.com <topbrai...@googlegroups.com> Namens dprice
Verzonden: Tuesday, June 16, 2020 2:51 PM
Aan: topbrai...@googlegroups.com
CC: Miltos Gatzios <miltos....@bim-connected.nl>
Onderwerp: Re: [topbraid-users] inference question
 
If you mean no inferences at all then likely because you did not import the OWL RL SPIN file. The engines look for rules in the open/current graph and graphs included via owl:imports.
 
I generally Create SPIN file (e.g. Run-OWL-RL), drag the OWL RL ALL file into Imports and save. I then drag the ontology/data in question (and any graph into which I might want to assert inferences) into Imports and Run the engine. You can review the inferences
before deciding to assert them or not, and choose the graph into which to assert them. That way you’re not imported SPIN, etc. into your ontologies/data. Anyway, I copied and pasted some of your ontology and it works for me (if I’ve understood what you are doing):
 
<image002.png>

dprice

unread,
Jun 16, 2020, 3:00:34 PM6/16/20
to topbrai...@googlegroups.com, Miltos Gatzios
Just to report the final answer for Michel for everyone in the group …

OK, I do remember now.
Chick on the Home button to get to the ontology pane itself and then select Profile and indeed you can tell it to use OWL-RL without having to do an owl:imports.
I do it the way I do because I also write SPIN converters and I don’t have to remember to handle cases involving the OWL-RL inferences differently from other inferences I’ve written myself.

Cheers,
David

On 16 Jun 2020, at 13:51, dprice <dpr...@topquadrant.com> wrote:

If you mean no inferences at all then likely because you did not import the OWL RL SPIN file. The engines look for rules in the open/current graph and graphs included via owl:imports.

I generally Create SPIN file (e.g. Run-OWL-RL), drag the OWL RL ALL file into Imports and save. I then drag the ontology/data in question (and any graph into which I might want to assert inferences) into Imports and Run the engine. You can review the inferences
before deciding to assert them or not, and choose the graph into which to assert them. That way you’re not imported SPIN, etc. into your ontologies/data. Anyway, I copied and pasted some of your ontology and it works for me (if I’ve understood what you are doing):

<Screen Shot 2020-06-16 at 13.48.59.png>

Bohms, H.M. (Michel)

unread,
Jun 16, 2020, 3:07:29 PM6/16/20
to topbrai...@googlegroups.com, Miltos Gatzios

And moreover....

 

My original issue (without explicit subclass) is also resolved!

(tested two-way)

 

It was in the ned with both owl-rl grammer and reasoning

 

Really great!

 

Thx David

 

Start:

After reasoning:

 

 

With inferences like (oneway):

 

 

 

 

 

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