W3C home > Mailing lists > Public > w3c-wai-er-ig@w3.org > December 2000

RDF Schema for Daniel's EDL [was: Re: RDF From Al's OOP Code]

From: Sean B. Palmer <sean@mysterylights.com>
Date: Mon, 18 Dec 2000 17:02:59 -0000
Message-ID: <014001c06914$7f659500$eddd93c3@z5n9x1>
To: <dd@w3.org>
Cc: <w3c-wai-er-ig@w3.org>, "Wendy A Chisholm" <wendy@w3.org>, "Al Gilman" <asgilman@iamdigex.net>
Daniel's vocabulary is excellent, and I thought it would be a good idea to
write an RDF Schema for it (codifying EDL as it stands):-
I have also appended it to the bottom of this note [1]

> Note: my RDF is largely approximate, I haven't check with an RDF
> expert what would make more sense in terms of structure/organization

You don't need to consult an expert: just consult SiRPAC
Pasting your code in there showed that in all of the triples generated, the
subject was http://www.w3.org/ implying that http://www.w3.org/ had a
testConfidence of both 3 and 5 etc. (easily fixed). Anyway, you are right
in saying that that doesn't really matter: it's the vocabulary that
matters. That's why I prepared the Schema; we already have the structure
(we are using RDF: RDF is our structure!).

>   <rdf:RDF
>     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>     xmlns:edl="http://www.w3.org/schema/edl">

Mental note: we need a solid namespace! N.B. I'm glad that we are following
the RDF convention that the NameSpace will point to the Schema (for
validation and parsing purposes). This appears to be in line with the

> edl:TestResult
>    Pass, Fail, NotApplicable, UnKnown

This looks very much like an XML Schema. The advantage to that is that the
results will be very clearly defined; the problem with specifying exactly
what results you can have for each property is that you can't extend the
model much in future. What if I wanted to add "Passed 80%" to that list? I
could do that if you used RDF schemes instead:-

> edl:TestResult
>      Specifies the EDL Test Result for the evaluation target.

Would mean you could have any value you wanted, provided that you
acknowledge the fact that it means it the the EDL Test Result for the
evaluation target. That's why I've written this little RDF Schema for EDL
as it stands:-

<?xml version="1.0"?>
<!--  This is the RDF Schema for EDL -->
<rdfs:Class rdf:ID="result" rdfs:label="result" rdfs:comment="A result
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag" />
<Property ID="testID" rdfs:label="testID"
  rdfs:comment="Identifies the property upon which the evaluation is being
  <rdfs:domain rdf:resource="#result" />
<Property ID="testResult" rdfs:label="testResult"
  rdfs:comment="Identifies the EDL Test Result for the evaluation target">
  <rdfs:domain rdf:resource="#result" />
<Property ID="testConfidence" rdfs:label="testConfidence"
  rdfs:comment="Identifies the confidence to which the evaluation has been
  <rdfs:domain rdf:resource="#result" />
<Property ID="testMode" rdfs:label="testMode"
  rdfs:comment="The mode under which the test has been carried out (e.g.
auto, manual etc.)">
  <rdfs:domain rdf:resource="#result" />
<Property ID="testProgram" rdfs:label="testProgram"
  rdfs:comment="Identifies the test program used to carry out the
  <rdfs:domain rdf:resource="#result" />
<Property ID="testAssertor" rdfs:label="testAssertor"
  rdfs:comment="The identity of the assetor of the evaluation (i.e.
  <rdfs:domain rdf:resource="#result" />
<Property ID="testDetail" rdfs:label="testDetail"
  rdfs:comment="Identifies the subelement being tested in a resource">
  <rdfs:domain rdf:resource="#result" />
<Property ID="testComment" rdfs:label="testComment"
  rdfs:comment="A comment about the test">
  <rdfs:domain rdf:resource="#result" />

That clearly shows that there is one bag like class, and a host of
properties that you can use for each property result.
Here is an example of some EDL:-

<?xml version="1.0"?>
    <rdf:Description rdf:about="http://www.w3.org/">
     <rdf:Description rdf:ID="output1">
       <edl:testProgram>http://validator.w3.org/ </edl:testProgram>
    <rdf:Description rdf:ID="output2">
       <edl:testComment>This table is being used for

Try pasting that into SiRPAC as usual, and marvel at the triples produced

Kindest Regards,
Sean B. Palmer
"Perhaps, but let's not get bogged down in semantics."
   - Homer J. Simpson, BABF07.
Received on Monday, 18 December 2000 12:04:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:01:31 UTC