Changeset 35015


Ignore:
Timestamp:
2021-04-04T20:21:26+12:00 (3 years ago)
Author:
davidb
Message:

More careful application of '.' at the end of BIND clauses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/errata-lod/local--countries-in-esc-by-year-after-1956--with-errata.sparql

    r34845 r35015  
    2525
    2626    ?country_in_year dct:subject ?countries_in_esc_by_year.
    27 # Useful example   
    28 ##       FILTER (?country_in_year = dbr:Bosnia_and_Herzegovina_in_the_Eurovision_Song_Contest_2010).
     27## Useful example   
     28#       FILTER (?country_in_year = dbr:Bosnia_and_Herzegovina_in_the_Eurovision_Song_Contest_2010).
     29## Useful example   
     30#       FILTER (?country_in_year = dbr:Germany_in_the_Eurovision_Song_Contest_2010).
    2931     
    3032    bind( REPLACE(str(?country_in_year), ".*(\\d{4})", "$1") AS ?year).
     
    4143  }
    4244
    43   BIND (IF(isIRI(?entrant),?entrant,?entrant_errata_uri) AS ?entrant_robust)
     45  BIND (IF(isIRI(?entrant),?entrant,?entrant_errata_uri) AS ?entrant_robust).
    4446
    4547  SERVICE <https://dbpedia.demo.openlinksw.com/sparql> {
     
    5355  }
    5456
    55   BIND (IF(isIRI(?song),?song,?song_errata_uri) AS ?song_robust)
     57  BIND (IF(isIRI(?song),?song,?song_errata_uri) AS ?song_robust).
    5658
    5759  # Create more DL friendly entrant-title metadata from Wikipedia entrant-uri/label
Note: See TracChangeset for help on using the changeset viewer.