<#-- @license ©2015 Miel Vander Sande - Multimedia Lab / iMinds / Ghent University --> <#setting url_escaping_charset='UTF-8'>

## ${datasource.getTitle()?cap_first}

Query ${datasource.getTitle()} by triple pattern

<#list ['subject', 'predicate', 'object'] as component>
- ${component}

### Matches in ${datasource.getTitle()} for ${ (query["pattern"]?html)!"" }

<#if (triples?size > 0)> Showing triples ${ start } to ${ end } of <#if totalEstimate != end>± ${ totalEstimate } with ${ itemsPerPage } triples per page. <@pageLinks/> <#else>

${datasource.getTitle()} contains no <#if (totalEstimate > 0) >more triples that match this pattern.

<#list triples as triple> <#assign subject = triple.getSubject().asNode().toString()> <#assign predicate = triple.getPredicate().asNode().toString()> <#assign object = triple.getObject().asNode().toString()>
- ${subject?keep_after_last("/")} ${predicate?keep_after_last("/")} <#if !triple.getObject().isLiteral()> ${object?keep_after_last("/")} . <#else> ${object}.

<@pageLinks/> <#macro pageLinks>

<#if previousPage??>
- first
- previous
<#if nextPage??>
- next