Group
Extension

Matches 11

RDF-AllegroGraph-Easy ( D/DR/DRRHO/RDF-AllegroGraph-Easy-0.08.tar.gz, DRRHO, 2011; MetaCPAN )
RDF-AllegroGraph-Easy/lib/RDF/AllegroGraph/Transaction4.pm ( view source; MetaCPAN )
arnings;

use base qw(RDF::AllegroGraph::Session4);

use Data::Dumper;
use feature "switch";

use JSON;
use URI::Escape qw/uri_escape_utf8/;

use HTTP::Request::Common;

=pod

=head1 NAME

RDF::Allegr
RDF-AllegroGraph-Easy ( D/DR/DRRHO/RDF-AllegroGraph-Easy-0.08.tar.gz, DRRHO, 2011; MetaCPAN )
RDF-AllegroGraph-Easy/lib/RDF/AllegroGraph/Session4.pm ( view source; MetaCPAN )
ings;

use base qw(RDF::AllegroGraph::Repository4);

use Data::Dumper;
use feature "switch";

use JSON;
use URI::Escape qw/uri_escape_utf8/;

use HTTP::Request::Common;

=pod

=head1 NAME

RDF::Allegr
RDF-AllegroGraph-Easy ( D/DR/DRRHO/RDF-AllegroGraph-Easy-0.08.tar.gz, DRRHO, 2011; MetaCPAN )
RDF-AllegroGraph-Easy/lib/RDF/AllegroGraph/Repository4.pm ( view source; MetaCPAN )
nings;

use base qw(RDF::AllegroGraph::Repository);

use Data::Dumper;
use feature "switch";

use JSON;
use URI::Escape qw/uri_escape_utf8/;

use HTTP::Request::Common;

=pod

=head1 NAME

RDF::Allegr
 'application/json',
							'Content' => { 'amount' => $amount });
    die "protocol error: ".$resp->status_line.' ('.$resp->content.')' unless $resp->is_success;
    return @{ from_json ($resp->conte
 $ua->post ($self->{path} . '/statements',
				       'Content-Type' => 'application/json', 'Content' => encode_json (\@stmts) );
		die "protocol error: ".$resp->status_line.' ('.$resp->content.')' un
RDF-AllegroGraph-Easy ( D/DR/DRRHO/RDF-AllegroGraph-Easy-0.08.tar.gz, DRRHO, 2011; MetaCPAN )
RDF-AllegroGraph-Easy/lib/RDF/AllegroGraph/Server3.pm ( view source; MetaCPAN )
le for the AGv3 series

=head1 SYNOPSIS

# same interface as RDF::AllegroGraph::Server

=cut

use JSON;
use Data::Dumper;

use RDF::AllegroGraph::Catalog3;

=pod

=head1 INTERFACE

=head2 Methods

=ov
gs');
    die "protocol error: ".$resp->status_line unless $resp->is_success;
    my $cats = from_json ($resp->content);
#    warn Dumper $cats;
    return 
	map { $_ => RDF::AllegroGraph::Catalog3->n
RDF-AllegroGraph-Easy ( D/DR/DRRHO/RDF-AllegroGraph-Easy-0.08.tar.gz, DRRHO, 2011; MetaCPAN )
RDF-AllegroGraph-Easy/lib/RDF/AllegroGraph/Server.pm ( view source; MetaCPAN )

    $self->timeout(10);
    $self->env_proxy;
    $self->default_header('Accept' => "application/json");
    if ($options{AUTHENTICATION}) {
	( $self->{USERNAME}, $self->{PASSWORD} ) = ($options{AUTH
RDF-AllegroGraph-Easy ( D/DR/DRRHO/RDF-AllegroGraph-Easy-0.08.tar.gz, DRRHO, 2011; MetaCPAN )
RDF-AllegroGraph-Easy/lib/RDF/AllegroGraph/Catalog3.pm ( view source; MetaCPAN )
legroGraph::Catalog

=cut

use RDF::AllegroGraph::Repository3;
use RDF::AllegroGraph::Utils;

use JSON;
use HTTP::Status;
use Fcntl;
use Data::Dumper;

sub new {
    my $class   = shift;
    my %optio
es');
    die "protocol error: ".$resp->status_line unless $resp->is_success;
    my $repo = from_json ($resp->content);
    return
	map { RDF::AllegroGraph::Repository3->new (%$_, CATALOG => $self) }
RDF-AllegroGraph-Easy ( D/DR/DRRHO/RDF-AllegroGraph-Easy-0.08.tar.gz, DRRHO, 2011; MetaCPAN )
RDF-AllegroGraph-Easy/lib/RDF/AllegroGraph/Utils.pm ( view source; MetaCPAN )
if ($d =~ q|^<(.*)>$|) {
	return $1;
    } elsif ($d =~ q|^"(.*)"$|) {
	return $1;
    } elsif (JSON::XS::is_bool $d) {
	return $d;
#	return JSON::XS::true == $d;
    } else {
	return $d;
    }
}

1;
RDF-AllegroGraph-Easy ( D/DR/DRRHO/RDF-AllegroGraph-Easy-0.08.tar.gz, DRRHO, 2011; MetaCPAN )
RDF-AllegroGraph-Easy/lib/RDF/AllegroGraph/Repository.pm ( view source; MetaCPAN )
 $ua->post ($self->{path} . '/statements',
				       'Content-Type' => 'application/json', 'Content' => encode_json (\@stmts) );
		die "protocol error: ".$resp->status_line.' ('.$resp->content.')' un
->new (PUT => $self->{path} . '/statements',
					       [ 'Content-Type' => 'application/json' ], encode_json (\@stmts));
		my $resp = $ua->request ($requ);
		die "protocol error: ".$resp->status_lin
OST => $self->{path} . '/statements/delete',
					       [ 'Content-Type' => 'application/json' ], encode_json (\@facts));
		my $resp = $ua->request ($requ);
		die "protocol error: ".$resp->status_lin
RDF-AllegroGraph-Easy ( D/DR/DRRHO/RDF-AllegroGraph-Easy-0.08.tar.gz, DRRHO, 2011; MetaCPAN )
RDF-AllegroGraph-Easy/lib/RDF/AllegroGraph/Repository3.pm ( view source; MetaCPAN )
nings;

use base qw(RDF::AllegroGraph::Repository);

use Data::Dumper;
use feature "switch";

use JSON;
use URI::Escape qw/uri_escape_utf8/;

use HTTP::Request::Common;

=pod

=head1 NAME

RDF::Allegr
 $ua->post ($self->{path} . '/statements',
				       'Content-Type' => 'application/json', 'Content' => encode_json (\@stmts) );
		die "protocol error: ".$resp->status_line.' ('.$resp->content.')' un
->new (PUT => $self->{path} . '/statements',
					       [ 'Content-Type' => 'application/json' ], encode_json (\@stmts));
		my $resp = $ua->request ($requ);
		die "protocol error: ".$resp->status_lin
RDF-AllegroGraph-Easy ( D/DR/DRRHO/RDF-AllegroGraph-Easy-0.08.tar.gz, DRRHO, 2011; MetaCPAN )
RDF-AllegroGraph-Easy/lib/RDF/AllegroGraph/Server4.pm ( view source; MetaCPAN )
::AllegroGraph::Server4;

use strict;
use warnings;

use base qw(RDF::AllegroGraph::Server);

use JSON;
use Data::Dumper;

use RDF::AllegroGraph::Catalog4;
use HTTP::Request::Common;
use HTTP::Status;
gs');
    die "protocol error: ".$resp->status_line unless $resp->is_success;
    my $cats = from_json ($resp->content);
    return 
	map { $_ => RDF::AllegroGraph::Catalog4->new (NAME => $_, SERVER =
RDF-AllegroGraph-Easy ( D/DR/DRRHO/RDF-AllegroGraph-Easy-0.08.tar.gz, DRRHO, 2011; MetaCPAN )
RDF-AllegroGraph-Easy/lib/RDF/AllegroGraph/Catalog4.pm ( view source; MetaCPAN )
log handle for AGv4

=cut

use RDF::AllegroGraph::Repository4;
use RDF::AllegroGraph::Utils;

use JSON;
use HTTP::Status;
use Fcntl;
use Data::Dumper;

=pod

=head1 INTERFACE

=head2 Constructor

The 
es');
    die "protocol error: ".$resp->status_line unless $resp->is_success;
    my $repo = from_json ($resp->content);
    return
	map { RDF::AllegroGraph::Repository4->new (%$_, CATALOG => $self) }

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.