I wrote
In our approach, we rely mainly on the page's content to detect a data region, which in our definition is comprised of a node or a range of nodes in the DOM tree, constituting a contiguous portion of the page.
I could write it as two sentences like:
In our approach, we rely mainly on the page's content to detect data regions. A data region in our definition is comprised of a node or a range of nodes in the DOM tree, constituting a contiguous portion of the page.
I know both sentences are grammatical and correct (and if not, that's not my question). However, I feel that for introductory sentences, I'd better follow the second style and not combine the second sentence with a relative clause. What is your advice or guidelines for that?