************************************ CMDI-Interoperability / CMD2RDF ************************************ CMD2RDF provides transformation of whole of the CMD data domain (metamodel, profiles and instances) into RDF representation. [1] [1] https://trac.clarin.eu/wiki/CMD2RDF Overview -------- The transformation is accomplished by XSL-stylesheets [xsl/*.xsl] [CMDRecord2RDF.xsl] obviously converts a CMDI record into RDF. During the transformation the corresponding CMD-profile is fetched from Component Registry. As this is quite inefficient, there is also a variant with simple caching mechanism: [CMDRecord2RDFcache.xsl] which however relies on the SMC [2] library [2] https://trac.clarin.eu/browser/SMC/ Build ----- The accompanying ant-build script defines a target cmd2rdf that uses the cache-enabled version of the scripts The cache needs to be prefilled in a separate step. It also provides two util targets for RDF manipulation: *rdf2rdf* general.ttl -> general.rdf *rdf2graph* general.rdf -> general.dot -> general.png, general_LR.png *download-aux-jars* fetches the jars required for the first two tasks into subdirectory [lib/]