-
Notifications
You must be signed in to change notification settings - Fork 0
/
fips.rq
27 lines (25 loc) · 1 KB
/
fips.rq
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#+ summary: Get all FAIR Implementation Profiles
#+ method: GET
#+ endpoint: https://query.np.trustyuri.net/repo/full
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 fip: <https://w3id.org/fair/fip/terms/>
select distinct ?fipnp ?fip ?label ?community ?date where {
graph npa:graph {
?fipnp npx:hasNanopubType fip:FAIR-Implementation-Profile .
?fipnp npa:hasValidSignatureForPublicKey ?pubkey .
?fipnp rdfs:label ?label .
?fipnp dct:created ?date .
?fipnp np:hasAssertion ?a .
graph ?a {
?fip fip:declared-by ?community .
}
filter not exists { ?fipnp npx:hasNanopubType npx:ExampleNanopub . }
filter not exists { ?fipnpx npx:invalidates ?fipnp ; npa:hasValidSignatureForPublicKey ?pubkey . }
}
?community fip:has-research-domain ?__domain_iri .
}