The queryId SPARQL Query Hint - Amazon Neptune
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

The queryId SPARQL Query Hint

Use this query hint to assign your own queryId value to a SPARQL query.

Example:

PREFIX hint: <http://aws.amazon.com/neptune/vocab/v01/QueryHints#> SELECT * WHERE { hint:Query hint:queryId "4d5c4fae-aa30-41cf-9e1f-91e6b7dd6f47" {?s ?p ?o}}

The value you assign must be unique across all queries in the Neptune DB.