@prefix dcterms: .
@prefix this: .
@prefix sub: .
@prefix np: .
@prefix nt: .
@prefix npx: .
@prefix xsd: .
@prefix rdfs: .
@prefix orcid: .
@prefix prov: .
@prefix foaf: .
sub:Head {
this: np:hasAssertion sub:assertion;
np:hasProvenance sub:provenance;
np:hasPublicationInfo sub:pubinfo;
a np:Nanopublication .
}
sub:assertion {
sub:fip-domains dcterms:description "This query returns the domains of all FAIR Implementation Profiles (FIPs).";
dcterms:license ;
a ;
rdfs:label "Get FIP domains";
;
"""prefix rdfs:
prefix np:
prefix npa:
prefix npx:
prefix xsd:
prefix dct:
prefix fip:
prefix search:
select ?domain ?domain_label (count(distinct ?fipnp) as ?count) where {
graph npa:graph {
?np npa:hasValidSignatureForPublicKey ?pubkey ;
dct:created ?date ;
npx:hasNanopubType fip:FAIR-Implementation-Community ;
np:hasAssertion ?a .
?np npx:introduces|npx:describes ?community .
?np dct:created ?date . filter(str(?date) > \"2022\")
filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }
}
graph ?a {
?community a fip:FAIR-Implementation-Community ;
rdfs:label ?communitylabel .
?community fip:has-research-domain ?domainx .
}
graph {
?domainx rdfs:subClassOf* ?domain .
}
graph {
?domain rdfs:label ?domain_label .
}
service { # (https://w3id.org/fair/fip/terms/FAIR-Implementation-Profile)
select ?fipnp ?fip ?fiplabel ?community {
graph npa:graph {
?fipnp np:hasAssertion ?fa .
optional { ?fipnp rdfs:label ?fiplabel . }
?fipnp npx:introduces|npx:describes ?fip .
?fipnp npa:hasValidSignatureForPublicKey ?fpubkey .
?fipnp npx:hasNanopubType fip:FAIR-Implementation-Profile .
filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }
filter not exists { ?fipnpx npx:invalidates ?fipnp ; npa:hasValidSignatureForPublicKey ?fpubkey . }
}
graph ?fa {
?fip fip:declared-by ?community .
}
}
}
}
group by ?domain ?domain_label
order by desc(?count)""" .
}
sub:provenance {
sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 .
}
sub:pubinfo {
orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" .
this: dcterms:created "2025-11-07T12:58:40.165+01:00"^^xsd:dateTime;
dcterms:creator orcid:0000-0002-1267-0234;
dcterms:license ;
npx:embeds sub:fip-domains;
npx:supersedes ;
npx:wasCreatedAt ;
nt:wasCreatedFromProvenanceTemplate ;
nt:wasCreatedFromPubinfoTemplate ,
, ;
nt:wasCreatedFromTemplate .
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
npx:hasSignature "dEGUyYEhjaDEWqJlrNi+6la+Uk7f8GFRtYcGYH9+AMoTYK1uC2AFwHmrqhGUA6mYVEvkG0ADjEt4opzEhNzPJ5x9yB7+ZnTM3raLgiY6XRcBD8hx8Fdil8vuTo4oAIPY6MESHk5m7mueexE0y/0fAVS1cwUcNu0cBQLqT0mWK1M=";
npx:hasSignatureTarget this:;
npx:signedBy orcid:0000-0002-1267-0234 .
}