Re: Processing CC/PP profile

Trying your profile with replacing rdf:ID by rdf:about (i.e. the following
profile)

<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:ccpp="http://www.w3.org/2002/11/08-ccpp-schema#"
xmlns:ex="http://www.example.com/schema#"
xml:base="http://www.example.com/schema#">
<rdf:Description rdf:about="http://www.example.com/profile#MyProfile">
<ccpp:component>
<rdf:Description rdf:about="http://www.example.com/profile#TerminalHardware"
ex:displayHeight="200">
<ex:displayWidth>320</ex:displayWidth>
<rdf:type rdf:about="HardwarePlatform"/>
</rdf:Description>
</ccpp:component>
</rdf:Description>
</rdf:RDF>

gives, using the W3C RDF validator, the following triples

http://www.example.com/profile#TerminalHardware
http://www.example.com/schema#displayHeight "200"
http://www.example.com/profile#TerminalHardware
http://www.example.com/schema#displayWidth "320"
http://www.example.com/profile#MyProfile
http://www.w3.org/2002/11/08-ccpp-schema#component
http://www.example.com/profile#TerminalHardware


Tayeb*
----------
Tayeb Lemlouma
http://opera.inrialpes.fr/people/Tayeb.Lemlouma/index.html
WAM project
National Research Institute in Computer Science and Control (INRIA
Rhône-Alpes, France )
Office B213, phone (+33) 04 76 61 52 81, Fax (+33) 04 76 61 52 07.


----- Original Message -----
From: "Butler, Mark" <Mark_Butler@hplb.hpl.hp.com>
To: <www-rdf-validator@w3.org>
Cc: <w3c-di-wg@w3.org>
Sent: Wednesday, May 21, 2003 6:14 PM
Subject: Processing CC/PP profile


>
> Hi,
>
> I tried validating this CC/PP profile which is to be used in the W3C DI-WG
> CC/PP test suite using the RDF validator.
>
> <?xml version="1.0"?>
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> xmlns:ccpp="http://www.w3.org/2002/11/08-ccpp-schema#"
> xmlns:ex="http://www.example.com/schema#"
> xml:base="http://www.example.com/schema#">
> <rdf:Description rdf:about="http://www.example.com/profile#MyProfile">
> <ccpp:component>
> <rdf:Description
rdf:about="http://www.example.com/profile#TerminalHardware"
> ex:displayHeight="200">
> <ex:displayWidth>320</ex:displayWidth>
> <rdf:type rdf:ID="HardwarePlatform"/>
> </rdf:Description>
> </ccpp:component>
> </rdf:Description>
> </rdf:RDF>
>
> However strangely the validator generates more triples than I would expect
> e.g.
>
> http://www.example.com/profile#TerminalHardware
> http://www.example.com/schema#displayHeight "200";
> http://www.example.com/profile#TerminalHardware
> http://www.example.com/schema#displayWidth "320";
> http://www.example.com/profile#TerminalHardware
> http://www.w3.org/1999/02/22-rdf-syntax-ns#type "";
> http://www.example.com/schema#HardwarePlatform
> http://www.w3.org/1999/02/22-rdf-syntax-ns#type
> http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement;
> http://www.example.com/schema#HardwarePlatform
> http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
> http://www.example.com/profile#TerminalHardware;
> http://www.example.com/schema#HardwarePlatform
> http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
> http://www.w3.org/1999/02/22-rdf-syntax-ns#type;
> http://www.example.com/schema#HardwarePlatform
> http://www.w3.org/1999/02/22-rdf-syntax-ns#object "" ;
> http://www.example.com/profile#MyProfile
> http://www.w3.org/2002/11/08-ccpp-schema#component
> http://www.example.com/profile#TerminalHardware;
>
> Why is it generating the extra triples?
>
> thanks in advance
>
> Dr Mark H. Butler
> Research Scientist                HP Labs Bristol
> mark-h_butler@hp.com
> Internet: http://www-uk.hpl.hp.com/people/marbut/
>
>

Received on Wednesday, 21 May 2003 12:31:33 UTC