Mercurial > hg > dbtune-site
changeset 15:eea58cdb7c08
Classical and CMN-related fixes
author | Chris Cannam |
---|---|
date | Wed, 08 Nov 2017 13:57:16 +0000 |
parents | 4e8315c4ff5e |
children | 048d2a1c4c89 |
files | classical/classical.html cmn/index.html dbtune.html |
diffstat | 3 files changed, 31 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/classical/classical.html Wed Nov 08 11:56:36 2017 +0000 +++ b/classical/classical.html Wed Nov 08 13:57:16 2017 +0000 @@ -53,7 +53,7 @@ <li><a href="http://dbtune.org/classical/store?query=prefix+type:+<http://dbtune.org/classical/resource/type/>%0Aprefix+property:+<http://dbtune.org/classical/resource/vocab/>%0Aprefix+bio:+<http://purl.org/vocab/bio/0.1/>%0Aprefix+foaf:+<http://xmlns.com/foaf/0.1/>%0A%0ASELECT+?c+?n+WHERE+{%0A?b+a+type:Composer+;%0A++foaf:name+%22Bach,+Johann+Sebastian%22+;%0A++property:birth+[+bio:date+?d+]+.%0A?c+a+type:Composer+;%0A++property:birth+[+bio:date+?d+]+;%0A++foaf:name+?n+.%0A}+">Composers born in the same year as JS Bach</a></li> <li><a href="http://dbtune.org/classical/store?query=prefix+mo:+<http://purl.org/ontology/mo/>%0ASELECT+%3Fc+WHERE+{%0D%0A++%3Fc+a+mo%3AMusicalWork+%3B%0D%0A+++++mo%3Akey+%22F+minor%22%0D%0A}">Works in F minor</a></li> <li><a href="http://dbtune.org/classical/store?query=prefix+sim-methods:+<http://dbtune.org/sim-methods/resource/>%0Aprefix+sim:+<http://purl.org/ontology/similarity/>%0Aprefix+foaf:+<http://xmlns.com/foaf/0.1/>%0Aprefix+mbz:+<http://dbtune.org/musicbrainz/resource/vocab/>%0ASELECT+DISTINCT+%3Fn+%3Fi+WHERE+{+%0D%0A++%3Fs+sim%3Amethod+sim-methods%3Acmn-influence+%3B%0D%0A+++++sim%3Aobject+[+mbz%3Aalias+%22Debussy%2C+Claude%22+]+%3B%0D%0A+++++sim%3Asubject+%3Fi+.%0D%0A++%3Fi+foaf%3Aname+%3Fn+.%0D%0A}">Influenced Debussy</a></li> - <li><a class="graph-link" href="http://dbtune.org/classical/store?query=prefix+sim-methods:+<http://dbtune.org/sim-methods/resource/>%0Aprefix+property:+<http://dbtune.org/classical/resource/vocab/>%0Aprefix+bio:+<http://purl.org/vocab/bio/0.1/>%0Aprefix+sim:+<http://purl.org/ontology/similarity/>%0Aprefix+foaf:+<http://xmlns.com/foaf/0.1/>%0Aprefix+mbz:+<http://dbtune.org/musicbrainz/resource/vocab/>%0ASELECT+DISTINCT+%3Fi+%3Fd+%3Fb+%3Fo+WHERE+{+%0D%0A++%3Fs+sim%3Amethod+sim-methods%3Acmn-influence+%3B%0D%0A+++++sim%3Aobject+%3Fo+%3B%0D%0A+++++sim%3Asubject+%3Fi+.%0D%0A++%3Fo+property%3Abirth+[+bio%3Adate+%3Fb+]+%3B%0D%0A+++++foaf%3Aname+%3Fon+.%0D%0A++%3Fi+property%3Adeath+[+bio%3Adate+%3Fd+]+%3B%0D%0A+++++foaf%3Aname+%3Fin+.%0D%0A++FILTER+(+xsd%3Ainteger(%3Fb)+>+xsd%3Ainteger(%3Fd)+%2B+100+)%0D%0A}+ORDER+BY+%3Fd+%3Fb">Influenced someone born at least 100 years after their death</a></li> + <li><a class="graph-link" href="http://dbtune.org/classical/store?query=prefix+type:+<http://dbtune.org/classical/resource/type/>%0Aprefix+sim-methods:+<http://dbtune.org/sim-methods/resource/>%0Aprefix+property:+<http://dbtune.org/classical/resource/vocab/>%0Aprefix+bio:+<http://purl.org/vocab/bio/0.1/>%0Aprefix+sim:+<http://purl.org/ontology/similarity/>%0Aprefix+foaf:+<http://xmlns.com/foaf/0.1/>%0Aprefix+mbz:+<http://dbtune.org/musicbrainz/resource/vocab/>%0Aprefix+cmno:+<http://purl.org/ontology/classicalmusicnav%23>%0A%0ASELECT+DISTINCT+?n1+?d+?n2+?b+WHERE+{+%0A++?earlier%0A+++++a+type:Composer+;%0A+++++cmno:hasInfluenced+?later+;%0A+++++property:death+[+bio:date+?d+]+;%0A+++++foaf:name+?n1+.%0A++?later%0A+++++a+type:Composer+;%0A+++++property:birth+[+bio:date+?b+]+;%0A+++++foaf:name+?n2+.%0A++FILTER+(+xsd:integer(?b)+>+xsd:integer(?d)+%2B+100+)%0A}+ORDER+BY+?d+?b">Influenced someone born at least 100 years after their death</a></li> <li><a class="graph-link" href="http://dbtune.org/classical/store?query=prefix+type:+<http://dbtune.org/classical/resource/type/>%0Aprefix+owl:+<http://www.w3.org/2002/07/owl%23>%0ASELECT+%3Fa+%3Fb+where+{%0D%0A++%3Fa+a+type%3AConductor+%3B+owl%3AsameAs+%3Fx+.%0D%0A++%3Fb+a+type%3AComposer+%3B+owl%3AsameAs+%3Fx+.%0D%0A}">Persons listed as both conductor and composer</a></li> </ul>
--- a/cmn/index.html Wed Nov 08 11:56:36 2017 +0000 +++ b/cmn/index.html Wed Nov 08 13:57:16 2017 +0000 @@ -86,24 +86,34 @@ Note we have provided links to <a href="http://musicbrainz.org/">Musicbrainz</a> identifiers and <a href="http://dbpedia.org/About">DBpedia</a> where possible.<p> -<!--Browsing the dataset directly is currently not supported <p>--> -A <a href="http://www.w3.org/TR/rdf-sparql-query/">SPARQL</a> endpoint with a slick <a -href="http://virtuoso.openlinksw.com/wiki/main/Main/VOSSparqlProtocol">Virtuoso</a> - web interface is available at <a -href="http://dbtune.org/cmn/sparql">http://dbtune.org/cmn/sparql</a> <p> +<h2><a name="use" id="use"></a>2. Using this resource</h2> +<p> + This service exposes a <a href="http://www.w3.org/TR/rdf-sparql-query/">SPARQL</a> end-point, available +at <a href="http://dbtune.org/cmn/sparql/">http://dbtune.org/cmn/sparql/</a>. There is also a small +web interface available at <a href="http://dbtune.org/cmn/store/">http://dbtune.org/cmn/store/</a>. +</p> -An example query to find all composers who influenced John Cage: +<p> +Here are some entry points to the dataset: +</p> -<pre> -prefix cmn: <http://dbtune.org/cmn/resource/> -prefix cmno: <http://purl.org/ontology/classicalmusicnav#> +<p>Resources:</p> +<ul> +<li><a href="http://dbtune.org/cmn/resource/VIVA">Antonio Vivaldi</a></li> +<li><a href="http://dbtune.org/cmn/resource/SHOS">Dmitri Shostakovich</a></li> +</ul> + +<p>Example SPARQL query. (This link loads a query into the query editor, but you will still need to press the query button on the right of the editor to run the query.)</p> +<ul> +<li><a href="http://dbtune.org/cmn/store?query=prefix+cmn:+<http://dbtune.org/cmn/resource/>%0Aprefix+cmno:+<http://purl.org/ontology/classicalmusicnav%23>%0ASELECT+?o+WHERE+{cmn:CAGE+cmno:influencedBy+?o}">Composers who influenced John Cage</a></li> -SELECT ?o WHERE {cmn:CAGE cmno:influencedBy ?o} -</pre> - - +<p>The service also exposes a directory index:</p> +<ul> + <li><a href="http://dbtune.org/cmn/all/composer">All composers</a></li> +</ul> + <h2><a name="references" id="references">A. References</h2> <dl> @@ -125,12 +135,7 @@ to provide a democratic mechanism for doing so. Anybody can publish Music Ontology data and link it with existing data, in order to help create a music-related web of data. </dd> -<!--<dt class="label" id="ref-1">Original Classical Music Navigator</dt> -<dd> - <em><a href="http://www.wku.edu/~smithch/music/index2.htm">Classical Music Navigator</a></em> is the original website constructed by Charles H. Smith to map -the network of influence between classical music composers and is the basis of the Classical Music Navigator Ontology and data set. - </dd> - </dl>--> + </dl> </body>
--- a/dbtune.html Wed Nov 08 11:56:36 2017 +0000 +++ b/dbtune.html Wed Nov 08 13:57:16 2017 +0000 @@ -38,7 +38,7 @@ <p> <a href="http://dbtune.org/">DBTune</a> hosts a number of servers, providing access to -music-related structured data, in a <a href="http://linkeddata.org/">Linked Data</a> fashion. It now provides access to more than <a href="http://blog.dbtune.org/post/2008/04/02/DBTune-is-providing-131-billion-triples">14 billion RDF triples</a>. +music-related structured data, in a <a href="http://linkeddata.org/">Linked Data</a> fashion. <!-- No longer true (most of this was MySpace): It now provides access to more than <a href="http://blog.dbtune.org/post/2008/04/02/DBTune-is-providing-131-billion-triples">14 billion RDF triples</a>. --> All the services hosted here are based on open Web standards such as <a href="http://www.w3.org/RDF/">RDF</a> and <a href="http://www.w3.org/TR/rdf-sparql-query/">SPARQL</a>. </p> @@ -47,12 +47,14 @@ Open Data on the Semantic Web</a> community project, hosted by the <a href="http://www.w3.org/2001/sw/sweo/">Semantic Web Education and Outreach</a> interest group. </p> +<p><em>November 2017 update:</em> This server has recently been revived at the Centre for Digital Music following a period of downtime. Many of the datasets have been restored, mostly using a default ClioPatria server viewing static data (i.e. datasets that were originally dynamic are now old static snapshots). Some datasets have been officially retired. More details are below.</p> <p> <!--<b> Please do get the <a href="http://dig.csail.mit.edu/2007/tab/">Tabulator Firefox Extension</a>. </b> Indeed, I removed the default redirection towards external RDF visualisation services, so all DBTune URIs will look much better if you install it.--> +<!-- These are mostly dead... You can browse DBTune data using any of the following Semantic Web browsers: <ul> <li><a href="http://dig.csail.mit.edu/2007/tab/">Tabulator</a></li> @@ -62,6 +64,7 @@ <li><a href="http://www4.wiwiss.fu-berlin.de/rdf_browser/">DISCO</a></li> </ul> You can also use the <a href="http://dig.csail.mit.edu/2007/tab/">Tabulator Firefox extension</a> or the <a href="https://addons.mozilla.org/en-US/firefox/addon/8062">OpenLink Data Explorer</a>. +--> </p> <h2><a name="concept" id="concept"></a>2. Quick overview of underlying concepts (or the "Semantic Web" in 10 lines... Don't slap me, please)</h2> @@ -102,6 +105,8 @@ <li><a href="http://dbtune.org/magnatune/">Magnatune</a>, holding data from the <a href="http://magnatune.com/">Magnatune label</a> (<a href="http://dbtune.org/magnatune/#query">SPARQL end-point</a> and browsable URIs, <a href="http://dbtune.org/magnatune/#dump">RDF dump available</a>) ;</li> <li><a href="http://dbtune.org/bbc/peel/">BBC John Peel sessions</a>, holding <a href="http://bbc-hackday.dyndns.org/">data released during the Hackday, 2007</a> (<a href="http://dbtune.org/bbc/peel/#query">SPARQL end-point</a> and browsable URIs, <a href="http://dbtune.org/bbc/peel/#dump">RDF dump available</a>) ;</li> +<li><a href="http://dbtune.org/cmn/">Classical Music Navigator data</a> adapted from Charles H Smith's CMN site (<a href="http://dbtune.org/cmn/#use">SPARQL end-point</a> and browsable URIs, <a href="http://dbtune.org/cmn/#dump">RDF dump available</a>) ;</li> +<li><a href="http://dbtune.org/classical/">DBTune classical data</a>, a larger and messier dataset adapted from various sources (<a href="http://dbtune.org/classical/#use">SPARQL end-point</a> and browsable URIs, <a href="http://dbtune.org/classical/#dump">RDF dump available</a>) ;</li> <li><a href="http://purl.org/ontology/chord/#symbolservice">A chord symbol service</a>, holding descriptions of chords, generated on-the-fly (browsable URIs)</a></li> <li><a href="http://dbtune.org/musicbrainz/">Musicbrainz data</a>, powered by <a href="http://www4.wiwiss.fu-berlin.de/bizer/d2r-server/">D2R server</a> and a <a href="http://motools.svn.sourceforge.net/viewvc/motools/musicbrainz/musicbrainz_mo.n3?view=markup">D2RQ mapping</a>, SPARQL end-point available</li> <li><a href="http://the.echonest.com/analyze.html">Echonest Analyze</a> XML to Music Ontology RDF <a href="http://dbtune.org/echonest/">transform</a></li>