Full identifier: https://w3id.org/np/RAzXDzCHoZmJITgYYquLwDDkSyNf3eKKQz9NfQPYB1cyE/get-latest-thing-nanopub
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-latest-thing-nanopub
|
Tobias Kuhn
|
2025-05-20T14:56:08.957Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-latest-thing-nanopub
|
Get latest nanopubs defining a thing
|
Tobias Kuhn
|
2025-05-20T14:56:08.957Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-latest-thing-nanopub
|
Tobias Kuhn
|
2025-05-20T14:56:08.957Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-latest-thing-nanopub
|
This query returns all latest versions of a given nanopublication and thing URI that is introduced or described therein.
|
Tobias Kuhn
|
2025-05-20T14:56:08.957Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-latest-thing-nanopub
|
Tobias Kuhn
|
2025-05-20T14:56:08.957Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-latest-thing-nanopub
|
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 ?latestVersion ?date where {
graph npa:graph {
?_np_iri npa:hasValidSignatureForPublicKey ?pubkey .
?_np_iri npx:introduces|npx:describes ?_thing_iri .
}
graph npa:networkGraph {
?latestVersion (npx:supersedes)* ?_np_iri .
}
graph npa:graph {
filter exists { ?latestVersion npa:hasValidSignatureForPublicKey ?pubkey . }
filter not exists { ?npx npx:invalidates ?latestVersion ; npa:hasValidSignatureForPublicKey ?pubkey . }
?latestVersion dct:created ?date .
?latestVersion npx:introduces|npx:describes ?_thing_iri .
}
}
order by desc(?date) ?latestVersion
|
Tobias Kuhn
|
2025-05-20T14:56:08.957Z
|
||
links a nanopublication to its pubinfo
http://www.nanopub.org/nschema#hasPublicationInfo
pubinfo
|
get-latest-thing-nanopub
|
Tobias Kuhn
|
2025-05-20T14:56:08.957Z
|