Full identifier: https://w3id.org/np/RAapc3jbJ3GkDy0ncKx3pok_zEKqwrT6-Z5TkCP1k96II/get-view-displays
Assigned to 1 class:
Described in 1 nanopublication:
| Nanopublication | Part | Subject | Predicate | Object | Published By | Published On |
|---|---|---|---|---|---|---|
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-view-displays
|
Tobias Kuhn
|
2025-11-27T10:06:26.188Z
|
|||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-view-displays
|
Get view displays
|
Tobias Kuhn
|
2025-11-27T10:06:26.188Z
|
||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-view-displays
|
Tobias Kuhn
|
2025-11-27T10:06:26.188Z
|
|||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-view-displays
|
This query returns all the view displays declared for a given resource.
|
Tobias Kuhn
|
2025-11-27T10:06:26.188Z
|
||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-view-displays
|
Tobias Kuhn
|
2025-11-27T10:06:26.188Z
|
|||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-view-displays
|
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 gen: <https://w3id.org/kpxl/gen/terms/>
select distinct ?display ?view (coalesce(?viewKindOptional, ?view) as ?viewKind) ?label ?displayType ?displayMode ?np ?pubkey ?date where {
values ?_resource_multi_iri {}
graph npa:graph {
?np npx:hasNanopubType gen:ViewDisplay .
?np npa:hasValidSignatureForPublicKeyHash ?pubkey .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
?np dct:created ?date .
?np npx:embeds ?display .
?np np:hasAssertion ?a .
optional { ?np rdfs:label ?label }
}
graph ?a {
?display gen:isDisplayOfView ?view .
?display gen:isDisplayFor ?_resource_multi_iri .
optional {
values ?displayType { gen:PartLevelViewDisplay gen:TopLevelViewDisplay }
?display a ?displayType .
}
optional {
values ?displayMode { gen:ActivatedViewDisplay gen:DeactivatedViewDisplay }
?display a ?displayMode .
}
}
optional { service <https://w3id.org/np/l/nanopub-query-1.1/repo/type/ec6722efa3b44e0a18aa63afe5964158a1fdb7f0413ea5f23bfddf5c03ca0221> {
select ?view ?viewKindOptional {
graph npa:graph {
?np npx:hasNanopubType gen:ResourceView .
?np npa:hasValidSignatureForPublicKeyHash ?pubkey .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
?np npx:embeds ?view .
?np np:hasAssertion ?a .
}
graph ?a {
?view a gen:ResourceView .
?view dct:isVersionOf ?viewKindOptional .
}
}
} }
}
order by desc(?date)
|
Tobias Kuhn
|
2025-11-27T10:06:26.188Z
|
||
|
links a nanopublication to its pubinfo
http://www.nanopub.org/nschema#hasPublicationInfo
pubinfo
|
get-view-displays
|
Tobias Kuhn
|
2025-11-27T10:06:26.188Z
|