Skip to content
Snippets Groups Projects
Commit 4c05f808 authored by Oeyvind Liland Gjesdal's avatar Oeyvind Liland Gjesdal
Browse files

endringer working directory

parent 44c63121
No related branches found
No related tags found
No related merge requests found
Showing
with 1 addition and 586 deletions
...@@ -218,7 +218,7 @@ ...@@ -218,7 +218,7 @@
--> -->
<!-- SHOPPING CART --> <!-- SHOPPING CART -->
<!-- {% include "../../includes/simplecart.inc" %} --> {# include "../../includes/simplecart.inc" #}
<hr class="slim"> <hr class="slim">
......
{% include "../../includes/header.inc" %}
<div itemscope itemtype="http://schema.org/CreativeWork" class="container main-body">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-10">
{% for row in models.main %}
<div class="page-header">
<h1 itemprop="name">{% if row.title && row.title.value != "" %}{{row.title.value}}{% else %}{% if row.label && row.label.value != "" %}{{row.label.value}}{% else %} {{row.identifier.value}}{%endif%}{%endif%}</h1>
{% if row.alternative %}
<h2 itemprop="alternativeHeadline"><small>{{row.alternative.value}}</small></h2>
{% endif %}
</div>
{% endfor %}
</div>
<div style="padding-top:30px;" class="col-md-2 hidden-xs hidden-sm">
<!-- SOCIAL LINKS -->
{% include "../../includes/social.inc" %}
</div>
</div>
<div class="row digitalresource-block">
{% if models.dzi|length != 0 && models.digitalresources|length != 0 %}
<div class="col-md-12">
<ul id="imageTab" class="nav nav-tabs">
<li><a href="#dzi" data-toggle="tab">Zoom</a></li>
<li><a href="#image" data-toggle="tab">Jpeg</a></li>
<!-- <li><a href="#transcription" data-toggle="tab">Transkripsjon</a></li> -->
</ul>
<script>
$('#imageTab .nav-tabs a').click(function (e) {
e.preventDefault();
$(this).tab('show');
});
// Javascript to enable link to tab
var url = document.location.toString();
if (url.match('#')) {
$('.nav-tabs a[href=#'+url.split('#')[1]+']').tab('show') ;
}
// Change hash for page-reload
$('.nav-tabs a').on('shown', function (e) {
window.location.hash = e.target.hash;
})
</script>
</div>
{% endif %}
<div class="{% if models.dzi|length != 0 && models.digitalresources|length != 0 %}tab-content{% endif %} col-md-12 tab-content-zindex">
{% if models.dzi|length != 0 %}
<!-- Contains the OpenSeadragon viewer -->
<div id="dzi" class="active tab-pane fade in">
{% include "../../includes/dzi.inc" %}
</div>
{% endif %}
{% if models.digitalresources|length != 0 %}
<!-- Contains the jpeg/fotorama viewer -->
<div id="image" class="{% if models.dzi|length == 0 %}active in{% endif %} tab-pane fade">
<!-- fotorama.css & fotorama.js. -->
<link href="http://cdnjs.cloudflare.com/ajax/libs/fotorama/4.6.3/fotorama.css" rel="stylesheet"> <!-- 3 KB -->
<script src="http://cdnjs.cloudflare.com/ajax/libs/fotorama/4.6.3/fotorama.js"></script> <!-- 16 KB -->
<div class="fotorama" data-width="100%" data-height="650" data-allowfullscreen="native" data-fit="contain">
{% for row in models.digitalresources %}
<img href="{{row.imageHigh.value}}" data-full="{{row.imageHigh.value}}" alt=""/>
{% endfor %}
</div>
</div>
{% endif %}
</div> <!-- END tab-content -->
</div>
<!-- END digitalresource-block -->
<!--
{% if first.main.img.value %}
<div class="col-md-10 col-md-offset-1">
<img class="img-responsive img-circle" src="{{first.main.img.value}}" />
<div class="clearfix">
</div></div>
{% endif %}
-->
<div class="row">
<div class="col-md-4 col-md-push-8">
<!-- CLASS AND MAKER -->
{% for row in models.main %}
<h4>{{ row.classLabel.value }}
{% endfor %}
{% if first.maker.maker.value == null %}</h4>{% endif %}
{% if first.maker.makerName.value != null %}
<small>skapt av</small></h4>
<ul class="list-unstyled">
{% for row in models.maker %}
{% ifchanged row.maker.value %}
<li class="h4" itemprop="creator" itemscope itemtype="http://schema.org/Person">{% if row.thumb %}<img itemprop="image" class="img-circle" style="width:35px;" src="{{row.thumb.value}}">{%else%}<i class="fa fa-pencil-square-o"></i>{%endif%} <a itemprop="url" href="{{ row.maker.value }}"><span itemprop="name">{{ row.makerName.value }}</span></a></li>
{% endifchanged %}
{% endfor %}
</ul>
{% endif %}
<!-- RECIPIENT -->
{% if models.recipient|length != 0 %}
<p><small>Mottaker</small><br>
{% for row in models.recipient %}
<i class="fa fa-envelope-o"></i> <a href="{{row.uri.value}}">{{ row.label.value }}</a>
{% endfor %}
</p>
{% endif %}
<!-- CREATION -->
{% if first.main.created.value != null %}
<p><strong><i class="fa fa-calendar"></i>
Dato: <span itemprop="dateCreated">{{ first.main.created.value }}</span>
</strong></p>
{% endif %}
{% if first.main.madeafter.value != null || first.main.madebefore.value != null %}
<p><i class="fa fa-calendar"></i>
{% if first.main.madeafter.value != null && first.main.madebefore.value != null %}
Laget mellom <strong>{{ first.main.madeafter.value }}</strong> og <strong>{{ first.main.madebefore.value }}</strong>
{% endif %}
{% if first.main.madeafter.value != null && first.main.madebefore.value == null %}
Laget etter <strong>{{ first.main.madeafter.value }}</strong>
{% endif %}
{% if first.main.madeafter.value == null && first.main.madebefore.value != null %}
Laget før <strong>{{ first.main.madebefore.value }}</strong>
{% endif %}
</p>
{% endif %}
<!-- STARDARD SIDEBAR METADATA-->
<!-- PUBLISHED -->
{% for row in models.published %}
<p><small>Publisert i</small><br><a href="{{row.uri.value}}">{{row.label.value}}</a> {% if row.vol %} vol. {{row.vol.value}} {% endif %}{% if row.issue %} nr. {{row.issue.value}} {% endif %} {% if row.pageStart && row.pageEnd %}(s. {{row.pageStart.value}}-{{row.pageEnd.value}}){% endif %}<br>{% if row.issn %}<small>ISSN: {{row.issn.value}}{% endif %}</small></p>
{% endfor %}
<!-- PUBLISHER -->
{% for row in models.publisher %}
<p><small>Utgitt av</small><br><a href="{{row.uri.value}}">{{row.label.value}}</a> {% if first.main.isbn %}<br><small>ISBN: {{first.main.isbn.value}}</small>{% endif %}</p>
{% endfor %}
<hr class="slim">
<!-- IDENTIFIER -->
{% if first.main.identifier %}
<p>Signatur: <i class="fa fa-bookmark"></i> <a href="{{lodspk.local.curie}}">{{ first.main.identifier.value }}</a></p>
{% endif %}
<!-- DISQUS COMMENTS -->
<!--
<p>
<i style="padding-right: 4px;" class="fa fa-comments-o"></i><a style="display: inline-block;" href="#disqus_thread"> Kommentarer</a>
</p>
-->
<!-- SHOPPING CART -->
<!-- {% include "../../includes/simplecart.inc" %} -->
<hr class="slim">
<a class="social-sidebar" tabindex="0" data-toggle="popover" data-html="true" data-container="body" data-placement="right" data-content='
<ul class="list-inline social">
<li><a href="https://twitter.com/intent/tweet?text={% if first.main.title != "" %}{{first.main.title.value|urlencode}}{% else %}{% if first.main.label != "" %}{{first.main.label.value|urlencode}}{%endif%}{%endif%} Fra marcus.uib.no&url={{lodspk.local.value}}"><i class="fa fa-twitter fa-2x"></i></a></li>
<li><a href="https://www.facebook.com/sharer/sharer.php?u={{lodspk.local.value}}" target="_blank"><i class="fa fa-facebook-square fa-2x"></i></a></li>
</ul>'>
<span class="fa-stack fa-lg m-button-black">
<i class="fa fa-circle-thin fa-stack-2x"></i>
<i class="fa fa-share-alt fa-stack-1x"></i>
</span>
</a>
<script type="text/javascript">
$(document).ready(function(){
$(".social-sidebar").popover();
});
</script>
<a class="qr" tabindex="0" data-toggle="popover" data-html="true" data-container="body" data-placement="right" data-content='<!-- QR CODE --><div id="qrcode"></div> <script type="text/javascript"> $("#qrcode").qrcode({ render: "image", minVersion: 3, maxVersion: 40, size: 150, quiet: 2, radius: 0.3, ecLevel: "Q", fill: "#00a7df", text:"{{lodspk.local.curie}}" }); </script>'>
<span class="fa-stack fa-lg m-button-black">
<i class="fa fa-circle-thin fa-stack-2x"></i>
<i class="fa fa-qrcode fa-stack-1x"></i>
</span>
</a>
<script type="text/javascript">
$(document).ready(function(){
$(".qr").popover();
});
</script>
<hr class="slim">
<!-- EMAIL FEEDBACK -->
<button type="button" class="btn btn-xs btn-link"><i class="fa fa-exclamation-triangle m-button-black"></i> <a href="mailto:mslib@uib.no?subject=Marcus - tilbakemelding på {{first.main.identifier.value}}&body=Tilbakemeldingen gjelder: {{first.main.identifier.value}} ({{lodspk.local.curie}}). La lenken være med, vi trenger den for å svare.">Feil? Gi oss beskjed!</a></button>
<!-- ALL DATA -->
<button type="button" class="btn btn-xs btn-link all-data" data-toggle="modal" data-target="#full-meta-view"><i class="fa fa-heart m-button-red pulse animated"></i> Vis data</button>
<!-- OWNER -->
{% if models.owner|length != 0 %}
<p style="margin-left: 6px;"><small>
<i class="fa fa-archive"></i> Eies av {%for row in models.owner%}{%if !forloop.last%}, {%endif%}<a href="{{row.uri.value}}">{{row.label.value}}</a>{%endfor%}</button>
</small></p>
{%endif%}
</div>
<div class="col-md-8 col-md-pull-4">
<div class="digitalresource-print">
<img src="{{first.digitalresources.imgMD.value}}">
</div>
{% for row in models.description %}
{% autoescape off %}
<div itemprop="description">{% autoescape off %}{{ row.description.value|decodedescription }}{% endautoescape %}</div>
{% endautoescape %}
{% endfor %}
<!-- SUBJECTS -->
{% if models.subjects|length != 0 %}
<!-- <p><small><i class="fa fa-tags"></i> Emne(r)</small></p>-->
<p class="lead">Dette dokumentet handler om
{%for row in models.subjects%}{%ifchanged row.uri.value%}{%if forloop.first%}{%else%}, {%endif%}<span itemprop="keywords"><a href="{{ row.uri.value }}">{{ row.label.value }}</a></span>{%endifchanged%}{%endfor%}
</p>
{% endif %}
<!-- ALBUM -->
{% if models.albums|length != 0 %}
<p><i class="fa fa-book"></i> <small>Finnes i albumet</small><br>
<a href="{{ first.albums.uri.value }}">{% if first.albums.label.value %}{{ first.albums.label.value }}{% else %}{{ first.albums.identifier.value }}{% endif %}</a>
</p>
{% endif %}
<!-- TRANSCRIPTION -->
{% if first.transcription.html.value != null %}
<h2 class="h4">Transkripsjon</h2>
<div id="transcription">
<iframe src="{{first.transcription.html.value}}" width="100%" height="300"></iframe>
</div>
{% endif %}
<!-- DEPICTED -->
{% if models.depicted|length != 0 %}
<div id="depicted" class="col-md-12">
<h4>Avbildet:</h4>
{% for row in models.depicted %}
<div class="col-md-3 depicted">
{% if row.img %}<img class="img-border img-circle" src="{{row.img.value}}" />{% endif %}
<p><strong><a href="{{ row.uri.value }}" >{{row.label.value}}</a></strong><br>
{% if row.birthDate.value || row.deathDate.value %}
{% if row.birthDate %}<small>({{ row.birthDate.value }}{% else %}<small>(&nbsp;&nbsp;&nbsp;&nbsp;-{% endif %}
{% if row.deathDate %}- {{ row.deathDate.value }})</small>{% else %}-&nbsp;&nbsp;&nbsp;&nbsp;)</small>{% endif %}
{% else %}</small>{% endif %}</p>
{% if row.bio %}<p>{{row.bio.value}}</p>{% endif %}
</div>
{% endfor %}
</div>
{% endif %}
<!-- PLACES/MAP -->
{% if models.places|length != 0 %}
<div id="places">
{% include "../../includes/place.inc" %}
</div>
{% endif %}
<!-- COLLECTIONS -->
{% if models.collections|length != 0 %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-archive"></i> Samling</h3>
</div>
<div class="panel-body">
{% for row in models.collections %}
{% if row.logo %}
<div class="col-md-6 col-lg-6 col-sm-12 col-xs-12">
<div class="col-lg-4 col-md-4 col-sm-2 hidden-xs">
<a href="{{row.uri.value}}"><img class="img-responsive img-border img-circle" src="{{row.logo.value}}"/></a>
</div>
<div class="col-lg-8 col-md-8 col-sm-10">
<h4><a href="{{row.uri.value}}">{% if row.title && row.title.value != "" %}{{row.title.value}}{% else %}{% if row.label && row.label.value != "" %}{{row.label.value}}{% else %} {{row.identifier.value}}{%endif%}{%endif%}</a></h4>
{% if row.description %}
<p>{{row.description.value|striptags|truncatechars:65}} <a href="{{row.uri.value}}">se mer</a>{%endif%}</p>
</div>
</div>
{% endif %}
{% endfor %}
{% for row in models.collections %}
{% if !row.logo %}
<div class="col-md-6 col-lg-6 col-sm-10 col-xs-10 col-sm-offset-2 col-lg-offset-0 col-md-offset-0">
<h4><a href="{{row.uri.value}}">{% if row.title && row.title.value != "" %}{{row.title.value}}{% else %}{% if row.label && row.label.value != "" %}{{row.label.value}}{% else %} {{row.identifier.value}}{%endif%}{%endif%}</a></h4>
{% if row.description %}
<p class="text-muted">{{row.description.value|striptags|truncatewords:25}} <a href="{{row.uri.value}}">se mer</a>{%endif%}</p>
</div>
{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
<!-- VERSIONS -->
{% if models.hasversion|length != 0 %}
<div class="col-md-12">
<div class="row th-grid">
<p><small>Versjon(er):</small></p>
{% for row in models.hasversion %}
<div class="col-md-4 col-lg-4">
<div class="thumbnail">
<a href="{{ row.uri.value }}">
<div class="caption">
<h3>{{ row.label.value }}</h3>
</div></a>
<a href="{{ row.uri.value }}"><img class="img-responsive img-rounded" {% if row.img %}src="{{row.img.value}}"{%else%}data-src="holder.js/250x250"{%endif%} alt=""></a>
</div>
</div>
{% endfor %}
</div>
<script type="text/javascript">
$("[rel='tooltip']").tooltip();
$('.thumbnail').hover(
function(){
$(this).find('.caption').fadeIn(250);
},
function(){
$(this).find('.caption').fadeOut(205);
}
);
</script>
</div>
{% endif %}
<!-- PHYSICAL INFORMATION -->
{% if models.physical|length != 0 %}
<h4>Fysisk beskrivelse</h4>
<ul class="list-unstyled" id="physical-reference">
{% if first.physical.height.value != null && first.physical.width.value != null %}
<li><i class="fa fa-arrows-v"></i> {{ first.physical.height.value }}</li>
<li><i class="fa fa-arrows-h"></i> {{ first.physical.width.value }}</li>
{% endif %}
{% if first.main.pages.value != null %}
<li>{{ first.main.pages.value }} sider</li>
{% endif %}
{% if first.physical.physicalCondition.value != null %}
<li><i>{{ first.physical.physicalCondition.value }}</i></li>
{% endif %}
{% if first.physical.physicalDescription.value != null %}
<li>{{ first.physical.physicalDescription.value }}</li>
{% endif %}
</ul>
{% endif %}
<hr class="slim">
<div class="hidden-xs">
<h4>Sitering</h4>
<h5>Wikipedia</h5>
<!-- WIKIPEDIA -->
<p id="wikipedia-reference">
<code class="citation-block">&#123;&#123;cite web |url={{lodspk.local.curie}} |title={{first.main.label.value}} |author=Avdeling for spesialsamlinger |accessdate={{lodspk.currentDate}} |publisher=University of Bergen Library&#125;&#125;</code>
</p>
<p>
<button type="button" class="btn btn-xs btn-default disabled">Endnote <small>(kommer)</small></button>
<button type="button" class="btn btn-xs btn-default disabled">RIS <small>(kommer)</small></button>
</p>
</div>
</div>
</div>
<div class="row">
<!-- DISQUS -->
{% include "../../includes/disqus.inc" %}
</div>
<!-- ALL DATA MODAL -->
{% include "../../includes/all-data-modal.inc" %}
</div>
<!-- END ROW -->
</div>
<!-- END COL-MD-9 -->
</div>
<!-- END ROW -->
<!-- FOOTER -->
{%include "../../includes/footer.inc"%}
</div>
<!-- END MAIN-BODY/CONTAINER -->
</body>
</html>
\ No newline at end of file
TY - {{first.main.classLabel.value}}
AU - {{first.maker.makerName.value}}
UR - {{lodspk.local.value}}
\ No newline at end of file
SELECT DISTINCT ?uri ?label ?identifier WHERE {
GRAPH <urn:x-arq:UnionGraph> {
<{{ uri }}> dct:isPartOf ?uri .
?uri a ubbont:Album .
OPTIONAL { ?uri dct:title ?label . }
OPTIONAL { ?uri rdfs:label ?label . }
OPTIONAL { ?uri dct:identifier ?identifier . }
}
}
\ No newline at end of file
SELECT DISTINCT ?uri ?title ?label ?description ?logo WHERE {
GRAPH <urn:x-arq:UnionGraph> {
<{{ uri }}> dct:isPartOf ?uri .
?uri a bibo:Collection .
OPTIONAL { ?uri dct:title ?title . }
OPTIONAL { ?uri rdfs:label ?label .}
OPTIONAL { ?uri dct:description ?description .}
OPTIONAL { ?uri foaf:logo ?logo .}
}
}
\ No newline at end of file
SELECT DISTINCT ?uri ?label ?img ?bio ?birthDate ?deathDate WHERE {
GRAPH <urn:x-arq:UnionGraph> {
<{{ uri }}> foaf:depicts ?uri .
?uri foaf:name ?label .
OPTIONAL { ?uri foaf:img ?img . }
OPTIONAL { ?uri bio:biography ?bio . }
OPTIONAL { ?uri dbo:birthDate ?birthDate . }
OPTIONAL { ?uri dbo:deathDate ?deathDate . }
}
}
\ No newline at end of file
SELECT ?description ?abstract WHERE {
GRAPH <urn:x-arq:UnionGraph> {
OPTIONAL { <{{ uri }}> dct:description ?description .}
OPTIONAL { <{{ uri }}> dct:abstract ?abstract .}
}
}
\ No newline at end of file
SELECT DISTINCT ?hasPage ?imageLow ?imageHigh WHERE
{
OPTIONAL { SELECT DISTINCT ?imageLow ?hasPage WHERE {
GRAPH <urn:x-arq:UnionGraph> { <{{ uri }}> ubbont:hasPage ?hasPage .
?hasPage ubbont:hasRepresentation ?hasRepresentation .
{ ?hasRepresentation ubbont:hasURI ?imageLow .
FILTER(regex(str(?imageLow), "low|_md") && regex(str(?imageLow), "\\.jpg") )}
}}
}
OPTIONAL { SELECT DISTINCT ?imageHigh ?hasPage WHERE {
GRAPH <urn:x-arq:UnionGraph> { <{{ uri }}> ubbont:hasPage ?hasPage .
?hasPage ubbont:hasRepresentation ?hasRepresentation .
{ ?hasRepresentation ubbont:hasURI ?imageHigh .
FILTER(regex(str(?imageHigh), "high|_lg")&& regex(str(?imageHigh), "\\.jpg") ) }
}}
}
}
ORDER BY ?hasPage
\ No newline at end of file
SELECT DISTINCT ?dziUri WHERE {
GRAPH <urn:x-arq:UnionGraph> {
<{{ uri }}> ubbont:hasRepresentation ?hasRepresentation .
?hasRepresentation dct:hasPart ?page .
?part ubbont:hasResource/ubbont:hasDZIView|ubbont:hasDZIView ?dziUri0 .
FILTER (regex(STR(?dziUri0), "dzi","i"))
BIND(REPLACE(?dziUri0, "marcus.uib.no","data.ub.uib.no","i") as ?dziUri)
}
}
ORDER BY ?dziUri
\ No newline at end of file
SELECT DISTINCT ?uri ?label ?img WHERE {
GRAPH <urn:x-arq:UnionGraph> {
<{{ uri }}> dct:hasVersion ?uri .
OPTIONAL { ?uri foaf:name ?label. }
OPTIONAL { ?uri rdfs:label ?label. }
OPTIONAL { ?uri dct:title ?label. }
OPTIONAL { ?uri ubbont:hasRepresentation/ubbont:hasURI ?img . }
FILTER (regex(STR(?img), "th.jpg","i"))
}
}
\ No newline at end of file
SELECT DISTINCT ?title ?label ?alternative ?created ?madeafter ?madebefore ?available ?identifier ?classLabel ?isbn ?hasLong ?img WHERE {
GRAPH <urn:x-arq:UnionGraph> {
<{{ uri }}> rdf:type ?class .
?class rdfs:label ?classLabel .
FILTER(langMatches(lang(?classLabel), ""))
OPTIONAL { <{{ uri }}> dct:title ?title . }
OPTIONAL { <{{ uri }}> rdfs:label ?label . }
OPTIONAL { <{{ uri }}> skos:prefLabel ?label . }
OPTIONAL { <{{ uri }}> dct:alternative ?alternative . }
OPTIONAL { <{{ uri }}> dct:identifier ?identifier . }
OPTIONAL { <{{ uri }}> dct:created ?created .}
OPTIONAL { <{{ uri }}> ubbont:madeAfter ?madeafter .}
OPTIONAL { <{{ uri }}> ubbont:madeBefore ?madebefore .}
OPTIONAL { <{{ uri }}> dct:available ?available .}
OPTIONAL { <{{ uri }}> foaf:logo ?img . }
# OPTIONAL { <{{ uri }}> ubbont:hasThumbnail ?img . }
OPTIONAL { <{{ uri }}> bibo:isbn ?isbn . }
BIND ( EXISTS { <{{ uri }}> dct:spatial ?place . ?place geo:long ?long } AS ?hasLong )
}
}
\ No newline at end of file
SELECT DISTINCT ?maker ?makerName WHERE {
GRAPH <urn:x-arq:UnionGraph> {
<{{ uri|deurifier }}> foaf:maker ?maker .
OPTIONAL { ?maker foaf:name ?makerName . }
OPTIONAL { ?maker ubbont:invertedName ?makerName . }
}
}
\ No newline at end of file
SELECT DISTINCT ?uri ?title ?label ?alternative ?available ?identifier ?img WHERE {
GRAPH <urn:x-arq:UnionGraph> {
<{{ uri }}> bibo:owner ?uri .
OPTIONAL { ?uri dct:title ?title . }
OPTIONAL { ?uri rdfs:label ?label . }
OPTIONAL { ?uri foaf:name ?label . }
OPTIONAL { ?uri skos:prefLabel ?label . }
OPTIONAL { ?uri dct:alternative ?alternative . }
OPTIONAL { ?uri dct:identifier ?identifier . }
OPTIONAL { <{{ uri }}> foaf:logo ?img . }
OPTIONAL { <{{ uri }}> ubbont:hasThumbnail ?img . }
}
}
\ No newline at end of file
SELECT DISTINCT ?uri WHERE {
GRAPH <urn:x-arq:UnionGraph> {
<{{ uri }}> ubbont:hasRepresentation ?hasRepresentation .
?hasRepresentation ubbont:hasURI ?uri .
FILTER (regex(STR(?uri), "pdf$","i"))
}
}
ORDER BY ?uri
SELECT DISTINCT ?physicalDescription ?physicalCondition ?height ?width WHERE {
GRAPH <urn:x-arq:UnionGraph> {
OPTIONAL { <{{ uri }}> ubbont:physicalCondition ?physicalCondition0 . }
OPTIONAL { <{{ uri }}> ubbont:physicalDescription ?physicalDescription . }
OPTIONAL { <{{ uri }}> ubbont:height ?height . }
OPTIONAL { <{{ uri }}> ubbont:width ?width . }
BIND(strafter(?physicalCondition0,"=") AS ?physicalCondition)
}
}
\ No newline at end of file
SELECT DISTINCT ?physicalCondition WHERE {
GRAPH <urn:x-arq:UnionGraph> {
OPTIONAL { <{{ uri }}> ubbont:physicalCondition ?physicalCondition .}
}
}
\ No newline at end of file
SELECT DISTINCT ?physicalDescription WHERE {
GRAPH <urn:x-arq:UnionGraph> {
OPTIONAL { <{{ uri }}> ubbont:physicalDescription ?physicalDescription .}
}
}
\ No newline at end of file
SELECT DISTINCT ?uri ?label ?lat ?long WHERE {
GRAPH <urn:x-arq:UnionGraph> {
OPTIONAL { <{{ uri|deurifier }}> dct:spatial ?uri . ?uri skos:prefLabel ?label .
OPTIONAL { ?uri geo:lat ?lat ; geo:long ?long .}}
}
}
\ No newline at end of file
SELECT ?p ?o WHERE {
GRAPH <urn:x-arq:UnionGraph> {
{
<{{uri}}> ?p ?o . }
}
}
ORDER BY ?p
LIMIT 100
\ No newline at end of file
SELECT DISTINCT ?uri ?label ?issn ?pages ?vol ?issue ?pageStart ?pageEnd WHERE {
GRAPH <urn:x-arq:UnionGraph> {
<{{ uri }}> dct:isPartOf ?uri .
?uri a bibo:Journal .
OPTIONAL { ?uri dct:title ?label . }
OPTIONAL { ?uri rdfs:label ?label .}
OPTIONAL { <{{ uri }}> bibo:issn ?issn . }
OPTIONAL { <{{ uri }}> bibo:pages ?pages . }
OPTIONAL { <{{ uri }}> bibo:volume ?vol . }
OPTIONAL { <{{ uri }}> bibo:issue ?issue . }
OPTIONAL { <{{ uri }}> bibo:pageStart ?pageStart . }
OPTIONAL { <{{ uri }}> bibo:pageEnd ?pageEnd . }
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment