Skip to content

Instantly share code, notes, and snippets.

@yulgit1
Created May 12, 2015 21:23
Show Gist options
  • Save yulgit1/b5dd01305bec7883831c to your computer and use it in GitHub Desktop.
Save yulgit1/b5dd01305bec7883831c to your computer and use it in GitHub Desktop.
fcr:metadata
sysops-mbp:fcrepo4-vagrant ermadmix$ curl http://localhost:8080/fcrepo/rest/objects/cover/files/cover.jpg/fcr:metadata
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix nt: <http://www.jcp.org/jcr/nt/1.0> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix pcdm: <http://pcdm.org/models#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix test: <info:fedora/test/> .
@prefix fedoraconfig: <http://fedora.info/definitions/v4/config#> .
@prefix image: <http://www.modeshape.org/images/1.0> .
@prefix audit: <http://fedora.info/definitions/v4/audit#> .
@prefix xs: <http://www.w3.org/2001/XMLSchema> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix mix: <http://www.jcp.org/jcr/mix/1.0> .
@prefix premis: <http://www.loc.gov/premis/rdf/v1#> .
@prefix mode: <http://www.modeshape.org/1.0> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix sv: <http://www.jcp.org/jcr/sv/1.0> .
@prefix fedora: <http://fedora.info/definitions/v4/repository#> .
@prefix xsi: <http://www.w3.org/2001/XMLSchema-instance> .
@prefix ldp: <http://www.w3.org/ns/ldp#> .
<http://localhost:8080/fcrepo/rest/objects/cover/files/cover.jpg/fcr:metadata> a ldp:RDFSource , <http://www.jcp.org/jcr/nt/1.0file> , <http://www.jcp.org/jcr/nt/1.0hierarchyNode> , <http://www.jcp.org/jcr/nt/1.0base> , <http://www.jcp.org/jcr/mix/1.0created> , fedora:NonRdfSourceDescription , fedora:Resource , fedora:Resource , <http://www.jcp.org/jcr/mix/1.0created> , <http://www.jcp.org/jcr/mix/1.0lastModified> , <http://www.jcp.org/jcr/mix/1.0referenceable> ;
fedora:primaryType "nt:file"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:created "2015-05-12T21:09:13.028Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
fedora:lastModified "2015-05-12T21:09:13.028Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
fedora:mixinTypes "fedora:NonRdfSourceDescription"^^<http://www.w3.org/2001/XMLSchema#string> , "fedora:Resource"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:lastModifiedBy "bypassAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:uuid "3388f51a-b202-4f06-91e4-5b2fd3d41963"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:createdBy "bypassAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:writable "true"^^<http://www.w3.org/2001/XMLSchema#boolean> ;
<http://www.iana.org/assignments/relation/describes> <http://localhost:8080/fcrepo/rest/objects/cover/files/cover.jpg> ;
fedora:hasParent <http://localhost:8080/fcrepo/rest/objects/cover/files> .
<http://localhost:8080/fcrepo/rest/objects/cover/files/cover.jpg> a <http://www.jcp.org/jcr/nt/1.0resource> , <http://www.jcp.org/jcr/nt/1.0base> , <http://www.jcp.org/jcr/mix/1.0mimeType> , <http://www.jcp.org/jcr/mix/1.0lastModified> , fedora:Binary , fedora:Resource , <http://www.jcp.org/jcr/mix/1.0created> , <http://www.jcp.org/jcr/mix/1.0lastModified> , <http://www.jcp.org/jcr/mix/1.0referenceable> ;
fedora:primaryType "nt:resource"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:created "2015-05-12T21:09:13.028Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
fedora:lastModified "2015-05-12T21:09:13.028Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
premis:hasOriginalName ""^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:mixinTypes "fedora:Binary"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:digest <urn:sha1:5f5878730910571f564e21f4b64f4a556f1d056b> ;
fedora:lastModifiedBy "bypassAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:uuid "ef1a3c81-388c-476a-9e8f-42ea31472f5f"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:mimeType "image/jpeg"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:createdBy "bypassAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
premis:hasSize "155984"^^<http://www.w3.org/2001/XMLSchema#long> .
<http://localhost:8080/fcrepo/rest/objects/cover/files/cover.jpg/fcr:metadata> fedora:primaryType "nt:file"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:created "2015-05-12T21:09:13.028Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
fedora:lastModified "2015-05-12T21:09:13.028Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
fedora:mixinTypes "fedora:NonRdfSourceDescription"^^<http://www.w3.org/2001/XMLSchema#string> , "fedora:Resource"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:lastModifiedBy "bypassAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:uuid "3388f51a-b202-4f06-91e4-5b2fd3d41963"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:createdBy "bypassAdmin"^^<http://www.w3.org/2001/XMLSchema#string> .
<http://localhost:8080/fcrepo/rest/objects/cover/files/cover.jpg> <http://www.iana.org/assignments/relation/describedby> <http://localhost:8080/fcrepo/rest/objects/cover/files/cover.jpg/fcr:metadata> ;
a ldp:NonRDFSource ;
fedora:hasFixityService <http://localhost:8080/fcrepo/rest/objects/cover/files/cover.jpg/fcr:fixity> .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment