@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: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:get-items-of-collection a ; dct:description "This query returns the items of a collection"; dct:license ; rdfs:label "Get items of collection"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix gen: select ?item ?item_label ?type ?source ?np where { graph npa:graph { ?np npx:hasNanopubType gen:CollectionElement . ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np dct:created ?date . ?np np:hasAssertion ?a . ?np npx:introduces ?item . } graph ?a { ?item a ?type . filter(?type != gen:CollectionElement) ?item rdfs:label ?item_label . optional { ?item dct:source ?source } values ?_collection_multi_iri {} ?item dct:isPartOf ?_collection_multi_iri . } } order by ?item_label""" . } 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-12-17T16:41:23.346+01:00"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-items-of-collection; npx:supersedes ; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "oIqbpgE0/R9GzE6/HI52AGYqZ+78WUNqVQlUlMuGgPmYYxGp/oYcPalgRlfCSIXjYFbUL4fXGJFZt7S47vin+90Cw+pMqRfpTPXjno+R97pUrDx0dhq4IFFJj1fBAQTbY4/fOsHvAMiBDaKi6BOjcXrzMDo6gXy9npmgZJUNjB4="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }