Nanopublication

< Home

ID

https://w3id.org/np/RAOZAvezGbswgtJEVkF1pfepMW5EgsGoaxqJ61WJee27k

Formats

.trig | .trig.txt | .jelly | .jelly.txt | .jsonld | .jsonld.txt | .nq | .nq.txt | .xml | .xml.txt

Content

@prefix this: <https://w3id.org/np/RAOZAvezGbswgtJEVkF1pfepMW5EgsGoaxqJ61WJee27k> .
@prefix sub: <https://w3id.org/np/RAOZAvezGbswgtJEVkF1pfepMW5EgsGoaxqJ61WJee27k/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix nt: <https://w3id.org/np/o/ntemplate/> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix orcid: <https://orcid.org/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

sub:Head {
  this: a np:Nanopublication;
    np:hasAssertion sub:assertion;
    np:hasProvenance sub:provenance;
    np:hasPublicationInfo sub:pubinfo .
}

sub:assertion {
  sub:get-colonial-collections-provenance-events a <https://w3id.org/kpxl/grlc/grlc-query>;
    dct:description "Returns all provenance-event claims (Colonial Collections nanopubs typed #ProvenanceEventVersion1) describing a CIDOC-CRM E10_Transfer_of_Custody. Columns: event type (Getty AAT) and its label, affected object (with short label), narrative text and its language, attributed community group, individual creator, and date. Sorted from most recent first.";
    dct:license <http://www.apache.org/licenses/LICENSE-2.0>;
    rdfs:label "Get Colonial Collections provenance events";
    <https://w3id.org/kpxl/grlc/endpoint> <https://w3id.org/np/l/nanopub-query-1.1/repo/type/9f1f58f4a7d23fa9955733b9c187dd9c5155d6dce4b57e4a43a8b0f861d99e12>;
    <https://w3id.org/kpxl/grlc/sparql> """prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix np: <http://www.nanopub.org/nschema#>
prefix npa: <http://purl.org/nanopub/admin/>
prefix npx: <http://purl.org/nanopub/x/>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix dct: <http://purl.org/dc/terms/>
prefix prov: <http://www.w3.org/ns/prov#>
prefix crm: <http://www.cidoc-crm.org/cidoc-crm/>

select ?event_type ?event_type_label ?source ?source_label ?narrative ?lang ?group ?group_label ?creator ?creator_label ?date ?np (\"^\" as ?np_label) where {
  graph npa:graph {
    ?np npa:hasValidSignatureForPublicKey ?pubkey ;
        dct:created ?datetime ;
        np:hasAssertion ?ag ;
        np:hasProvenance ?pg ;
        np:hasPublicationInfo ?pig .
    filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }
    filter not exists { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }
  }
  bind(substr(str(?datetime), 1, 10) as ?date)
  graph ?pig {
    ?np a <https://n2t.net/ark:/27023/9819f32405815dc7f2e0ecd9d8a9e604#ProvenanceEventVersion1> .
  }
  graph ?ag {
    ?ev a crm:E10_Transfer_of_Custody .
    optional {
      ?ev crm:P2_has_type ?event_type .
      optional { ?event_type rdfs:label ?event_type_label }
    }
    optional {
      ?ev crm:P30_transferred_custody_of ?source .
      bind(substr(replace(str(?source), \"^.*/\", \"\"), 1, 8) as ?source_label)
    }
    optional {
      ?ev crm:P67i_is_referred_to_by ?ling .
      ?ling crm:P190_has_symbolic_content ?narrative_lit .
      bind(str(?narrative_lit) as ?narrative)
      bind(lang(?narrative_lit) as ?lang)
    }
  }
  optional {
    graph ?pg {
      ?ag prov:wasAttributedTo ?creator .
      optional { ?creator rdfs:label ?creator_label }
      optional {
        ?creator prov:actedOnBehalfOf ?group .
        optional { ?group rdfs:label ?group_label }
      }
    }
  }
}
order by desc(?datetime)""" .
}

sub:provenance {
  sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 .
}

sub:pubinfo {
  orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" .
  
  this: dct:created "2026-05-20T13:48:34Z"^^xsd:dateTime;
    dct:creator orcid:0000-0002-1267-0234;
    dct:license <https://creativecommons.org/licenses/by/4.0/>;
    npx:introduces sub:get-colonial-collections-provenance-events;
    nt:wasCreatedFromProvenanceTemplate <http://purl.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM>;
    nt:wasCreatedFromPubinfoTemplate <http://purl.org/np/RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM>,
      <http://purl.org/np/RAh1gm83JiG5M6kDxXhaYT1l49nCzyrckMvTzcPn-iv90>, <http://purl.org/np/RAjpBMlw3owYhJUBo3DtsuDlXsNAJ8cnGeWAutDVjuAuI>;
    nt:wasCreatedFromTemplate <https://w3id.org/np/RAYvkQOT9-zrcql5lzMW9OpiPjA9UvSh-RezaVwYmWvns> .
  
  sub:sig npx:hasAlgorithm "RSA";
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
    npx:hasSignature "lunGaZmECyiwVEbVolLT5EazPMTagFqRhnpJxpRWcQK/0OAHm2GqLVAyOC/HBtAZbdeLabl4hb530DvQXqhTZd1cp71emYywisKgGy3Mr8SC5jWwmfQiuDbqxiXpuL4bS7YQzXG6TMLbuLcvMs2llSscjv+xJ6y6zOyjE86vFcM=";
    npx:hasSignatureTarget this:;
    npx:signedBy orcid:0000-0002-1267-0234 .
}