Sequence construction:
(1 to 10)[. mod 2 = 1]=(1,3,5,7,9)
($preamble, .//item)
Combining Node Sequences
$seq1 union $seq2 returns all the nodes in at least one sequence.
$seq1 intersect $seq2 returns all the nodes in both sequences.
$seq1 except $seq2 returns all the nodes in the first sequence that aren’t in the second.
Quantified expressions (some and every).