- Timestamp:
- 2022-01-08T12:20:46+13:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/transform/pages/sparql.xsl
r35190 r35917 254 254 255 255 256 256 257 <div id="ssq-esc-entrants" style="display: none;"> 257 258 <!-- --> … … 273 274 </div> 274 275 276 <div id="ssq-esc-entrants-with-key" style="display: none;"> 277 <!-- --> 278 <xsl:text> 279 PREFIX gsdlextracted: <http://greenstone.org/gsdlextracted#> 280 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 281 PREFIX dc: <http://purl.org/dc/elements/1.1/> 282 PREFIX essentia: <http://upf.edu/essentia#> 283 284 SELECT ?esc_entrant_uri ?country ?year ?musical_key ?scale ?strength_estimate WHERE { 285 GRAPH <</xsl:text><xsl:value-of select="$graphURI"/><xsl:text>> { 286 ?esc_entrant_uri dc:Relation.isPartOf <</xsl:text><xsl:value-of select="$graphURI"/><xsl:text>>. 287 288 ?esc_entrant_uri gsdlextracted:Year ?year. 289 ?esc_entrant_uri gsdlextracted:Country ?country. 290 ?esc_entrant_uri essentia:tonal_key_edma_key ?musical_key. 291 ?esc_entrant_uri essentia:tonal_key_edma_scale ?scale. 292 ?esc_entrant_uri essentia:tonal_key_edma_strength ?strength_estimate. 293 } 294 } 295 ORDER BY ASC(?year) ?country 296 </xsl:text> 297 </div> 298 275 299 276 300 <div id="ssq-jury-votes-totals-1975" style="display: none;"> … … 539 563 540 564 <li> 565 <b>Eurovision Song Contest (ESC) entrants with (estimated) musical key:</b><br/> 566 <button type="button" class="load-ssq" id="load-ssq-esc-entrants-with-key" onclick="ssq_load('ssq-esc-entrants-with-key')">Load query above</button> 567 <button type="button" class="exec-ssq" id="exec-ssq-esc-entrants-with-key" onclick="ssq_execute()">Get Results</button><br/> 568 569 <p> 570 Similar to the above query that list all the entrants (country and year) sorted by year, then by country, but also displays 571 the estimated key signature of the song, which is pre-computed using the Essentia audio content analysis toolkit 572 when the collection is built. 573 </p> 574 </li> 575 576 577 <li> 541 578 <b>Voting Totals in 1975:</b><br/> 542 579 <button type="button" class="load-ssq" id="load-ssq-jury-votes-totals-1975" onclick="ssq_load('ssq-jury-votes-totals-1975')">Load query above</button> … … 546 583 totals of this Single voting format, and orders them by that score.</p> 547 584 </li> 585 586 548 587 549 588 <li>
Note:
See TracChangeset
for help on using the changeset viewer.