Can you tellCheck what file format you are using? its.
its file format must be able to store the topological properties of the objects. From this you can query in a database console and question the spatial relationships between your objects like: cross, touch, overlap, etc. If you are using Arcmap, the ESRI .shp format does not allow this as far as I know. A
A good tip is to look at topological rules of geographic objects. ArcGIS can do this using the GDB / ESRI format.