Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (57 sloc) 2.46 KB
---
layout: default
rdf_prefix_path: "_data/prefix.sparql"
---
<div class="post">
<header class="post-header">
<h2>{{ page.rdf | rdf_property: "dct:title" }}</h2>
<div>
{% assign authors = page.rdf | rdf_container: "dct:creator" %}
{% for author in authors %}
<a href="{{ author.iri }}">{{ author | rdf_property: "foaf:name" }}</a>{% unless forloop.last %}, {% endunless %}
{% endfor %}
</div>
{% assign collection = page.rdf | rdf_property: "dct:isPartOf" %}
{% if collection %}
<em>in</em>
{% if collection.iri %}
<span class="journal">
{% assign editors = collection | rdf_container: "bibtex:editor" %}
{{ collection | rdf_property: "dct:title" }}
{% if editors.size > 0 %}
(Editors:
{% for editor in editors %}
<span class="editor">{{ editor | rdf_property: "foaf:name" }}</span>{% unless forloop.last %}, {% endunless %}
{% endfor %}
){% endif %}</span>,
<span class="date">{{ collection | rdf_property: "dct:issued" }}</span>
{% else %}
<span class="journal">{{ collection }}</span>
{% endif %}
<br/>
{% endif %}
<div>
<a href="{{ page.rdf | rdf_property: "dct:hasFormat" }}"><i class="fa fa-download"></i> Download Paper</a>,
{% assign doi = page.rdf | rdf_property: "bibo:doi" %}
{% if doi %}<a href="https://dx.doi.org/{{ page.rdf | rdf_property: "bibo:doi" }}"><i class="fa fa-circle"></i> DOI</a>,{% endif %}
{% assign isbn = page.rdf | rdf_property: "bibo:isbn" %}
{% if isbn %}<a href="https://en.wikipedia.org/wiki/Special:BookSources/{{ page.rdf | rdf_property: "bibo:isbn" }}"><i class="fa fa-info-circle"></i> ISBN</a>,{% endif %}
<a href="{{ page.rdf | rdf_property: "rdfs:seeAlso" }}"><i class="fa fa-database"></i> Bibsonomy</a>
<!-- concat('http://www.bibsonomy.org/bibtex/', .intraHash, '/', .user) -->
</div>
</header>
<article class="post-content">
<h3>Abstract</h3>
{{ page.rdf | rdf_property: "dct:abstract" }}
</article>
<!-- https://stackoverflow.com/questions/14690000/embed-a-pdf-in-html5 -->
<!-- does not work -->
<!--//
<div>
<embed src="{{ page.rdf | rdf_property: "dct:hasFormat" }}" type="application/pdf" />
<object data="{{ page.rdf | rdf_property: "dct:hasFormat" }}" type="application/pdf" width="300" height="200">
<a href="{{ page.rdf | rdf_property: "dct:hasFormat" }}">Download</a>
</object>
</div>
//-->
</div>