Nanopublication

< Home

ID

https://w3id.org/np/RAwsg9J4wGkznq6vUH6MeWsRgYlQUo1DIX-MSsT3uPVJc

Formats

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

Content

@prefix this: <https://w3id.org/np/RAwsg9J4wGkznq6vUH6MeWsRgYlQUo1DIX-MSsT3uPVJc> .
@prefix sub: <https://w3id.org/np/RAwsg9J4wGkznq6vUH6MeWsRgYlQUo1DIX-MSsT3uPVJc/> .
@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-reviews-by-reviewer a <https://w3id.org/kpxl/grlc/grlc-query>;
    dct:description "This query returns the items a given user has reviewed.";
    dct:license <http://www.apache.org/licenses/LICENSE-2.0>;
    rdfs:label "Get reviews by reviewer";
    <https://w3id.org/kpxl/grlc/endpoint> <https://w3id.org/np/l/nanopub-query-1.1/repo/full>;
    <https://w3id.org/kpxl/grlc/sparql> """prefix schema: <http://schema.org/>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix dct: <http://purl.org/dc/terms/>
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#>

select distinct ?item ?item_label ?date ?comment ?np (\"^\" as ?np_label) where {
  {
    graph npa:graph {
      ?np npa:hasValidSignatureForPublicKeyHash ?pubkey .
      filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
      ?np np:hasAssertion ?a .
      ?np dct:created ?created .
    }
    graph ?a {
      ?ra a schema:ReviewAction ;
        schema:agent ?_reviewer_iri ;
        schema:object ?item .
      optional { ?item rdfs:label ?item_label }
      optional { ?ra schema:endTime ?d }
      optional { ?ra rdfs:comment ?comment }
    }
    bind(coalesce(?d, substr(str(?created), 1, 10)) as ?date)
  }
} order by desc(?date)""" .
}

sub:provenance {
  sub:assertion prov:wasAttributedTo orcid:0000-0001-8492-0354 .
}

sub:pubinfo {
  orcid:0000-0001-8492-0354 foaf:name "Ashley Caselli" .
  
  this: dct:created "2026-08-05T12:59:27.107Z"^^xsd:dateTime;
    dct:creator orcid:0000-0001-8492-0354;
    dct:license <https://creativecommons.org/publicdomain/zero/1.0/>;
    npx:embeds sub:get-reviews-by-reviewer;
    npx:wasCreatedAt <https://nanodash.knowledgepixels.com/>;
    nt:wasCreatedFromProvenanceTemplate <https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU>;
    nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8>,
      <https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI>;
    nt:wasCreatedFromTemplate <https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k> .
  
  sub:sig npx:hasAlgorithm "RSA";
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCaQXE2B2hJ6QdWxaWerU4F/XOtCQdj2OkdrIYd1kpMY9hIUh8boxaO3uOBeqvvqKLf5HjpRF4DT1eghOSsa2Dhd5HRTM/XIamvwWkHpN4oB3Ml19pAAzjTqczYmFLfgG67mGL5+vSA8VEdHtKQCrvP4SpTibMBP1qaxt3k1tqD6wIDAQAB";
    npx:hasSignature "DJPnbwZgRA9OXJZYXnwAIAsMcySZWUXy4MWdHEgSwqvUiYihcZa9aOFrTcxyP7Yf8WS0RcFwWofwucmQb2mEJw9lefSKp28TFDtCiSuLnnsc4m8DYmv7K+UEpdy8sEXoPawnGQDjOlqPuuQjpqI+g6FGq+kJRgh0l4EPrJS5zFA=";
    npx:hasSignatureTarget this:;
    npx:signedBy orcid:0000-0001-8492-0354 .
}