In the case you might want to build ontologies from databases, you can stard with these two references:
Spanos, Dimitrios-Emmanuel, Periklis Stavrou, and Nikolas Mitrou. "Bringing relational databases into the semantic web: A survey." Semantic Web 3.2 (2012): 169-209.
Sequeda, Juan F., Marcelo Arenas, and Daniel P. Miranker. "On Directly Mapping Relational Databases to RDF and OWL (Extended Version)." arXiv preprint arXiv:1202.3667 (2012).
I think you can develop ontology from database, text or any other source of data. Ontology development through database can be done by getting some idea through above mentioned research papers.. but to start with text (paragraph/sentences) or speech you need to start from nlp (natural language processing) and rdf/owl writing tools ... i dont know whether there is any s/w available for that but you can easily do by writing program...
Hi Monika, the process you are looking for is called "Ontology Learning" and its a very vivid research area. I have worked on that a bit and used OntoText tools, with a satisfactory result.
Try Primal; they build ontologies automatically from any type of text. It's especially useful for smaller ontologies. Primal is focused on interest networks but thee tool works on all text data.