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

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

Next round of changes after fruther testing and extra example development

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