Skip to content

aws.neptunedata.get_sparql_statistics

Example SQL Queries

SELECT * FROM
aws.neptunedata.get_sparql_statistics;

Description

Gets RDF statistics (SPARQL).

Table Definition

Column NameColumn Data Type
payload

Statistics for RDF data.

STRUCT(
"auto_compute" BOOLEAN,
"active" BOOLEAN,
"statistics_id" VARCHAR,
"date" TIMESTAMP_S,
"note" VARCHAR,
"signature_info" STRUCT(
"signature_count" BIGINT,
"instance_count" BIGINT,
"predicate_count" BIGINT
)
)
Show child fields
payload.active

Indicates whether or not DFE statistics generation is enabled at all.

payload.auto_compute

Indicates whether or not automatic statistics generation is enabled.

payload.date

The UTC time at which DFE statistics have most recently been generated.

payload.note

A note about problems in the case where statistics are invalid.

payload.signature_info

A StatisticsSummary structure that contains:

  • signatureCount - The total number of signatures across all characteristic sets.

  • instanceCount - The total number of characteristic-set instances.

  • predicateCount - The total number of unique predicates.

Show child fields
payload.signature_info.instance_count

The total number of characteristic-set instances.

payload.signature_info.predicate_count

The total number of unique predicates.

payload.signature_info.signature_count

The total number of signatures across all characteristic sets.

payload.statistics_id

Reports the ID of the current statistics generation run. A value of -1 indicates that no statistics have been generated.

status

The HTTP return code of the request. If the request succeeded, the code is 200. See Common error codes for DFE statistics request for a list of common errors.

When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStatisticsStatus IAM action in that cluster.

VARCHAR