Changeset 35061 for main


Ignore:
Timestamp:
2021-04-12T15:15:08+12:00 (3 years ago)
Author:
davidb
Message:

Text/syntax tidy up

Location:
main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/transform/pages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/transform/pages/about.xsl

    r35056 r35061  
    191191         PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    192192         PREFIX gsdlextracted: <http://greenstone.org/gsdlextracted#>
    193          SELECT (?country) (COUNT(?country) AS ?freqCount)       
     193
     194         SELECT ?country (COUNT(?country) AS ?freqCount)         
    194195         WHERE {
    195196           GRAPH &lt;<xsl:value-of select="$graphURI"/>&gt;  {
     
    375376       
    376377        <pre style="background-color: #fff; color: #000; padding: 12px; margin-right: 6px;">
    377 SELECT ?countries_in_esc_by_year ?country_in_year ?year as ?Year ?country as ?Country ?entrant ?entrant_label as ?Creator ?song ?song_label as ?Title ?was_derived_from as ?WikipediaURL
     378SELECT ?countries_in_esc_by_year ?country_in_year (?year AS ?Year) (?country AS ?Country) ?entrant (?entrant_label AS ?Creator) ?song (?song_label AS ?Title) (?was_derived_from AS ?WikipediaURL)
    378379WHERE {
    379380    ?countries_in_esc_by_year skos:broader dbc:Countries_in_the_Eurovision_Song_Contest_by_year.
    380381
    381382    ?country_in_year dct:subject ?countries_in_esc_by_year.
    382 #    bind( REPLACE(str(?country_in_year), ".*(\\d{4})", "$1") as ?year).
     383#    bind( REPLACE(str(?country_in_year), ".*(\\d{4})", "$1") AS ?year).
    383384    ?country_in_year dbp:year ?year.
    384385    FILTER ( xsd:integer(?year) &lt; 2020).
  • main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/transform/pages/sparql.xsl

    r35056 r35061  
    543543        <button type="button" class="exec-ssq" id="exec-ssq-country-info" onclick="ssq_execute()">Get Results</button><br/>
    544544       
    545         <p>Demographics about other related information about the countries the song contest entries are from.</p>
     545        <p>
     546          Demographics about other related information about the countries the song contest entries are from.
     547          Query takes a bit longer to run than the previous ones.
     548        </p>
    546549          </li>
    547550         
Note: See TracChangeset for help on using the changeset viewer.