Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
DELETE { ?s madsrdf:authoritativeLabel "Dog catcher" } 
INSERT { ?s madsrdf:authoritativeLabel "Dog snatcher" } 
WHERE { 
    ?s madsrdf:authoritativeLabel "Dog catcher"
}

Question:

  • Is there an issue using ?s with it matching many entities?  Should it be a single URI and update the label for that specific entity?


Add a new variant:

Code Block
INSERT { 
    <lcsh:sh123456> madsrdf:hasVariant _:v .
    _:v a madsrdf:Variant .
    _:v madsrdf:variantLabel "Dog catcher" .
}
WHERE { 
    <lcsh:sh123456> madsrdf:authoritativeLabel "Dog snatcher"
}

Question:

  • This one identifies the subject.  

Delete an LCSH resource

1) Delete related component list.  Thanks to:  https://afs.github.io/rdf-lists-sparql

...