{% extends "easydata/index.html" %} {% load url from future %} {% load i18n %} {% block menu-superior %}
  • {% trans "Home" %}
  • {% trans "Namespace" %}
  • {% trans "Visibility" %}
  • {% endblock %} {% block contenido-plantilla %}

    {% trans "Configure D2Rq file" %}

    {% blocktrans %}This section, allows you to configure a D2Rq file with the mapping of your data base, generated with the d2rq generate-mapping application. The EasyData/Django application will add to your mapping file, the namespaces and tags that you are configured previously, in order to reuse this configuration.{% endblocktrans %}

    {% blocktrans %}To generate the mapping file, you have to follow the instructions given in the official documentation to generate mappings. The command that you have to use, which is explained in detail in the documentation, is the following:{% endblocktrans %}

    generate-mapping [-u user] [-p password] [-d driver]
            [-l script.sql] [--[skip-](schemas|tables|columns) list]
            [--w3c] [-v] [-b baseURI] [-o outfile.ttl]
            [--verbose] [--debug]
            jdbcURL

    {% blocktrans %}Once you have generated the file, you only have to send it through the following form, and the EasyData/Django application, will return you the same file, with the configuration that you have made intro the application.{% endblocktrans %}

    {% csrf_token %} {{ form.as_p }}
    {% endblock %}