{% extends "layout.html" %} {% block content %}
ARTWORK
{% for x in artworkintro['results']['bindings'] %} {{ x['workLabel']['value'] }} {% endfor %}
{% for x in artworkintro['results']['bindings'] %} {% if 'workDescription' in x %} {{ x['workDescription']['value'] }} {% endif %} {% endfor %}
ABOUT THIS WORK
{% if artworkimages['results']['bindings']==[] %} {% else %} {% for x in artworkimages['results']['bindings'] %} {% if loop.index <= 1 %} {% if "image" in x %} {% endif %} {% endif %} {% endfor %} {% endif %}
{% if artworklinksanddownloads['results']['bindings']==[] %} {% else %} {% for x in artworklinksanddownloads['results']['bindings'] %}

DOWNLOADS AND LINKS

{% if ('DownloadDigitalFacsimile' not in x) and ('DigitalFacsimileExternalLink' not in x) and ('DigitalFacsimileExternalLink2' not in x) %}

information not available

{% endif %} {% if 'DownloadDigitalFacsimile' in x %}
Download digital facsimile
{% endif %} {% if 'DigitalFacsimileExternalLink' in x %}
External digital facsimile linl
{% endif %} {% if 'DigitalFacsimileExternalLink2' in x %}
External digital facsimile link 2
{% endif %} {% endfor %} {% endif %}
{% if artworkartefacts['results']['bindings']==[] %}

information not available

{% else %}

OTHER DIGTAL ARTEFACTS

{% for x in artworkartefacts['results']['bindings'] %} {% endfor %} {% endif %}
{% if artworkdistributorlinks['results']['bindings']==[] %} {% else %}

DISTRIBUTOR LINKS

{% for x in artworkdistributorlinks['results']['bindings'] %} {% if 'distributorLinks' not in x %}

information not available

{% endif %} {% if 'distributorLinks' in x %}
{{ x['distributorLinks']['value'] }}
{% endif %} {% endfor %}

{% endif %}

CONTRIBUTORS

{% if artworkcontributors['results']['bindings']==[] %}
information not available
{% else %} {% for x in artworkcontributors['results']['bindings'] %} {% endfor %} {% endif %}

DATE

{% if artworkdate['results']['bindings']==[] %}
information not available
{% else %} {% for x in artworkdate['results']['bindings'] %} {% if 'date' in x %}
{{ x['date']['value'] | replace("T00:00:00Z", "") }}
{% endif %} {% if 'sourceLabel' in x %}
Source: {{ x['sourceLabel']['value'] }}
{% endif %} {% endfor %} {% endif %}

PUBLISHERS

{% if artworkpublisher['results']['bindings']==[] %} information not available {% else %} {% for x in artworkpublisher['results']['bindings'] %}
{% if artworkdescriptiondata['results']['bindings']==[] %} {% else %} {% for x in artworkdescriptiondata['results']['bindings'] %}

DESCRIPTION

{{ x["text"] | safe }}
{% if "authordescriptionPageLabel" in x %}

AUTHOR

{{ x['authordescriptionPageLabel']['value'] }}

{% endif %} {% if "sourcedescriptionPage" in x %}

SOURCE

{{ x["sourcedescriptionPage"]["value"]}}

{% endif %} {% if "datedescriptionPage" in x %}

DATE

{{ x["datedescriptionPage"]["value"] | replace("T00:00:00Z", "") }}

{% endif %}
{% endfor %} {% endif %} {% if artworkexhibitiondata['results']['bindings']==[] %} {% else %} {% for x in artworkexhibitiondata['results']['bindings'] %}

EXHIBITION AND DISTRIBUTION HISTORY

{{ artworkexhibitiontext | safe }}

AUTHOR

{% if "authorexhibitionHisPageLabel" in x %}

{{ x["authorexhibitionHisPageLabel"]["value"]}}

{% endif %}

SOURCE

{% if "sourceexhibitionHisPage" in x%}

{{ x["sourceexhibitionHisPage"]["value"]}}

{% endif %}

DATE

{% if "dateexhibitionHisPage" in x%}

{{ x["dateexhibitionHisPage"]["value"] | replace("T00:00:00Z", "") }}

{% endif %}
{% endfor %} {% endif %}
LISTS
{% if artworklists['results']['bindings']==[] %}

The artwork isn't featured in any lists yet

{% else %}

This artwork is featured in the following lists:

{% for x in artworklists['results']['bindings'] %}
{% if "image" in x %} {% else %} {% endif %}
{% if "listLabel" in x %} {{ x['listLabel']['value'] }} {% endif %}
placeholder for number of artworks in list
{% endfor %} {% endif %}
Copies in collections
{% for x in copiesincollection['results']['bindings'] %}
{% if "image" in x %}
{% else %}
{% endif %}
{{ x["collectionLabel"]["value"]}}
{% endfor %}
Related works
{% for x in relatedworks['results']['bindings'] %}
{% if "image" in x %}
{% else %}
{% endif %}
{{ x["relatedWorksLabel"]["value"]}}
{% if "daterelatedWorks" in x %} {{ x["daterelatedWorks"]["value"] | replace("T00:00:00Z", "") }} {% endif %}
{% endfor %}
{% endblock content %}