@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix 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 ; dct:description "Returns all resource view declarations that do not have a gen:appliesToInstancesOf relation."; dct:license ; rdfs:label "Get resource views without appliesToInstancesOf"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix gen: prefix nt: 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 . } 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 ; 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 . }