The required query-body
element specifies the structure and requirements for the pattern to be
matched to structures in the database.
<query-body>Attributes None.
Children
vertex |
one or more | Describes a vertex in the query; matches an object in the data |
edge |
zero or more | Describes an edge in the query; matches a link in the data |
subquery |
zero or more | Specifies a subquery within the current query |
constraint |
zero or one | Specifies a constraint between query elements |
add-link |
zero or more | Specifies new links to be added to the database |
Content Model
(vertex, (edge | vertex)*, subquery*, constraint?, add-link*)
<query-body> <vertex name="A">see vertex</vertex> <edge name="Y">see edge</edge> <subquery>see subquery</subquery> <constraint>see constraint</constraint> <add-link>see add-link</add-link> </query-body>