@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:get-reference-fips a ; dct:description "This query returns the reference FAIR Implementation Profiles (rFIPs), one row per community: the rFIP nanopublication with the newest dct:created among those declared by that community. Successive versions of an rFIP are not reliably chained by npx:supersedes -- the FIP wizard supersedes some earlier nanopublication rather than the preceding rFIP -- so filtering on invalidation alone leaves several versions of the same profile in the listing (three for PARC Toxicology). The community given by fip:declared-by is used as the identity of the profile, since each version re-introduces the rFIP under a new IRI and therefore cannot be grouped by it."; dct:license ; rdfs:label "Get reference FIPs (latest version per community)"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix fip: prefix schema: select (?rfip as ?rFIP) (?rfip_label as ?rFIP_label) ?version ?community ?np (\"^\" as ?np_label) where { { select ?community (max(?date) as ?latest) where { graph npa:graph { ?cnp npx:hasNanopubType fip:Reference-FAIR-Implementation-Profile . ?cnp npa:hasValidSignatureForPublicKeyHash ?cpubkey . filter not exists { ?cnpx npx:invalidates ?cnp ; npa:hasValidSignatureForPublicKeyHash ?cpubkey . } ?cnp dct:created ?date . ?cnp np:hasAssertion ?ca . ?cnp npx:introduces ?crfip . } graph ?ca { ?crfip fip:declared-by ?community . } } group by ?community } graph npa:graph { ?np npx:hasNanopubType fip:Reference-FAIR-Implementation-Profile . ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np dct:created ?latest . ?np np:hasAssertion ?a . ?np npx:introduces ?rfip . } graph ?a { ?rfip a fip:Reference-FAIR-Implementation-Profile . ?rfip rdfs:label ?rfip_label . ?rfip fip:declared-by ?community . optional { ?rfip schema:version ?version . } } } """ . } 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 "2026-09-17T05:02:12Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-reference-fips; prov:wasDerivedFrom ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "Dxo3l/EufbQ4uN7QikPTkfIIdd5fTANu9DcwhdNWGkJzWLOBdGN6hTMEDJI9RQgWOkm6Z1gvRhNB5BAp9hxX0pOfv6/2wHub/DG8/Nj62sywuUDtwptxDf9G58WyfLy6dbk8yze+b2CLutMcJ01TZ4sPluRQ9pJeIyRzjfZSaVE="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }