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

Revision 27943, 4.7 KB (checked in by davidb, 6 years ago)

Quick presentation fixes prior to giving demo

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