Semantic search

Jump to navigation Jump to search
Condition
Printout selection
Options
Parameters [
limit:

The maximum number of results to return
offset:

The offset of the first result
link:

Show values as links
headers:

Display the headers/property names
mainlabel:

The label to give to the main page name
intro:

The text to display before the query results, if there are any
outro:

The text to display after the query results, if there are any
searchlabel:

Text for continuing the search
default:

The text to display if there are no query results
import-annotation:

Additional annotated data are to be copied during the parsing of a subject
propsep:

The separator between the properties of a result entry
valuesep:

The separator between the values for a property of a result
template:

The name of a template with which to display the printouts
named args:

Name the arguments passed to the template
userparam:

A value passed into each template call, if a template is used
class:

An additional CSS class to set for the list
introtemplate:

The name of a template to display before the query results, if there are any
outrotemplate:

The name of a template to display after the query results, if there are any
sep:

The separator between results
Sort options
Delete
Add sorting condition

filter Step

The [http://tinkerpop.apache.org/docs/current/reference/#general-steps general-steps filter] step Continues processing based on the given filter condition.

max Step

The [http://tinkerpop.apache.org/docs/current/reference/#max-step max-step max] step operates on a stream of comparable objects and determines which is the last object according to its natural order in the stream.

coalesce Step

The [http://tinkerpop.apache.org/docs/current/reference/#coalesce-step coalesce-step coalesce] step The coalesce()-step evaluates the provided traversals in order and returns the first traversal that emits at least one element.

toSet Step

The [http://tinkerpop.apache.org/docs/current/reference/#terminal-steps terminal-steps toSet] step will return all results in a set and thus, duplicates removed

option Step

The [http://tinkerpop.apache.org/docs/current/reference/#option-step option-step option] step An option to a branch() or choose()

and Step

The [http://tinkerpop.apache.org/docs/current/reference/#and-step and-step and] step [http://tinkerpop.apache.org/javadocs/current/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#and-org.apache.tinkerpop.gremlin.process.traversal.Traversal...- and-org.apache.tinkerpop.gremlin.process.traversal.Traversal...- (javadoc)]ensures that all provided traversals yield a result

outE Step

The outE step maps the current elements to the the outgoing edges.

bothE Step

The bothE step maps the current elements to both the in and outgoing edges.

iterate Step

The [http://tinkerpop.apache.org/docs/current/reference/#terminal-steps terminal-steps iterate] step Iterates the traversal presumably for the generation of side-effects. See https://stackoverflow.com/questions/47403296/iterate-step-is-used-in-the-end-of-the-command-when-creating-nodes-and-edges-t

fold Step

The [http://tinkerpop.apache.org/docs/current/reference/#fold-step fold-step fold] step There are situations when the traversal stream needs a "barrier" to aggregate all the objects and emit a computation that is a function of the aggregate. The fold()-step (map) is one particular instance of this. Please see unfold()-step for the inverse functionality.

explain Step

The [http://tinkerpop.apache.org/docs/current/reference/#terminal-steps terminal-steps explain] step will return a TraversalExplanation. A traversal explanation details how the traversal (prior to explain()) will be compiled given the registered traversal strategies. A TraversalExplanation has a toString() representation with 3-columns. The first column is the traversal strategy being applied. The second column is the traversal strategy category: [D]ecoration, [O]ptimization, [P]rovider optimization, [F]inalization, and [V]erification. Finally, the third column is the state of the traversal post strategy application. The final traversal is the resultant execution plan.

order Step

The [http://tinkerpop.apache.org/docs/current/reference/#order-step order-step order] step [http://tinkerpop.apache.org/javadocs/current/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#order-- (javadoc), order-- (javadoc), [1] (javadoc)]orders the traversal elements

select Step

The [http://tinkerpop.apache.org/docs/current/reference/#select-step select-step select] step

limit Step

The [http://tinkerpop.apache.org/docs/current/reference/#limit-step limit-step limit] step

fill Step

The [http://tinkerpop.apache.org/docs/current/reference/#terminal-steps terminal-steps fill] step fill(collection) will put all results in the provided collection and return the collection when complete.

mean Step

The [http://tinkerpop.apache.org/docs/current/reference/#mean-step mean-step mean] step operates on a stream of numbers and determines the average of those numbers.

sideEffect Step

The [http://tinkerpop.apache.org/docs/current/reference/#general-steps general-steps sideEffect] step performs some operation on the traverser and passes it to the next step.

toBulkSet Step

The [http://tinkerpop.apache.org/docs/current/reference/#terminal-steps terminal-steps toBulkSet] step will return all results in a weighted set and thus, duplicates preserved via weighting

coin Step

The [http://tinkerpop.apache.org/docs/current/reference/#coin-step coin-step coin] step [http://tinkerpop.apache.org/javadocs/current/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#coin-double- coin-double- (javadoc)]randomly filters out traversers with the given probability

min Step

The [http://tinkerpop.apache.org/docs/current/reference/#min-step min-step min] step operates on a stream of comparable objects and determines which is the first object according to its natural order in the stream.

range Step

The [http://tinkerpop.apache.org/docs/current/reference/#range-step range-step range] step

next Step

The [http://tinkerpop.apache.org/docs/current/reference/#terminal-steps terminal-steps next] step will return the next result.next(n) will return the next n results in a list

has Step

The [http://tinkerpop.apache.org/docs/current/reference/#has-step has-step has] step [http://tinkerpop.apache.org/javadocs/current/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#has-java.lang.String- has-java.lang.String- (javadoc)]filters vertices, edges, and vertex properties based on their properties. This step has quite a few variations.

flatMap Step

The [http://tinkerpop.apache.org/docs/current/reference/#general-steps general-steps flatMap] step transforms the current step in a one to many fashion.

id Step

The [http://tinkerpop.apache.org/docs/current/reference/#id-step id-step id] step maps the traversal to the ids of the current elements.

aggregate Step

The [http://tinkerpop.apache.org/docs/current/reference/#aggregate-step aggregate-step aggregate] step [http://tinkerpop.apache.org/javadocs/current/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#aggregate-java.lang.String- aggregate-java.lang.String- (javadoc)]is used to aggregate all the objects at a particular point of traversal into a Collection

match Step

The [http://tinkerpop.apache.org/docs/current/reference/#match-step match-step match] step see https://stackoverflow.com/questions/55609832/is-threre-a-document-about-how-gremlin-match-works

hasNext Step

The [http://tinkerpop.apache.org/docs/current/reference/#terminal-steps terminal-steps hasNext] step determines whether there are available results