@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo; a np:Nanopublication . } sub:assertion { sub:get-view-displays dct:description "This query returns all the view displays declared for a given resource."; dct:license ; a ; rdfs:label "Get view displays"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix gen: select ?view ?label ?np ?pubkey ?date where { values ?_resource_multi_iri {} graph npa:graph { ?np npx:hasNanopubType gen:ViewDisplay . ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np dct:created ?date . ?np npx:embeds ?display . ?np np:hasAssertion ?a . optional { ?np rdfs:label ?label } } graph ?a { ?display gen:isDisplayOfView ?view . ?display gen:isDisplayFor ?_resource_multi_iri . } } order by desc(?date)""" . } 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 "2025-10-23T08:56:54.199+02:00"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-view-displays; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "qknMfyQkW6wND1q6K0c36HFwzeTeevXc3EBbmobJQ2f7r8uXAV+n+0kw0PW70cXu4jW5hqHzTjSWbCMoBWsm6wFsrRV3rwh2BS4HzMXFn8mFZ3xTZGhzQRZEheun8L7x9m1v3FNL9V3pqSdX+UwJQ5fwHLCHZn8HkIEVDZ6huJ8="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }