source: gs2-extensions/afrepo/trunk/src/src/html/index.php@ 28352

Last change on this file since 28352 was 28352, checked in by davidb, 8 years ago

Restructured to have 'about' and 'download' pages

File size: 4.8 KB
Line 
1<?php
2
3require_once "setup.php";
4$base = parse_url($repo->getURIPrefix());
5$basepath = $base["path"];
6
7?>
8<!DOCTYPE HTML>
9<html>
10 <head>
11 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
12
13 <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Pacifico">
14 <link rel="stylesheet" href="css/core-style.css" type="text/css" media="screen" />
15
16
17 <title>SALAMI RDF Dataset and SPARQL Endpoint: <?php echo htmlspecialchars($repo->getName()); ?></title>
18 </head>
19
20 <body>
21 <div id="container">
22
23 <div id="header">
24<!--
25 <h1>The SALAMI RDF Datset and SPARQL Endpoint</h1>
26-->
27
28 <h1>The Salami RDF&nbsp;&nbsp;Dataset and SPARQL Endpoint</h1>
29 </div>
30
31 <div id="navigation">
32 <ul>
33 <li class="selected"><a href="#">Home</a></li>
34 <li><a href="sparql.php">SPARQL</a></li>
35 <li><a href="examples.php">Examples</a></li>
36 <li><a href="download.php">Download</a></li>
37 <li><a href="about.php">About</a></li>
38 </ul>
39 </div>
40
41 <div id="content-container">
42
43 <div id="content">
44
45
46<!--
47 <h1><?php echo htmlspecialchars($repo->getName()); ?></h1>
48-->
49
50
51
52 <p>
53 Welcome to the RDF Endpoint to the
54 <a href="http://ddmal.music.mcgill.ca/salami">SALAMI</a>
55 (Structural Analysis of Large Amounts of Music Information)
56 project&mdash;the culmination of collaborative work in music content analaysis
57 between the universities of Illinois, McGill, Oxford and Queen Mary.
58
59 </p>
60
61
62 <p>The overarching goal of the project is &quot;to
63 provide a substantive corpus of musical analyses in
64 a common framework for use by music scholars,
65 students and beyond.&quot; Put more practically, by
66 harnessing semanic web technologies (in particular
67 linked data), large scale
68 computing infrastructures, and content analysis
69 algorithms drawn from the Music Information
70 Retrieval community, our aim is to provide a rich and
71 flexible environment that others find useful
72 for musicological analysis and
73 discovery.
74 </p>
75
76
77 <p>
78 <a href="images/trouble-blues_buddy-guy_annotator1_cropped.png">
79 <img src="images/trouble-blues_buddy-guy_annotator1_cropped_scaled.png" />
80 </a>
81 </p>
82
83
84 <p>
85 The above figure shows the musical structures
86 to <i>Trouble Blues</i> by Buddy Guy. It was
87 time-consumingly ... painstakingly crafted by a
88 music scholar. Such work enbales fine-grained
89 analysis and reasoning about selected musical
90 content in isolation, but the resources needed to
91 undertake this across the vast array of music that
92 exists in our world is simply not viable.
93 </p>
94
95
96 <p>
97 To this end we have developed this RDF endpoint
98 as a gateway to the assembled music content and the
99 automated analysis computed we have so far.
100 Through this page you can access RDF data to a corpus of X million songs.
101 The RDF data is available in both static form, and dynamically through
102 a SPARQL endpoint.
103 </p>
104
105 <h2>How to interat with the data</h2>
106
107 <p>There are two key ways to access the data: through
108 our <a href="sparql.php">interactive web
109 interface</a>; or else connect directly to our
110 enpoint:
111 <a href="<?php echo htmlspecialchars($repo->getSparqlEndpoint()); ?>">
112 <?php echo htmlspecialchars($repo->getSparqlEndpoint());?></a>.
113 </p>
114
115<!--
116 <p>Requests are of the form
117 <code><?php echo htmlspecialchars($basepath); ?><em>audiofile-id</em></code>
118 where <em>audiofile-id</em> is the 32-digit hexidecimal identifier of
119 the audiofile.</p>
120
121 <p>The <code>Accept</code> header you send is taken into account.
122 Various types of RDF are available, plus an HTML representation and
123 potentially the audio data (use <code>audio/*</code> to accept any
124 format of audio).</p>
125 <?php if ($repo->getSparqlEndpoint()) { ?>
126 <p>A Sparql endpoint is available at
127 <code><?php echo htmlspecialchars($repo->getSparqlEndpoint()); ?></code>.</p>
128 <?php } ?>
129-->
130
131
132 </div>
133
134 <div id="footer" style="border-top: 8px groove #7ECDF3;">
135 <table cellpadding="0px" cellspacing="0px" width="100%">
136 <tbody>
137 <tr style="background: white;">
138 <td align="center">
139 <a href="http://www.sshrc-crsh.gc.ca/Default.aspx">
140 <img width="400px" src="images/sshrc_logo.jpeg">
141 </a>
142 </td>
143 <td align="center">
144 <a href="http://www.nsf.gov/index.jsp">
145 <img width="100px" src="images/nsf_logo.jpeg">
146 </a>
147 </td>
148 <td align="center">
149 <a href="http://www.jisc.ac.uk/">
150 <img height="100px" src="images//jisc_logo.jpeg">
151 </a>
152 </td>
153 </tr>
154 </tbody>
155 </table>
156
157 </div>
158
159 </div>
160
161 </body>
162</html>
Note: See TracBrowser for help on using the repository browser.