GRDDL Primer SPARQL Queries: Part 1 Scheduling

This query still works, but it's a bit funky as it seems to produce
rather repetitive output. I vaguely remember Lee Feigenbaum having a
clever (if somewhat underhanded) fix for this at our tutorial in
WWW2007, but I cannot find record of it anywhere. LeeF? The problem is
that there are too many of the "same" results being produced by SPARQL:

Here's the query:
http://www.w3.org/2001/sw/grddl-wg/doc29/schedulequery.rq

Also, the 3 repeating FILTERS are ugly for a tutorial but I can see no
way around.

The results are (using ARQ):

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| start1                | stop1                 |
loc1                                                                    
|
summ1                                                                       
| summ2                                |
summ3                                                                       
|
=========================================================================================================================================================================================================================================================================================================================================================================
| "2007-01-08"          | "2007-01-11"          | "Edinburgh,
UK"                                                          | "pick up
a lifetime\n      achievement award from the Web Design Conference" |
"Web Design Conference"@en                                | "Web
Conference"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>    |
| "2007-01-08"          | "2007-01-11"          | "Edinburgh,
UK"                                                          | "pick up
a lifetime\n      achievement award from the Web Design Conference" |
"Web
Conference"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>   
| "Web Design
Conference"@en                                                   |
| "2007-01-08"^^xs:date | "2007-01-11"^^xs:date | "Edinburgh,
UK"@en                                                       | "Web
Design Conference"@en                                                  
| "pick up a lifetime\n      achievement award from the Web Design
Conference" | "Web
Conference"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>    |
| "2007-01-08"^^xs:date | "2007-01-11"^^xs:date | "Edinburgh,
UK"@en                                                       | "Web
Design Conference"@en                                                  
| "Web
Conference"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>   
| "pick up a lifetime\n      achievement award from the Web Design
Conference" |
| "2007-01-08"^^xs:date | "2007-01-11"^^xs:date | "Edinburgh,
UK"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> | "Web
Conference"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>   
| "pick up a lifetime\n      achievement award from the Web Design
Conference" | "Web Design
Conference"@en                                                   |
| "2007-01-08"^^xs:date | "2007-01-11"^^xs:date | "Edinburgh,
UK"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> | "Web
Conference"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>   
| "Web Design Conference"@en                                | "pick up a
lifetime\n      achievement award from the Web Design Conference" |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

It would be better for the results just to be one row, not six, as users
may run this at home and get confused, as in:

| "2007-01-08"^^xs:date | "2007-01-11"^^xs:date | "Edinburgh,
UK"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> | "Web
Conference"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>   
| "Web Design Conference"@en                                | "pick up a
lifetime\n      achievement award from the Web Design Conference" |

-- 
		-harry

Harry Halpin,  University of Edinburgh 
http://www.ibiblio.org/hhalpin 6B522426

Received on Wednesday, 20 June 2007 01:10:19 UTC