Chueca, Federico (1846-1908) http://data.bibliotheken.nl/id/thes/p070771308 an entity of type: Person <!-- -->
RDFTurtleN-TriplesJSON-LD
Chueca, Federico (1846-1908)
http://data.bibliotheken.nl/id/thes/p070771308
an entity of type: Person
<!--
-->
componist
Chueca, Federico (1846-1908)
1908
Federico Chueca
1846
Chueca
Federico
schema:Person
<http://www.wikidata.org/entity/Q652534>
<http://viaf.org/viaf/44484675>
_:5447a0e96a4cb65790e231c9980a6b32
blank nodes
_:5447a0e96a4cb65790e231c9980a6b32
070771308
foaf:Document
<http://data.bibliotheken.nl/doc/thes/p070771308>
<http://data.bibliotheken.nl/id/dataset/persons>
<http://data.bibliotheken.nl/id/thes/p070771308>
<https://opendatacommons.org/licenses/by/1-0/>
data from the linked data cloud
var col1 = 0;
var col3 = 0;
var paginator =
"to top" : $('body'),
"direct relations" : null,
"blank nodes" : null,
"inverse relations" : null,
"data from the linked data cloud" : null
;
$('#logo').click(function()
document.location = 'http://data.bibliotheken.nl';
);
var callingPage = null;
var callingPageTitles = null;
$(function()
/* error images */
lodview.setErrorImage($('#widgets').find('img'));
/* improving interface */
lodview.setColumnsSize();
lodview.betterHeader();
$(window).on('resize', function()
lodview.betterHeader();
var img = $('body').find('img.hover');
if (img.length > 0)
lodview.zoomHelper(img);
var map = $('body').find('#maphover');
if (map.length > 0)
lodview.zoomHelper($('body').find('.maphover'), map, true);
);
lodview.betterTypes();
lodview.imagesInWidget();
lodview.mapInWidget();
$(document).keyup(function(e)
if (e.keyCode === 27)
//close fullscreen images and maps
lodview.closeFull();
);
/* adding info tooltips */
lodview.infoTooltip('init');
/* footer functions */
lodview.footer();
/* managing languages */
lodview.multiLabels();
/* recovering connected titles from relations */
lodview.connectedResourceTitles();
/* navigation tool */
lodview.rNavigator();
/* grabbing informations from the LOD cloud */
lodview.grabData();
$(window).on('load', function()
/* removing lodCloud block if empty */
if ($('.linkingElement').length > 0)
paginator["data from the linked data cloud"] = $('#lodCloud');
if ($('#directs').children(":first").length == 0)
$('#directs').addClass("empty");
else
paginator["direct relations"] = $('#directs');
if ($('#bnodes').not('.empty').length > 0)
paginator["blank nodes"] = $('#bnodes');
lodview.imagesInWidget(true);
);
);
var lodview =
zoomHelper : function(img, obj, alignLeft,ow,oh)
var l = this;
if (alignLeft)
var ww = window.innerWidth;
var wh = window.innerHeight;
if (obj)
obj.css(
width : ww - 70,
height : wh
);
img.css(
width : ww - 70,
height : wh,
opacity : 0,
left : 0,
top : 0
);
else
var ww = window.innerWidth - 100;
var wh = window.innerHeight - 100;
var w = ww;
var h = wh;
try
w = ow?ow:img.naturalWidth();
h = oh?oh:img.naturalHeight();
catch (e)
if (!w)
w = ww;
if (!h)
h = wh;
// image bigger than the window
if (w > ww)
h = ww * h / w;
w = ww;
if (h > wh)
w = wh * w / h;
h = wh;
if (obj)
obj.css(
width : w,
height : h
);
img.css(
width : w,
height : h,
opacity : 0,
left : '50%',
top : '50%',
marginLeft : -(w / 2),
marginTop : -(h / 2)
);
img.fadeTo(300, 1);
,
betterTypes:function()
$('.dType').each(function()
var w = $(this).width();
$(this).closest('div.c2').css(
paddingRight : w + 7
)
);
,
drawMap : function drawMap(id, lat, lon, testoPopup, fullVersion)
var map = null;
if (fullVersion)
var map = L.map(id).setView([ lat, lon ], 8);
L.marker([ lat, lon ]).addTo(map).bindPopup(testoPopup).openPopup();
else
map = L.map(id,
scrollWheelZoom : false,
zoomControl : false
).setView([ lat, lon ], 3);
L.marker([ lat, lon ]).addTo(map);
var osmurl = 'http://s.tile.osm.org/z/x/y.png';
if(document.location.href.indexOf('https://') == 0)
osmurl = 'https://s.tile.openstreetmap.org/z/x/y.png';
L.tileLayer(osmurl,
attribution : '© OpenStreetMap contributors'
).addTo(map);
,
mapInWidget : function(forceLoad)
if ($('map').length > 0)
var l = this;
l.drawMap("resourceMap", '', '');
var a = $('#resourceMap');
var w = a.width();
var h = a.height();
var tools = $('
')
var zoom = $('');
tools.append(zoom);
zoom.click(function()
l.fullMap('', '', 'Chueca, Federico (1846-1908)');
);
a.prepend(tools);
a.hover(function()
$(this).find('.imgTools').stop().fadeIn('fast');
, function()
$(this).find('.imgTools').stop().fadeOut('fast');
);
,
imagesInWidget : function(forceLoad)
var l = this;
if (forceLoad)
$('#widgets>div#images>a>img').load();
else
$('#widgets>div#images>a>img').load(function()
var w = $(this).width();
var h = $(this).height();
$(this).parent().animate(
minWidth : w
, 'slow', 'swing');
var a = $(this).parent();
var anchor = a.attr("href");
if (anchor)
var tools = $('
var zoom = $('');
tools.append(zoom);
zoom.click(function()
l.fullMap('', '', 'Chueca, Federico (1846-1908)');
);
a.prepend(tools);
a.hover(function()
$(this).find('.imgTools').stop().fadeIn('fast');
, function()
$(this).find('.imgTools').stop().fadeOut('fast');
);
,
imagesInWidget : function(forceLoad)
var l = this;
if (forceLoad)
$('#widgets>div#images>a>img').load();
else
$('#widgets>div#images>a>img').load(function()
var w = $(this).width();
var h = $(this).height();
$(this).parent().animate(
minWidth : w
, 'slow', 'swing');
var a = $(this).parent();
var anchor = a.attr("href");
if (anchor)
var tools = $('
')
var zoom = $('');
var open = $('');
tools.append(open);
tools.append(zoom);
open.click(function()
window.open($(this).parent().attr("data-href"));
);
zoom.click(function()
var aImg = $(this).parent().parent().find('img');
l.fullImg(aImg.clone(true),aImg.naturalWidth(),aImg.naturalHeight());
);
tools.attr("data-href", anchor);
a.removeAttr("href");
a.css(
'cursor' : 'default'
);
a.prepend(tools);
a.hover(function()
$(this).find('.imgTools').stop().fadeIn('fast');
, function()
$(this).find('.imgTools').stop().fadeOut('fast');
);
);
,
closeFull : function()
$('body').find('div.hover').fadeOut(350, function()
$(this).remove()
);
$('body').find('#maphover').fadeOut(200, function()
$(this).remove()
);
$('body').find('img.hover').fadeOut(200, function()
$(this).remove()
)
,
fullMap : function(lat, lon, testoPopup)
var l = this;
$('body').find('.hover').remove();
var layer = $('
var zoom = $('');
var open = $('');
tools.append(open);
tools.append(zoom);
open.click(function()
window.open($(this).parent().attr("data-href"));
);
zoom.click(function()
var aImg = $(this).parent().parent().find('img');
l.fullImg(aImg.clone(true),aImg.naturalWidth(),aImg.naturalHeight());
);
tools.attr("data-href", anchor);
a.removeAttr("href");
a.css(
'cursor' : 'default'
);
a.prepend(tools);
a.hover(function()
$(this).find('.imgTools').stop().fadeIn('fast');
, function()
$(this).find('.imgTools').stop().fadeOut('fast');
);
);
,
closeFull : function()
$('body').find('div.hover').fadeOut(350, function()
$(this).remove()
);
$('body').find('#maphover').fadeOut(200, function()
$(this).remove()
);
$('body').find('img.hover').fadeOut(200, function()
$(this).remove()
)
,
fullMap : function(lat, lon, testoPopup)
var l = this;
$('body').find('.hover').remove();
var layer = $('
');
var map = $('
var map = $('
');
layer.click(function()
l.closeFull();
);
map.find('.closemapzoom').click(function()
l.closeFull();
);
$('body').append(layer);
$('body').append(map);
l.zoomHelper(map, $('#maphover'), true);
layer.fadeIn(300, function()
l.drawMap("maphover", lat, lon, testoPopup, true);
);
,
fullImg : function(img,w,h)
var l = this;
img.addClass('hover');
$('body').find('.hover').remove();
var layer = $('
layer.click(function()
l.closeFull();
);
map.find('.closemapzoom').click(function()
l.closeFull();
);
$('body').append(layer);
$('body').append(map);
l.zoomHelper(map, $('#maphover'), true);
layer.fadeIn(300, function()
l.drawMap("maphover", lat, lon, testoPopup, true);
);
,
fullImg : function(img,w,h)
var l = this;
img.addClass('hover');
$('body').find('.hover').remove();
var layer = $('
');
layer.click(function()
l.closeFull();
);
img.click(function()
l.closeFull();
);
$('body').append(layer);
layer.fadeIn(300, function()
$('body').append(img);
img.show();
img.fadeTo(0, 0);
l.zoomHelper(img,null,null,w,h);
);
,
betterHeader : function()
var IRI = $('h2>.iri');
var istance = $('h2>.istance');
var istsize = 0;
istance.find('a').each(function()
istsize += $(this).width();
);
if (window.innerWidth - IRI.width() - istsize 0)
$('#lconnected').fadeIn('fast');
l.doConnectedResourceTitles(abouts, function()
l.getInverses()
);
else
l.getInverses();
,
doConnectedResourceTitles : function(abouts, onComplete)
return $.ajax(
url : "http://data.bibliotheken.nl/linkedResourceTitles",
data :
"abouts" : abouts,
"IRI" : "http://data.bibliotheken.nl/id/thes/p070771308",
"sparql" : "http://data.bibliotheken.nl/sparql",
"prefix" : "http://data.bibliotheken.nl/"
,
method : 'POST',
beforeSend : function()
,
success : function(data)
data = $(data);
data.find('resource').each(function()
var IRI = $(this).attr("about");
var title = $(this).find("title").text();
$('a.isLocal[title=""]').each(function()
if ($(this).find('tt').length == 0)
$(this).append("
" + title + "");
)
);
,
error : function(e)
/* TODO: manage errors */
,
complete : function()
/* inverse relations */
if (onComplete)
onComplete();
);
,
multiLabels : function()
var l = this;
var cLocale = 'en';
$('.value').each(function()
var cnt = $(this);
var multipleLang = false;
var plang = "";
$('.lang', cnt).each(function()
var lang = $(this).attr("data-lang");
if (lang != plang && plang != '')
multipleLang = true;
plang = lang;
);
if (multipleLang)
$('.lang', cnt).each(function()
var lang = $(this).attr("data-lang");
if ($.trim(lang) && cnt.find("span.clang." + lang).length == 0)
var clang = $("" + lang + "");
clang.click(function()
var lang = $(this).text();
$(this).parent().children('div').hide();
$(this).parent().children('div.lang.' + lang).show();
$(this).parent().children('span.clang').removeClass('sel');
$(this).addClass('sel');
);
cnt.find("div:first").before(clang);
);
cnt.find('.clang').sort(function(a, b)
var contentA = $(a).text();
var contentB = $(b).text();
return (contentA contentB) ? 1 : 0;
).prependTo(cnt);
var btt = cnt.children('span.clang.' + cLocale);
if (btt.length == 0)
btt = cnt.children('span.clang.en'); // fallback to
// english
if (btt.length == 0)
btt = cnt.children('span.clang:first');
btt.click();
else
$('.lang', cnt).each(function()
var lang = $(this).attr("data-lang");
if ($.trim(lang))
var a = $(this);
if (a.find("div.fixed").length > 0)
a = a.find(".fixed");
a.append("@" + lang + "");
$(this).removeClass('lang');
);
);
,
infoTooltip : function(act, obj)
var l = this;
if (act === 'init')
$('[data-label]').each(function()
if ($(this).attr('data-label'))
var iph = $('');
$(this).before(iph);
$(this).parent().hover(function()
l.infoTooltip('showInfoPoint', $(this));
, function()
l.infoTooltip('remove', $(this));
);
/*
* $(this).parent().on('mousemove', function()
* l.infoTooltip('checkInfoPoint', $(this)); );
*/
);
else if (act === 'checkInfoPoint')
if (obj.find('i').length == 0)
var i = $('');
obj.prepend(i);
i.hover(function()
l.infoTooltip('show', obj);
, function()
l.infoTooltip('remove', obj);
);
else if (act === 'showInfoPoint')
var i = $('');
obj.prepend(i);
i.show();
i.hover(function()
l.infoTooltip('show', obj);
, function()
l.infoTooltip('remove', obj);
);
else if (act === 'show')
var data = obj.children('[data-label]');
var t = $('
layer.click(function()
l.closeFull();
);
img.click(function()
l.closeFull();
);
$('body').append(layer);
layer.fadeIn(300, function()
$('body').append(img);
img.show();
img.fadeTo(0, 0);
l.zoomHelper(img,null,null,w,h);
);
,
betterHeader : function()
var IRI = $('h2>.iri');
var istance = $('h2>.istance');
var istsize = 0;
istance.find('a').each(function()
istsize += $(this).width();
);
if (window.innerWidth - IRI.width() - istsize 0)
$('#lconnected').fadeIn('fast');
l.doConnectedResourceTitles(abouts, function()
l.getInverses()
);
else
l.getInverses();
,
doConnectedResourceTitles : function(abouts, onComplete)
return $.ajax(
url : "http://data.bibliotheken.nl/linkedResourceTitles",
data :
"abouts" : abouts,
"IRI" : "http://data.bibliotheken.nl/id/thes/p070771308",
"sparql" : "http://data.bibliotheken.nl/sparql",
"prefix" : "http://data.bibliotheken.nl/"
,
method : 'POST',
beforeSend : function()
,
success : function(data)
data = $(data);
data.find('resource').each(function()
var IRI = $(this).attr("about");
var title = $(this).find("title").text();
$('a.isLocal[title=""]').each(function()
if ($(this).find('tt').length == 0)
$(this).append("
" + title + "");
)
);
,
error : function(e)
/* TODO: manage errors */
,
complete : function()
/* inverse relations */
if (onComplete)
onComplete();
);
,
multiLabels : function()
var l = this;
var cLocale = 'en';
$('.value').each(function()
var cnt = $(this);
var multipleLang = false;
var plang = "";
$('.lang', cnt).each(function()
var lang = $(this).attr("data-lang");
if (lang != plang && plang != '')
multipleLang = true;
plang = lang;
);
if (multipleLang)
$('.lang', cnt).each(function()
var lang = $(this).attr("data-lang");
if ($.trim(lang) && cnt.find("span.clang." + lang).length == 0)
var clang = $("" + lang + "");
clang.click(function()
var lang = $(this).text();
$(this).parent().children('div').hide();
$(this).parent().children('div.lang.' + lang).show();
$(this).parent().children('span.clang').removeClass('sel');
$(this).addClass('sel');
);
cnt.find("div:first").before(clang);
);
cnt.find('.clang').sort(function(a, b)
var contentA = $(a).text();
var contentB = $(b).text();
return (contentA contentB) ? 1 : 0;
).prependTo(cnt);
var btt = cnt.children('span.clang.' + cLocale);
if (btt.length == 0)
btt = cnt.children('span.clang.en'); // fallback to
// english
if (btt.length == 0)
btt = cnt.children('span.clang:first');
btt.click();
else
$('.lang', cnt).each(function()
var lang = $(this).attr("data-lang");
if ($.trim(lang))
var a = $(this);
if (a.find("div.fixed").length > 0)
a = a.find(".fixed");
a.append("@" + lang + "");
$(this).removeClass('lang');
);
);
,
infoTooltip : function(act, obj)
var l = this;
if (act === 'init')
$('[data-label]').each(function()
if ($(this).attr('data-label'))
var iph = $('');
$(this).before(iph);
$(this).parent().hover(function()
l.infoTooltip('showInfoPoint', $(this));
, function()
l.infoTooltip('remove', $(this));
);
/*
* $(this).parent().on('mousemove', function()
* l.infoTooltip('checkInfoPoint', $(this)); );
*/
);
else if (act === 'checkInfoPoint')
if (obj.find('i').length == 0)
var i = $('');
obj.prepend(i);
i.hover(function()
l.infoTooltip('show', obj);
, function()
l.infoTooltip('remove', obj);
);
else if (act === 'showInfoPoint')
var i = $('');
obj.prepend(i);
i.show();
i.hover(function()
l.infoTooltip('show', obj);
, function()
l.infoTooltip('remove', obj);
);
else if (act === 'show')
var data = obj.children('[data-label]');
var t = $('
' + data.attr("data-label") + '' + (data.attr("data-comment") ? '
' + data.attr("data-comment") : '') + '');
obj.prepend(t);
var th = obj.position().top - $(window).scrollTop() + t.height();
var wh = window.innerHeight - 50;
if (th > wh)
t.css(
marginTop : '-' + (t.height() + 23) + 'px'
);
t.css(
display : 'none',
visibility : 'visible'
);
t.show();
else if (act === 'remove')
var p = obj.parent();
p.find('.tooltip').fadeOut('fast', function()
$(this).remove();
);
p.find('.i').fadeOut('fast', function()
$(this).remove();
);
,
getInverses : function()
var l = this;
l.lMessage("loading connected resource titles");
var invCont = $('#inverses');
var iri = "http://data.bibliotheken.nl/id/thes/p070771308";
if (iri)
$('#linverse').delay(100).fadeIn('fast');
$.ajax(
url : "http://data.bibliotheken.nl/linkedResourceInverses",
method : 'POST',
data :
"IRI" : iri,
"sparql" : "http://data.bibliotheken.nl/sparql",
"prefix" : "http://data.bibliotheken.nl/"
,
beforeSend : function()
,
success : function(data)
data = $(data);
if (data.find('resource').length > 0)
invCont.removeClass("empty");
invCont.append($("inverse relations"));
' + data.attr("data-comment") : '') + '');
obj.prepend(t);
var th = obj.position().top - $(window).scrollTop() + t.height();
var wh = window.innerHeight - 50;
if (th > wh)
t.css(
marginTop : '-' + (t.height() + 23) + 'px'
);
t.css(
display : 'none',
visibility : 'visible'
);
t.show();
else if (act === 'remove')
var p = obj.parent();
p.find('.tooltip').fadeOut('fast', function()
$(this).remove();
);
p.find('.i').fadeOut('fast', function()
$(this).remove();
);
,
getInverses : function()
var l = this;
l.lMessage("loading connected resource titles");
var invCont = $('#inverses');
var iri = "http://data.bibliotheken.nl/id/thes/p070771308";
if (iri)
$('#linverse').delay(100).fadeIn('fast');
$.ajax(
url : "http://data.bibliotheken.nl/linkedResourceInverses",
method : 'POST',
data :
"IRI" : iri,
"sparql" : "http://data.bibliotheken.nl/sparql",
"prefix" : "http://data.bibliotheken.nl/"
,
beforeSend : function()
,
success : function(data)
data = $(data);
if (data.find('resource').length > 0)
invCont.removeClass("empty");
invCont.append($("