Added Gremlin pipelines for someOf, allOf, complement and Thing.