Complex sentence: It is based on the XQuery language, with which it shares the same core expressions and operations on atomic types.
Split into simpler sentences: It is based on the XQuery language. The languages share the same core expressions and operations on atomic types.