view classical/classical.html @ 13:86e6192659db

Update example queries. But some of them don't work; why not?
author Chris Cannam
date Tue, 07 Nov 2017 16:15:07 +0000
parents 63954ef5bbb1
children 4e8315c4ff5e
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title>DBTune - Classical RDF Service</title>

<link rel="stylesheet" type="text/css" href="http://dbtune.org/style.css" />
</head>

<body>

<h1 style="font-size: 250%">DBTune.org/classical</h1>

<h2><a name="disc" id="disc"></a>0. Disclaimer</h2>
<p>
This is a non-commercial site. The information contained in this site has been collected from several sources and its accuracy cannot be guaranteed.
</p>

<h2><a name="intro" id="intro"></a>1. Introduction</h2>
<p>
This set of resources describes concepts and individuals related to the canon of
Western Classical Music.  The data has been aggregated and to some extent hand
curated by Chris Cannam at Queen Mary University of London.
This collection of knowledge includes information about composers, compositions, performers, relationships of influence, and other data.  The intention is to provide a <a href="http://linkeddata.org" target="_blank">Linked Data</a> resource that provides many references to existing information sources. <p>Currently the composer data is expected to be reasonably reliable, but the other data in this dataset is likely to be highly provisional, unreliable, and subject to change.
</p>

<p>
This resource provides inter-linking via <code>owl:sameAs</code> to appropriate
resources in
<a href="http://dbpedia.org/" target="_blank">DBpedia</a>, <a href="http://dbtune.org/musicbrainz" target="_blank">DBTune/musicbrainz</a>, and <a href="http://bbc.co.uk/music" target="_blank">BBC/music</a>.

<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/classical/sparql/">http://dbtune.org/classical/sparql/</a>. There is also a small
web interface available at <a href="http://dbtune.org/classical/store/">http://dbtune.org/classical/store/</a>.
</p>

<p>
Here are some entry points to the dataset:
</p>

<p>Resources:</p>
<ul>
<li><a href="http://dbtune.org/classical/resource/composer/ravel_maurice">Maurice Ravel</a></li>
<li><a href="http://dbtune.org/classical/resource/work/bach_johann_sebastian/BWV_232">Mass in B minor BWV 232 by JS Bach</a></li>
<li><a href="http://dbtune.org/classical/resource/work/bruch_max/47">Kol Nidrei for cello and orchestra by Max Bruch</a></li>
</ul>
 
<p>Example SPARQL queries:</p>
<ul>
  <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+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>

<p>The service also exposes some directory indexes:</p>
<ul>
  <li><a href="http://dbtune.org/classical/all/composer">All composers</a></li>
  <li><a href="http://dbtune.org/classical/all/work">All works</a></li>
  <li><a href="http://dbtune.org/classical/all/composition">All composition events</a></li>
  <li><a href="http://dbtune.org/classical/all/conductor">All conductors</a></li>
</ul>

<h2>3. Code</h2>
<p>
As of this time, the code used to build this resource is unreleased.  It will likely be made available under some open source license in the future.
</p>
</body>
</html>