root/gs2-extensions/afrepo/trunk/src/src/html/index.php @ 27693

Revision 27693, 4.5 KB (checked in by davidb, 7 years ago)

Mods after latest round of development

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