W3C home > Mailing lists > Public > www-di@w3.org > September 2004

How to Extend the UAProf Schema/Vocabulary

From: Torre Luigia <luigia.torre@netikos.com>
Date: Thu, 9 Sep 2004 15:05:38 +0200
Message-ID: <790D6F0EFFF1374B9CD9673B4A7F53231B6A15@pimail01.netikos.com>
To: <www-di@w3.org>
Dear all,

 

Could someone on this mailing list explain me the right method to extend
the UAProf schema adding new identified attributes?

 

For example we let consider this case: we need to define a new schema
that is identical to the UAProf schema apart the new attribute
IntegratedVGACamera that must be added to the UAProf HardwarePlatform
component.

So we have defined the new schema in the following way:

 

.........

1.	-
<http://www.openmobilealliance.org/tech/profiles/UAPROF/ccppschema-20030
226##>  <rdf:Description rdf:ID="IntegratedVGACamera">
2.	<rdfs:comment xml:lang="en">Description: Indicates whether the
device supports integrated VGA camera. 
3.	Examples: "Yes", "No"
4.	</rdfs:comment> 
5.	<rdfs:label xml:lang="en"> IntegratedVGACamera </rdfs:label> 
6.	<rdf:type
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property" /> 

 

7.	<rdfs:domain
rdf:resource="http://www.openmobilealliance.org/tech/profiles/UAPROF/ccp
pschema-20030226#HardwarePlatform" /> 
8.	<rdfs:range
rdf:resource="http://www.openmobilealliance.org/tech/profiles/UAPROF/xml
schema-20030226#Boolean" /> 
9.	<prf:ResolutionRule
rdf:datatype="http://www.openmobilealliance.org/tech/profiles/UAPROF/xml
schema-20030226#ResolutionRule">Override</prf:ResolutionRule> 
10.	</rdf:Description>

.........

 

 

In the line number 7. we have a reference to the HardwareComponent of
the UAProf schema. This is made for not redefine inside the new schema
all the Component included the HardwarePlatform.

What do you think? Is this approach correct or we must redefine also all
the existing UAProf Componet in our new schema ?

 

Thanks in advance for your help 

 

Torre Luigia

NETikos S.p.A.

Loc. La Figuretta - Via Statale del Brennero Km. 4

56123 PISA - ITALY

Tel.: +39 050 8009 537

Fax.: +39 050 8009 626

E-mail: luigia.torre@netikos.com

Internet: www.netikos.com

 

 

 

 
Received on Thursday, 9 September 2004 13:19:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:54:24 UTC