Nanopublication

< Home

ID

https://w3id.org/np/RAqKTemZo5f68p74eo8-7TqZJBhAV_WYuebDiaSS40wYI

Formats

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

Content

@prefix this: <https://w3id.org/np/RAqKTemZo5f68p74eo8-7TqZJBhAV_WYuebDiaSS40wYI> .
@prefix sub: <https://w3id.org/np/RAqKTemZo5f68p74eo8-7TqZJBhAV_WYuebDiaSS40wYI/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@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#> .

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

sub:assertion {
  sub:get-resource-views-without-applies-to a <https://w3id.org/kpxl/grlc/grlc-query>;
    dct:description "Returns all resource view declarations that do not have a gen:appliesToInstancesOf relation.";
    dct:license <http://www.apache.org/licenses/LICENSE-2.0>;
    rdfs:label "Get resource views without appliesToInstancesOf";
    <https://w3id.org/kpxl/grlc/endpoint> <https://w3id.org/np/l/nanopub-query-1.1/repo/full>;
    <https://w3id.org/kpxl/grlc/sparql> """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 gen: <https://w3id.org/kpxl/gen/terms/>
prefix nt: <https://w3id.org/np/o/ntemplate/>

select ?view ?view_label ?type ?query ?date ?np (\"^\" as ?np_label) where {
  graph npa:graph {
    ?np npa:hasValidSignatureForPublicKeyHash ?pubkey .
    filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
    ?np dct:created ?date .
    ?np np:hasAssertion ?a .
    ?np np:hasPublicationInfo ?pi .
  }
  graph ?pi {
    ?np nt:wasCreatedFromTemplate <https://w3id.org/np/RARLsTlqbTesu1b0WJZ-zL1z96xumOiqbK3l_vV6iZoww> .
  }
  graph ?a {
    ?view a gen:ResourceView .
    optional {
      ?view a ?type .
      filter(?type != gen:ResourceView)
    }
    optional { ?view rdfs:label ?view_label . }
    optional { ?view gen:hasViewQuery ?query . }
    filter not exists { ?view gen:appliesToInstancesOf ?class . }
  }
} order by desc(?date)""" .
}

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

sub:pubinfo {
  this: dct:created "2026-03-20T14:10:36Z"^^xsd:dateTime;
    dct:creator orcid:0000-0002-1267-0234;
    dct:license <https://creativecommons.org/licenses/by/4.0/>;
    npx:introduces sub:get-resource-views-without-applies-to;
    rdfs:label "Get resource views without appliesToInstancesOf" .
  
  sub:sig npx:hasAlgorithm "RSA";
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
    npx:hasSignature "YH9uyiSywNQOe6FVz6uSXaijfLABdNXJB2H+/iFMPf0qTP5wPlGLqfohGIVyiX4xgY2h2bC9B0EoUqdhcIefvfErxGp63wfzAQ7TOT+ax6n5WSaWzBohH5AdnHlR8qrPsBmJlqgwjnNOcLozDhL2eyxTVE//9OGIcYezfJn3Ev0=";
    npx:hasSignatureTarget this:;
    npx:signedBy orcid:0000-0002-1267-0234 .
}