RDF-Endpoint-0.11/ 000755 000765 000024 00000000000 13770411613 013716 5 ustar 00greg staff 000000 000000 RDF-Endpoint-0.11/inc/ 000755 000765 000024 00000000000 13770411610 014464 5 ustar 00greg staff 000000 000000 RDF-Endpoint-0.11/LICENSE 000644 000765 000024 00000005331 11552456153 014731 0 ustar 00greg staff 000000 000000 Except as described below, all contents of this package are
Copyright (c) 2010 Gregory Todd Williams.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose, including commercial applications, and to alter it and
redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must
not claim that you wrote the original software. If you use this
software in a product, an acknowledgment in the product
documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must
not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.
With the exception of the CodeMirror files enumerated below, the files in this
package may also be redistributed and/or modified under the same terms as Perl
itself.
--------------------------------------------------------------------------------
The following license applies to the CodeMirror (Javascript and CSS) files
contained in this package and retrieved from http://codemirror.net/:
share/www/css/docs.css
share/www/css/sparqlcolors.css
share/www/js/codemirror.js
share/www/js/editor.js
share/www/js/highlight.js
share/www/js/mirrorframe.js
share/www/js/parsecss.js
share/www/js/parsedummy.js
share/www/js/parsehtmlmixed.js
share/www/js/parsejavascript.js
share/www/js/parsesparql.js
share/www/js/parsexml.js
share/www/js/select.js
share/www/js/sparql_form.js
share/www/js/stringstream.js
share/www/js/tokenize.js
share/www/js/tokenizejavascript.js
share/www/js/undo.js
share/www/js/unittests.js
share/www/js/util.js
Copyright (c) 2007-2010 Marijn Haverbeke
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose, including commercial applications, and to alter it and
redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must
not claim that you wrote the original software. If you use this
software in a product, an acknowledgment in the product
documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must
not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.
Marijn Haverbeke
marijnh@gmail.com
RDF-Endpoint-0.11/SIGNATURE 000644 000765 000024 00000007767 13770411613 015223 0 ustar 00greg staff 000000 000000 This file contains message digests of all files listed in MANIFEST,
signed via the Module::Signature module, version 0.81.
To verify the content in this distribution, first make sure you have
Module::Signature installed, then type:
% cpansign -v
It will check each file's integrity, as well as the signature's
validity. If "==> Signature verified OK! <==" is not displayed,
the distribution may already have been compromised, and you should
not run its Makefile.PL or Build.PL.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
SHA1 35acbaea2ae2181b96e3e3b2d585c90c0768f2ae Changes
SHA1 14a506260237169ed443ed15a269369cee605be3 LICENSE
SHA1 8ca20f222f3b6edaeb3fe51fbd2d7a312fb353ff MANIFEST
SHA1 df2d05aa65235ea1a45bc085f88800c388164ccb META.yml
SHA1 3999cda0ec777c49ea99f972530267688d544cbb Makefile.PL
SHA1 aa41899f8d0b06e1cac0e5f6b465a0fe46f017b7 README
SHA1 c3f8f9f2a209f80b7ca3c8af3a6b1b7b408ad620 inc/Module/Install.pm
SHA1 de30b539a326675c42e6ad360fddb05902d621be inc/Module/Install/Base.pm
SHA1 81fffeca82bcd7100d8435b139f0780fcc5cdf9c inc/Module/Install/Can.pm
SHA1 470809a1dbe03e197e74dde79c6af40b5f7f9b26 inc/Module/Install/DOAPChangeSets.pm
SHA1 b4dd9cb3cf0cb60390c575bd3405e2297d4a0b1a inc/Module/Install/Fetch.pm
SHA1 b84cf97b12f8e5ef37bea54e33ddce32dff804d1 inc/Module/Install/Makefile.pm
SHA1 0d9fd69718198fcd1560214c4f23fcaa44f8395e inc/Module/Install/Metadata.pm
SHA1 78f307119470d0c85d7d6496e76fc95cb939b462 inc/Module/Install/Scripts.pm
SHA1 a4ed3f5a3e2f117b8f453771b9e52e8c0f5fcfbc inc/Module/Install/Share.pm
SHA1 99b8179fbd9e05422b161cf91abe198744188064 inc/Module/Install/Win32.pm
SHA1 6a91e14bbecc64e9c8e2261dfa4b360641d152e4 inc/Module/Install/WriteAll.pm
SHA1 8924337507b9dd710e0d454ac61ad0eaa893e67a lib/RDF/Endpoint.pm
SHA1 0a0c86e4b4d8f23605cb8e10a78335c8fcc70ca5 meta/changes.ttl
SHA1 084485f2e97af1bc0e8e74a72d5f14a57348a368 rdf_endpoint.json
SHA1 e9be4ad1506ad066ef2a5efb5b11b6cfacee90fd scripts/endpoint.psgi
SHA1 19ac766464ef05698ac985e2a42e87dbb7912f3f share/index.html
SHA1 6dd0cf355b49dcb0fdfe9203c68917d5320584f8 share/results.html
SHA1 c40ebad09f7e1d92ad0228a0625d730ba2f57b84 share/www/css/docs.css
SHA1 398bae2ae66a19ab8976036b50a2d20041b67fe5 share/www/css/sparqlcolors.css
SHA1 aa6874f2bad5f0b75b0ff52760f5e6b48ec933ae share/www/favicon.ico
SHA1 13fece7654a01193013d3d96528c851bfc79a300 share/www/js/codemirror.js
SHA1 d372c911fcc2bd030da800fdeedfbcd6b0100c83 share/www/js/editor.js
SHA1 551ff99056361eebfba2a32ea7445502a6eb4f21 share/www/js/highlight.js
SHA1 5bff996ab2564db1a998de30cb9e1ae07cbe62b5 share/www/js/mirrorframe.js
SHA1 d7540f8390913afc0d58484bf5161cf9b9aad9f8 share/www/js/parsecss.js
SHA1 a0028275114eaedf7ddcf57976c99c32ecb2c1d3 share/www/js/parsedummy.js
SHA1 39383cdfc93568cc5673e2b71f681e2811fb5463 share/www/js/parsehtmlmixed.js
SHA1 d5319247a4b26cafccfd4f26621918f0f4d22ef4 share/www/js/parsejavascript.js
SHA1 c6597fb9a5c7969237f7f039f2d0bc6968ef7ce7 share/www/js/parsesparql.js
SHA1 ae75f537ad61277a21a8ec423f5deffed8454e22 share/www/js/parsexml.js
SHA1 85cdbc16cd1581f441480d91fa5c0a50f234ff0b share/www/js/select.js
SHA1 d3261a5ddb7e5835c7abed5d5c343f0ef98637a5 share/www/js/sparql_form.js
SHA1 19cc324cce7165c868a60d523b2462c648f20887 share/www/js/stringstream.js
SHA1 5fdb14f3db575d0ce6a7113f96ea5a530f4f1941 share/www/js/tokenize.js
SHA1 7f581a2b4647f1214d1bc3160eb4e166a1261e4f share/www/js/tokenizejavascript.js
SHA1 9bba7456d4a25b23e805bc2d1d5bde61371c4e82 share/www/js/undo.js
SHA1 26ff15a8f6c196e8bd9f5d7e7b628a6ee9b0dfaa share/www/js/unittests.js
SHA1 201409b1d00a8df0b65b00a1b92ab62d9e0bbd7a share/www/js/util.js
SHA1 ab27c130ce49175526943d0ca34d6f7a1197a630 t/00-load.t
SHA1 fab81470801945cedad194024a801a99af4e6b2a t/etag.t
SHA1 6387af7a5fde0747be5bc9ad2ec15ca9759bd95a t/pod.t
SHA1 9115f7ffe1933ad736dc292f3c89595b36ed6aa2 t/pod_coverage.t
SHA1 9eb5c0dd1f1e99ad3d05afaae4d3179b714f94a5 t/psgi.t
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
iEYEARECAAYFAl/iE4kACgkQhPK6VMqoyC34lACeIYVKnfvYLnKLiJdn/LUf7Bg0
aaYAn0OhHZe6tyTZEsTRgM9qBpqOIFE6
=9vM9
-----END PGP SIGNATURE-----
RDF-Endpoint-0.11/rdf_endpoint.json 000644 000765 000024 00000002026 12370032672 017263 0 ustar 00greg staff 000000 000000 {
# "store": "Memory",
# "store": "Memory;file:///Users/samofool/foaf.xrdf",
# "store" : "DBI;basic;DBI:SQLite:t/data/basic.db;user;pass",
"store": "DBI;endpoint;DBI:SQLite:dbname=endpoint.sqlite;;",
"endpoint": {
"update": true, # allow SPARQL Update operations
"load_data": false, # allow loading RDF data via SPARQL Protocol or FROM/FROM NAMED clauses
"html": {
"resource_links": true, # turn resources into links in HTML query result pages
"embed_images": false, # display foaf:Images as images in HTML query result pages
"image_width": 200, # with 'embed_images', scale images to this width
},
"service_description": {
"default": true, # generate dataset description of the default graph
"named_graphs": true, # generate dataset description of the available named graphs
"related": ["http://dbpedia.org/sparql", "http://kasei.us/sparql"],
"software": "http://kasei.us/code/rdf-query/#rdf-query-2.909",
"namespaces": {
"foaf": "http://xmlns.com/foaf/0.1/",
},
},
}
}
RDF-Endpoint-0.11/Changes 000644 000765 000024 00000011012 13770411606 015206 0 ustar 00greg staff 000000 000000 RDF-Endpoint
============
Created: 2010-06-19
Home page:
Bug tracker:
Maintainer: Gregory Todd Williams
0.11 2020-12-22
- (Update) Update project metadata.
0.10 2018-02-16
- (Update) Changes to support the new RDFa serializer (#157 from Kjetil
Kjernsmo).
0.09 2017-09-13
- (Update) Switch from HTML::HTML5::Parser to XML::LibXML parser for RDFa
SD generation (#153 from Kjetil Kjernsmo).
0.08 2017-01-05
- (Update) Replaced use of Config::JFDI with Config::ZOMG (github issue
#142).
0.07 2014-08-04
- (Update) Added Plack::App::RDF::Endpoint.
- (Update) Updated RDF::Endpoint to quote raw-value ETag values (github
issue #106).
- (Update) Updated endpoint.psgi to look for PERLRDF_STORE environment
variable.
- (Update) Use base64 encoding of tags to get shorter strings (patch from
Kjetil Kjernsmo).
0.06 2014-07-01
- (Update) Add Server header (from Kjetil Kjernsmo via github pull request
#93).
- (Update) Added Allow header to HTTP 405 responses.
- (Update) Added SPARQL 1.1 WG protocol tests.
- (Update) Added initial support for application/json-problem errors.
- (Update) Fixed config bug in t/psgi.t.
- (Update) Made RDF::Endpoint->new die on invalid config (when both
load_data and update options are specified).
- (Update) The load_data and update configuration flags cannot both be
true at the same time.
- (Update) Updated RDF::Endpoint to return a 400 error when datasets are
specified both in protocol and query.
0.05 2012-05-28
- (Update) Added Service Description resultFormat triples for SPARQL XML
and JSON Results.
- (Update) Added use of Plack::Builder and Plack::Middleware::AccessLog in
default configuration.
- (Update) Croak when unable to open file handles
- (Update) Fixed bug in handling of update requests.
- (Update) Improved HTTP error status code messages.
- (Update) Improved conformance with SPARQL 1.1 Protocol spec.
- (Update) Let RDF_ENDPOINT_FILE env variable override the Config::JFDI
default.
- (Update) Removed custom logging code (should be done with Plack
middleware).
- (Update) Renamed Service Description sd:defaultDatasetDescription
property to sd:defaultDataset.
- (Update) Require a recent version (0.99) of Plack::Request with support
for logging.
- (Update) Updated see also link to SPARQL Protocol (1.1).
- (Update) Use a default in-memory store if no config file is available.
0.04 2011-07-19
- (Update) Added RDFa serialization tests (from KjetilK).
- (Update) Allow the service description default graph to be a URI or a
blank node (based on config value).
- (Update) Fixed bug introduced by commit 3fb5e48 causing query results to
disappear from HTML results page.
- (Update) Require RDF::RDFa::Generator 0.102 (fixes RDFa service
description serialization bug).
0.03 2011-06-07
- (Update) Actually dereference correctly endpoint_path, and make the test
use root (from kjetilk).
- (Update) Add merging of namespace hashes (from kjetilk).
- (Update) Make endpoint path configurable (from kjetilk).
- (Update) Removed duplicated, hard-coded HTML to allow better
customization of HTML (from nichtich).
- (Update) Replace new_with_string with new and change docs (from
kjetilk).
- (Update) Updated service description RDF to use sd:endpoint instead of
sd:url (tracking updates in the SD spec).
- (Update) style element must go in head (from kjetilk).
0.02 2011-04-16
- (Update) Added CodeMirror files for syntax highlighting SPARQL query
form markup.
- (Update) Added ETag support for query results, varying based on Accept
and Accept-Encoding headers, and query string.
- (Update) Added support for POSTing queries and updates directly using
the appropriate media types.
- (Update) Changes to align with SPARQL Protocol 1.1.
- (Update) Fixed caching bug in which browsers would use cached results
across endpoint instantiations.
- (Update) Moved endpoint-specific configuration variables into top-level
'endpoint' hash.
- (Update) Service description is now cached in the RDF::Endpoint object.
- (Update) Updated RDF::Endpoint to use a persistent model object across
run() calls.
- (Update) Updated content negotiation quality values.
- (Update) Updated endpoint.psgi to move config parsing and endpoint
object construction outside of the request handler.
- (Update) Updated tests to test functionality directly via PSGI.
0.01 2010-07-14
- (Update) First release.
RDF-Endpoint-0.11/MANIFEST 000644 000765 000024 00000002260 13770411611 015045 0 ustar 00greg staff 000000 000000 README
Changes
inc/Module/Install.pm
inc/Module/Install/Base.pm
inc/Module/Install/Can.pm
inc/Module/Install/DOAPChangeSets.pm
inc/Module/Install/Fetch.pm
inc/Module/Install/Makefile.pm
inc/Module/Install/Metadata.pm
inc/Module/Install/Scripts.pm
inc/Module/Install/Share.pm
inc/Module/Install/Win32.pm
inc/Module/Install/WriteAll.pm
lib/RDF/Endpoint.pm
LICENSE
Makefile.PL
MANIFEST This list of files
META.yml
meta/changes.ttl
rdf_endpoint.json
scripts/endpoint.psgi
share/index.html
share/results.html
share/www/favicon.ico
share/www/css/docs.css
share/www/css/sparqlcolors.css
share/www/js/codemirror.js
share/www/js/editor.js
share/www/js/highlight.js
share/www/js/mirrorframe.js
share/www/js/parsecss.js
share/www/js/parsedummy.js
share/www/js/parsehtmlmixed.js
share/www/js/parsejavascript.js
share/www/js/parsesparql.js
share/www/js/parsexml.js
share/www/js/select.js
share/www/js/sparql_form.js
share/www/js/stringstream.js
share/www/js/tokenize.js
share/www/js/tokenizejavascript.js
share/www/js/undo.js
share/www/js/unittests.js
share/www/js/util.js
t/00-load.t
t/etag.t
t/pod.t
t/pod_coverage.t
t/psgi.t
SIGNATURE Public-key signature (added by MakeMaker)
RDF-Endpoint-0.11/meta/ 000755 000765 000024 00000000000 13770411610 014641 5 ustar 00greg staff 000000 000000 RDF-Endpoint-0.11/t/ 000755 000765 000024 00000000000 13770411610 014156 5 ustar 00greg staff 000000 000000 RDF-Endpoint-0.11/README 000644 000765 000024 00000002126 13223603654 014600 0 ustar 00greg staff 000000 000000 RDF::Endpoint - A SPARQL Protocol Endpoint implementation
This modules implements the SPARQL Protocol for RDF using the PSGI
interface provided by Plack. It may be run with any Plack handler.
REQUIREMENTS
To install RDF::Endpoint you'll need the following perl modules installed:
* JSON
* Carp
* File::ShareDir
* RDF::Trine
* RDF::Query
* RDF::RDFa::Generator
* Plack::Request
* Plack::Response
* Plack::Middleware::AccessLog
* Data::Dumper
* Config::ZOMG
* HTTP::Negotiate
* IO::Compress::Gzip
* XML::LibXML
* HTML::HTML5::Writer
* Hash::Merge::Simple
The following additional modules are required for testing the installation:
* Test::More
* Test::WWW::Mechanize::PSGI
INSTALLATION
To install, run:
perl Makefile.PL
make
make test
make install
COPYRIGHT
Copyright (C) 2010-2014 Gregory Williams. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
AUTHOR
Gregory Williams
RDF-Endpoint-0.11/META.yml 000644 000765 000024 00000002321 13770411606 015167 0 ustar 00greg staff 000000 000000 ---
abstract: 'A SPARQL Protocol Endpoint implementation'
author:
- 'Gregory Todd Williams '
- 'Gregory Todd Williams '
build_requires:
ExtUtils::MakeMaker: 6.59
Test::More: '0.61'
Test::WWW::Mechanize::PSGI: 0
configure_requires:
ExtUtils::MakeMaker: 6.59
distribution_type: module
dynamic_config: 1
generated_by: 'Module::Install version 1.19'
license: zlib
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: RDF-Endpoint
no_index:
directory:
- inc
- share
- t
requires:
Carp: 0
Config::ZOMG: 0
Data::Dumper: 0
File::ShareDir: 0
HTML::HTML5::Writer: 0
HTTP::Negotiate: 0
Hash::Merge::Simple: 0
IO::Compress::Gzip: 0
JSON: 0
Plack::Middleware::AccessLog: 0
Plack::Request: 0.99
Plack::Response: 0
RDF::Query: 2.905
RDF::RDFa::Generator: 0.2
RDF::Trine: 0.134
RDF::TrineX::Compatibility::Attean: 0
XML::LibXML: 1.7
perl: 5.8.0
resources:
IRC: irc://irc.perl.org/#perlrdf
bugtracker: https://github.com/kasei/perlrdf/issues
homepage: https://metacpan.org/release/RDF-Endpoint/
license: http://dev.perl.org/licenses/
repository: https://github.com/kasei/perlrdf/
version: '0.11'
RDF-Endpoint-0.11/scripts/ 000755 000765 000024 00000000000 13770411610 015402 5 ustar 00greg staff 000000 000000 RDF-Endpoint-0.11/lib/ 000755 000765 000024 00000000000 13770411610 014461 5 ustar 00greg staff 000000 000000 RDF-Endpoint-0.11/PaxHeader/Makefile.PL 000644 000765 000024 00000000036 13767747422 017660 x ustar 00greg staff 000000 000000 30 mtime=1608503058.459684601
RDF-Endpoint-0.11/Makefile.PL 000644 000765 000024 00000002457 13767747422 015720 0 ustar 00greg staff 000000 000000 use strict;
use warnings;
use inc::Module::Install;
name 'RDF-Endpoint';
all_from 'lib/RDF/Endpoint.pm';
author 'Gregory Todd Williams ';
license 'zlib';
test_requires 'Test::More' => '0.61';
test_requires 'Test::WWW::Mechanize::PSGI' => 0;
requires 'JSON' => 0;
requires 'Carp' => 0;
requires 'File::ShareDir' => 0;
requires 'RDF::Trine' => 0.134;
requires 'RDF::Query' => 2.905;
requires 'RDF::RDFa::Generator' => 0.200;
requires 'RDF::TrineX::Compatibility::Attean' => 0;
requires 'Plack::Request' => 0.99;
requires 'Plack::Response' => 0;
requires 'Plack::Middleware::AccessLog' => 0;
requires 'Data::Dumper' => 0;
requires 'Config::ZOMG' => 0;
requires 'HTTP::Negotiate' => 0;
requires 'IO::Compress::Gzip' => 0;
requires 'XML::LibXML' => 1.70;
requires 'HTML::HTML5::Writer' => 0;
requires 'Hash::Merge::Simple' => 0;
resources(
'homepage' => "https://metacpan.org/release/RDF-Endpoint/",
'repository' => "https://github.com/kasei/perlrdf/",
'bugtracker' => "https://github.com/kasei/perlrdf/issues",
'IRC' => "irc://irc.perl.org/#perlrdf",
);
write_doap_changes "meta/changes.ttl", "Changes", "turtle";
install_share;
install_script glob('scripts/*');
sign;
WriteAll;
RDF-Endpoint-0.11/share/ 000755 000765 000024 00000000000 13770411610 015015 5 ustar 00greg staff 000000 000000 RDF-Endpoint-0.11/share/index.html 000644 000765 000024 00000002661 12370032672 017021 0 ustar 00greg staff 000000 000000
SPARQL
RDF-Endpoint-0.11/share/www/ 000755 000765 000024 00000000000 13770411610 015641 5 ustar 00greg staff 000000 000000 RDF-Endpoint-0.11/share/results.html 000644 000765 000024 00000001432 11712064116 017403 0 ustar 00greg staff 000000 000000
SPARQL Results