Service-Oriented Architecture (SOA) designs are translated into software units and meet principles such as discoverable, reusable, and compostable. Web services are becoming a technology adopted by service providers so that services can be discovered and reused by clients. To complete more complex business processes, a set of existing services can be composed following a certain flow. To support client needs, these services should be equipped with comprehensive user interfaces in the form of web descriptions, which outlines the service capabilities regarding specific standard or language. This should be considered through an understandable format for humans and/or machines. In the Representational State Transfer (REST) architectural style, the OpenAPI Specification (OAS) is used as a reference to create web service descriptions. However, it only supports syntactic interoperability, leading to the incapability of supporting the automated selection process. The main challenges in this automation process should be overcome by providing web service semantics to create "understandable" services that automatically interact with one other. This indicates that the OAS document is improved by adding semantics to each resource. Therefore, this study aims to develop a system capable of transforming resources in OAS documents into RDF-based semantic web services. The OAS structure was the main basis for creating a relational database schema. Furthermore, a database normalization technique was implemented to design a schema, which stored all objects in an OAS document. To map resources on the RDF data model, an ontology was developed, explaining the concepts and the relationships between them. This adopted the published linked-open vocabulary and corresponded to the characteristics of each identified OAS resource. To build RDF-based semantic web services, R2RML was used to generate the relational database model into triple RDF. The proposed system was also tested through prototyping and using a dataset of 106 OAS documents, which were downloaded from APIs.guru between 5–10 May 2021. The number of triple RDFs generated from each document varied according to the rate of resources. This was observed when an OAS document produced 36 to 16,505 triple RDF in a specific dataset. The final result showed the formation of a knowledge base in triple RDF format, which was managed using a graph management database. This led to the utilization of the repository semantic web services as a basis for service selection (using SPARQL) so that service operations can be found as well as input and output parameters that correspond to the service composition requirements. The use of relational databases to store OAS resources also increased the efficiency of reuse by approximately 48%, due to service developer designing interoperability between uniform parameter services, which were subsequently used as input and output.