W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > January to March 2010

[test cases] ACTION-191 starting with some test cases for aggregates...

From: Axel Polleres <axel.polleres@deri.org>
Date: Wed, 24 Mar 2010 18:30:53 +0000
Message-Id: <12EC2652-3068-4458-BFAD-970D92DFA4C4@deri.org>
To: SPARQL Working Group <public-rdf-dawg@w3.org>
... Hi all,

Re: ACTION-191 I was starting with some test cases for aggregates, mainly trying to write down some of the ones 
suggested in Emanuele's mail [1].

Looking at the test cases README at the moment [2]... Question:

* How were the test cases collected in DAWG? Any naming conventions you followed?
* did anyone do some scripts to provide the manifests for testcases in DAWG or were these all assembled manually?
* Also, is it possible to have alternative results? (for non-deterministic queries, e.g. sample) in the test format of DAWG?
* Organisation of test cases: Shall we do separate manifests per feature? etc.

Would be good if the process could be re-explained briefly to those who haven't been in DAWG1.0 

The initial test cases proposals attached (result format not yet proper SPARQL-result format):

- agg_spec1: 
    query: agg_spec1.sparql 
    data: agg_spec1.ttl 
    result: agg_spec1.result
  Description: example from current Section 9.1

- agg_spec2: 
    query: agg_spec2.sparql 
    data: agg_spec2.ttl 
    result: agg_spec2.result
  Description: example from end of current Section 9 which is used for explaining the Aggregation algebra 

- agg_spec2b: 
    query: agg_spec2.sparql 
    data: agg_spec2b.ttl 
    result: agg_spec2b.result TBD
  Description: example from end of current Section 9 which is used for explaining the Aggregation algebra, but now with
    wrong-typed input data, no result yet, becauseyet to be decided.

- agg_edv1: 
    query: agg_edv1.sparql 
    data: agg_edv1.ttl 
    result: agg_edv1.result
  Description: 1st example from Emanuele's mail [1], return names and number of books per author. 

- agg_edv1b: 
    query: agg_edv1.sparql 
    data: agg_edv1b.ttl 
    result: agg_edv1b.result
  Description: 1st example from Emanuele's mail [1], return names and number of books per author,
               but with author with two names. 

- agg_edv2: 
    query: agg_edv2.sparql 
    data: agg_edv2.ttl 
    result: agg_edv2.result
  Description: adapted from 2nd example from Emanuele's mail [1], the average number of books written 
               by authors that wrote at least 5 books.  

- agg_edv2b: 
    query: agg_edv2b.sparql 
    data: agg_edv2.ttl 
    result: agg_edv2b.result
  Description: adapted from 2nd example from Emanuele's mail [1], the average number of books written 
               by authors that wrote at least 5 books. Do we allow ungrouped/non-aggregated values? 
               Does it mean that aggregation is over the whole solution set?
- agg_edv3: 
    query: agg_edv3.sparql 
    data: agg_edv3.ttl TBD 
    result: TBD
  Description: adapted from Emanuele's mail [1], sum all of books of all organisations, summing the counts of books per author.
               only count outhors with more than 5 books, and organisations with more than 10 books.
               Note that this counts books potentially twice if authors have several affiliations.
               Test data with non-double-affiliated authors

- agg_edv3b: 
    query: agg_edv3.sparql 
    data: agg_edv3b.ttl TBD 
    result: TBD
  Description: adapted from Emanuele's mail [1], sum all of books of all organisations, summing the counts of books per author.
               only count outhors with more than 5 books, and organisations with more than 10 books.
               Note that this counts books potentially twice if authors have several affiliations.
               Test data withdouble-affiliated authors.

- agg_edv4: 
    query: agg_edv4.sparql 
    data: agg_edv4.ttl TBD 
    result: TBD
  Description: from Emanuele's mail [1], ask for the research topics for which
               the Italian authors have published more than the Swiss ones.


best,
Axel 

1. http://lists.w3.org/Archives/Public/public-rdf-dawg-comments/2010Feb/0006.html 
2. http://www.w3.org/2001/sw/DataAccess/tests/README.html



Received on Wednesday, 24 March 2010 18:31:29 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:42 GMT