Commit a1d4e482ee29235837936f6fffb590d1ece2ff3b

Authored by Barry Norton
1 parent 4f9daf646f
Exists in master

Fixed a number of subject mappings

Showing 1 changed file with 3 additions and 3 deletions

mappings/artist.ttl View file @ a1d4e48
... ... @@ -42,7 +42,7 @@
42 42 """SELECT artist.gid, artist_alias.name
43 43 FROM artist
44 44 INNER JOIN artist_alias ON artist.id = artist_alias.artist"""] ;
45   - rr:subjectMap [rr:template lb:sm_artist] ;
  45 + rr:subjectMap lb:sm_artist ;
46 46 rr:predicateObjectMap
47 47 [rr:predicate skos:altLabel ;
48 48 rr:objectMap [rr:column "name"]] .
... ... @@ -204,7 +204,7 @@
204 204 ('04a5b104-a4c2-4bac-99a1-7b837c37d9e4',
205 205 '5728c659-56b2-4e23-97d1-80e1f229c7d3',
206 206 'ded9a80a-e6de-4831-880c-c78b9981b54b')"""] ;
207   - rr:subjectMap [rr:template lb:sm_artist] ;
  207 + rr:subjectMap lb:sm_artist ;
208 208 rr:predicateObjectMap [
209 209 rr:predicate rdfs:seeAlso ;
210 210 rr:objectMap [rr:column "url" ; rr:termType rr:IRI]] .
... ... @@ -218,7 +218,7 @@
218 218 ON artist_credit.id = artist_credit_name.artist_credit
219 219 INNER JOIN recording
220 220 ON artist_credit.id = recording.artist_credit"""] ;
221   - rr:subjectMap [rr:template lb:sm_artist] ;
  221 + rr:subjectMap lb:sm_artist ;
222 222 rr:predicateObjectMap
223 223 [rr:predicate foaf:made ;
224 224 rr:objectMap [rr:template "http://musicbrainz.org/recording/{recording_gid}#_"]] .