Status: 
| part | subject | predicate | object | published by | date | |
|---|---|---|---|---|---|---|
|
Assertion
|
|
|||||
|
Assertion
|
Get latest nanopublications by user
|
|
||||
|
Assertion
|
|
|||||
|
Assertion
|
Returns the latest nanopublications signed by or created by a given user (signed via npx:signedBy, or created via dct:creator if no npx:signedBy is present).
|
|
||||
|
Assertion
|
|
|||||
|
Assertion
|
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 xsd: <http://www.w3.org/2001/XMLSchema#>
prefix dct: <http://purl.org/dc/terms/>
select ?np ?date where {
graph npa:graph {
?np npa:hasValidSignatureForPublicKey ?pubkey .
?np dct:created ?date .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }
filter not exists { ?np npx:hasNanopubType npx:retracts . }
}
{
graph npa:graph {
?np npx:signedBy ?_userid_iri .
}
} union {
filter not exists {
graph npa:graph { ?np npx:signedBy ?anyuser . }
}
graph npa:graph {
?np dct:creator ?_userid_iri .
}
}
}
order by desc(?date)
limit 100
|
|
||||
|
PublicationInfo
|
|
|||||
|
Assertion
|
|