Matches in Nanopublications for { ?s ?p ?o <https://w3id.org/np/RAWkUwFh-p9IHtX6O69nEOSc6-ICXZN3MP0k4ODhPnBUY/assertion>. }
Showing items 1 to 6 of
6
with 100 items per page.
- get-messages-about-resource-and-parts type grlc-query assertion.
- get-messages-about-resource-and-parts label "Get messages about resource and its parts" assertion.
- get-messages-about-resource-and-parts description "This query returns plain-text messages about the given resource, including messages about things that are declared to be part of it (recursively up to 2 levels) or whose URI starts with the resource URI." assertion.
- get-messages-about-resource-and-parts sparql "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 schema: <https://schema.org/> select ?about ?text (group_concat(concat('<span><a href="', str(?link), '">link</a></span>'); separator=", ") as ?link) ?user ?date ?np ("^" as ?np_label) where { graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np dct:created ?date . ?np dct:creator ?user . ?np np:hasAssertion ?a . } graph ?a { ?a rdfs:label ?text . ?a schema:about ?about . values ?_resource_multi_iri {} filter( strstarts(str(?about), str(?_resource_multi_iri)) || exists { graph npa:graph { ?np2 npa:hasValidSignatureForPublicKeyHash ?pubkey2 . filter not exists { ?npx2 npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 . } ?np2 np:hasAssertion ?a2 . } graph ?a2 { { ?about dct:isPartOf ?_resource_multi_iri . } union { ?_resource_multi_iri dct:hasPart ?about . } } } || exists { graph npa:graph { ?np3 npa:hasValidSignatureForPublicKeyHash ?pubkey3 . filter not exists { ?npx3 npx:invalidates ?np3 ; npa:hasValidSignatureForPublicKeyHash ?pubkey3 . } ?np3 np:hasAssertion ?a3 . } graph ?a3 { ?about dct:isPartOf ?mid . } filter( strstarts(str(?mid), str(?_resource_multi_iri)) || exists { graph npa:graph { ?np4 npa:hasValidSignatureForPublicKeyHash ?pubkey4 . filter not exists { ?npx4 npx:invalidates ?np4 ; npa:hasValidSignatureForPublicKeyHash ?pubkey4 . } ?np4 np:hasAssertion ?a4 . } graph ?a4 { { ?mid dct:isPartOf ?_resource_multi_iri . } union { ?_resource_multi_iri dct:hasPart ?mid . } } } ) } ) optional { ?a rdfs:seeAlso ?link . } } } group by ?about ?text ?user ?date ?np order by desc(?date)" assertion.
- get-messages-about-resource-and-parts endpoint full assertion.
- get-messages-about-resource-and-parts license LICENSE-2.0 assertion.