Topology in non-mathematical literature A great piece of knowledge that I heard from a talk of Robert Ghrist, is that one of the earliest instances of non-trivial manifolds (i.e. of dimension higher than 2) appears in Dante's Paradise, where he essentially describes the cosmos as the union of two balls, one containing Earth, and the other containing the paradise and the celestial spheres, "glued along their boundary", hence essentially describing a 3-sphere.
I would be extremely interested to know if anyone else knows of similar instances where "complicated" topological spaces in fiction and classic, non-mathematical literature.
To be clear, I am trying to stay out of the usual torus/moebius strip stuff.
EDIT: I have been asked to give evidence of my statement about the 3-sphere in Dante. Before that, answering to those who say that this is being generous toward Dante, of course he did not describe the three sphere intentionally. His poetic, especially in the paradise, is allegoric, he explain theological concepts poetically through half-impossible images (the figure of god, made of three interconnected rings that mirror each other, is hardly a tentative to tell us about the Borromean links) and yet in the seemingly impossible description of the cosmos, he ends up describing a 3-sphere.
This being said. In Canto 28, Dante gets to the Empyrean, and looking down he sees the Earth surrounded by the celestial spheres. He then turns around and looks up, and he sees God as a point of light, surrounded by angelic spheres. Then

La donna mia, che mi vedea in cura
forte sospeso, disse: «Da quel punto
depende il cielo e tutta la natura»


My lady, who saw my perplexity —
I was in such suspense — said: “On that Point
depend the heavens and the whole of nature.”

The word "depende" translates from latin as "to hang from". So one interpretation is that the whole cosmos hangs from the point of light that is god. It then becomes extremely natural, with the modern mathematical language, to interprete this description as god being the "north pole" of the cosmos, earth being the "south pole", the angelic spheres being the "north hemisphere parallels, the celestial spheres being "south hemisphere parallels", and the primum nobile being the equatorial sphere in between. More terminology used by Dante goes in that direction, e.g. the fact that Dante insists that the universe is made of these two parts, the "original" (paradise and angelic spheres)nand the "copia" (earth and celestial spheres). See also this: https://mathinees-lacaniennes.net/images/stories/articles/dante.pdf, where these concepts are explained a bit better (i am no theologist, nor historian of literature).
 A: This one is a bit of a stretch, but I've always associated the Egyptian deity Apep with the long line.
A depiction from the tomb of Ramesses I:

Keeping in mind that hieroglyphics are a pictorial language, these artistic depictions of their cosmological origin/sustenance stories amount to one of the best windows we have into their collective cultural interpretations of these stories; this is reinforced, to my mind, by the fact that we find them alongside actual 'text' on tombs as above, with the text seemingly as 'background material'.
As the story goes, Apep arose as the animated umbilical cord of Neith after giving birth to Ra, the sun god. While Ra went on to embody all that Egyptians considered 'good' (order, light, truth, etc.), Apep became an embodiment of 'evil' as Egyptians saw it (chaos, darkness, falsehoods, etc.)
The day/night cycle in Egyptian culture was embodied by the struggle between these deities, with Ra riding across the cosmos daily to maintain order against the background chaos of existence, embodied nightly by Apep. Each night, Ra (assisted by Set) would slay Apep, only to have him rise again the next night -- these 'slayings' are typically depicted as a spear towards the snake's body/head, presumably chopping it into pieces:

Despite this nightly dismemberment, there was always yet more of Apep ripe for the slaying the following evening. This seems like an informal consideration of $$\omega_1\times[0,1),$$ where Ra slays and dismembers some number of the $[0,1)$'s off the end each night and finds more waiting for him the next day. Conflating divinity with the 'highest possible infinite' a la Cantor, we could also interpret their discussions as being about $$O_n\times[0,1),$$ a much longer line.
A: Not sure if the single point topological space qualify (but why not?). In Cosmicomics, Italo Calvino has a hilarious story on life on such a space, All At One Point, before the Big Bang started the Universe.
A: Some puzzling literature not only for topologists but also for differential geometers: J.R.R. Tolkien's The Silmarillion is the book that tells the story of Arda, the world in which The Lord of the Rings is set. According to the book, Arda was created flat, but then turned into a round world by an act of god, with a cataclismic event that happened during the Second Age, so that humans could not reach the sacred land of Valinor anymore. (However, lore is elves can still somehow 'sail the straight road' and get around the round-world structure to reach Valinor.)

Image from Wikimedia / Author: Ian Alexander.
A: At the Bourbaki Seminar in November 1968 the participants were handed a (premature) announcement of Bourbaki’s death.
At the end it says

Car Dieu est le compactifié d'Alexandrov de l'univers. Groth IV 22.

“For God is the Alexandrov compactification of the universe.” Groth. IV.22
You can find the complete history here
A: Spoiler alert:
In Ted Chiang's 1990 novelette Tower of Babylon, the miner who climbs the tower finds that the shape of the world

 is like a seal cylinder:


 When rolled upon a tablet of soft clay, the carved cylinder left an
 imprint that formed a picture. Two figures might appear at opposite
 ends of the tablet, though they stood side by side on the surface of
 the cylinder. All the world was as such a cylinder.


 The topology is $\mathbb{S}^2\times\mathbb{S}^1$.

A: Not sure if this is what you are looking for, but recently i came across a book that claims to explain psychology using topology. The book in question is the "Principles of Topological Psychology" by Kurt Lewin. I do not know if the book is a "serious" attempt to mix topology and psychology or just a joke as i have not read the book.
A: This thread wouldn't be complete without something from Greg Egan. For instance, his short story The Infinite Assassin contains a "multiverse" that behaves like a Cantor set, and Diaspora is set in a six-dimensional universe that behaves like a fiber bundle.
And in Schild's Ladder, one of the characters states this:

My earliest memories are of $\mathbb{CP}^4$ — that's a Kähler manifold that looks locally like a vector space with four complex directions, though the global topology's quite different.

A: Maybe something like Borges "The Library of Babel". In this story he wrote "The Library is a sphere whose exact center is any hexagon and whose circumference is unattainable". You can think of it as a manifold of dimension 3. I think I remember it can be visualized as a Klein bottle.
Also "Pascal's sphere" (La esfera de Pascal) is interesting. He wrote "sphere with center everywhere and circumference nowhere". I read it long time ago, so I don't remember the details, but there is this type of content here.
By the way, in general Borges books have, implicitly, lot of mathematical ideas.
A: The classical 1884 fiction Flatland contains a dialog between the square and the sphere, where the former tries to convince the latter that if Spaceland exists, then there must also be a space of four dimensions and a being living there made of multiple spheres in one.
In the short story And he built a crooked house by Robert A. Heinlein, an architect builds a 3-dimensional house made of 8 cubic rooms arranged according to the template of the faces of a tesseract. During the visit of the house, an earthquake actually folds the rooms and the protagonists  end up trapped in what is now the surface of an hypercube.
A: Jacques Lacan is a french psychoanalyst who made use of topological concepts to discuss his theories.
The Borromean knot played a special role in his 70's work, illustrating the relationship between the Real, the Imaginary and the Symbolic.
His use of topology is controversial, Lacan is criticized for example in the book of Sokal and Bricmont, Fashionable nonsense.
A: I know you want to "stay out of the usual torus/moebius strip stuff" but I can't help mentioning the infinitely long short story "Frame Tale" by John Barth.
