comparison cmn/index.html @ 19:1e79ce3ff5f5 tip

Simplify and cut some non-working resource paths
author Chris Cannam
date Wed, 08 Nov 2017 15:27:23 +0000
parents eb878d1d7d87
children
comparison
equal deleted inserted replaced
18:eb878d1d7d87 19:1e79ce3ff5f5
46 This modest data set contains around 10k triples.<p> 46 This modest data set contains around 10k triples.<p>
47 47
48 In this data set you find statements like the following:<p> 48 In this data set you find statements like the following:<p>
49 49
50 <pre> 50 <pre>
51 @prefix : &lt;http://dbtune.org/cmn/resource/&gt; . 51 @prefix : &lt;http://purl.org/NET/classicalmusicnav#&gt; .
52 @prefix cmno: &lt;http://purl.org/ontology/classicalmusicnav#&gt; . 52 @prefix cmno: &lt;http://purl.org/ontology/classicalmusicnav#&gt; .
53 @prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt; . 53 @prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt; .
54 @prefix mo: &lt;http://purl.org/ontology/mo/&gt; . 54 @prefix mo: &lt;http://purl.org/ontology/mo/&gt; .
55 @prefix owl: &lt;http://www.w3.org/2002/07/owl#&gt; . 55 @prefix owl: &lt;http://www.w3.org/2002/07/owl#&gt; .
56 @prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; . 56 @prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; .
92 This service exposes a <a href="http://www.w3.org/TR/rdf-sparql-query/">SPARQL</a> end-point, available 92 This service exposes a <a href="http://www.w3.org/TR/rdf-sparql-query/">SPARQL</a> end-point, available
93 at <a href="http://dbtune.org/cmn/sparql/">http://dbtune.org/cmn/sparql/</a>. There is also a small 93 at <a href="http://dbtune.org/cmn/sparql/">http://dbtune.org/cmn/sparql/</a>. There is also a small
94 web interface available at <a href="http://dbtune.org/cmn/store/">http://dbtune.org/cmn/store/</a>. 94 web interface available at <a href="http://dbtune.org/cmn/store/">http://dbtune.org/cmn/store/</a>.
95 </p> 95 </p>
96 96
97 <p>
98 Here are some entry points to the dataset:
99 </p>
100
101 <p>Resources:</p>
102 <ul>
103 <li><a href="http://dbtune.org/cmn/resource/VIVA">Antonio Vivaldi</a></li>
104 <li><a href="http://dbtune.org/cmn/resource/SHOS">Dmitri Shostakovich</a></li>
105 </ul>
106
107
108 <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> 97 <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>
109 <ul> 98 <ul>
110 <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> 99 <li><a href="http://dbtune.org/cmn/store?query=prefix+cmn:+<http://purl.org/NET/classicalmusicnav%23>%0Aprefix+cmno:+<http://purl.org/ontology/classicalmusicnav%23>%0ASELECT+?o+WHERE+{cmn:CAGE+cmno:influencedBy+?o}">Composers who influenced John Cage</a></li>
111 </ul> 100 </ul>
112 101
113 <p>The service also exposes a directory index:</p> 102 <p>The service also exposes a directory index:</p>
114 <ul> 103 <ul>
115 <li><a href="http://dbtune.org/cmn/all/composer">All composers</a></li> 104 <li><a href="http://dbtune.org/cmn/all/composer">All composers</a></li>