On 3/12/2013 9:12, Li, Naicong wrote:
Hi Holger,
I have a property "SomePrefix:firstCreated" that records the date when
something is created. I just want to be able to automatically insert
a triple, "SomePrefix:SomeClass SomePrefix:firstCreated "
everytime I create a class.
Should I then
tructor on owl:Class?
Thanks for your help!
Naicong
From: topbraid-users@googlegroups.com [mailto:topbraid-users@googlegroups.com]
On Behalf Of Holger Knublauch
Sent: Monday, March 11, 2013 3:59 PM
To: topbraid-users@googlegroups.com
Subject: Re: [topbraid-users] Using spin:constructor
Hi Naicon
Hi Naicong,
I think for this to work you would need to have the rdfs:subClassOf
triple available when the constructor is executed. However, the only
triple you can rely on is the rdf:type triple. So doing a constructor
that behaves differently depending on the position in the class
hierarchy
Hi,
I have used spin:constructor specified on a class to automatically insert
triples to instances of that class when they are created, and it's very
helpful. Can I use spin:constructor to automatically insert triples to
subclasses that I am creating? If so where can I see an example? I trie