To import an ontology from the web it needs to be not formatted, could you try:
CALL n10s.rdf.import.fetch("https://raw.githubusercontent.com/JohannaGmeiner/OntologyTest/main/urn_webprotege_ontology_9626183d-e24b-4798-8670-cf395fe5ea8c.ttl", "Turtle"...