use warnings;
use strict;
use base qw(Class::Accessor);
use URI::Escape;
use LWP::UserAgent;
use JSON::XS;
use Metaweb::Result;
__PACKAGE__->mk_accessors(qw(
username
password
server
- any other website built on the Metaweb platform.
The Metaweb Query Language (MQL) is based on JSON and query-by-example.
The MQL and API documentation can be found on the Freebase website in
the d
# all people!
});
The query is a a Perl data structure that's converted to JSON using the
L<JSON::XS> module's C<to_json()> method. The MQL envelope will
automatically be put around the query, usi