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

GSP progress

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Sun, 04 Nov 2012 21:08:11 +0000
Message-ID: <5096D93B.2020101@epimorphics.com>
To: SPARQL Working Group <public-rdf-dawg@w3.org>
Chime,

Current results below, in EARL.  Not quite finished but now very close.

POST of triples to the dataset does create graphs as per spec.

1/ A couple of status code differences.

2/ Multipart form upload isn't working in Fuseki

3/ One mystery failure

"GET of POST - after noop" ==> unexpected returned RDF graph

4/ Multipart POST is broken in Fuseki.


Details:

** 201/204
   One is "gsp:" -- maybe "PUT - replace empty graph" (which as no link 
on the HTML page either_

This setup tracks empty graph so 204 is legal - the graph exists at that 
point and no entity is returned.

** 200/204
   gsp:post__existing_graph

The POST returns no content so I believe 204 is legal.

** gsp:post__multipart_formdata
   code missing in Fuseki

** gsp:get_of_post__after_noop
I don't understand this one

This looks like a failure to detect the MIME type as text/turtle as 
yesterday when you relaxed about test to look for contains 
"text/turtle".  But I have tried several formats and can't get it to 
work.  The response looks OK to me when I use curl.

Can you give me a hint as to why it fails?

The HTML formatting is wrong it says "/ds//1" but the server received 
/ds/1 which is correct.

	Andy

Notes:
   "2012-11-04"^^xsd:dateTime
   that's an xsd:date, not a dateTime.

There are 3
  earl:test gsp: .
i.e. incomplete prefixed name.

and 3 tests with no href in the HTML form output.

-----------------------------------------

@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix earl: <http://www.w3.org/ns/earl#> .
@prefix gsp: 
<http://www.w3.org/2009/sparql/docs/tests/data-sparql11/http-rdf-update/manifest#> 
.
@prefix validator: <http://metacognition.info/gsp_validation/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:put__initial_state .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:get_of_put__initial_state .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:head_on_an_existing_graph .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:head_on_a_nonexisting_graph .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:put__graph_already_in_store .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:get_of_put__graph_already_in_store .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:put__default_graph .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:get_of_put__default_graph .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:put__mismatched_payload .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:put__empty_graph .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:get_of_put__empty_graph .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:info "expected status 201, received 204 ()";
             earl:outcome earl:fail ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp: .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp: .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:delete__existing_graph .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:get_of_delete__existing_graph .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:delete__nonexistent_graph .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:info "expected status 200, received 204 ()";
             earl:outcome earl:fail ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:post__existing_graph .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:get_of_post__existing_graph .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:info "Invalid Server response: HTTPError()";
             earl:outcome earl:fail ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:post__multipart_formdata .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:post__create__new_graph .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp: .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:get_of_post__create__new_graph .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:outcome earl:pass ];
     earl:subject <http://jena.a8pache.org/>;
     earl:test gsp:post__empty_graph_to_existing_graph .

[] a earl:Assertion;
     earl:assertedBy validator:validator;
     earl:result [ a earl:TestResult;
             dc:date "2012-11-04"^^xsd:dateTime;
             earl:info "unexpected returned RDF graph";
             earl:outcome earl:fail ];
     earl:subject <http://jena.apache.org/>;
     earl:test gsp:get_of_post__after_noop .
Received on Sunday, 4 November 2012 21:08:43 GMT

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