Skip to content

Instantly share code, notes, and snippets.

View escowles's full-sized avatar

esmé cowles escowles

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!-- Attempt to describe track list at http://server1.variations2.indiana.edu/variations/cgi-bin/access.pl?id=BFJ6801 assuming that there is one file in Avalon that contains all of this recording: http://purl.dlib.indiana.edu/iudl/media/avalon:3333. -->
<!-- https://wiki.duraspace.org/display/ld4l/Use+Case+1.1+-+Triples+Examples#UseCase1.1-TriplesExamples-Example2-ore:AVirtualCollectionasanorderedcollectionofitemsusingOREOntology'sAggregationwithmultipleordereditems -->
<!-- https://wiki.duraspace.org/display/hydra/Hydra%3A%3AWorks+Shared+Modeling -->
<!-- https://docs.google.com/document/d/1o-Iq1oKN_W5NXXDQC81pxkhibOz_AhZlY7IShxPTR5M/edit# -->
<!-- https://github.com/projecthydra-labs/hydra-works/issues/27 -->
<!-- https://wiki.duraspace.org/display/hydra/Hydra+Developers+-+Making+Progress+Fall+2014 -->
<!-- http://www.openarchives.org/ore/1.0/rdfxml -->
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
curl -X PATCH -H "Content-type: application/sparql-update" --data-binary "insert data { <http://localhost:8983/fedora/rest/test/81/e3/aa/db/81e3aadb-e54e-423f-9ac3-85d96c726aa3/descMetadata> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.jcp.org/jcr/mix/1.0versionable> . }" http://localhost:8983/fedora/rest/test/81/e3/aa/db/81e3aadb-e54e-423f-9ac3-85d96c726aa3/descMetadata/fcr:metadata