W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2005

test schema issues

From: Eric Prud'hommeaux <eric@w3.org>
Date: Tue, 11 Oct 2005 10:15:32 -0400
To: public-rdf-dawg@w3.org
Message-ID: <20051011141532.GM17377@w3.org>

ACTION: EricP to fix test schema to match manifest with negative tests

I've been looking at the schema for tests. AndyS specifically kept
http://www.w3.org/2001/sw/DataAccess/tests/test-manifest.n3 agnostic
to the test harness:
  mf:action rdf:type rdf:Property ;
      rdfs:comment "Action to perform" ;
      rdfs:domain	  :ManifestEntry ;
      # rdfs:range   ?? ;

http://www.w3.org/2001/sw/DataAccess/tests/test-query.n3 also says
nothing about the range of action. By inspection, the range appears to
be something which packages a query and some data
            [ qt:query  <expr-1.rq> ;
              qt:data   <data-1.ttl> ] ;
or, in the case of the recent syntax tests, a query:
         rdf:type   mfx:TestSyntax ;
         mf:action  <syn-02.rq> ; 
         rdf:type   mfx:TestBadSyntax ;
         mf:action  <syn-bad-01.rq> ; 

This strikes me as chaotic, and potentially non-mon, depending on what
assumptions people make about the range of action.

In the interest of rigorous modeling, I propose this hierarchy:
                     /--------------/   \--------\
          SyntaxQueryTest                   ExecutedQueryTest
            /          \
PositiveSyntaxTest  NegativeSyntaxTest

  qt:action rdf:type rdf:Property ;
      rdfs:comment       "Action to perform" ;
      rdfs:subPropertyOf mf:action ;
      rdfs:range         qt:QueryTest;

and update

to change
         rdf:type   mfx:TestSyntax ;
         mf:action  <syn-05.rq> ; 
         rdf:type   mfx:PositiveSyntaxTest ;
         mf:action  [mf:query <syn-05.rq>] ; 

I'm trying to not change too many bytes here. Let me know if you think
I should be more aggressiv.e

office: +81.466.49.1170 W3C, Keio Research Institute at SFC,
                        Shonan Fujisawa Campus, Keio University,
                        5322 Endo, Fujisawa, Kanagawa 252-8520
        +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA
cell:   +81.90.6533.3882

Feel free to forward this message to any list for any purpose other than
email address distribution.

Received on Tuesday, 11 October 2005 14:15:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:00:49 UTC