Skip to content

Instantly share code, notes, and snippets.

@gregjan
Created October 24, 2013 14:24
Show Gist options
  • Save gregjan/7138214 to your computer and use it in GitHub Desktop.
Save gregjan/7138214 to your computer and use it in GitHub Desktop.
RDF graph for fedora object with an ACL
@prefix dc: <http://purl.org/dc/terms/> .
@prefix nt: <http://www.jcp.org/jcr/nt/1.0> .
@prefix fcrepo: <http://fedora.info/definitions/v4/repository#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix test: <info:fedora/test/> .
@prefix xs: <http://www.w3.org/2001/XMLSchema> .
@prefix image: <http://www.modeshape.org/images/1.0> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix fedorarelsext: <http://fedora.info/definitions/v4/rels-ext#> .
@prefix xmlns: <http://www.w3.org/2000/xmlns/> .
@prefix mix: <http://www.jcp.org/jcr/mix/1.0> .
@prefix mode: <http://www.modeshape.org/1.0> .
@prefix sv: <http://www.jcp.org/jcr/sv/1.0> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix authz: <http://fedora.info/definitions/v4/authorization#> .
@prefix xsi: <http://www.w3.org/2001/XMLSchema-instance> .
@prefix fedora: <http://fedora.info/definitions/v4/rest-api#> .
xml: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"xml" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://www.w3.org/XML/1998/namespace" .
<http://localhost:57808/rest/workspace:fedora/rolesTest/authz:rbacl>
fcrepo:hasParent <http://localhost:57808/rest/workspace:fedora/rolesTest> ;
fcrepo:primaryType "authz:Rbacl"^^<http://www.w3.org/2001/XMLSchema#string> .
fedora: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"fedora" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://fedora.info/definitions/v4/rest-api#" .
<http://localhost:57808/rest/workspace:fedora/rolesTest>
a <http://www.w3.org/ns/ldp#Container> ;
fcrepo:baseVersion <http://localhost:57808/rest/workspace:fedora/jcr:system/jcr:versionStorage/d3/6e/4e/d36e4ea2f968e785c9f5d789730e4a38718887f1/jcr:rootVersion> ;
fcrepo:created "2013-10-24T14:16:43.569Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
fcrepo:createdBy "fedoraAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:hasChild <http://localhost:57808/rest/workspace:fedora/rolesTest/my_admin_data> , <http://localhost:57808/rest/workspace:fedora/rolesTest/authz:rbacl> , <http://localhost:57808/rest/workspace:fedora/rolesTest/my_data> ;
fcrepo:hasParent <http://localhost:57808/rest/workspace:fedora/> ;
fcrepo:isCheckedOut "true"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:lastModified "2013-10-24T14:16:44.047Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
fcrepo:lastModifiedBy "fedoraAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:mixinTypes "authz:rbaclAssignable"^^<http://www.w3.org/2001/XMLSchema#string> , "fedora:resource"^^<http://www.w3.org/2001/XMLSchema#string> , "fedora:object"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:predecessors <http://localhost:57808/rest/workspace:fedora/jcr:system/jcr:versionStorage/d3/6e/4e/d36e4ea2f968e785c9f5d789730e4a38718887f1/jcr:rootVersion> ;
fcrepo:primaryType "nt:folder"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:uuid "9496c6d9-f703-45d5-99c0-e93b82203410"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:versionHistory <http://localhost:57808/rest/workspace:fedora/jcr:system/jcr:versionStorage/d3/6e/4e/d36e4ea2f968e785c9f5d789730e4a38718887f1> ;
fedora:exportsAs <http://localhost:57808/rest/rolesTest/fcr:export?format=jcr/xml> ;
fedora:hasVersions <http://localhost:57808/rest/rolesTest/fcr:versions> ;
<http://www.w3.org/ns/ldp#membershipObject>
<http://www.w3.org/ns/ldp#MemberSubject> ;
<http://www.w3.org/ns/ldp#membershipPredicate>
fcrepo:hasChild ;
<http://www.w3.org/ns/ldp#membershipSubject>
<http://localhost:57808/rest/workspace:fedora/rolesTest> .
authz: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"authz" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://fedora.info/definitions/v4/authorization#" .
mode: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"mode" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://www.modeshape.org/1.0" .
sv: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"sv" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://www.jcp.org/jcr/sv/1.0" .
<http://localhost:57808/rest/workspace:fedora/rolesTest/my_data>
fcrepo:baseVersion <http://localhost:57808/rest/workspace:fedora/jcr:system/jcr:versionStorage/9f/76/a6/9f76a6c4cb7ae41d1e779e230ada3129330fb108/jcr:rootVersion> ;
fcrepo:created "2013-10-24T14:16:43.739Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
fcrepo:createdBy "fedoraAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:hasContent <http://localhost:57808/rest/workspace:fedora/rolesTest/my_data/fcr:content> ;
fcrepo:hasParent <http://localhost:57808/rest/workspace:fedora/rolesTest> ;
fcrepo:isCheckedOut "true"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:lastModified "2013-10-24T14:16:43.719Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
fcrepo:lastModifiedBy "fedoraAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:mixinTypes "fedora:datastream"^^<http://www.w3.org/2001/XMLSchema#string> , "fedora:resource"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:predecessors <http://localhost:57808/rest/workspace:fedora/jcr:system/jcr:versionStorage/9f/76/a6/9f76a6c4cb7ae41d1e779e230ada3129330fb108/jcr:rootVersion> ;
fcrepo:primaryType "nt:file"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:uuid "c35c6d73-4425-49a7-aaa7-4d034372f585"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:versionHistory <http://localhost:57808/rest/workspace:fedora/jcr:system/jcr:versionStorage/9f/76/a6/9f76a6c4cb7ae41d1e779e230ada3129330fb108> .
fedorarelsext: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"fedorarelsext" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://fedora.info/definitions/v4/rels-ext#" .
xs: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"xs" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://www.w3.org/2001/XMLSchema" .
mix: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"mix" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://www.jcp.org/jcr/mix/1.0" .
dc: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"dc" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://purl.org/dc/terms/" .
<http://localhost:57808/rest/rolesTest>
a <http://www.w3.org/ns/ldp#Page> ;
<http://www.w3.org/ns/ldp#inlinedResource>
<http://localhost:57808/rest/workspace:fedora/rolesTest/my_data> , <http://localhost:57808/rest/workspace:fedora/rolesTest/my_admin_data> , <http://localhost:57808/rest/workspace:fedora/rolesTest/authz:rbacl> , <http://localhost:57808/rest/workspace:fedora/> ;
<http://www.w3.org/ns/ldp#membersInlined>
"true" ;
<http://www.w3.org/ns/ldp#pageOf>
<http://localhost:57808/rest/workspace:fedora/rolesTest> .
<http://localhost:57808/rest/workspace:fedora/rolesTest/my_admin_data>
fcrepo:baseVersion <http://localhost:57808/rest/workspace:fedora/jcr:system/jcr:versionStorage/35/30/5e/35305e4c0aba33640fe035da18a06bf616943f58/jcr:rootVersion> ;
fcrepo:created "2013-10-24T14:16:43.842Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
fcrepo:createdBy "fedoraAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:hasContent <http://localhost:57808/rest/workspace:fedora/rolesTest/my_admin_data/fcr:content> ;
fcrepo:hasParent <http://localhost:57808/rest/workspace:fedora/rolesTest> ;
fcrepo:isCheckedOut "true"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:lastModified "2013-10-24T14:16:44.109Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
fcrepo:lastModifiedBy "fedoraAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:mixinTypes "authz:rbaclAssignable"^^<http://www.w3.org/2001/XMLSchema#string> , "fedora:resource"^^<http://www.w3.org/2001/XMLSchema#string> , "fedora:datastream"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:predecessors <http://localhost:57808/rest/workspace:fedora/jcr:system/jcr:versionStorage/35/30/5e/35305e4c0aba33640fe035da18a06bf616943f58/jcr:rootVersion> ;
fcrepo:primaryType "nt:file"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:uuid "c995e524-ad5a-460a-b1bc-db72507759bb"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:versionHistory <http://localhost:57808/rest/workspace:fedora/jcr:system/jcr:versionStorage/35/30/5e/35305e4c0aba33640fe035da18a06bf616943f58> .
xmlns: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"xmlns" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://www.w3.org/2000/xmlns/" .
nt: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"nt" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://www.jcp.org/jcr/nt/1.0" .
test: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"test" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"info:fedora/test/" .
<http://localhost:57808/rest/workspace:fedora/rolesTest/my_data/fcr:content>
fcrepo:hasLocation "/org.infinispan.loaders.file.FileCacheStore:FedoraRepositoryBinaryData:org.infinispan.loaders.file.FileCacheStore:target/FedoraRepositoryBinaryData/storage" ;
fcrepo:isContentOf <http://localhost:57808/rest/workspace:fedora/rolesTest/my_data> ;
fcrepo:lastModified "2013-10-24T14:16:43.739Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
fcrepo:lastModifiedBy "fedoraAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:mimeType "text/plain; charset=ISO-8859-1"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:mixinTypes "fedora:binary"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:primaryType "nt:resource"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:digest <urn:sha1:b513a41411ad90e2a51c1eb9d2ad7e1ab80162f7> ;
fedora:size "32"^^<http://www.w3.org/2001/XMLSchema#long> .
<http://localhost:57808/rest/workspace:fedora/rolesTest/my_admin_data/fcr:content>
fcrepo:hasLocation "/org.infinispan.loaders.file.FileCacheStore:FedoraRepositoryBinaryData:org.infinispan.loaders.file.FileCacheStore:target/FedoraRepositoryBinaryData/storage" ;
fcrepo:isContentOf <http://localhost:57808/rest/workspace:fedora/rolesTest/my_admin_data> ;
fcrepo:lastModified "2013-10-24T14:16:43.842Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
fcrepo:lastModifiedBy "fedoraAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:mimeType "text/plain; charset=ISO-8859-1"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:mixinTypes "fedora:binary"^^<http://www.w3.org/2001/XMLSchema#string> ;
fcrepo:primaryType "nt:resource"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:digest <urn:sha1:995ad379bf59e8f6c870f244b32eb7a017d16f8b> ;
fedora:size "43"^^<http://www.w3.org/2001/XMLSchema#long> .
rdf: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"rdf" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://www.w3.org/1999/02/22-rdf-syntax-ns#" .
fcrepo: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"fcrepo" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://www.jcp.org/jcr/1.0" .
<http://localhost:57808/rest/rolesTest/fcr:export?format=jcr/xml>
<http://www.w3.org/2000/01/rdf-schema#label>
"jcr/xml" .
<http://www.w3.org/2001/XMLSchema-instance>
a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"xsi" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://www.w3.org/2001/XMLSchema-instance" .
image: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"image" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://www.modeshape.org/images/1.0" .
foaf: a <http://purl.org/vocommons/voaf#Vocabulary> ;
<http://purl.org/vocab/vann/preferredNamespacePrefix>
"foaf" ;
<http://purl.org/vocab/vann/preferredNamespaceUri>
"http://xmlns.com/foaf/0.1/" .
<http://localhost:57808/rest/workspace:fedora/>
fcrepo:clusterCacheMode "LOCAL" ;
fcrepo:clusterMembers "local" ;
fcrepo:clusterName "ISPN" ;
fcrepo:clusterNodeAddress "local" ;
fcrepo:clusterNodeView "Unknown" ;
fcrepo:clusterPhysicalAddress "local" ;
fcrepo:clusterSize "1" ;
fcrepo:hasChild <http://localhost:57808/rest/workspace:fedora/rolesTest> ;
fcrepo:hasNodeType "mode:federation" , "mix:managedRetention" , "nt:configuration" , "nt:propertyDefinition" , "mix:simpleVersionable" , "nt:address" , "mix:lifecycle" , "nt:version" , "mix:etag" , "authz:rbaclAssignable" , "nt:childNodeDefinition" , "mix:shareable" , "mix:lastModified" , "nt:folder" , "mode:locks" , "mode:accessControllable" , "mix:versionable" , "nt:naturalText" , "mode:nodeTypes" , "mode:publishArea" , "mix:title" , "fedora:binary" , "nt:file" , "mode:versionHistoryFolder" , "fedora:datastream" , "nt:activity" , "mode:namespace" , "nt:versionLabels" , "mode:root" , "mode:share" , "mode:system" , "mode:namespaces" , "fedora:object" , "nt:linkedFile" , "nt:hierarchyNode" , "fedora:relations" , "fedora:resource" , "mode:versionStorage" , "nt:query" , "mix:mimeType" , "mix:lockable" , "nt:resource" , "authz:Rbacl" , "mix:created" , "nt:versionedChild" , "mode:resource" , "mode:Acl" , "mode:derived" , "mix:language" , "authz:Assignment" , "nt:base" , "nt:nodeType" , "mix:referenceable" , "nt:frozenNode" , "nt:versionHistory" , "mode:repository" , "mode:projection" , "mode:Permission" , "mode:lock" , "nt:unstructured" , "mode:hashed" ;
fcrepo:objectCount "1" ;
fcrepo:objectSize "75" ;
fcrepo:primaryType "mode:root"^^<http://www.w3.org/2001/XMLSchema#string> ;
<http://fedora.info/definitions/v4/repository#repository/custom.rep.name>
"repo" ;
<http://fedora.info/definitions/v4/repository#repository/identifier.stability>
"identifier.stability.indefinite.duration" ;
<http://fedora.info/definitions/v4/repository#repository/jcr.repository.name>
"ModeShape" ;
<http://fedora.info/definitions/v4/repository#repository/jcr.repository.vendor>
"JBoss, a division of Red Hat" ;
<http://fedora.info/definitions/v4/repository#repository/jcr.repository.vendor.url>
"http://www.modeshape.org" ;
<http://fedora.info/definitions/v4/repository#repository/jcr.repository.version>
"3.5.0.Final" ;
<http://fedora.info/definitions/v4/repository#repository/jcr.specification.name>
"Content Repository for Java Technology API" ;
<http://fedora.info/definitions/v4/repository#repository/jcr.specification.version>
"2.0" ;
<http://fedora.info/definitions/v4/repository#repository/level.1.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/level.2.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/node.type.management.autocreated.definitions.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/node.type.management.inheritance>
"node.type.management.inheritance.multiple" ;
<http://fedora.info/definitions/v4/repository#repository/node.type.management.multiple.binary.properties.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/node.type.management.multivalued.properties.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/node.type.management.orderable.child.nodes.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/node.type.management.overrides.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/node.type.management.primary.item.name.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/node.type.management.property.types>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/node.type.management.residual.definitions.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/node.type.management.same.name.siblings.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/node.type.management.update.in.use.suported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/node.type.management.value.constraints.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/option.access.control.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/option.activities.supported>
"false" ;
<http://fedora.info/definitions/v4/repository#repository/option.baselines.supported>
"false" ;
<http://fedora.info/definitions/v4/repository#repository/option.journaled.observation.supported>
"false" ;
<http://fedora.info/definitions/v4/repository#repository/option.lifecycle.supported>
"false" ;
<http://fedora.info/definitions/v4/repository#repository/option.locking.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/option.node.and.property.with.same.name.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/option.node.type.management.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/option.observation.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/option.query.sql.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/option.retention.supported>
"false" ;
<http://fedora.info/definitions/v4/repository#repository/option.shareable.nodes.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/option.simple.versioning.supported>
"false" ;
<http://fedora.info/definitions/v4/repository#repository/option.transactions.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/option.unfiled.content.supported>
"false" ;
<http://fedora.info/definitions/v4/repository#repository/option.update.mixin.node.types.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/option.update.primary.node.type.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/option.versioning.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/option.workspace.management.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/option.xml.export.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/option.xml.import.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/query.full.text.search.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/query.joins>
"query.joins.inner.outer" ;
<http://fedora.info/definitions/v4/repository#repository/query.stored.queries.supported>
"true" ;
<http://fedora.info/definitions/v4/repository#repository/query.xpath.doc.order>
"false" ;
<http://fedora.info/definitions/v4/repository#repository/query.xpath.pos.index>
"false" ;
<http://fedora.info/definitions/v4/repository#repository/write.supported>
"true" ;
fcrepo:uuid "87a0a8c6ae8993/"^^<http://www.w3.org/2001/XMLSchema#string> .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment