Full identifier: https://w3id.org/np/RAIn9NTsWE0qrpKiK3nOmZRXVzwv0qnfbm7dR_CUnp4aA/get-newer-versions-of-np
Assigned to 1 class:
Nanopublication | Part | Subject | Predicate | Object | Published By | Published On |
---|---|---|---|---|---|---|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-newer-versions-of-np
|
Ashley Caselli
|
2025-09-01T16:23:00.405Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-newer-versions-of-np
|
Get all newer versions of this nanopublication
|
Ashley Caselli
|
2025-09-01T16:23:00.405Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-newer-versions-of-np
|
Ashley Caselli
|
2025-09-01T16:23:00.405Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-newer-versions-of-np
|
This query returns all newer versions of a given nanopublication, including those that since have been superseded or retracted.
|
Ashley Caselli
|
2025-09-01T16:23:00.405Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-newer-versions-of-np
|
Ashley Caselli
|
2025-09-01T16:23:00.405Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-newer-versions-of-np
|
prefix np: <http://www.nanopub.org/nschema#>
prefix npa: <http://purl.org/nanopub/admin/>
prefix npx: <http://purl.org/nanopub/x/>
prefix dct: <http://purl.org/dc/terms/>
select ?newerVersion ?date ?retractedBy ?supersededBy where {
graph npa:graph {
?_np_iri npa:hasValidSignatureForPublicKey ?pubkey .
}
graph npa:networkGraph {
?newerVersion (npx:supersedes)* ?_np_iri .
}
graph npa:graph {
filter exists { ?newerVersion npa:hasValidSignatureForPublicKey ?pubkey . }
}
optional { graph npa:graph { ?newerVersion dct:created ?date . } }
optional { graph npa:graph { ?retractedBy npx:retracts ?newerVersion ; npa:hasValidSignatureForPublicKey ?pubkey . } }
optional { graph npa:graph { ?supersededBy npx:supersedes ?newerVersion ; npa:hasValidSignatureForPublicKey ?pubkey . } }
}
order by desc(?date) ?newerVersion
|
Ashley Caselli
|
2025-09-01T16:23:00.405Z
|
||
links a nanopublication to its pubinfo
http://www.nanopub.org/nschema#hasPublicationInfo
pubinfo
|
get-newer-versions-of-np
|
Ashley Caselli
|
2025-09-01T16:23:00.405Z
|