Full identifier: https://w3id.org/np/RAb4WYRZcnrkJzprpWWkJYl2QsxKQ26P0xEMwXkxM65ak/get-favorites-for-user
Assigned to 1 class:
Described in 1 nanopublication:
| Nanopublication | Part | Subject | Predicate | Object | Published By | Published On |
|---|---|---|---|---|---|---|
|
links a nanopublication to its pubinfo
http://www.nanopub.org/nschema#hasPublicationInfo
pubinfo
|
get-favorites-for-user
|
Get favorites for user - This query returns the favorited things of a given user.
|
Tobias Kuhn
|
2026-01-21T16:44:21.009Z
|
||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-favorites-for-user
|
Tobias Kuhn
|
2026-01-21T16:44:21.009Z
|
|||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-favorites-for-user
|
Tobias Kuhn
|
2026-01-21T16:15:16.088Z
|
|||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-favorites-for-user
|
Get favorites for user
|
Tobias Kuhn
|
2026-01-21T16:15:16.088Z
|
||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-favorites-for-user
|
Tobias Kuhn
|
2026-01-21T16:15:16.088Z
|
|||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-favorites-for-user
|
This query returns the favorited things of a given user.
|
Tobias Kuhn
|
2026-01-21T16:15:16.088Z
|
||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-favorites-for-user
|
Tobias Kuhn
|
2026-01-21T16:15:16.088Z
|
|||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-favorites-for-user
|
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 cito: <http://purl.org/spar/cito/>
select ?liked_resource ?comment ?np ("^" as ?np_label) where {
graph npa:graph {
?np npx:hasNanopubType cito:likes .
?np npa:hasValidSignatureForPublicKeyHash ?pubkey .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
?np dct:created ?date .
?np np:hasAssertion ?a .
}
graph ?a {
?_user_iri cito:likes ?liked_resource .
optional { ?liked_resource rdfs:comment ?comment . }
}
}
|
Tobias Kuhn
|
2026-01-21T16:15:16.088Z
|
||
|
links a nanopublication to its pubinfo
http://www.nanopub.org/nschema#hasPublicationInfo
pubinfo
|
get-favorites-for-user
|
Tobias Kuhn
|
2026-01-21T16:15:16.088Z
|