Currently, the Neptune DFE supports a subset of SPARQL and Gremlin query constructs.
For SPARQL, this is the subset of conjunctive basic graph
patterns
For Gremlin, it is generally the subset of queries that contain a chain of traversals which do not contain some of the more complex steps.
You can find out whether one of your queries is being executed in whole or in part by the DFE as follows:
-
In Gremlin,
explain
andprofile
results tell you what parts of a query are being executed by the DFE, if any. See Information contained in a Gremlin explain report forexplain
and DFE profile reports forprofile
. Also, see Tuning Gremlin queries using explain and profile.Details about Neptune engine support for individual Gremlin steps are documented in Gremlin step support.
Similarly, SPARQL
explain
tells you whether a SPARQL query is being executed by the DFE. See Example of SPARQL explain output when the DFE is enabled and DFENode operator for more details.