https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/Head
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
http://www.nanopub.org/nschema#hasAssertion
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/assertion
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
http://www.nanopub.org/nschema#hasProvenance
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/provenance
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
http://www.nanopub.org/nschema#hasPublicationInfo
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/pubinfo
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.nanopub.org/nschema#Nanopublication
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/assertion
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/get-pinned-resources
http://purl.org/dc/terms/description
This query returns the pinned resources for a given entity (e.g. a Space), each resource only once (from its latest pin).
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/get-pinned-resources
http://purl.org/dc/terms/license
http://www.apache.org/licenses/LICENSE-2.0
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/get-pinned-resources
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
https://w3id.org/kpxl/grlc/grlc-query
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/get-pinned-resources
http://www.w3.org/2000/01/rdf-schema#label
Get pinned resources
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/get-pinned-resources
https://w3id.org/kpxl/grlc/endpoint
https://w3id.org/np/l/nanopub-query-1.1/repo/type/9c7a26ffc0dbf578c976ef2d16ad50734b357fc411557ac884d646e5fd5570b8
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/get-pinned-resources
https://w3id.org/kpxl/grlc/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/>
prefix gen: <https://w3id.org/kpxl/gen/terms/>
select ?resource (min(?label) as ?resource_label) (min(?cmt) as ?comment) ?np ("^" as ?np_label) where {
values ?_entity_multi_iri {}
graph npa:graph {
?np npx:hasNanopubType gen:hasPinnedResource ;
npa:hasValidSignatureForPublicKeyHash ?pubkey ;
dct:created ?date ;
np:hasAssertion ?a .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
}
graph ?a {
?_entity_multi_iri gen:hasPinnedResource ?resource .
}
# Show each resource once: skip this pin if a newer valid pin of the same resource exists (by anyone).
optional {
graph ?a2 {
?_entity_multi_iri gen:hasPinnedResource ?resource .
}
graph npa:graph {
?np2 np:hasAssertion ?a2 ;
npx:hasNanopubType gen:hasPinnedResource ;
npa:hasValidSignatureForPublicKeyHash ?pubkey2 ;
dct:created ?date2 .
filter not exists { ?npx2 npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 . }
}
filter(?date2 > ?date || (?date2 = ?date && str(?np2) > str(?np)))
}
filter(!bound(?np2))
optional { graph ?a { ?resource rdfs:label ?label . } }
optional { graph ?a { ?resource rdfs:comment ?cmt . } }
} group by ?resource ?np
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/provenance
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/assertion
http://www.w3.org/ns/prov#wasAttributedTo
https://orcid.org/0000-0002-1267-0234
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/pubinfo
https://orcid.org/0000-0002-1267-0234
http://xmlns.com/foaf/0.1/name
Tobias Kuhn
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
http://purl.org/dc/terms/created
2026-11-11T05:08:08Z
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
http://purl.org/dc/terms/creator
https://orcid.org/0000-0002-1267-0234
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
http://purl.org/dc/terms/license
https://creativecommons.org/licenses/by/4.0/
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
http://purl.org/nanopub/x/embeds
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/get-pinned-resources
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
http://purl.org/nanopub/x/supersedes
https://w3id.org/np/RABx3zMAR6L9_EPQ8JwHD2GLLPPQJkiAHJ5WgoUCdEzUg
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
http://www.w3.org/2004/02/skos/core#changeNote
Each resource is listed only once: when several valid pins of the same resource exist for the entity, only the latest one (by dct:created) is shown.
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate
https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate
https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate
https://w3id.org/np/RAKc76yHLDbloE6ObluzYQsfX37v6qrZXbYeIKpe8-YUo
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate
https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate
https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate
https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/sig
http://purl.org/nanopub/x/hasAlgorithm
RSA
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/sig
http://purl.org/nanopub/x/hasPublicKey
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/sig
http://purl.org/nanopub/x/hasSignature
U1bhghsj5a6qy48Uoq2Y14aPTauoHlBMxZyvxwvBi7pNjtHiIvqKgVel17vwjQheYm97wSVV9+89915WpArMfS+2bXt5O+gFRNFXmIqoLwh5wfzW+OOi6QF4Ux0WVs+Xgda9erXUuiWn/tO4WyCRu/dve7oi0+ouo1WGrxJqPEo=
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/sig
http://purl.org/nanopub/x/hasSignatureTarget
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw
https://w3id.org/np/RALYYCmXhhfNSO5JDpsdx9IQJP7A2oimkg701rwzZRNyw/sig
http://purl.org/nanopub/x/signedBy
https://orcid.org/0000-0002-1267-0234