From Tech docs to Knowledge Graph to Ontology in OWL/RDF

Could someone please elucidate me on this issue?

I am looking to:

1 - Create an ontology for an area of knowledge using technical documents
1.1 - I used neo4j's graphRag to extract subject -> predicate -> object and create the Knowledge Graph (KG).
I am using a free Aura instance.
Is it possible to extract an RDF/OWL-formatted ontology from the KG I've created using neo4j tools?

2 - Use the created ontology to generate a graph database to enable self-optimization of instances (make it a SON - Self Optimizing Network) through the use of classical machine learning or Neural Network for this task.