CINXE.COM
yangtingshu — 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>yangtingshu — 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="yangtingshu — 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="yangtingshu — 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/b7cx312yvvrb77cw" > <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>yangtingshu</span></h1> <h2> <a class="iri" href="http://data.library.sh.cn/entity/person/b7cx312yvvrb77cw">http://data.library.sh.cn/entity/person/b7cx312yvvrb77cw</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://www.library.sh.cn/ontology/temporalValue"> shl:<span>temporalValue</span> </a></label> <div class="c2 value multiInLineBlock"> <span class="multiInLine"> 明  </span> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/relatedOrganization"> shl:<span>relatedOrganization</span> </a></label> <div class="c2 value multiInLineBlock"> <span class="multiInLine"> 复社  </span> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/createdWork"> shl:<span>createdWork</span> </a></label> <div class="c2 value multiInLineBlock"> <span class="multiInLine"> 全吴纪略  </span> </div> <label class="c1"><a data-label="规范名" data-comment="表示某一属性的值的字符串。" href="http://bibframe.org/vocab/label"> bibframe:<span>label</span> </a></label> <div class="c2 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> <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 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"> Yang Tingshu  </div> </div> <div class="toMultiLine lang en" data-lang="en"> <div class="fixed"> yangtingshu  </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"> 1647  </span> </div> <label class="c1"><a data-label="号" data-comment="人的号。" href="http://www.library.sh.cn/ontology/pseudonym"> shl:<span>pseudonym</span> </a></label> <div class="c2 value multiInLineBlock"> <span class="multiInLine"> 复庵  </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"> 1595  </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 multiInLineBlock"> <span class="multiInLine"> 复社  </span> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/briefBiography"> shl:<span>briefBiography</span> </a></label> <div class="c2 value "> <div class="toMultiLine "> <div class="fixed"> 杨廷枢(1595~1647)字维斗,号复庵,南直隶苏州府长洲(今江苏苏州)人 。明崇祯三年(1630年)进士,“复社”领袖之一。清军入关后,杨廷枢联络好友弟子进行反清活动,事泄失败,只身隐居吴江县莘塔乡,因人告密被捕。清兵让他剃发,杨回答“头可断,发不可断!”清巡抚土国宝看重他的名节,连续4次劝降,都被他回绝。清顺治四年(1647年),杨廷枢在芦墟镇泗洲寺永安桥畔被清兵杀害。乾隆十年(1745年),知县丁元正在泗洲寺口建公祠。今祠犹存,为县级文物保护单位。著有《全吴纪略》。(来源:《上图古籍数据库》)  </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"> 上图古籍数据库  </span> <span class="multiInLine"> cbdb  </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"> 1595  </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 "> <div class="fixed"> 维斗  </div> </div> <div class="toMultiLine lang eng" data-lang="eng"> <div class="fixed"> weidou  </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"> 1647  </span> </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/4mwlhzvj3vacby3b>" class="linkingElement " href="http://cbdb.library.sh.cn/entity/person/4mwlhzvj3vacby3b" target="_blank" > <http://cbdb.library.sh.cn/entity/person/4mwlhzvj3vacby3b> </a> </div> <div class="toOneLine"> <a title="<http://viaf.org/viaf/14552944>" class="linkingElement " href="http://viaf.org/viaf/14552944" target="_blank" > <http://viaf.org/viaf/14552944> </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 title="<http://data.library.sh.cn/entity/place/mvk1xi4xevpnat58>" class=" isLocal" href="/entity/place/mvk1xi4xevpnat58" > <http://data.library.sh.cn/entity/place/mvk1xi4xevpnat58> </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 title="<http://data.library.sh.cn/authority/name/tee1tkyt4kx0xbxj>" class=" isLocal" href="/authority/name/tee1tkyt4kx0xbxj" > <http://data.library.sh.cn/authority/name/tee1tkyt4kx0xbxj> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/authority/name/w7gmqul02jxirsdk>" class=" isLocal" href="/authority/name/w7gmqul02jxirsdk" > <http://data.library.sh.cn/authority/name/w7gmqul02jxirsdk> </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 title="<http://data.library.sh.cn/authority/temporal/yex4deivsad41p9q>" class=" isLocal" href="/authority/temporal/yex4deivsad41p9q" > <http://data.library.sh.cn/authority/temporal/yex4deivsad41p9q> </a> </div> </div> <label class="c1"><a data-label="familyName" data-comment="The family name of some person." href="http://xmlns.com/foaf/0.1/familyName"> foaf:<span>familyName</span> </a></label> <div class="c2 value"> <div class="toOneLine"> <a title="<http://data.library.sh.cn/authority/familyname/5osg8jkj7dhgqhzo>" class=" isLocal" href="/authority/familyname/5osg8jkj7dhgqhzo" > <http://data.library.sh.cn/authority/familyname/5osg8jkj7dhgqhzo> </a> </div> </div> <label class="c1"><a data-label="" data-comment="" href="http://www.library.sh.cn/ontology/creatorOf"> shl:<span>creatorOf</span> </a></label> <div class="c2 value"> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/mbl804zq4xjtdhlv>" class=" isLocal" href="/gj/resource/instance/mbl804zq4xjtdhlv" > <http://data.library.sh.cn/gj/resource/instance/mbl804zq4xjtdhlv> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/dl3f7dol8xx0m2w6>" class=" isLocal" href="/gj/resource/instance/dl3f7dol8xx0m2w6" > <http://data.library.sh.cn/gj/resource/instance/dl3f7dol8xx0m2w6> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/2uzsxu5v52sjde4s>" class=" isLocal" href="/gj/resource/instance/2uzsxu5v52sjde4s" > <http://data.library.sh.cn/gj/resource/instance/2uzsxu5v52sjde4s> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/413tfd8xaahgzpby>" class=" isLocal" href="/gj/resource/instance/413tfd8xaahgzpby" > <http://data.library.sh.cn/gj/resource/instance/413tfd8xaahgzpby> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/h6p3ajurjtqxtxui>" class=" isLocal" href="/gj/resource/instance/h6p3ajurjtqxtxui" > <http://data.library.sh.cn/gj/resource/instance/h6p3ajurjtqxtxui> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/ln87xjz6ehr2dwfp>" class=" isLocal" href="/gj/resource/instance/ln87xjz6ehr2dwfp" > <http://data.library.sh.cn/gj/resource/instance/ln87xjz6ehr2dwfp> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/ltg35j3g558f8klr>" class=" isLocal" href="/gj/resource/instance/ltg35j3g558f8klr" > <http://data.library.sh.cn/gj/resource/instance/ltg35j3g558f8klr> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/pq37mfkggte81i4j>" class=" isLocal" href="/gj/resource/instance/pq37mfkggte81i4j" > <http://data.library.sh.cn/gj/resource/instance/pq37mfkggte81i4j> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/ukokxkrtu8xco76i>" class=" isLocal" href="/gj/resource/instance/ukokxkrtu8xco76i" > <http://data.library.sh.cn/gj/resource/instance/ukokxkrtu8xco76i> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/cky0yumzdfhfhi21>" class=" isLocal" href="/gj/resource/instance/cky0yumzdfhfhi21" > <http://data.library.sh.cn/gj/resource/instance/cky0yumzdfhfhi21> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/iwhij4pzt0k34oex>" class=" isLocal" href="/gj/resource/instance/iwhij4pzt0k34oex" > <http://data.library.sh.cn/gj/resource/instance/iwhij4pzt0k34oex> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/u6bi6ilrajxadrip>" class=" isLocal" href="/gj/resource/instance/u6bi6ilrajxadrip" > <http://data.library.sh.cn/gj/resource/instance/u6bi6ilrajxadrip> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/c2xp52lwf8bb5x3t>" class=" isLocal" href="/gj/resource/instance/c2xp52lwf8bb5x3t" > <http://data.library.sh.cn/gj/resource/instance/c2xp52lwf8bb5x3t> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/l6m1y1f7m836znlw>" class=" isLocal" href="/gj/resource/instance/l6m1y1f7m836znlw" > <http://data.library.sh.cn/gj/resource/instance/l6m1y1f7m836znlw> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/vdyi5qp0fzm2csuf>" class=" isLocal" href="/gj/resource/instance/vdyi5qp0fzm2csuf" > <http://data.library.sh.cn/gj/resource/instance/vdyi5qp0fzm2csuf> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/vso6tm3x2eiegg4h>" class=" isLocal" href="/gj/resource/instance/vso6tm3x2eiegg4h" > <http://data.library.sh.cn/gj/resource/instance/vso6tm3x2eiegg4h> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/1bg1bm53ub1m03fw>" class=" isLocal" href="/gj/resource/instance/1bg1bm53ub1m03fw" > <http://data.library.sh.cn/gj/resource/instance/1bg1bm53ub1m03fw> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/bnov6sljsdt77zqk>" class=" isLocal" href="/gj/resource/instance/bnov6sljsdt77zqk" > <http://data.library.sh.cn/gj/resource/instance/bnov6sljsdt77zqk> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/bmsbcftgtc4n6hhj>" class=" isLocal" href="/gj/resource/instance/bmsbcftgtc4n6hhj" > <http://data.library.sh.cn/gj/resource/instance/bmsbcftgtc4n6hhj> </a> </div> <div class="toOneLine"> <a title="<http://data.library.sh.cn/gj/resource/instance/ocdk531nsonkti5t>" class=" isLocal" href="/gj/resource/instance/ocdk531nsonkti5t" > <http://data.library.sh.cn/gj/resource/instance/ocdk531nsonkti5t> </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="#66ad020d67741c7a294ab34a6b81611f" id="t_66ad020d67741c7a294ab34a6b81611f"> _:66ad020d67741c7a294ab34a6b81611f</a> </div> <div class="toOneLine"> <a href="#b5b97f2186fbb946e758f97f623007c0" id="t_b5b97f2186fbb946e758f97f623007c0"> _:b5b97f2186fbb946e758f97f623007c0</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="#963cf071c772239280e4a08fc26d8995" id="t_963cf071c772239280e4a08fc26d8995"> _:963cf071c772239280e4a08fc26d8995</a> </div> <div class="toOneLine"> <a href="#26ba4ba52c95bf291b31d63d4472362e" id="t_26ba4ba52c95bf291b31d63d4472362e"> _:26ba4ba52c95bf291b31d63d4472362e</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="#fcbc6393228fe1cc8898497755fac8b0" id="t_fcbc6393228fe1cc8898497755fac8b0"> _:fcbc6393228fe1cc8898497755fac8b0</a> </div> <div class="toOneLine"> <a href="#68bbbf4d684d5c84f437249233d14095" id="t_68bbbf4d684d5c84f437249233d14095"> _:68bbbf4d684d5c84f437249233d14095</a> </div> <div class="toOneLine"> <a href="#9bb311dca4b0fdf933580ba3b4ba09a6" id="t_9bb311dca4b0fdf933580ba3b4ba09a6"> _:9bb311dca4b0fdf933580ba3b4ba09a6</a> </div> <div class="toOneLine"> <a href="#cd2ba45ae8689d9b6d7fcc8ef8293b8d" id="t_cd2ba45ae8689d9b6d7fcc8ef8293b8d"> _:cd2ba45ae8689d9b6d7fcc8ef8293b8d</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="#0cc217f0c4add82cbf251e62a01f3ac6" id="t_0cc217f0c4add82cbf251e62a01f3ac6"> _:0cc217f0c4add82cbf251e62a01f3ac6</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="#79399603b81bfb9b670a0ebe8e18b1e3" id="t_79399603b81bfb9b670a0ebe8e18b1e3"> _:79399603b81bfb9b670a0ebe8e18b1e3</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_66ad020d67741c7a294ab34a6b81611f" id="66ad020d67741c7a294ab34a6b81611f"> _:66ad020d67741c7a294ab34a6b81611f</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"> mingchao-zhongdouliushousi-suzhoufu-zhangzhou  </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="#237691d48f29c860f350696ca2cdc9eb" id="t_237691d48f29c860f350696ca2cdc9eb"> _:237691d48f29c860f350696ca2cdc9eb</a> </div> </div> <div class="toOneLine"> <a href="#t_b5b97f2186fbb946e758f97f623007c0" id="b5b97f2186fbb946e758f97f623007c0"> _:b5b97f2186fbb946e758f97f623007c0</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"> qingchao-jiangsusheng-suzhoufu-wuxian  </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 "> <div class="toMultiLine "> <div class="fixed"> 江南·吳縣(清代人物生卒年表)。  </div> </div> </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="#ac358668cdeba45e970d57dca2f2d450" id="t_ac358668cdeba45e970d57dca2f2d450"> _:ac358668cdeba45e970d57dca2f2d450</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_963cf071c772239280e4a08fc26d8995" id="963cf071c772239280e4a08fc26d8995"> _:963cf071c772239280e4a08fc26d8995</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"> mingchao-zhongdouliushousi-suzhoufu-zhangzhou  </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 class="toOneLine"> <a href="#t_26ba4ba52c95bf291b31d63d4472362e" id="26ba4ba52c95bf291b31d63d4472362e"> _:26ba4ba52c95bf291b31d63d4472362e</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"> qingchao-jiangsusheng-suzhoufu-wuxian  </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_fcbc6393228fe1cc8898497755fac8b0" id="fcbc6393228fe1cc8898497755fac8b0"> _:fcbc6393228fe1cc8898497755fac8b0</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"> weidou  </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="" 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_68bbbf4d684d5c84f437249233d14095" id="68bbbf4d684d5c84f437249233d14095"> _:68bbbf4d684d5c84f437249233d14095</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 eng" data-lang="eng"> <div class="fixed"> fuan  </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_9bb311dca4b0fdf933580ba3b4ba09a6" id="9bb311dca4b0fdf933580ba3b4ba09a6"> _:9bb311dca4b0fdf933580ba3b4ba09a6</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 lang eng" data-lang="eng"> <div class="fixed"> Yang Tingshu  </div> </div> <div class="toMultiLine "> <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_cd2ba45ae8689d9b6d7fcc8ef8293b8d" id="cd2ba45ae8689d9b6d7fcc8ef8293b8d"> _:cd2ba45ae8689d9b6d7fcc8ef8293b8d</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"> weidou  </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="" 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_0cc217f0c4add82cbf251e62a01f3ac6" id="0cc217f0c4add82cbf251e62a01f3ac6"> _:0cc217f0c4add82cbf251e62a01f3ac6</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"> ming  </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/identifiedBy"> shl:<span>identifiedBy</span> </a></label> <div class="c2 valuecnt"> <div class="toOneLine"> <a href="#t_79399603b81bfb9b670a0ebe8e18b1e3" id="79399603b81bfb9b670a0ebe8e18b1e3"> _:79399603b81bfb9b670a0ebe8e18b1e3</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"> 55506  </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_237691d48f29c860f350696ca2cdc9eb" id="237691d48f29c860f350696ca2cdc9eb"> _:237691d48f29c860f350696ca2cdc9eb</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">   </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">   </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_ac358668cdeba45e970d57dca2f2d450" id="ac358668cdeba45e970d57dca2f2d450"> _:ac358668cdeba45e970d57dca2f2d450</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">   </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">   </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> </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('', '', 'yangtingshu'); }); 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/b7cx312yvvrb77cw", "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/b7cx312yvvrb77cw"; 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/b7cx312yvvrb77cw", "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/b7cx312yvvrb77cw", "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/b7cx312yvvrb77cw") { 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>