[VIVO-1312] Implement Linked Data Fragment Server (#53)
* [VIVO-1312] Linked Data Fragments initial implementation * [VIVO-1312] Use known ontologies in the prefixes config * [VIVO-1312] Simplify SPARQL as when restricted to specific values, they don’t need ordering * [VIVO-1312] Freemarker fixes * [VIVO-1312] Remove blank nodes * [VIVO-1312] Add access control header and standard prefixes for TPF * [VIVO-1312] Render literals in form so that they will work on resubmit * [VIVO-1312] Minor template update * [VIVO-1312] Minor template update
This commit is contained in:
parent
e9cb3de52e
commit
68a462b05a
63 changed files with 5215 additions and 0 deletions
21
api/src/main/resources/tpf/index.ftl.html
Normal file
21
api/src/main/resources/tpf/index.ftl.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<#-- @license ©2015 Miel Vander Sande - Multimedia Lab / iMinds / Ghent University -->
|
||||
<#include "base.ftl.html">
|
||||
<#macro contents>
|
||||
<div class="index">
|
||||
<h2>Available datasets</h2>
|
||||
<p>Browse the following datasets as <a href="http://linkeddatafragments.org/in-depth/#tpf">Triple Pattern Fragments</a>:</p>
|
||||
<dl class="datasets">
|
||||
<#if datasources??>
|
||||
<#list datasources?keys as datasourceName>
|
||||
<dt><a href="${homePath}/${datasourceName}">${datasources[datasourceName].getTitle() }</a></dt>
|
||||
<dd>${ datasources[datasourceName].getDescription()!"" }</dd>
|
||||
</#list>
|
||||
</#if>
|
||||
</dl>
|
||||
<p>The current dataset <em class="dataset">index</em> contains metadata about these datasets.</p>
|
||||
</div>
|
||||
|
||||
<#include "fragment.ftl.html">
|
||||
</#macro>
|
||||
|
||||
<@display_page/>
|
Loading…
Add table
Add a link
Reference in a new issue