1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE videocollection [
|
---|
3 | <!ENTITY ndash "–">
|
---|
4 | <!ENTITY mdash "—">
|
---|
5 | ]>
|
---|
6 | <xsl:stylesheet version="1.0"
|
---|
7 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
8 | xmlns:java="http://xml.apache.org/xslt/java"
|
---|
9 | xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
|
---|
10 | xmlns:gslib="http://www.greenstone.org/skinning"
|
---|
11 | extension-element-prefixes="java util"
|
---|
12 | exclude-result-prefixes="java util">
|
---|
13 |
|
---|
14 | <!-- use the 'main' layout -->
|
---|
15 | <xsl:include href="layouts/main.xsl"/>
|
---|
16 |
|
---|
17 | <!-- set page title -->
|
---|
18 | <xsl:template name="pageTitle"><gslib:collectionName/></xsl:template>
|
---|
19 |
|
---|
20 | <!-- set page breadcrumbs -->
|
---|
21 | <xsl:template name="breadcrumbs"><gslib:siteLink/><gslib:rightArrow/></xsl:template>
|
---|
22 |
|
---|
23 | <!-- the page content -->
|
---|
24 | <xsl:template match="/page">
|
---|
25 |
|
---|
26 | <!--Display the description text of the current collection,
|
---|
27 | and if some services are available then create a list
|
---|
28 | of links for each service within a <ul id="servicelist"> element.-->
|
---|
29 |
|
---|
30 | <xsl:variable name="httpPath">
|
---|
31 | <xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']" />
|
---|
32 | </xsl:variable>
|
---|
33 |
|
---|
34 |
|
---|
35 | <style>
|
---|
36 | p.about { text-align: justify; }
|
---|
37 | h2 { /* line-height: 135%; */ }
|
---|
38 | h3 { margin-top: 4pt; margin-bottom: 7pt; line-height: 135%; }
|
---|
39 |
|
---|
40 | a.mashup {text-decoration: none; }
|
---|
41 | a.mashup:link {color:#000080;} /* unvisited link */
|
---|
42 | a.mashup:visited {color:#303080;} /* visited link */
|
---|
43 | a.mashup:hover {color:#000040;} /* mouse over link */
|
---|
44 | a.mashup:active {color:#0000a0;}
|
---|
45 |
|
---|
46 | </style>
|
---|
47 |
|
---|
48 | <!--
|
---|
49 | <script src="{$httpPath}/script/browser-detect.js" type="text/javascript">
|
---|
50 | /* space filler needed */
|
---|
51 | </script>
|
---|
52 | -->
|
---|
53 |
|
---|
54 | <div style="width: 800px; margin-left: auto; margin-right: auto;">
|
---|
55 |
|
---|
56 |
|
---|
57 | <style>
|
---|
58 | li { padding-bottom: 10px; }
|
---|
59 | </style>
|
---|
60 |
|
---|
61 |
|
---|
62 |
|
---|
63 | <h2>Utilizing Linked-data in a Music Digital Library: my-ipod </h2>
|
---|
64 |
|
---|
65 |
|
---|
66 | <p class="about">
|
---|
67 | This collection explores the role linked data can play in a
|
---|
68 | music digital library. There are two key phases where
|
---|
69 | linked data has been applied to the digital library design:
|
---|
70 | </p>
|
---|
71 |
|
---|
72 | <ol>
|
---|
73 | <li>
|
---|
74 | <i>Build-time</i>, when the digital library collection is initially formed
|
---|
75 | (also when subsequently rebuilt).
|
---|
76 | </li>
|
---|
77 |
|
---|
78 | <li>
|
---|
79 | <i>Runtime</i>, when ...
|
---|
80 | </li>
|
---|
81 | </ol>
|
---|
82 |
|
---|
83 |
|
---|
84 |
|
---|
85 | <p class="about">
|
---|
86 | At ingest time, audio fingerprinting is used
|
---|
87 | to using to allign (where possible) audio content with MusicBrainz
|
---|
88 | IDs. From there
|
---|
89 |
|
---|
90 | linked-data
|
---|
91 | </p>
|
---|
92 |
|
---|
93 | <p class="about">
|
---|
94 |
|
---|
95 | The selected audio files are automatically converted to a format suitable for streaming
|
---|
96 | </p>
|
---|
97 |
|
---|
98 | <p class="about">
|
---|
99 | Or else access the <a href="http://localhost:3030/">Sparql Endpoint</a> to the digital library.
|
---|
100 |
|
---|
101 | <ol>
|
---|
102 | <li>The selected audio files are automatically converted to a format suitable for streaming
|
---|
103 | over the web
|
---|
104 | </li>
|
---|
105 |
|
---|
106 | <li>
|
---|
107 | Metadata embedded in the files (such as ID3 tags) is automatically extracted and made
|
---|
108 | available to form browsing structures, used in full-text indexes for searching, as well as
|
---|
109 | being manipulated and presented to the user, where applicable.
|
---|
110 | </li>
|
---|
111 |
|
---|
112 | <li>
|
---|
113 | Automatically extracted metadata can be override by manually assigned. This
|
---|
114 | can either be done through a desktop application (the Greenstone Librarian Interface, or GLI for short)
|
---|
115 | a graphical user interface that controls all aspects of collection design, or directly through
|
---|
116 | the web browser, on a per-document basis.
|
---|
117 | </li>
|
---|
118 | </ol>
|
---|
119 |
|
---|
120 | </p>
|
---|
121 |
|
---|
122 | </div>
|
---|
123 |
|
---|
124 |
|
---|
125 |
|
---|
126 | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"><xsl:text> </xsl:text></script>
|
---|
127 |
|
---|
128 | <script type="text/javascript" src="https://www.google.com/jsapi"><xsl:text> </xsl:text></script>
|
---|
129 | <script type="text/javascript" id="sgvzlr_script" src="http://sgvizler.googlecode.com/svn/release/0.5/sgvizler.js"><xsl:text> </xsl:text></script>
|
---|
130 |
|
---|
131 | <script type="text/javascript">
|
---|
132 | <xsl:text disable-output-escaping="yes">
|
---|
133 | sgvizler.option.namespace.mo ='http://purl.org/ontology/mo/';
|
---|
134 | sgvizler.option.namespace.salami = 'http://nema.lis.illinois.edu/salamiEndpoint/';
|
---|
135 |
|
---|
136 | sgvizler.option.namespace.salami = 'http://nema.lis.illinois.edu/salamiEndpoint/';
|
---|
137 |
|
---|
138 | sgvizler.option.namespace.dc = 'http://purl.org/dc/elements/1.1/';
|
---|
139 | sgvizler.option.namespace.gsembedded = 'http://greenstone.org/gsembedded#'
|
---|
140 | sgvizler.option.namespace.greenstonedata = 'http://localhost:3030/greenstone/data/'
|
---|
141 | $(document).ready(sgvizler.go());
|
---|
142 | </xsl:text>
|
---|
143 | </script>
|
---|
144 |
|
---|
145 |
|
---|
146 | <div id="sgvzl_example1"
|
---|
147 | data-sgvizler-endpoint="http://localhost:3030/greenstone/query"
|
---|
148 |
|
---|
149 | data-sgvizler-chart="gPieChart"
|
---|
150 | data-sgvizler-loglevel="2"
|
---|
151 | data-sgvizler-chart-options="title=Songs by ID3.Genre"
|
---|
152 | style="width:900px; height:400px; margin-left: auto; margin-right: auto">
|
---|
153 | <xsl:attribute name="data-sgvizler-query">
|
---|
154 | SELECT (?genreTag) (COUNT(?genreTag) AS ?freqCount)
|
---|
155 | WHERE {
|
---|
156 | GRAPH <http://localhost:3030/greenstone/data/linkeddata-my-ipod> {
|
---|
157 | ?s <http://greenstone.org/gsembedded#ID3.Genre> ?genreTag .
|
---|
158 | }
|
---|
159 | }
|
---|
160 | GROUP BY ?genreTag
|
---|
161 | </xsl:attribute>
|
---|
162 | </div>
|
---|
163 |
|
---|
164 |
|
---|
165 |
|
---|
166 |
|
---|
167 |
|
---|
168 |
|
---|
169 |
|
---|
170 |
|
---|
171 | </xsl:template>
|
---|
172 |
|
---|
173 |
|
---|
174 | </xsl:stylesheet>
|
---|
175 |
|
---|