W3C home > Mailing lists > Public > public-owl-dev@w3.org > July to September 2007

Re: Bill-Of-Material in OWL

From: Gocev, Pavel <pavel.gocev@ipk.fraunhofer.de>
Date: Fri, 31 Aug 2007 13:25:12 +0200
Message-ID: <9C2EB248A853724FBA9B4EA03AB977FD02766ED7@monster.ipk-w2k3.ipk.fhg.de>
To: <public-owl-dev@w3.org>
Cc: <brandon.l.ibach@lmco.com>, <matthew.pocock@ncl.ac.uk>
I think I need to explain more details of my example:

 

To build the Product_A (e.G. a Table_X), 4 same pieces of Component_C1
(e.G. 4 Legs) and 2 same pieces of Component_C2 (e.G. 2 wooden Boards)
are needed.
To build the Product_B (e.G. a Table_Y), 3 same pieces of Component_C1
(e.G. 3 Legs) and 3 same pieces of Component_C2 (e.G. 3 wooden Boards)
are needed.
 
Brandon, Matthew,
thank you very much for he examples, but Product_A, Product_B,
Component_C1 and Component_C2 are to be instances. I am using
TopBraidComposer whereby I would like to infere on the base of Jena or
SWRL Rules. 

 

What I have done is introducing the class "Child" with instances
(PA_Child1, PA_Child2, PB_Child1 and PB_Child2) and suitable properties
defining:

Product_A

Product_A --> hasChild --> PA_Child1

Product_A --> hasChild --> PA_Child2.

PA_Child1 --> isMaterial --> Component_C1

PA_Child1 --> hasQuantity --> 4

PA_Child2 --> isMaterial --> Component_C2

PA_Child2 --> hasQuantity --> 2

 

Product_B

Product_B --> hasChild --> PB_Child1

Product_B --> hasChild --> PB_Child2.

PB_Child1 --> isMaterial --> Component_C1

PB_Child1 --> hasQuantity --> 3

PB_Child2 --> isMaterial --> Component_C2

PB_Child2 --> hasQuantity --> 3

 

I hope I can run inference on this after the change of my rules
accordingly.

 

Pavel

 

 
Received on Friday, 31 August 2007 11:30:10 GMT

This archive was generated by hypermail 2.3.1 : Wednesday, 27 March 2013 09:32:55 GMT