RDF From Al's OOP Code [was: Re: EDL Overview Published]

> looks good, I'll read it soon, in the mean time, I searched a bit
> on the web for existing work in the area.

While preparing for the document, I took Al's OOP style code [1], and made
it into RDF, with neat triples. Can't parse it on SiRPAC (server down), but
alpha demo versions worked (i.e. parsed):-

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dc="http://purl.org/DC/elements/1.1/"
         xmlns:edl="http://infomesh.net/edl/ns/"
         xmlns:wcag="http://www.w3.org/WAI/GL/ns" >
<rdf:Property rdf:ID="applicationOf"
              rdf:about="http://testresource.com/" />
<rdf:Property rdf:ID="whoSez"
              rdf:about="http://www.w3.org/WAI/" />
<!-- = applicationOf and whoSez -->
<rdf:Description rdf:about="#applicationOf"
                 rdf:object="#testDefinition">
 <edl:testDefinition rdf:ID="testDefinition"
                wcag:cp="http://www.w3.org/WAI/GL/wcag-cp-schema" />
 <edl:instanceInfoProfile>
<!-- = instanceInfoProfile -->
 <rdf:bag>
   <rdf:li rdf:subject="#node1">
<!-- rdf:subject = contentUnderTestFormalReference -->
    <rdf:predicate dc:title="true" rdf:ID="#outputnode1"
                   dc:author="#whoSez" />
<!-- rdf:predicate = the output,
        rdf:ID = evaluationResultFormalReference -->
   </rdf:li>
   <rdf:li rdf:subject="#node2">
    <rdf:predicate dc:title="false" rdf:ID="#outputnode2"
                   dc:author="#whoSez" />
   </rdf:li>
 </rdf:bag>
 </edl:instanceInfoProfile>
 </rdf:Description>
 </rdf:RDF>

I'll add it to the EDL overview (http://infomesh.net/edl/) when I can get
the SiRPAC assesed triples out of it! At least it gives you something to
parse/play around with/laugh at.

> I found the following of interest
>  Test Case Markup & Cataloging, Tin Man edition
>
http://lists.oasis-open.org/archives/xslt-conformance/200012/msg00000.html

I like it (especially the use of "testcase", and it's nice and recent, but
it's a shame they didn't do it in XML Schema.

> Once we have something solid, I will contact this OASIS technical
> committee for coordination/cooperation (need to do it anyway for the
> W3C QA activity)

Looks like they might have a lot of useful code/ideas to impart.

[1] Here is Al's original code, for comparison:-
> applicationOf: ref[preferrablyByURI](testDefinition)
> whoSez: ref["](agentOrAuthority)
> [...]
> [Properties by parts, body of the test evaluation record]
>
> testInstanceInfo:includeByRefinement(testDefinition.instanceInfoProfile)
>  containing(
>
forEach(testDefinition.instanceInfoProfile.contentUnderTestFormalReference)
>    includeByReference(
>     testDefinition.instanceInfoProfile.contentUnderTestActualReference
>    )
>   forEach(
>    testDefinition.instanceInfoProfile.evaluationResultFormalReference
>   )
>
>
includeByValue(testDefinition.instanceInfoProfile.evaluationResultActualRefe
> rence)
>  )

Kindest Regards,
Sean B. Palmer
http://www.mysterylights.com/sbp/
"Perhaps, but let's not get bogged down in semantics."
   - Homer J. Simpson, BABF07.

Received on Tuesday, 12 December 2000 09:27:35 UTC