@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:fip-domains a ; dct:description "This query returns the domains of all FAIR Implementation Profiles (FIPs)."; dct:license ; rdfs:label "Get FIP domains"; ; """prefix rdfs: prefix np: prefix npa: prefix npx: prefix xsd: prefix dct: prefix fip: prefix search: select ?domain ?domainlabel (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 ?domainlabel . } 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 ?domainlabel 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: dct:created "2025-11-07T10:53:02.497+01:00"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:fip-domains; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "PpfZUpHKVKjdJXTLjYVu8pBOZUwganTUJ+NbHBLHkcJq4yUiqBIURW1chgUTa/5P8abmjIeqa2NgYdouBYk/z8edLPexzv+2D5UEofEyHxiFXWutZe6sPjUJhWDGpyKIa8vQwcPDB2mnjJCYdFu0qqDHvVZF5i7IVH0gOXRQzgI="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }