typing of property

Hi,
I want to create an RDF structure where a lot of properties will be typed.
For example the property 'date' may be of type 'ValidFrom', 'ValidTo' etc.

In the RDF instance we will have date given as:

..........
	<vc:date rdf:value="1999-10-25"
	         rdf:parseType="Resource"
		  vcit:dateType="http://vcit-namespace/schema#ValidTo"/>
..........

The reason to use parseType="Resource" is to make the explanations of 
the type values in namespace vcit available.

But this format seems a little bit clumsy for frequent use.
The question is: Is there an abbreviated way to code the statement above?
 
Declarations:

The property date is declared in namespace vc:

	<rdf:Property ID="date">
		<rdfs:range rdf:resource="http://www.w3.org/datatypes#isodate"/>
		<rdfs:label xml:lang="en">
			Date
		</rdfs:label>
		<rdfs:comment xml:lang="en">
			Date must be given in the ISO 8601 format: yyyy-mm-dd.
			It must be qualified by the dateType property. 
		</rdfs:comment>
	</rdf:Property>


In namespace 'vcit' (http://vcit-namespace/schema)
the types of date are declared as instances of class DateType:

	<rdfs:Class rdf:ID="DateType"/>
	
	<DateType rdf:ID="ValidFrom">
			<rdfs:label xml:lang="sv">Giltighetsdatum fr o m
			</rdfs:label>
			<rdfs:label xml:lang="en">Valid-from date
			</rdfs:label>
	</DateType>
    	<DateType rdf:ID="ValidTo">
			<rdfs:label xml:lang="sv">Giltighetsdatum t o m
			</rdfs:label>
			<rdfs:label xml:lang="en">Valid-to date
			</rdfs:label>
	</DateType>

       <!-- Declaration of property dateType -->

	<rdf:Property ID="dateType">
    		<rdfs:range rdf:resource="#DateType"/>
		.....
   	</rdf:Property>


Thanks
Lars Dannstedt

Senior Consultant
Volvo Information Technology

email: Lars_Dannstedt@vd.volvo.se

Received on Wednesday, 12 January 2000 11:23:28 UTC