Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleTimeMap LDPCv
@prefix acl:  <http://www.w3.org/ns/auth/acl#> .
@prefix iana:  <http://www.iana.org/assignments/relation/> .
@prefix ldp:  <http://www.w3.org/ns/ldp#> .
@prefix memento:  <http://example.com/memento#> .
@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

</path/to/resource/xyz/timemap> a memento:TimeMap, ldp:Container ;
   acl:hasAccessControl </path/to/acl> ;    # this is for the LDPCv itself
   memento:hasOriginalResource  </path/to/orig/resource/xyz> ;
   memento:hasTimeGate </path/to/orig/resource/xyz> ;
   memento:hasAccessControl </path/to/acls> ;
   iana:first </path/to/resource/xyz/timemap/12344> ;
   iana:last </path/to/resource/xyz/timemap/12347> ;
   ldp:contains </path/to/resource/xyz/timemap/12344>, </path/to/resource/xyz/timemap/12345>, 
      </path/to/resource/xyz/timemap/12347>, </path/to/resource/xyz/timemap/12346> .


The use of IANA may or may not work here - esp if the original object's snapshot is in this LDPRm directly - we need to make sure that triples don't overlap. If we stick with all memento triples, then we can strip them out and have the version of the resource the user is after.  

Code Block
titleLDPRm
@prefix acl:  <http://www.w3.org/ns/auth/acl#> .
@prefix iana:  <http://www.iana.org/assignments/relation/> .
@prefix ldp:  <http://www.w3.org/ns/ldp#> .
@prefix memento:  <http://example.com/memento#> .
@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

</path/to/resource/xyz/timemap/12345> a memento:Memento , ldp:RDFSource ;
    memento:datetime "20010320133610" ;
    memento:hasTimegate </path/to/orig/resource/xyz> ;    #original resource == timegate
    memento:hasOriginalResource </path/to/orig/resource/xyz> ;   # timegate and orig resource could come from LDPCv instead
    iana:next </path/to/xyz/timemap/datetimestamp12346> ;
    iana:prev </path/to/xyz/timemap/datetimestamp12344> ;
    ... triples from original resource at the time of the versioning are here as well. 

...