Semantic ordering based on subject dependencies.
Compare two quads for sorting.
Pre-process quads to build indexes for efficient sorting.
The quads to prepare for sorting
Semantic ordering based on subject dependencies.