CINXE.COM
吳澄 — Release
<html version="XHTML+RDFa 1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/1999/xhtml http://www.w3.org/MarkUp/SCHEMA/xhtml-rdfa-2.xsd" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:foaf="http://xmlns.com/foaf/0.1/"> <head data-color="#c3a116-#ac8c13" profile="http://www.w3.org/1999/xhtml/vocab"> <title>吳澄 — Release</title> <link href="/staticResources/style.css" rel="stylesheet" type="text/css" /> <script> document.write('<style type="text/css">'); document.write('.c2{visibility:hidden}'); document.write('</style>'); </script> <meta http-equiv="x-ua-compatible" content="IE=Edge"/> <script src="/staticResources/vendor/jquery.min.js"></script> <meta property="og:title" content="吳澄 — LodView, giving data a new shape"> <meta property="og:image" content="/staticResources/img/lodview_sharer.png"> <link rel="image_src" href="/staticResources/img/lodview_sharer.png"> <meta name="twitter:title" content="吳澄 — LodView, giving data a new shape"> <meta name="twitter:description" content="LodView is a powerful RDF viewer, IRI dereferencer and opensource SPARQL navigator"> <link rel="icon" type="image/png" href="/staticResources/img/favicon.png"> <link href='//fonts.googleapis.com/css?family=Roboto:100,300,500&subset=latin-ext,latin,greek-ext,greek,cyrillic-ext,vietnamese,cyrillic' rel='stylesheet' type='text/css'> <!-- managing maps --> <link rel="stylesheet" href="/staticResources/vendor/leaflet/leaflet.css" /> <script src="/staticResources/vendor/leaflet/leaflet.js"></script> <link rel="canonical" href="http://data.library.sh.cn/entity/person/e2a74k11kiiz7xq2" > <script src="/staticResources/vendor/masonry.pkgd.min.js"></script> <script src="/staticResources/vendor/modernizr-custom.min.js"></script> <style type="text/css"> hgroup, #linking a span,#audio .audio{ background-color: #c3a116 } header div#abstract, #loadPanel, div#lodCloud .connected div#counterBlock.content { background-color: #ac8c13 } #errorPage div#bnodes { color: #ac8c13 } div#loadPanel span.ok img { background-color: #c3a116 } </style> <script> var isRetina = window.devicePixelRatio > 1; var isChrome = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase()) </script> </head><body id="top"> <article> <header> <hgroup> <h1><span>吳澄</span></h1> <h2> <a class="iri" href="http://data.library.sh.cn/entity/person/e2a74k11kiiz7xq2">http://data.library.sh.cn/entity/person/e2a74k11kiiz7xq2</a> <span class="istance"> <a title="<http://www.library.sh.cn/ontology/Person>" href="http://www.library.sh.cn/ontology/Person" target="_blank" > <span class="istanceOf">an entity of type:</span> <span>Person</span> </a> </span> </h2> </hgroup> <div id="abstract" class="empty"></div> </header> <aside><span class="c1"></span><div id="widgets" class="c2"><div id="linking"> <a href="#lodCloud" title="data from the lod cloud"><span class="sp"></span></a> </div></div></aside> <div id="directs"> <label class="c1"><a data-label="名称" data-comment="机构名或人名。" href="http://xmlns.com/foaf/0.1/name"> foaf:<span>name</span> </a></label> <div class="c2 value "> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 吳澄  </div> </div> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 吴澄  </div> </div> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> Wu Cheng  </div> </div> </div> <label class="c1"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c2 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/choronym"> shl:<span>choronym</span> </a></label> <div class="c2 value "> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> 【weixiang】  </div> </div> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 【未詳】  </div> </div> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 【未详】  </div> </div> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/deathDay"> shl:<span>deathDay</span> </a></label> <div class="c2 value multiInLineBlock"> <span class="multiInLine"> 1333  </span> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/birthDay"> shl:<span>birthDay</span> </a></label> <div class="c2 value multiInLineBlock"> <span class="multiInLine"> 1249  </span> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/speciality"> shl:<span>speciality</span> </a></label> <div class="c2 value "> <div class="toMultiLine "> <div class="fixed"> [鄉貢進士]  </div> </div> <div class="toMultiLine "> <div class="fixed"> [隱居(有隱德)]  </div> </div> <div class="toMultiLine "> <div class="fixed"> 以疾廢  </div> </div> <div class="toMultiLine "> <div class="fixed"> 收徒講學  </div> </div> </div> <label class="c1"><a data-label="来源说明" data-comment="" href="http://www.library.sh.cn/ontology/noteOfSource"> shl:<span>noteOfSource</span> </a></label> <div class="c2 value multiInLineBlock"> <span class="multiInLine"> cbdb  </span> </div> <label class="c1"><a data-label="字" data-comment="人的字。" href="http://www.library.sh.cn/ontology/courtesyName"> shl:<span>courtesyName</span> </a></label> <div class="c2 value "> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> youqing  </div> </div> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 幼清  </div> </div> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 幼清  </div> </div> </div> <label class="c1"><a data-label="gender" data-comment="The gender of this Agent (typically but not necessarily 'male' or 'female')." href="http://xmlns.com/foaf/0.1/gender"> foaf:<span>gender</span> </a></label> <div class="c2 value multiInLineBlock"> <span class="multiInLine"> 男  </span> </div> <label class="c1"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c2 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Person>" class=" " href="http://www.library.sh.cn/ontology/Person" target="_blank" > shl:Person </a> </div> </div> <label class="c1"><a data-label="sameAs" data-comment="The property that determines that two given individuals are equal." href="http://www.w3.org/2002/07/owl#sameAs"> owl:<span>sameAs</span> </a></label> <div class="c2 value"> <div class="toOneLine"> <a title="<http://cbdb.library.sh.cn/entity/person/e2a74k11kiiz7xq2>" class="linkingElement " href="http://cbdb.library.sh.cn/entity/person/e2a74k11kiiz7xq2" target="_blank" > <http://cbdb.library.sh.cn/entity/person/e2a74k11kiiz7xq2> </a> </div> </div> <label class="c1"><a data-label="地点" data-comment="与资源相关的地点信息。" href="http://www.library.sh.cn/ontology/place"> shl:<span>place</span> </a></label> <div class="c2 value"> <div class="toOneLine"> <a href="#d0c0e3edfe754a55d879be9329219044" id="t_d0c0e3edfe754a55d879be9329219044"> _:d0c0e3edfe754a55d879be9329219044</a> </div> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/nativePlace"> shl:<span>nativePlace</span> </a></label> <div class="c2 value"> <div class="toOneLine"> <a href="#ab0fdfeb7962f56767c66f5e8fb9c4ce" id="t_ab0fdfeb7962f56767c66f5e8fb9c4ce"> _:ab0fdfeb7962f56767c66f5e8fb9c4ce</a> </div> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/name"> shl:<span>name</span> </a></label> <div class="c2 value"> <div class="toOneLine"> <a href="#81ed08eb696c8656b35c7d5c79b5827b" id="t_81ed08eb696c8656b35c7d5c79b5827b"> _:81ed08eb696c8656b35c7d5c79b5827b</a> </div> <div class="toOneLine"> <a href="#4b674c2ec2a42a545dfc119c2debf0c5" id="t_4b674c2ec2a42a545dfc119c2debf0c5"> _:4b674c2ec2a42a545dfc119c2debf0c5</a> </div> <div class="toOneLine"> <a href="#02550afd1730619272da852ab316364f" id="t_02550afd1730619272da852ab316364f"> _:02550afd1730619272da852ab316364f</a> </div> <div class="toOneLine"> <a href="#0d468780663d9f13235d8dc1a032e985" id="t_0d468780663d9f13235d8dc1a032e985"> _:0d468780663d9f13235d8dc1a032e985</a> </div> <div class="toOneLine"> <a href="#1503bbf5685ff29cee2a0d987fbb74fc" id="t_1503bbf5685ff29cee2a0d987fbb74fc"> _:1503bbf5685ff29cee2a0d987fbb74fc</a> </div> </div> <label class="c1"><a data-label="时间" data-comment="与资源相关的时间信息。" href="http://www.library.sh.cn/ontology/temporal"> shl:<span>temporal</span> </a></label> <div class="c2 value"> <div class="toOneLine"> <a href="#315c1b60e0d439b12afc70f8a058d426" id="t_315c1b60e0d439b12afc70f8a058d426"> _:315c1b60e0d439b12afc70f8a058d426</a> </div> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/officialEvent"> shl:<span>officialEvent</span> </a></label> <div class="c2 value"> <div class="toOneLine"> <a href="#5691dfff7fe144459a35a3a29fc53e78" id="t_5691dfff7fe144459a35a3a29fc53e78"> _:5691dfff7fe144459a35a3a29fc53e78</a> </div> <div class="toOneLine"> <a href="#7bafeba2f52a6e34be59bb92602506c8" id="t_7bafeba2f52a6e34be59bb92602506c8"> _:7bafeba2f52a6e34be59bb92602506c8</a> </div> <div class="toOneLine"> <a href="#24337261fa9d18d72aceeb4784f74565" id="t_24337261fa9d18d72aceeb4784f74565"> _:24337261fa9d18d72aceeb4784f74565</a> </div> <div class="toOneLine"> <a href="#4f8d071004d11f78f582fa7ba5360733" id="t_4f8d071004d11f78f582fa7ba5360733"> _:4f8d071004d11f78f582fa7ba5360733</a> </div> <div class="toOneLine"> <a href="#3b90885b5aaa41a9574fcea7b0462577" id="t_3b90885b5aaa41a9574fcea7b0462577"> _:3b90885b5aaa41a9574fcea7b0462577</a> </div> <div class="toOneLine"> <a href="#e1da4c77479c3ce762bf2cce2b030d5b" id="t_e1da4c77479c3ce762bf2cce2b030d5b"> _:e1da4c77479c3ce762bf2cce2b030d5b</a> </div> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/identifiedBy"> shl:<span>identifiedBy</span> </a></label> <div class="c2 value"> <div class="toOneLine"> <a href="#851ea9a8fa0b68da70273836710d9261" id="t_851ea9a8fa0b68da70273836710d9261"> _:851ea9a8fa0b68da70273836710d9261</a> </div> </div> </div> <div id="bnodes"> <h3> blank nodes </h3> <label class="c1"><a data-label="地点" data-comment="与资源相关的地点信息。" href="http://www.library.sh.cn/ontology/place"> shl:<span>place</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_d0c0e3edfe754a55d879be9329219044" id="d0c0e3edfe754a55d879be9329219044"> _:d0c0e3edfe754a55d879be9329219044</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value "> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> yuanchao-jiangxixingzhongshusheng-fuzhoulu-chongren  </div> </div> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 元朝-江西行中书省-抚州路-崇仁  </div> </div> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 元朝-江西行中書省-撫州路-崇仁  </div> </div> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/note"> shl:<span>note</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 撫州崇仁人  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/placeType"> shl:<span>placeType</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 籍貫(基本地址)  </span> </div> <label class="c3"><a data-label="来源说明" data-comment="" href="http://www.library.sh.cn/ontology/noteOfSource"> shl:<span>noteOfSource</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 元人傳記資料索引  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Place>" class=" " href="http://www.library.sh.cn/ontology/Place" target="_blank" > shl:Place </a> </div> </div> <label class="c3"><a data-label="时间" data-comment="与资源相关的时间信息。" href="http://www.library.sh.cn/ontology/temporal"> shl:<span>temporal</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a href="#f659aa81db2bc4c1920a35c079f9ed85" id="t_f659aa81db2bc4c1920a35c079f9ed85"> _:f659aa81db2bc4c1920a35c079f9ed85</a> </div> </div> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/nativePlace"> shl:<span>nativePlace</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_ab0fdfeb7962f56767c66f5e8fb9c4ce" id="ab0fdfeb7962f56767c66f5e8fb9c4ce"> _:ab0fdfeb7962f56767c66f5e8fb9c4ce</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value "> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> yuanchao-jiangxixingzhongshusheng-fuzhoulu-chongren  </div> </div> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 元朝-江西行中书省-抚州路-崇仁  </div> </div> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 元朝-江西行中書省-撫州路-崇仁  </div> </div> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Place>" class=" " href="http://www.library.sh.cn/ontology/Place" target="_blank" > shl:Place </a> </div> </div> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/name"> shl:<span>name</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_81ed08eb696c8656b35c7d5c79b5827b" id="81ed08eb696c8656b35c7d5c79b5827b"> _:81ed08eb696c8656b35c7d5c79b5827b</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value "> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 吳澄  </div> </div> <div class="toMultiLine "> <div class="fixed"> 吴澄  </div> </div> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> Wu Cheng  </div> </div> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/nameType"> shl:<span>nameType</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 规范名  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Name>" class=" " href="http://www.library.sh.cn/ontology/Name" target="_blank" > shl:Name </a> </div> </div> <div class="toOneLine"> <a href="#t_4b674c2ec2a42a545dfc119c2debf0c5" id="4b674c2ec2a42a545dfc119c2debf0c5"> _:4b674c2ec2a42a545dfc119c2debf0c5</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value "> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> boqing  </div> </div> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 伯清  </div> </div> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 伯清  </div> </div> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/nameType"> shl:<span>nameType</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 未詳  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Name>" class=" " href="http://www.library.sh.cn/ontology/Name" target="_blank" > shl:Name </a> </div> </div> <div class="toOneLine"> <a href="#t_02550afd1730619272da852ab316364f" id="02550afd1730619272da852ab316364f"> _:02550afd1730619272da852ab316364f</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value "> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> youqing  </div> </div> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 幼清  </div> </div> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 幼清  </div> </div> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/nameType"> shl:<span>nameType</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 字  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Name>" class=" " href="http://www.library.sh.cn/ontology/Name" target="_blank" > shl:Name </a> </div> </div> <div class="toOneLine"> <a href="#t_0d468780663d9f13235d8dc1a032e985" id="0d468780663d9f13235d8dc1a032e985"> _:0d468780663d9f13235d8dc1a032e985</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value "> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 文正  </div> </div> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 文正  </div> </div> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> wenzheng  </div> </div> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/nameType"> shl:<span>nameType</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 諡號  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Name>" class=" " href="http://www.library.sh.cn/ontology/Name" target="_blank" > shl:Name </a> </div> </div> <div class="toOneLine"> <a href="#t_1503bbf5685ff29cee2a0d987fbb74fc" id="1503bbf5685ff29cee2a0d987fbb74fc"> _:1503bbf5685ff29cee2a0d987fbb74fc</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value "> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> caoluxiansheng  </div> </div> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 草庐先生  </div> </div> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 草廬先生  </div> </div> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/nameType"> shl:<span>nameType</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 室名、別號  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Name>" class=" " href="http://www.library.sh.cn/ontology/Name" target="_blank" > shl:Name </a> </div> </div> </div> <label class="c1"><a data-label="时间" data-comment="与资源相关的时间信息。" href="http://www.library.sh.cn/ontology/temporal"> shl:<span>temporal</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_315c1b60e0d439b12afc70f8a058d426" id="315c1b60e0d439b12afc70f8a058d426"> _:315c1b60e0d439b12afc70f8a058d426</a> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/dynasty"> shl:<span>dynasty</span> </a></label> <div class="c4 value "> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 元  </div> </div> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 元  </div> </div> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> yuan  </div> </div> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Temporal>" class=" " href="http://www.library.sh.cn/ontology/Temporal" target="_blank" > shl:Temporal </a> </div> </div> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/officialEvent"> shl:<span>officialEvent</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_5691dfff7fe144459a35a3a29fc53e78" id="5691dfff7fe144459a35a3a29fc53e78"> _:5691dfff7fe144459a35a3a29fc53e78</a> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/specialEventType"> shl:<span>specialEventType</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 入仕  </span> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/eventType"> shl:<span>eventType</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 科舉: 鄉貢舉人  </span> </div> <label class="c3"><a data-label="来源说明" data-comment="" href="http://www.library.sh.cn/ontology/noteOfSource"> shl:<span>noteOfSource</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 元人傳記資料索引  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/OfficialEvent>" class=" " href="http://www.library.sh.cn/ontology/OfficialEvent" target="_blank" > shl:OfficialEvent </a> </div> </div> <label class="c3"><a data-label="时间" data-comment="与资源相关的时间信息。" href="http://www.library.sh.cn/ontology/temporal"> shl:<span>temporal</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a href="#8a38ce53488004fc2ac551ea536a3c27" id="t_8a38ce53488004fc2ac551ea536a3c27"> _:8a38ce53488004fc2ac551ea536a3c27</a> </div> </div> <div class="toOneLine"> <a href="#t_7bafeba2f52a6e34be59bb92602506c8" id="7bafeba2f52a6e34be59bb92602506c8"> _:7bafeba2f52a6e34be59bb92602506c8</a> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/eventType"> shl:<span>eventType</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 正授  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/note"> shl:<span>note</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 至大間授國子監丞  </span> </div> <label class="c3"><a data-label="来源说明" data-comment="" href="http://www.library.sh.cn/ontology/noteOfSource"> shl:<span>noteOfSource</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 元人傳記資料索引  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/OfficialEvent>" class=" " href="http://www.library.sh.cn/ontology/OfficialEvent" target="_blank" > shl:OfficialEvent </a> </div> </div> <label class="c3"><a data-label="时间" data-comment="与资源相关的时间信息。" href="http://www.library.sh.cn/ontology/temporal"> shl:<span>temporal</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a href="#59007b7acf3fd8c579ff233d84fd5f81" id="t_59007b7acf3fd8c579ff233d84fd5f81"> _:59007b7acf3fd8c579ff233d84fd5f81</a> </div> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/officialPosition"> shl:<span>officialPosition</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a href="#2e6703b617f54ac04c47cbd7f53f02d0" id="t_2e6703b617f54ac04c47cbd7f53f02d0"> _:2e6703b617f54ac04c47cbd7f53f02d0</a> </div> </div> <div class="toOneLine"> <a href="#t_24337261fa9d18d72aceeb4784f74565" id="24337261fa9d18d72aceeb4784f74565"> _:24337261fa9d18d72aceeb4784f74565</a> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/eventType"> shl:<span>eventType</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 正授  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/note"> shl:<span>note</span> </a></label> <div class="c4 value "> <div class="toMultiLine "> <div class="fixed"> 至治三年超拜翰林學士  </div> </div> </div> <label class="c3"><a data-label="来源说明" data-comment="" href="http://www.library.sh.cn/ontology/noteOfSource"> shl:<span>noteOfSource</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 元人傳記資料索引  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/OfficialEvent>" class=" " href="http://www.library.sh.cn/ontology/OfficialEvent" target="_blank" > shl:OfficialEvent </a> </div> </div> <label class="c3"><a data-label="时间" data-comment="与资源相关的时间信息。" href="http://www.library.sh.cn/ontology/temporal"> shl:<span>temporal</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a href="#2eef0dcead96b9605535ea3b6348af9d" id="t_2eef0dcead96b9605535ea3b6348af9d"> _:2eef0dcead96b9605535ea3b6348af9d</a> </div> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/officialPosition"> shl:<span>officialPosition</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a href="#afa4de8c1764f57b248c4bce4b0c6aaa" id="t_afa4de8c1764f57b248c4bce4b0c6aaa"> _:afa4de8c1764f57b248c4bce4b0c6aaa</a> </div> </div> <div class="toOneLine"> <a href="#t_4f8d071004d11f78f582fa7ba5360733" id="4f8d071004d11f78f582fa7ba5360733"> _:4f8d071004d11f78f582fa7ba5360733</a> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/eventType"> shl:<span>eventType</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 正授  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/note"> shl:<span>note</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 陞司業  </span> </div> <label class="c3"><a data-label="来源说明" data-comment="" href="http://www.library.sh.cn/ontology/noteOfSource"> shl:<span>noteOfSource</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 元人傳記資料索引  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/OfficialEvent>" class=" " href="http://www.library.sh.cn/ontology/OfficialEvent" target="_blank" > shl:OfficialEvent </a> </div> </div> <label class="c3"><a data-label="时间" data-comment="与资源相关的时间信息。" href="http://www.library.sh.cn/ontology/temporal"> shl:<span>temporal</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a href="#fc5024751d548e0a5953d66ed66f3299" id="t_fc5024751d548e0a5953d66ed66f3299"> _:fc5024751d548e0a5953d66ed66f3299</a> </div> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/officialPosition"> shl:<span>officialPosition</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a href="#1e521e42366bb8b7041d067ee814caa8" id="t_1e521e42366bb8b7041d067ee814caa8"> _:1e521e42366bb8b7041d067ee814caa8</a> </div> </div> <div class="toOneLine"> <a href="#t_3b90885b5aaa41a9574fcea7b0462577" id="3b90885b5aaa41a9574fcea7b0462577"> _:3b90885b5aaa41a9574fcea7b0462577</a> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/eventType"> shl:<span>eventType</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 正授  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/note"> shl:<span>note</span> </a></label> <div class="c4 value "> <div class="toMultiLine "> <div class="fixed"> 大德末除江西儒學副提舉  </div> </div> </div> <label class="c3"><a data-label="来源说明" data-comment="" href="http://www.library.sh.cn/ontology/noteOfSource"> shl:<span>noteOfSource</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 元人傳記資料索引  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/OfficialEvent>" class=" " href="http://www.library.sh.cn/ontology/OfficialEvent" target="_blank" > shl:OfficialEvent </a> </div> </div> <label class="c3"><a data-label="时间" data-comment="与资源相关的时间信息。" href="http://www.library.sh.cn/ontology/temporal"> shl:<span>temporal</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a href="#f09ae427abe0e175bbca066d2c2677fa" id="t_f09ae427abe0e175bbca066d2c2677fa"> _:f09ae427abe0e175bbca066d2c2677fa</a> </div> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/officialPosition"> shl:<span>officialPosition</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a href="#3f552bb1f5c28a6abe3eca1137663505" id="t_3f552bb1f5c28a6abe3eca1137663505"> _:3f552bb1f5c28a6abe3eca1137663505</a> </div> </div> <div class="toOneLine"> <a href="#t_e1da4c77479c3ce762bf2cce2b030d5b" id="e1da4c77479c3ce762bf2cce2b030d5b"> _:e1da4c77479c3ce762bf2cce2b030d5b</a> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/eventType"> shl:<span>eventType</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 正授  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/note"> shl:<span>note</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 任經筵講官  </span> </div> <label class="c3"><a data-label="来源说明" data-comment="" href="http://www.library.sh.cn/ontology/noteOfSource"> shl:<span>noteOfSource</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 元人傳記資料索引  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/OfficialEvent>" class=" " href="http://www.library.sh.cn/ontology/OfficialEvent" target="_blank" > shl:OfficialEvent </a> </div> </div> <label class="c3"><a data-label="时间" data-comment="与资源相关的时间信息。" href="http://www.library.sh.cn/ontology/temporal"> shl:<span>temporal</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a href="#c4d7be548ea6c242fd75c2dd129af7ca" id="t_c4d7be548ea6c242fd75c2dd129af7ca"> _:c4d7be548ea6c242fd75c2dd129af7ca</a> </div> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/officialPosition"> shl:<span>officialPosition</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a href="#26edb35df649f3d36cba36bcda3e6331" id="t_26edb35df649f3d36cba36bcda3e6331"> _:26edb35df649f3d36cba36bcda3e6331</a> </div> </div> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/identifiedBy"> shl:<span>identifiedBy</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_851ea9a8fa0b68da70273836710d9261" id="851ea9a8fa0b68da70273836710d9261"> _:851ea9a8fa0b68da70273836710d9261</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 10084  </span> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Identifier>" class=" " href="http://www.library.sh.cn/ontology/Identifier" target="_blank" > shl:Identifier </a> </div> </div> </div> <label class="c1"><a data-label="时间" data-comment="与资源相关的时间信息。"> shl:<span>temporal</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_f659aa81db2bc4c1920a35c079f9ed85" id="f659aa81db2bc4c1920a35c079f9ed85"> _:f659aa81db2bc4c1920a35c079f9ed85</a> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/begin"> shl:<span>begin</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 0  </span> </div> <label class="c3"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/end"> shl:<span>end</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 0  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Temporal>" class=" " href="http://www.library.sh.cn/ontology/Temporal" target="_blank" > shl:Temporal </a> </div> </div> </div> <label class="c1"><a data-label="时间" data-comment="与资源相关的时间信息。"> shl:<span>temporal</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_8a38ce53488004fc2ac551ea536a3c27" id="8a38ce53488004fc2ac551ea536a3c27"> _:8a38ce53488004fc2ac551ea536a3c27</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 1270  </span> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Temporal>" class=" " href="http://www.library.sh.cn/ontology/Temporal" target="_blank" > shl:Temporal </a> </div> </div> </div> <label class="c1"><a data-label="时间" data-comment="与资源相关的时间信息。"> shl:<span>temporal</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_59007b7acf3fd8c579ff233d84fd5f81" id="59007b7acf3fd8c579ff233d84fd5f81"> _:59007b7acf3fd8c579ff233d84fd5f81</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 1310  </span> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Temporal>" class=" " href="http://www.library.sh.cn/ontology/Temporal" target="_blank" > shl:Temporal </a> </div> </div> </div> <label class="c1"><a data-label="" data-comment=""> shl:<span>officialPosition</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_2e6703b617f54ac04c47cbd7f53f02d0" id="2e6703b617f54ac04c47cbd7f53f02d0"> _:2e6703b617f54ac04c47cbd7f53f02d0</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value "> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> guozijiancheng  </div> </div> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 国子监丞  </div> </div> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 國子監丞  </div> </div> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/OfficialPosition>" class=" " href="http://www.library.sh.cn/ontology/OfficialPosition" target="_blank" > shl:OfficialPosition </a> </div> </div> </div> <label class="c1"><a data-label="时间" data-comment="与资源相关的时间信息。"> shl:<span>temporal</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_2eef0dcead96b9605535ea3b6348af9d" id="2eef0dcead96b9605535ea3b6348af9d"> _:2eef0dcead96b9605535ea3b6348af9d</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 1323  </span> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Temporal>" class=" " href="http://www.library.sh.cn/ontology/Temporal" target="_blank" > shl:Temporal </a> </div> </div> </div> <label class="c1"><a data-label="" data-comment=""> shl:<span>officialPosition</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_afa4de8c1764f57b248c4bce4b0c6aaa" id="afa4de8c1764f57b248c4bce4b0c6aaa"> _:afa4de8c1764f57b248c4bce4b0c6aaa</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value "> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> hanlinguoshiyuanxueshi  </div> </div> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 翰林国史院学士  </div> </div> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 翰林國史院學士  </div> </div> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/OfficialPosition>" class=" " href="http://www.library.sh.cn/ontology/OfficialPosition" target="_blank" > shl:OfficialPosition </a> </div> </div> </div> <label class="c1"><a data-label="时间" data-comment="与资源相关的时间信息。"> shl:<span>temporal</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_fc5024751d548e0a5953d66ed66f3299" id="fc5024751d548e0a5953d66ed66f3299"> _:fc5024751d548e0a5953d66ed66f3299</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 0  </span> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Temporal>" class=" " href="http://www.library.sh.cn/ontology/Temporal" target="_blank" > shl:Temporal </a> </div> </div> </div> <label class="c1"><a data-label="" data-comment=""> shl:<span>officialPosition</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_1e521e42366bb8b7041d067ee814caa8" id="1e521e42366bb8b7041d067ee814caa8"> _:1e521e42366bb8b7041d067ee814caa8</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value "> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> mengguguozijiansiye  </div> </div> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 蒙古国子监司业  </div> </div> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 蒙古國子監司業  </div> </div> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/OfficialPosition>" class=" " href="http://www.library.sh.cn/ontology/OfficialPosition" target="_blank" > shl:OfficialPosition </a> </div> </div> </div> <label class="c1"><a data-label="时间" data-comment="与资源相关的时间信息。"> shl:<span>temporal</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_f09ae427abe0e175bbca066d2c2677fa" id="f09ae427abe0e175bbca066d2c2677fa"> _:f09ae427abe0e175bbca066d2c2677fa</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 1307  </span> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Temporal>" class=" " href="http://www.library.sh.cn/ontology/Temporal" target="_blank" > shl:Temporal </a> </div> </div> </div> <label class="c1"><a data-label="" data-comment=""> shl:<span>officialPosition</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_3f552bb1f5c28a6abe3eca1137663505" id="3f552bb1f5c28a6abe3eca1137663505"> _:3f552bb1f5c28a6abe3eca1137663505</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value "> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> ruxuetijusifutiju  </div> </div> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 儒学提举司副提举  </div> </div> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 儒學提舉司副提舉  </div> </div> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/OfficialPosition>" class=" " href="http://www.library.sh.cn/ontology/OfficialPosition" target="_blank" > shl:OfficialPosition </a> </div> </div> </div> <label class="c1"><a data-label="时间" data-comment="与资源相关的时间信息。"> shl:<span>temporal</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_c4d7be548ea6c242fd75c2dd129af7ca" id="c4d7be548ea6c242fd75c2dd129af7ca"> _:c4d7be548ea6c242fd75c2dd129af7ca</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> 0  </span> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/Temporal>" class=" " href="http://www.library.sh.cn/ontology/Temporal" target="_blank" > shl:Temporal </a> </div> </div> </div> <label class="c1"><a data-label="" data-comment=""> shl:<span>officialPosition</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_26edb35df649f3d36cba36bcda3e6331" id="26edb35df649f3d36cba36bcda3e6331"> _:26edb35df649f3d36cba36bcda3e6331</a> </div> <label class="c3"><a data-label="label" data-comment="A human-readable name for the subject." href="http://www.w3.org/2000/01/rdf-schema#label"> rdfs:<span>label</span> </a></label> <div class="c4 value "> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> jingyanjiangguan  </div> </div> <div class="toMultiLine lang cht" data-lang="cht"> <div class="fixed"> 經筵講官  </div> </div> <div class="toMultiLine lang chs" data-lang="chs"> <div class="fixed"> 经筵讲官  </div> </div> </div> <label class="c3"><a data-label="Source" data-comment="A related resource from which the described resource is derived." href="http://purl.org/dc/elements/1.1/source"> dc:<span>source</span> </a></label> <div class="c4 value multiInLineBlock"> <span class="multiInLine"> CBDB  </span> </div> <label class="c3"><a data-label="type" data-comment="The subject is an instance of a class." href="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> rdf:<span>type</span> </a></label> <div class="c4 value"> <div class="toOneLine"> <a title="<http://www.library.sh.cn/ontology/OfficialPosition>" class=" " href="http://www.library.sh.cn/ontology/OfficialPosition" target="_blank" > shl:OfficialPosition </a> </div> </div> </div> </div> <div id="inverses" class="empty"></div> <div id="lodCloud"> <h3> data from the linked data cloud </h3> <div class="masonry"></div> </div> <!-- a custom space located before the footer --> <div id="customFooter"> <div id="credits"> <div></div> </div> <menu> </menu> </div> </article> <footer> 上海图书馆内容协商系统 </footer> <script> 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://localhost:8080/lodview'; }); 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 : '© <a href="http://osm.org/copyright">OpenStreetMap</a> 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 = $('<div class="imgTools" style="width:' + w + 'px;height:' + h + 'px;"></div>') var zoom = $('<span class="zoom sp" style="margin-top:' + (h / 2 - 15) + 'px;margin-left:' + (w / 2 - 15) + 'px;"></span>'); tools.append(zoom); zoom.click(function() { l.fullMap('', '', '吳澄'); }); 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 = $('<div class="imgTools" style="width:' + w + 'px;height:' + h + 'px;"></div>') var zoom = $('<span class="zoom sp" style="margin-left:' + (w / 2 - 15) + 'px;"></span>'); var open = $('<span class="open sp" style="margin-top:' + (h / 2 - 15 - 19) + 'px;margin-left:' + (w / 2 - 7) + 'px;"></span>'); 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 = $('<div id="hover" class="hover"></div>'); var map = $('<div class="hover maphover"><div id="maphover"></div><div class="closemapzoom sp"></div></div>'); 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 = $('<div id="hover" class="hover"></div>'); 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 < 250) { istance.css({ "float" : "none", "text-align" : "left", "display" : "block" }); } else { istance.css({ "float" : "right", "text-align" : "right", "display" : "inline-block" }); } }, connectedResourceTitles : function() { var l = this; l.lMessage("loading inverse relations", 'open'); var abouts = []; $('a.isLocal').each(function() { var a = $(this).attr('title').replace(/[><]/g, ''); if ($.inArray(a, abouts) == -1) { abouts.push(a); } }); if (abouts.length > 0) { $('#lconnected').fadeIn('fast'); l.doConnectedResourceTitles(abouts, function() { l.getInverses() }); } else { l.getInverses(); } }, doConnectedResourceTitles : function(abouts, onComplete) { return $.ajax({ url : "/linkedResourceTitles", data : { "abouts" : abouts, "IRI" : "http://data.library.sh.cn/entity/person/e2a74k11kiiz7xq2", "sparql" : "http://10.1.31.192:8890/sparql", "prefix" : "http://data.library.sh.cn/" }, 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="<' + IRI + '>"]').each(function() { if ($(this).find('tt').length == 0) { $(this).append("<br><span class='derivedTitle'><tt class=\"sp\"></tt>" + title + "</span>"); } }) }); }, error : function(e) { /* TODO: manage errors */ }, complete : function() { /* inverse relations */ if (onComplete) { onComplete(); } } }); }, multiLabels : function() { var l = this; var cLocale = 'zh'; $('.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 = $("<span class=\"clang " + lang + "\">" + lang + "</span>"); 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 : (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("<span class=\"elang\">@" + lang + "</span>"); } $(this).removeClass('lang'); }); } }); }, infoTooltip : function(act, obj) { var l = this; if (act === 'init') { $('[data-label]').each(function() { if ($(this).attr('data-label')) { var iph = $('<span class="iph"></span>'); $(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 = $('<span class="i"><span class="sp"></span></span>'); obj.prepend(i); i.hover(function() { l.infoTooltip('show', obj); }, function() { l.infoTooltip('remove', obj); }); } } else if (act === 'showInfoPoint') { var i = $('<span class="i"><span class="sp"></span></span>'); 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 = $('<div class="tooltip" style="display:block;visibility:hidden"><strong>' + data.attr("data-label") + '</strong>' + (data.attr("data-comment") ? '<br />' + data.attr("data-comment") : '') + '</div>'); 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.library.sh.cn/entity/person/e2a74k11kiiz7xq2"; if (iri) { $('#linverse').delay(100).fadeIn('fast'); $.ajax({ url : "/linkedResourceInverses", method : 'POST', data : { "IRI" : iri, "sparql" : "http://10.1.31.192:8890/sparql", "prefix" : "http://data.library.sh.cn/" }, beforeSend : function() { }, success : function(data) { data = $(data); if (data.find('resource').length > 0) { invCont.removeClass("empty"); invCont.append($("<h3>inverse relations</h3>")); paginator["inverse relations"] = invCont; } data.find('resource').each(function() { var IRI = $(this).attr("nsabout"); if (IRI.indexOf("null:") == 0) { IRI = '<' + $(this).attr("about").replace(/(http:\/\/.+[/#])([^/#]+)$/, '$1<span>$2') + "</span>>"; } else { IRI = IRI.replace(/:/, ':<span>') + '</span>'; } var count = $(this).find("count").text(); var msg = "is {0} of"; // TODO: add link! msg = msg.replace(/\{0\}/, "<a data-comment=\"" + $(this).attr("propertycomment") + "\" data-label=\"" + $(this).attr("propertylabel") + "\" title=\"<" + $(this).attr("about") + ">\">" + IRI); var el = $("<label class=\"c1\" title=\"" + $(this).attr("about") + "\">" + msg + "</label>"); var anchor = $("<a href=\"#openIt\" data-property=\"" + $(this).attr("about") + "\">" + count + " " + (count == 1 ? "resource" : "resources") + "</a>"); anchor.click(function() { if (anchor.parent().hasClass('isOpened')) { anchor.parent().find('.toOneLine,.prevArrow,.nextArrow,.lloadingb').remove(); anchor.parent().removeClass('isOpened'); anchor.parent().removeClass('opened'); } else { var property = $(this).attr('data-property'); var contInverse = $(this).parent(); anchor.parent().addClass("isOpened"); var start = 0; $.ajax({ url : "/linkedResourceInverses", method : 'POST', data : { "start" : start, "IRI" : "http://data.library.sh.cn/entity/person/e2a74k11kiiz7xq2", "property" : property, "sparql" : "http://10.1.31.192:8890/sparql", "prefix" : "http://data.library.sh.cn/" }, beforeSend : function() { anchor.parent().find('.toOneLine,.prevArrow,.nextArrow,.lloadingb').remove(); anchor.after("<span class=\"lloadingb\"></span>"); }, success : function(data) { data = $(data); var abouts = []; data.find('resource').each(function() { var IRI = $(this).attr("nsabout"); if (IRI.indexOf("null:") == 0) { IRI = '<' + $(this).attr("about") + ">"; } if (IRI.indexOf(":") == -1) { IRI = "_:" + $(this).attr("about"); } var title = $(this).find("title").text(); var url = $(this).attr("propertyurl") contInverse.append($("<div class='toOneLine' style='display:none'> <a title=\"<" + $(this).attr("about") + ">\" href=\"" + url + "\" class=\"isLocal\">" + IRI + "</a></div>")); abouts.push($(this).attr("about")); }); $('.toOneLine', contInverse).show(); if (count > 10) { anchor.parent().addClass("opened"); } if (abouts.length > 0) { l.doConnectedResourceTitles(abouts, function() { anchor.parent().find('.lloadingb').hide(); }); } else { anchor.parent().find('.lloadingb').hide(); } }, complete : function() { if (count > 10) { var prev = $('<a href="#prev" class="prevArrow sp"></a>'); var next = $('<a href="#next" class="nextArrow sp"></a>'); prev.css({ 'opacity' : '0.3', 'cursor' : 'default' }); next.click(function() { return l.paginating('next', $(this), start, property, count); }); anchor.after(next); anchor.after(prev); } }, error : function() { contInverse.append($("<div class='toOneLine' >sorry, an error occurred</div>")); } }); } return false; }); invCont.append(el); var value = $("<div class=\"c2 value\"></div>"); value.append(anchor); invCont.append(value); if ("open" == "close") { anchor.click(); } }); l.setColumnsSize(true); $('#linverse').append('<span class="ok"><img src="/staticResources/img/checked' + (isRetina ? '@2x' : '') + '.png" ></span>').find('img').fadeIn('fast'); }, error : function(e) { $('#linverse').append('<span class="error"></span>'); }, complete : function() { l.lMessage(null, 'close'); } }); } }, paginating : function(direction, anchor, start, property, count) { var l = this; if (direction == 'next') { start = start + 10; } else if (start > 0) { start = start - 10; } var contInverse = anchor.parent(); if (callingPage) { callingPage.abort(); } if (callingPageTitles) { callingPageTitles.abort(); } callingPage = $.ajax({ url : "/linkedResourceInverses", method : 'POST', data : { "start" : start, "IRI" : "http://data.library.sh.cn/entity/person/e2a74k11kiiz7xq2", "property" : property, "sparql" : "http://10.1.31.192:8890/sparql", "prefix" : "http://data.library.sh.cn/" }, beforeSend : function() { contInverse.find('.toOneLine').addClass('toRemove').css({ 'opacity' : 0.2 }); contInverse.find('.prevArrow,.nextArrow').remove(); contInverse.find('.lloadingb').show(); var prev = $('<a href="#prev" class="prevArrow sp"></a>'); var next = $('<a href="#next" class="nextArrow sp"></a>'); if (start + 10 > count) { next.css({ 'opacity' : '0.3', 'cursor' : 'default' }); } else { next.click(function() { return l.paginating('next', $(this), start, property, count); }); } if (start > 0) { prev.click(function() { return l.paginating('prev', $(this), start, property, count); }); } else { prev.css({ 'opacity' : '0.3', 'cursor' : 'default' }); } contInverse.find('a:first').after(next); contInverse.find('a:first').after(prev); }, success : function(data) { data = $(data); var abouts = []; data.find('resource').each(function() { var IRI = $(this).attr("nsabout"); if (IRI.indexOf("null:") == 0) { IRI = '<' + $(this).attr("about") + ">"; } if (IRI.indexOf(":") == -1) { IRI = "_:" + $(this).attr("about"); } var title = $(this).find("title").text(); var url = $(this).attr("propertyurl") contInverse.append($("<div class='toOneLine' style='display:none'> <a title=\"<" + $(this).attr("about") + ">\" href=\"" + url + "\" class=\"isLocal\">" + IRI + "</a></div>")); abouts.push($(this).attr("about")); }); if (abouts.length > 0) { callingPageTitles = l.doConnectedResourceTitles(abouts, function() { contInverse.find('.toOneLine.toRemove').remove(); $('.toOneLine', contInverse).show(); contInverse.find('.lloadingb').hide(); }); } else { contInverse.find('.toOneLine.toRemove').remove(); $('.toOneLine', contInverse).show(); contInverse.find('.lloadingb').hide(); } anchor.unbind('click'); }, complete : function() { }, error : function() { contInverse.find('.toOneLine').remove(); contInverse.append($("<div class='toOneLine' >sorry, an error occurred</div>")); } }); return false; }, grabData : function() { var l = this; var linkingList = []; var counter = 0; var errors = 0; var map = $('map:first'); $('.linkingElement').each(function() { var link = $.trim($(this).attr("href")); linkingList.push(link); }); /* lod cloud */ if (linkingList.length == 0) { $('#lodCloud').empty(); $('#lodCloud').addClass("empty"); $('#linking').hide(); } else { $('#linking').fadeIn('fast'); var container = $('#lodCloud').children("div"); var dest = $('<div class="connected"><span class="lloading"></span></div>'); var content = $("<div class=\"content\" id='counterBlock'></div>"); content.append("<p id='grabDataTotal'>Resource connected \u003Cstrong\u003E0\u003C\/strong\u003E</p>") content.append("<p id='grabDataTotalErrors'>Resource not online \u003Cstrong\u003E0\u003C\/strong\u003E</p>") content.append("<p id='grabDataTotalLoaded'>Resource loaded \u003Cstrong\u003E0\u003C\/strong\u003E</p>") dest.append(content); container.append(dest); // initialize container.masonry({ itemSelector : '.connected' }); l.updateCounter(linkingList.length, counter, errors); l.grabSingleResource(linkingList, counter, errors, map); } }, grabSingleResource : function(linkingList, counter, errors, map) { var l = this; if (counter < linkingList.length) { var linking = $('#lodCloud').children("div"); $.ajax({ url : "/linkedResource", method : 'POST', timeout : 10000, // 5 sec. data : { "IRI" : linkingList[counter] }, beforeSend : function() { // console.debug(counter + " -- " + linkingList[counter]) }, success : function(data) { data = $(data); var dest = $('<div class="connected"></div>'); data.find('img:first').each(function() { dest.append("<span class=\"imgCnt sp\"><img class=\"main\" src=\"" + $(this).attr("src") + "\"></span>"); }); var title = (data.find('title').text() != 'null' ? data.find('title').text() : ""); if (data.find('img:first').length == 0 && data.find('longitude').text().replace(/null/, '') && data.find('latitude').text().replace(/null/, '')) { var id = new Date().getMilliseconds(); var map = $('<map id="inlodMap' + id + '" class="inLodMap sp"></map>'); dest.append(map); } l.setErrorImage(dest.find('img')); var content = $("<div class=\"content\"></div>"); content.append("<h5>" + title + "</h5>"); var IRI = data.find('root').attr('about'); content.append("<a class=\"link\" target=\"_blank\" href=\"" + IRI + "\">" + IRI.replace(/([^a-zA-Z0-9])/g, '$1​') + "</a>"); if ($.trim(data.find('description').text())) { var descr = data.find('description').text() + " @" + data.find('description').attr("lang"); descr = descr.replace(/@(null|)$/, ''); content.append("<div>" + descr + "</div>"); } dest.append(content); var tot = data.find('links').attr("tot"); if (parseInt(tot, 10) > 0) { dest.append("<div class=\"more\">" + tot + " " + (tot == 1 ? "connected resource" : "connected resources") + "</div>") } dest.find('img').on('load', function() { linking.masonry(); }).each(function() { if (this.complete) { $(this).load(); } }); counter++; if (!data.find('root').attr('error')) { linking.masonry().append(dest).masonry('appended', dest); if (dest.find('map').length > 0) { l.drawMap(dest.find('map').attr("id"), data.find('latitude').text(), data.find('longitude').text(), title); } data.find('link').each(function() { var a = $(this).attr("href"); if ($.inArray(a, linkingList) == -1 && a != "http://data.library.sh.cn/entity/person/e2a74k11kiiz7xq2") { linkingList.push(a); } }); } else { errors++; } linking.masonry(); l.grabSingleResource(linkingList, counter, errors, map); l.updateCounter(linkingList.length, counter, errors); }, error : function(e) { l.updateCounter(linkingList.length, (counter + 1), (errors + 1)); l.grabSingleResource(linkingList, (counter + 1), (errors + 1), map); }, complete : function() { } }); } else { $('.connected').find('.lloading').fadeOut(); } }, lMessage : function(msg, action) { var l = this; var lp = $('#loadPanel'); if (action) { if (action == 'open') { if (isChrome) { // moving the panel to the center of the page lp.addClass("cfix"); } lp.fadeIn('fast'); } else { lp.delay(2000).fadeOut('fast'); } } if (msg) { lp.queue(function() { setTimeout(function() { lp.find('.content').remove(); lp.find('#lmessage').append("<span class=\"content\">" + msg + "</span>"); lp.dequeue(); }, action == 'open' ? 0 : 2000); }); } }, slideNext : function(obj) { var l = this; obj.next().slideDown('fast', function() { l.slideNext($(this)); }); }, updateCounter : function(tot, count, errors) { var g = $('#lmessage > .content'); g.children('strong').html(count); g.children('span:last').html(tot); var b = $('#counterBlock'); b.find('p#grabDataTotal > strong').html(tot); b.find('p#grabDataTotalLoaded > strong').html(count - errors); b.find('p#grabDataTotalErrors > strong').html(errors); }, footer : function() { $('#endpoint').find('.viewas').find('a').click(function() { var loc = document.location.href; loc = loc.replace(/#[^#]+/, ''); if (loc.indexOf("?") != -1) { loc += "&output=" + $(this).attr("title"); } else { loc += "?output=" + $(this).attr("title"); } document.location = loc; }); }, setErrorImage : function(obj) { obj.error(function() { $(this).attr("title", "image not available, broken URL?\n" + $(this).attr("src")); $(this).attr("src", "/staticResources/img/no_image" + (isRetina ? "@2x" : "") + ".png"); $(this).addClass("errorImg"); $(this).unwrap("a"); }); }, rNavigator : function() { var l = this; $('#navigator').find('.top').hover(function() { var e = $(this); if (window.scrollY > 0) { e.addClass('hover'); var a = $('<a href="#top"></a>'); a.click(function() { $('body').scrollTo(0, {}, function() { a.parent().trigger('mouseleave'); a.parent().trigger('mouseenter'); }); return false; }); e.prepend(a); e.prepend("<span>to top</span>"); } }, function() { $(this).removeClass('hover'); $(this).find('span , a').remove(); }); $('#navigator').find('.up').hover(function() { var y = window.scrollY; var prev = null; var e = $(this); $.each(paginator, function(k, v) { if (v && v.position() && y > v.position().top) { prev = {}; prev[k] = v; } }); if (prev) { $.each(prev, function(k, v) { e.addClass('hover'); var a = $('<a href="#' + v.attr("id") + '"></a>'); a.click(function() { $('body').scrollTo(v.position().top, {}, function() { a.parent().trigger('mouseleave'); a.parent().trigger('mouseenter'); }); return false; }); e.prepend(a); e.prepend('<span>' + k + '</span>'); }); } }, function() { $(this).removeClass('hover'); $(this).find('span , a').remove(); }); $('#navigator').find('.down').hover(function() { var y = window.scrollY + 1; var next = null; var e = $(this); $.each(paginator, function(k, v) { if (!next && v && v.position() && y < v.position().top && y + window.innerHeight < $(document).height()) { next = {}; next[k] = v; } }); if (next) { $.each(next, function(k, v) { e.addClass('hover'); var a = $('<a href="#' + v.attr("id") + '"></a>'); a.click(function() { $('body').scrollTo(v.position().top, {}, function() { a.parent().trigger('mouseleave'); a.parent().trigger('mouseenter'); }); return false; }); e.prepend(a); e.prepend('<span>' + k + '</span>'); }); } }, function() { $(this).removeClass('hover'); $(this).find('span , a').remove(); }); $.fn.scrollTo = function(target, options, callback) { if (typeof options == 'function' && arguments.length == 2) { callback = options; options = target; } var settings = $.extend({ scrollTarget : target, offsetTop : 50, duration : 200, easing : 'swing' }, options); return this.each(function() { var scrollPane = $(this); var scrollTarget = (typeof settings.scrollTarget == "number") ? settings.scrollTarget : $(settings.scrollTarget); var scrollY = (typeof scrollTarget == "number") ? scrollTarget : scrollTarget.offset().top + scrollPane.scrollTop() - parseInt(settings.offsetTop); scrollPane.animate({ scrollTop : scrollY }, parseInt(settings.duration), settings.easing, function() { if (typeof callback == 'function') { callback.call(this); } }); }); } // adding naturalWidth and naturalHeight to images function img(url) { var i = new Image; i.src = url; return i; } var props = [ 'Width', 'Height' ], prop; while (prop = props.pop()) { (function(natural, prop) { $.fn[natural] = (natural in new Image()) ? function() { return this[0][natural]; } : function() { var node = this[0], img, value; if (node.tagName.toLowerCase() === 'img') { img = new Image(); img.src = node.src, value = img[prop]; } return value; }; }('natural' + prop, prop.toLowerCase())); } }, setColumnsSize : function(secondTrip) { $('.c1').each(function() { var s = $(this).width(); if (secondTrip) { // occurs after web font rendering s = s - 8; } if (s > col1) { col1 = s; } }); $('.c2').animate({ // 24 = main padding marginLeft : col1 + 24, marginTop : 0 }, 'slow', 'swing', function() { $('.c2').css({ visibility : 'visible' }); }); $('.c3').each(function() { var s = $(this).width(); if (s > col3) { col3 = s; } }); $('.c4').each(function() { var h = $(this).prev('.c3').height(); $(this).animate({ // 24 = main padding marginLeft : col3 + 24, marginTop : 0 }, 'slow'); }); } }; </script> <div id="loadPanel"> <p id="lmessage"> <span class="lloading"></span><span class="content"> </span> </p> </div> <div id="navigator"> <div class="up sp"></div> <div class="top sp"></div> <div class="down sp"></div> </div> </body> </html>