tpf.fragment.ftl.html Maven / Gradle / Ivy
The newest version!
<#-- @license ©2015 Miel Vander Sande - Multimedia Lab / iMinds / Ghent University -->
<#setting url_escaping_charset='UTF-8'>
Matches in ${datasource.getTitle()} for ${ (query["pattern"]?html)!"" }
<#if (triples?size > 0)>
Showing triples ${ start } to ${ end } of
<#if totalEstimate != end>±#if>
${ totalEstimate }
with ${
itemsPerPage
} triples per page.
<@pageLinks/>
<#else>
${datasource.getTitle()} contains
no <#if (totalEstimate > 0) >more#if>
triples that match this pattern.
#if>
<#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}.
#if>
#list>
<@pageLinks/>
<#macro pageLinks>
#macro>