Semantic search
t0.smw_id AS id,
t0.smw_title AS t,
t0.smw_namespace AS ns,
t0.smw_iw AS iw,
t0.smw_subobject AS so,
t0.smw_sortkey AS sortkey, t0.smw_sort
FROM
`smw_object_ids` AS t0
INNER JOIN
`smw_di_blob` AS t2 ON t0.smw_id=t2.s_id
WHERE
(t2.p_id=6517)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
55
OFFSET
50
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t2 | ref | s_id, p_id, s_id_2 | p_id | 4 | const | 58 | Using temporary; Using filesort | |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | wiki.t2.s_id | 1 | Using where |
Query-Depth:0
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