comparison classical/classical.html @ 15:eea58cdb7c08

Classical and CMN-related fixes
author Chris Cannam
date Wed, 08 Nov 2017 13:57:16 +0000
parents 4e8315c4ff5e
children 7a3f4b31c61d
comparison
equal deleted inserted replaced
14:4e8315c4ff5e 15:eea58cdb7c08
51 <p>Example SPARQL queries. (These links load 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> 51 <p>Example SPARQL queries. (These links load 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>
52 <ul> 52 <ul>
53 <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> 53 <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>
54 <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> 54 <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>
55 <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> 55 <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>
56 <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> 56 <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>
57 <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> 57 <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>
58 58
59 </ul> 59 </ul>
60 60
61 <p>The service also exposes some directory indexes:</p> 61 <p>The service also exposes some directory indexes:</p>