This document describes a method for extracting metadata from open online courses on the Open edX platform using a NoSQL database and dynamic mapping of queries. An ontology was developed to model course structure and content, which is stored in a triplestore with a SPARQL endpoint. This allows courses to be interlinked and their materials made more reusable and flexible. Future work proposed includes fully integrating this approach into Open edX and developing recommendation services.