Full identifier: https://w3id.org/np/RAsyc6zFFnE8mblnDfdCCNRsrcN1CSCBDW9I4Ppidgk9g/get-favorite-things
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-favorite-things
|
Tobias Kuhn
|
2025-07-02T08:38:31.376Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-favorite-things
|
Get favorite things
|
Tobias Kuhn
|
2025-07-02T08:38:31.376Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-favorite-things
|
Tobias Kuhn
|
2025-07-02T08:38:31.376Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-favorite-things
|
This query returns the things the given user has declared to be their favorites (using cito:likes).
|
Tobias Kuhn
|
2025-07-02T08:38:31.376Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-favorite-things
|
Tobias Kuhn
|
2025-07-02T08:38:31.376Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-favorite-things
|
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/>
select ?favoritedThing ?label ?np ?creator ?date where {
graph npa:graph {
?np npx:signedBy ?__creator_iri .
bind(?__creator_iri as ?creator)
?np npa:hasValidSignatureForPublicKey ?pubkey .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }
?np dct:created ?date .
?np npx:hasNanopubType <http://purl.org/spar/cito/likes> .
?np np:hasAssertion ?a .
optional { ?np rdfs:label ?label }
}
graph ?a {
?subj <http://purl.org/spar/cito/likes> ?favoritedThing .
}
}
order by desc(?date)
|
Tobias Kuhn
|
2025-07-02T08:38:31.376Z
|
||
links a nanopublication to its pubinfo
http://www.nanopub.org/nschema#hasPublicationInfo
pubinfo
|
get-favorite-things
|
Tobias Kuhn
|
2025-07-02T08:38:31.376Z
|