Created
May 28, 2015 14:20
Revisions
-
daniel-dgi created this gist
May 28, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,56 @@ PREFIX nt: <http://www.jcp.org/jcr/nt/1.0> PREFIX pcdm: <http://pcdm.org/models#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX modsrdf: <http://www.loc.gov/mods/modsrdf/v1#> PREFIX content: <http://purl.org/rss/1.0/modules/content/> PREFIX sioct: <http://rdfs.org/sioc/types#> PREFIX dc11: <http://purl.org/dc/elements/1.1/> PREFIX islandora: <http://islandora.ca/ontology/v2/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX fedora: <http://fedora.info/definitions/v4/repository#> PREFIX nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo/v1.2/> PREFIX og: <http://ogp.me/ns#> PREFIX ldp: <http://www.w3.org/ns/ldp#> PREFIX mix: <http://www.jcp.org/jcr/mix/1.0> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX dc: <http://purl.org/dc/terms/> PREFIX sioc: <http://rdfs.org/sioc/ns#> DELETE WHERE { <> rdf:type ?o0 . <> nfo:uuid ?o1 . <> pcdm:hasMember ?o2 . <> dc:title ?o3 . <> dc:date ?o4 . <> dc:created ?o5 . <> dc:modified ?o6 . <> content:encoded ?o7 . <> sioc:has_creator ?o8 . <> foaf:name ?o9 . <> sioc:num_replies ?o10 . <> sioc:last_activity_date ?o11 . } ; INSERT DATA { <> rdf:type ldp:RDFSource . <> rdf:type ldp:Container . <> rdf:type nt:hierarchyNode . <> rdf:type nt:folder . <> rdf:type nt:base . <> rdf:type mix:referenceable . <> rdf:type fedora:Resource . <> rdf:type fedora:Container . <> rdf:type pcdm:Collection . <> rdf:type islandora:collection . <> nfo:uuid "fb374a66-9423-482b-b18f-f58835cc7ea9" . <> pcdm:hasMember "I SHOULD BE REPLACING, BUT AM GETTING APPENDED" . <> dc:title "STUFF" . <> dc:date "1432667805" . <> dc:created "1432667805" . <> dc:modified "1432668995" . <> sioc:has_creator "1" . <> foaf:name "admin" . <> sioc:num_replies "0" . }