{
"length": 818,
"name": "error",
"severity": "ERROR",
"code": "38000",
"where": "PL/Perl function \"get_properties\"\nSQL statement \"with q as (\n select sparql.iri_ns(predicate),\n regexp_replace(sparql.iri_ident(predicate),'^Property-3A','') as iri_ident,\n array_agg(distinct value) as values\n from sparql.get_properties('localhost',iri)\n group by 1,2\n ) \n select json_object_agg(iri_ns||':'||iri_ident,values)::jsonb as objects \n from q\"\nPL/pgSQL function csi.get_properties_by_iri_json(text) line 5 at SQL statement\nPL/pgSQL function csi.get_properties_by_iri_recursive_json(text) line 7 at assignment\nPL/pgSQL function csi.\"$info_localname\"(text) line 16 at assignment",
"file": "plperl.c",
"line": "2265",
"routine": "plperl_call_perl_func",
"error": "error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before \"(end of string)\") at line 41.",
"query": "select * from csi.\"$info_localname\"($1) as json"
}