...
The SPARQL Update command to insert event triples will be similar to:
Code Block | ||||
---|---|---|---|---|
| ||||
prefix audit: <http://fedora.info/definitions/v4/audit#> prefix premis: <http://www.loc.gov/premis/rdf/v1#> prefix premisEvent: <http://id.loc.gov/vocabulary/preservation/eventType/> prefix prov: <http://www.w3.org/ns/prov#> prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix xsd: <http://www.w3.org/2001/XMLSchema#> insert data { <http://example.org/event2> rdf:type prov:InstantaneousEvent . <http://example.org/event2> rdf:type premis:Event . <http://example.org/event2> rdf:type audit:ExternalEvent . <http://example.org/event2> premis:hasEventRelatedAgent "jquser"^^xsd:string . <http://example.org/event2> premis:hasEventRelatedAgent "rsync 2.6.9"^^xsd:string . <http://example.org/event2> premis:hasEventRelatedAgent "backup-repository.example.edu"^^xsd:string . <http://example.org/event2> premis:hasEventType premisEvent:rep . <http://example.org/event2> premis:hasEventRelatedObject <http://localhost:8080/rest/55/59/ec/05/5559ec05-6ab1-4d61-905a-a5f3da360b23> . <http://example.org/event2> premis:hasEventDateTime "2012-04-30T20:40:40"^^xsd:dateTime . } |
...