https://w3id.org/np/RAQCo3WZZcqVzTGzidkkJc7kcTkWP77v64wQnmGKCeJlY
type: Nanopublication
has assertion: assertion
has provenance: provenance
has publication info: pubinfo
created: 2026-05-30T08:00:00Z
creator: Tobias Kuhn
license: https://creativecommons.org/licenses/by/4.0/
introduces: Get the templates using given URI (view)

Get the templates using given URI (view)
type: grlc-query
description: Returns the assertion templates that use the given URI in their statements, with view-friendly columns (template_iri / template_iri_label). Used by the /explore page as a resource view (the 'Related Templates' list).
license: LICENSE-2.0
sparql: prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix dct: <http://purl.org/dc/terms/> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix np: <http://www.nanopub.org/nschema#> prefix npa: <http://purl.org/nanopub/admin/> prefix npx: <http://purl.org/nanopub/x/> prefix nt: <https://w3id.org/np/o/ntemplate/> select distinct ?template_iri ?template_iri_label where { graph ?assertion { ?statement ?relation ?_thing_iri . values ?relation { rdf:subject rdf:predicate rdf:object nt:possibleValue } } graph npa:graph { ?template_iri npa:hasValidSignatureForPublicKey ?pubkey . filter not exists { ?npx npx:invalidates ?template_iri ; npa:hasValidSignatureForPublicKey ?pubkey . } filter not exists { ?template_iri npx:hasNanopubType nt:UnlistedTemplate . } ?template_iri np:hasAssertion ?assertion . optional { ?template_iri rdfs:label ?template_iri_label } } } limit 1000

sig
has algorithm: RSA
signed by: Tobias Kuhn