Get indexes for resource
has assertion: assertion
has provenance: provenance
has publication info: pubinfo
type: Nanopublication
created: 2026-08-19T07:47:14Z
creator: Tobias Kuhn
license: https://creativecommons.org/publicdomain/zero/1.0/
embeds: Get indexes for resource

Get indexes for resource
description: This query returns the nanopublication indexes that are declared to be part of a given resource, ordered by index creation time (latest first). The index label is returned as its own column, with the nanopublication link as a separate short-symbol column at the end.
license: LICENSE-2.0
type: grlc-query
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/> select (min(?l) as ?label) (count(?element) as ?size) ?creator ?date ?np ("^" as ?np_label) where { values ?_resource_multi_iri {} graph npa:graph { ?np npx:hasNanopubType npx:NanopubIndex . ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np dct:created ?date . ?np np:hasAssertion ?a . ?np rdfs:label ?l . ?np npx:signedBy ?creator . } graph ?a { ?np dct:isPartOf ?_resource_multi_iri . ?np npx:includesElement ?element . } } group by ?np ?creator ?date order by desc(?date)

sig
has algorithm: RSA
signed by: Tobias Kuhn