Conditions

A condition is a boolean combination of test elements, each of which defines a condition on the vertex (or link). Condition test elements can be combined with the and, or, and not elements using disjunctive normal form.

<condition>

Attributes  None.

Children 

test member of a required set A requirement for the corresponding vertex’s or edge’s attribute values
and member of a required set Requires all of the included tests be satisfied
or member of a required set Requires one of the included tests be satisfied
not member of a required set Requires that the specified test not be satisfied

Content Model 

(or | and | not | test)

Example 

<condition>
  <and>
    <test>
      <operator>eq</operator>
      <attribute-name>objtype</attribute-name>
      <value>person</value>
    </test>
    <not>
      <test>
        <operator>exists</operator>
        <attribute-name>cluster-coeff</attribute-name>
      </test>
    </not>
  </and>
</condition>