@Dymshyts
You may use TopBraid to do a SPAQL query for EO and export the result in csv you wanted. Also, please explore protégé plug-in: https://github.com/protegeproject/csv-export-plugin, which may help.
Also, please see my comments about EO in this thread: Race and Ethnicity in the OMOP CDM
May give you some ideas.