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

    {% trans "Related Entities" %}

    {% blocktrans %}Below you can see, a full list with all the entities that you have loaded into the EasyData/Django application and that you have mapped with any of your application's models. Also shows the URLs through you can access to the information about the models mapped with those entities.{% endblocktrans %}

    {% for ent in entidades %} {% empty %} {% endfor %}
    {% trans "Entity" %} {% trans "Namespace" %} {% trans "URL" %}
    {{ ent.nombre }} {{ ent.namespace }} {{ ent.get_publish_url }}
    {% trans "There isn't any entity mapped with a model." %}

    {% trans "Example" %}

    {% if example_entity %}

    {% blocktrans with nombre_entity=example_entity.nombre %}Using the URLs provided before, if you would like to get all the information about the models that are related with the entity called {{ nombre_entity }} in RDF/XML format, you will have to access to the following url:{% endblocktrans %}

    {% url 'easydata.views.publish.publish_type' example_entity.namespace.short_name example_entity.nombre 'xml' %}
    {% else %}

    {% blocktrans %}There aren't entities related with models, and it's impossible show an example with real data. We will suppose that we have related models with an entity called Transport. The URL that we will have to access the get all the information about Transports in format RDF/Turtle is:{% endblocktrans %}

    easydata/publish/type/Transport.ttl
    {% endif %} {% endblock %}