nwhile have largely been
solved by L<JSON-LD|https://json-ld.org/>. Despite aRef having its own
benefits, please consider using a more established technology (JSON-LD)
instead!
=head1 EXPORTED FUNCTI
ce of L<Attean::API::TripleStore> (experimental)
=item
hash reference with L<RDF/JSON|http://www.w3.org/TR/rdf-json/> format (as
returned by method C<as_hashref> in L<RDF::Trine::Model>)
=back
=he
$subject) = @_;
return do {
if (!reftype $subject) {
undef
# RDF/JSON
} elsif (reftype $subject eq 'HASH') {
if ($subject->{type} eq 'uri' or $subj
) = @_;
$predicate = do {
if (!reftype $predicate) {
undef
# RDF/JSON
} elsif (reftype $predicate eq 'HASH' and $predicate->{type} eq 'uri') {
$pre
, $object) = @_;
return do {
if (!reftype $object) {
undef
# RDF/JSON
} elsif (reftype $object eq 'HASH') {
if ($object->{type} eq 'literal') {