.
END
subtest 'POST query for default graph' => sub {
$mech->post('/sparql', Accept => 'application/sparql-results+xml', Content => ['query' => 'SELECT * WHERE { ?s ?p ?o }']);
is( $mech->ct, 'application/sparql-results+xml', 'Is application/sparql-results+xml' );
$mech->content_unlike(qr#My Document#);
$mech->content_like(qr#num#);
$mech->content_like(qr#787#);
$mech->content_like(qr#123#);
};
subtest 'POST query for named graph' => sub {
$mech->post('/sparql', Accept => 'application/sparql-results+xml', Content => ['query' => 'SELECT * WHERE { GRAPH ?g { ?s ?p ?o } }']);
is( $mech->ct, 'application/sparql-results+xml', 'Is application/sparql-results+xml' );
$mech->content_like(qr#My Document#);
$mech->content_unlike(qr#num#);
};
done_testing();
AtteanX-Endpoint-0.002/share/endpoint/ 000755 000765 000024 00000000000 13174405353 017653 5 ustar 00greg staff 000000 000000 AtteanX-Endpoint-0.002/share/endpoint/index.html 000644 000765 000024 00000002661 12370032672 021652 0 ustar 00greg staff 000000 000000
SPARQL
AtteanX-Endpoint-0.002/share/endpoint/results.html 000644 000765 000024 00000001432 12023154750 022234 0 ustar 00greg staff 000000 000000
SPARQL Results
Query
AtteanX-Endpoint-0.002/share/endpoint/www/ 000755 000765 000024 00000000000 13174405353 020477 5 ustar 00greg staff 000000 000000 AtteanX-Endpoint-0.002/share/endpoint/www/css/ 000755 000765 000024 00000000000 13174405353 021267 5 ustar 00greg staff 000000 000000 AtteanX-Endpoint-0.002/share/endpoint/www/favicon.ico 000644 000765 000024 00000026451 12370000202 022605 0 ustar 00greg staff 000000 000000 PNG
IHDR @ @ iq JiCCPICC Profile xYy8V]ܣ}yy