[OEP] or [UNITS] : How to explicitly define a Metaclass

Hello,

I have two little questions directly linked with our current projects : 

1) I would like to be able to link two classes with a Property in OWL

is that OWL fragement correct ? :

	<owl:Class rdf:ID="MyMetaClass">
  		<rdfs:subClassOf rdf:resource="owl:Class" />
 	</owl:Class>

	<rdfs:Class rdf:ID="ClassProperty">
 		 <rdfs:subClassOf rdf:resource="owl:ObjectProperty" />
	</rdfs:Class>

	<ClassProperty rdf:ID="Require">
		<rdfs:domain rdf:resource="#MyMetaClass"/>
  		<rdfs:range rdf:resource="#MyMetaClass"/> 
	</ClassProperty>

	<MyMetaClass rdf:ID="Class2">

	<MyMetaClass rdf:ID="Class1">
		<Require rdf:resource="#Class2">
	</MyMetaClass>


or is  this one correct and if yes better than the first one ?

	<owl:Class rdf:ID="MyMetaClass">
  		<rdfs:subClassOf rdf:resource="owl:Class" />
 	</owl:Class>

	<rdfs:Class rdf:ID="ClassProperty">
 		 <rdfs:subClassOf rdf:resource="owl:ObjectProperty" />
		<rdfs:subClassOf>
			 <owl:Restriction> 
				<owl:onProperty rdf:resource="rdfs:domain" /> 
			 	<owl:hasValue rdf:resource="#MyMetaClass">
			</owl:Restriction> 
		</rdfs:subClassOf>
		<rdfs:subClassOf>
			 <owl:Restriction> 
				<owl:onProperty rdf:resource="rdfs:range" /> 
			 	<owl:hasValue rdf:resource="#MyMetaClass">
			</owl:Restriction> 
		</rdfs:subClassOf> 
	</rdfs:Class>

	<ClassProperty rdf:ID="Require">

2) I would like to be able to use weighedProperty between Classes (but i suppose it is the same problem with Instances) to traduce for example the following fact :
		"For the Job XXX the competency Competency1 is more important than Competency2"

	In fact I would like to be able to write some OWL fragment like this :
	
	<MyMetaClass rdf:ID="Competency">
	<MyMetaClass rdf:ID="Title">

	<MyMetaClass rdf:ID="C1">
  		<rdfs:subClassOf rdf:resource="#Competency" />
	</MyMetaClass>
	<MyMetaClass rdf:ID="C2">
  		<rdfs:subClassOf rdf:resource="#Competency" />
	</MyMetaClass>

	<MyMetaClass rdf:ID="T1">
  		<rdfs:subClassOf rdf:resource="#Title" />
		<Require rdf:resource="#C2"    weigh = 3>
		<Require rdf:resource="#C1"    weigh = 5>
	</MyMetaClass>

In fact, more generally i would like to use weighed owl/rdf properties to modelise real life weighed relations

Do I have or is it possible to define something like a subclass of rdf:Property with a new syntax to write something similar to
	<Require rdf:resource="#C2"    weigh = 3>


Thank you very much

Best regards

Marco NANNI






	



	

Received on Wednesday, 14 April 2004 12:06:43 UTC