| part | subject | predicate | object | published by | date | |
|---|---|---|---|---|---|---|
|
Assertion
|
|
|||||
|
Assertion
|
Get all grlc query nanopubs (v2)
|
|
||||
|
Assertion
|
|
|||||
|
Assertion
|
Returns all nanopublications that declare a grlc query, with the query IRI, its label, its creator, the creation date, and the nanopublication IRI. Designed for rendering as a list/table view.
|
|
||||
|
Assertion
|
|
|||||
|
Assertion
|
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 grlc: <https://w3id.org/kpxl/grlc/>
select ?query_iri ?query_iri_label ?creator ?date ?np ("^" as ?np_label) where {
graph npa:graph {
?np npa:hasValidSignatureForPublicKeyHash ?pubkeyhash .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkeyhash . }
?np dct:created ?date .
?np npx:introduces|npx:embeds ?query .
?np np:hasAssertion ?a .
?np npx:hasNanopubType grlc:grlc-query .
optional { ?np rdfs:label ?query_iri_label }
optional { ?np npx:signedBy ?creator . }
}
graph ?a {
?query grlc:endpoint ?endpoint .
filter(strstarts(str(?endpoint), "https://w3id.org/np/l/nanopub-query"))
}
bind(?query as ?query_iri)
} order by desc(?date)
|
|
||||
|
PublicationInfo
|
|
|||||
|
Assertion
|
|