sub:assertion {
sub:get-gff-curators dct:description "This query returns all GO FAIR Foundation curators for metadata of FAIR Supporting Resources." ;
dct:license <
http://www.apache.org/licenses/LICENSE-2.0> ;
a <
https://w3id.org/kpxl/grlc/grlc-query> ;
rdfs:label "Get GFF curators" ;
<
https://w3id.org/kpxl/grlc/endpoint> <
https://w3id.org/np/l/nanopub-query-1.1/repo/type/16fb6a38f21730f443f6fc7c4a7340a54364973a0b078db497206a13fc5d33f4> ;
<
https://w3id.org/kpxl/grlc/sparql> """prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix np: <http://www.nanopub.org/nschema#>
prefix npa: <http://purl.org/nanopub/admin/>
prefix npx: <http://purl.org/nanopub/x/>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix dct: <http://purl.org/dc/terms/>
prefix foaf: <http://xmlns.com/foaf/0.1/>
select distinct ?latest ?facilitatorName ?facilitatorId ?pubkey where {
graph npa:graph {
<https://w3id.org/np/RA27Uhopq4MHZziL2lKXX-wTb1jz4KVLbHaupxyAcCt9Y> npa:hasValidSignatureForPublicKey ?pk .
?latest npa:hasValidSignatureForPublicKey ?pk .
filter not exists { ?npx npx:invalidates ?latest ; npa:hasValidSignatureForPublicKey ?pk . }
?latest dct:created ?date .
?latest np:hasAssertion ?assertion .
}
graph npa:networkGraph {
?latest (npx:supersedes)* <https://w3id.org/np/RA27Uhopq4MHZziL2lKXX-wTb1jz4KVLbHaupxyAcCt9Y> .
filter not exists { ?x npx:supersedes ?latest }
}
graph ?assertion {
?pubkeys npx:hasPublicKey ?pubkey .
}
service <https://query.np.trustyuri.net/repo/type/77757cabf6184c51c20b8b0fe5dc5e1365b7f628448335184ad54319a0affdfc> { # (http://purl.org/nanopub/x/declaredBy)
graph npa:graph {
?np npa:hasValidSignatureForPublicKey ?pubkey ;
np:hasAssertion ?a .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }
}
graph ?a {
?decl npx:hasPublicKey ?pubkey ;
npx:declaredBy ?facilitatorId .
?facilitatorId foaf:name ?facilitatorName .
}
}
} order by ?facilitatorName""" .
}