[ { "@id": "https://w3id.org/np/RALszXB8wiSPDCXrGY9DYv07qlKRVfPh9XaNCuiSRaEnQ/pubinfo", "@graph": [ { "@id": "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Tobias Kuhn" } ] }, { "@id": "https://w3id.org/np/RALszXB8wiSPDCXrGY9DYv07qlKRVfPh9XaNCuiSRaEnQ", "http://purl.org/dc/terms/created": [ { "@value": "2026-08-11T12:57:32Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/licenses/by/4.0/" } ], "http://purl.org/nanopub/x/embeds": [ { "@id": "https://w3id.org/np/RALszXB8wiSPDCXrGY9DYv07qlKRVfPh9XaNCuiSRaEnQ/get-fsr-typology-svg" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAqkQ_s3FGV_csJYTgWlnmzA8_8WwHpJ3rxqGmdjPHplc" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get FSR typology diagram as SVG" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" }, { "@id": "https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw" }, { "@id": "https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RALszXB8wiSPDCXrGY9DYv07qlKRVfPh9XaNCuiSRaEnQ/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "Tr8P67GBJv1iccV2KVvcPj9DY2unyAiZd6w68Q06A+ERWbKBsV2nye4JlOuDzNELPiVHWMAvSzFyeCWROPVty8pOuB63WCjuXyaerdTEXSb0OOq1A6WVVq/2bCLoWxdMei1YAXelyTFzhkYcGATKbKqYlRZhZokbpHsIP7lM+0M=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RALszXB8wiSPDCXrGY9DYv07qlKRVfPh9XaNCuiSRaEnQ" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RALszXB8wiSPDCXrGY9DYv07qlKRVfPh9XaNCuiSRaEnQ/assertion", "@graph": [ { "@id": "https://w3id.org/np/RALszXB8wiSPDCXrGY9DYv07qlKRVfPh9XaNCuiSRaEnQ/get-fsr-typology-svg", "http://purl.org/dc/terms/description": [ { "@value": "Returns a single result row with one 'svg' column holding a complete SVG document rendering the FSR typology of the FAIR Implementation Profile (FIP) Ontology, computed dynamically from the published class definitions. This is the query behind the 'FSR typology' SVG view (gen:SvgView) and is specific to the FIP Ontology: it mirrors the hand-drawn FSR typology diagram with three fixed columns headed by FAIR Data Policy, FAIR Specification, and FAIR Supporting Technology, listing each column's subclasses (and their subclasses, indented) as boxes hanging off a vertical spine with a subtype triangle. Classes that are also FAIR-Enabling Resources (directly, or via their parent for nested entries) get a gray background; a legend below the columns explains the FSR/FER distinction. Box labels link root-relatively (/part?id=...) so they resolve inside the rendering Nanodash instance, which appends the page context; full labels are provided as tooltips. Positions are computed via rank subqueries, so the output is deterministic. The 'resource' parameter (the ontology) is used to derive the class namespace filter." } ], "http://purl.org/dc/terms/license": [ { "@id": "http://www.apache.org/licenses/LICENSE-2.0" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get FSR typology diagram as SVG" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/type/e8cc5bb29ec5597303f8f101c65c545dc124ee0df68ce733764b03adc3237184" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix np: \nprefix npa: \nprefix npx: \nprefix owl: \nprefix rdfs: \nprefix xsd: \nselect (concat(\n '',\n group_concat(?frag; separator=\"\"),\n '','','','FAIR Supporting Resource (FSR)','','','','FAIR-Enabling Resource (FER)','','All resources in this typology are','FAIR Supporting Resources (FSR), but','the FAIR-Enabling Resources (FER,','gray background) among them are','essential for the FAIR Principles.','',\n '') as ?svg) where {\n\n # --- one row per rendered box, with rank ?iy inside its column\n { select ?b ?bx ?c ?clbl ?ind ?fer (count(*) as ?iy) where {\n { \n {\n { select ?b ?bx ?c (coalesce(min(?lu1), min(?la1), replace(str(?c), \"^.*[/#]\", \"\")) as ?clbl) where {\n values (?b ?bx) { ( 0) ( 1) ( 2) }\n \n graph npa:graph {\n ?np1 npx:hasNanopubType owl:Class ; npa:hasValidSignatureForPublicKeyHash ?pk1 ; npx:introduces ?c ; np:hasAssertion ?a1 .\n filter not exists { ?npi1 npx:invalidates ?np1 ; npa:hasValidSignatureForPublicKeyHash ?pk1 . }\n }\n graph ?a1 {\n ?c a owl:Class ; rdfs:subClassOf ?b .\n optional { ?c rdfs:label ?lu1 . filter(lang(?lu1) = \"\") }\n optional { ?c rdfs:label ?la1 . }\n }\n filter(strstarts(str(?c), replace(str(?_resource_iri), \"[^/#]*$\", \"\")))\n } group by ?b ?bx ?c }\n bind(0 as ?ind)\n bind(concat(?clbl, \"|\", str(?c)) as ?sk)\n bind(if(exists {\n graph npa:graph {\n ?npf2 npx:hasNanopubType owl:Class ; npa:hasValidSignatureForPublicKeyHash ?pkf2 ; npx:introduces ?c ; np:hasAssertion ?af2 .\n filter not exists { ?npfi2 npx:invalidates ?npf2 ; npa:hasValidSignatureForPublicKeyHash ?pkf2 . }\n }\n graph ?af2 { ?c rdfs:subClassOf . }\n }, 1, 0) as ?fer)\n } union {\n { select ?b ?bx ?m ?c\n (coalesce(min(?lu2), min(?la2), replace(str(?m), \"^.*[/#]\", \"\")) as ?mlbl)\n (coalesce(min(?lu3), min(?la3), replace(str(?c), \"^.*[/#]\", \"\")) as ?clbl) where {\n values (?b ?bx) { ( 0) ( 1) ( 2) }\n \n graph npa:graph {\n ?np3 npx:hasNanopubType owl:Class ; npa:hasValidSignatureForPublicKeyHash ?pk3 ; npx:introduces ?m ; np:hasAssertion ?a3 .\n filter not exists { ?npi3 npx:invalidates ?np3 ; npa:hasValidSignatureForPublicKeyHash ?pk3 . }\n }\n graph ?a3 {\n ?m a owl:Class ; rdfs:subClassOf ?b .\n optional { ?m rdfs:label ?lu2 . filter(lang(?lu2) = \"\") }\n optional { ?m rdfs:label ?la2 . }\n }\n filter(strstarts(str(?m), replace(str(?_resource_iri), \"[^/#]*$\", \"\")))\n \n graph npa:graph {\n ?np4 npx:hasNanopubType owl:Class ; npa:hasValidSignatureForPublicKeyHash ?pk4 ; npx:introduces ?c ; np:hasAssertion ?a4 .\n filter not exists { ?npi4 npx:invalidates ?np4 ; npa:hasValidSignatureForPublicKeyHash ?pk4 . }\n }\n graph ?a4 {\n ?c a owl:Class ; rdfs:subClassOf ?m .\n optional { ?c rdfs:label ?lu3 . filter(lang(?lu3) = \"\") }\n optional { ?c rdfs:label ?la3 . }\n }\n filter(strstarts(str(?c), replace(str(?_resource_iri), \"[^/#]*$\", \"\")))\n } group by ?b ?bx ?m ?c }\n bind(1 as ?ind)\n bind(concat(?mlbl, \"~|\", ?clbl, \"|\", str(?c)) as ?sk)\n bind(if(exists {\n graph npa:graph {\n ?npf5 npx:hasNanopubType owl:Class ; npa:hasValidSignatureForPublicKeyHash ?pkf5 ; npx:introduces ?c ; np:hasAssertion ?af5 .\n filter not exists { ?npfi5 npx:invalidates ?npf5 ; npa:hasValidSignatureForPublicKeyHash ?pkf5 . }\n }\n graph ?af5 { ?c rdfs:subClassOf . }\n } || exists {\n graph npa:graph {\n ?npf6 npx:hasNanopubType owl:Class ; npa:hasValidSignatureForPublicKeyHash ?pkf6 ; npx:introduces ?m ; np:hasAssertion ?af6 .\n filter not exists { ?npfi6 npx:invalidates ?npf6 ; npa:hasValidSignatureForPublicKeyHash ?pkf6 . }\n }\n graph ?af6 { ?m rdfs:subClassOf . }\n }, 1, 0) as ?fer)\n } }\n { select distinct (?b as ?bR) (?sk as ?skR) where { \n {\n { select ?b ?bx ?c (coalesce(min(?lu1), min(?la1), replace(str(?c), \"^.*[/#]\", \"\")) as ?clbl) where {\n values (?b ?bx) { ( 0) ( 1) ( 2) }\n \n graph npa:graph {\n ?np7 npx:hasNanopubType owl:Class ; npa:hasValidSignatureForPublicKeyHash ?pk7 ; npx:introduces ?c ; np:hasAssertion ?a7 .\n filter not exists { ?npi7 npx:invalidates ?np7 ; npa:hasValidSignatureForPublicKeyHash ?pk7 . }\n }\n graph ?a7 {\n ?c a owl:Class ; rdfs:subClassOf ?b .\n optional { ?c rdfs:label ?lu1 . filter(lang(?lu1) = \"\") }\n optional { ?c rdfs:label ?la1 . }\n }\n filter(strstarts(str(?c), replace(str(?_resource_iri), \"[^/#]*$\", \"\")))\n } group by ?b ?bx ?c }\n bind(0 as ?ind)\n bind(concat(?clbl, \"|\", str(?c)) as ?sk)\n bind(if(exists {\n graph npa:graph {\n ?npf8 npx:hasNanopubType owl:Class ; npa:hasValidSignatureForPublicKeyHash ?pkf8 ; npx:introduces ?c ; np:hasAssertion ?af8 .\n filter not exists { ?npfi8 npx:invalidates ?npf8 ; npa:hasValidSignatureForPublicKeyHash ?pkf8 . }\n }\n graph ?af8 { ?c rdfs:subClassOf . }\n }, 1, 0) as ?fer)\n } union {\n { select ?b ?bx ?m ?c\n (coalesce(min(?lu2), min(?la2), replace(str(?m), \"^.*[/#]\", \"\")) as ?mlbl)\n (coalesce(min(?lu3), min(?la3), replace(str(?c), \"^.*[/#]\", \"\")) as ?clbl) where {\n values (?b ?bx) { ( 0) ( 1) ( 2) }\n \n graph npa:graph {\n ?np9 npx:hasNanopubType owl:Class ; npa:hasValidSignatureForPublicKeyHash ?pk9 ; npx:introduces ?m ; np:hasAssertion ?a9 .\n filter not exists { ?npi9 npx:invalidates ?np9 ; npa:hasValidSignatureForPublicKeyHash ?pk9 . }\n }\n graph ?a9 {\n ?m a owl:Class ; rdfs:subClassOf ?b .\n optional { ?m rdfs:label ?lu2 . filter(lang(?lu2) = \"\") }\n optional { ?m rdfs:label ?la2 . }\n }\n filter(strstarts(str(?m), replace(str(?_resource_iri), \"[^/#]*$\", \"\")))\n \n graph npa:graph {\n ?np10 npx:hasNanopubType owl:Class ; npa:hasValidSignatureForPublicKeyHash ?pk10 ; npx:introduces ?c ; np:hasAssertion ?a10 .\n filter not exists { ?npi10 npx:invalidates ?np10 ; npa:hasValidSignatureForPublicKeyHash ?pk10 . }\n }\n graph ?a10 {\n ?c a owl:Class ; rdfs:subClassOf ?m .\n optional { ?c rdfs:label ?lu3 . filter(lang(?lu3) = \"\") }\n optional { ?c rdfs:label ?la3 . }\n }\n filter(strstarts(str(?c), replace(str(?_resource_iri), \"[^/#]*$\", \"\")))\n } group by ?b ?bx ?m ?c }\n bind(1 as ?ind)\n bind(concat(?mlbl, \"~|\", ?clbl, \"|\", str(?c)) as ?sk)\n bind(if(exists {\n graph npa:graph {\n ?npf11 npx:hasNanopubType owl:Class ; npa:hasValidSignatureForPublicKeyHash ?pkf11 ; npx:introduces ?c ; np:hasAssertion ?af11 .\n filter not exists { ?npfi11 npx:invalidates ?npf11 ; npa:hasValidSignatureForPublicKeyHash ?pkf11 . }\n }\n graph ?af11 { ?c rdfs:subClassOf . }\n } || exists {\n graph npa:graph {\n ?npf12 npx:hasNanopubType owl:Class ; npa:hasValidSignatureForPublicKeyHash ?pkf12 ; npx:introduces ?m ; np:hasAssertion ?af12 .\n filter not exists { ?npfi12 npx:invalidates ?npf12 ; npa:hasValidSignatureForPublicKeyHash ?pkf12 . }\n }\n graph ?af12 { ?m rdfs:subClassOf . }\n }, 1, 0) as ?fer)\n } } }\n filter(?bR = ?b && ?skR <= ?sk)\n } group by ?b ?bx ?c ?clbl ?ind ?fer }\n\n # --- root labels from their own definition nanopubs\n { select ?b (coalesce(min(?blu), min(?bla), replace(str(?b), \"^.*[/#]\", \"\")) as ?blbl) where {\n values ?b { }\n \n graph npa:graph {\n ?np900 npx:hasNanopubType owl:Class ; npa:hasValidSignatureForPublicKeyHash ?pk900 ; npx:introduces ?b ; np:hasAssertion ?a900 .\n filter not exists { ?npi900 npx:invalidates ?np900 ; npa:hasValidSignatureForPublicKeyHash ?pk900 . }\n }\n graph ?a900 {\n ?b a owl:Class .\n optional { ?b rdfs:label ?blu . filter(lang(?blu) = \"\") }\n optional { ?b rdfs:label ?bla . }\n }\n } group by ?b }\n\n bind(20 + ?bx * 250 as ?colX)\n bind(?colX + 32 as ?spineX)\n bind(96 + (?iy - 1) * 38 as ?boxY)\n bind(?boxY + 15 as ?midY)\n bind(?colX + 46 + ?ind * 14 as ?boxX)\n bind(190 - ?ind * 14 as ?boxW)\n bind(if(?fer = 1, \"#d8d8d8\", \"#ffffff\") as ?boxFill)\n\n # column header (root box + subtype triangle), attached to the first item row\n bind(if(?iy = 1, concat(\n '',\n '', replace(replace(replace(?blbl, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\"), '',\n ''\n ), '') as ?headerFrag)\n\n bind(concat(\n ?headerFrag,\n '',\n '',\n '',\n '',\n '', replace(replace(replace(if(strlen(?clbl) > 36, concat(substr(?clbl, 1, 35), \"…\"), ?clbl), \"&\", \"&\"), \"<\", \"<\"), \">\", \">\"), '',\n '', replace(replace(replace(?clbl, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\"), ''\n ) as ?frag)\n\n}" } ] } ] }, { "@id": "https://w3id.org/np/RALszXB8wiSPDCXrGY9DYv07qlKRVfPh9XaNCuiSRaEnQ/provenance", "@graph": [ { "@id": "https://w3id.org/np/RALszXB8wiSPDCXrGY9DYv07qlKRVfPh9XaNCuiSRaEnQ/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RALszXB8wiSPDCXrGY9DYv07qlKRVfPh9XaNCuiSRaEnQ/Head", "@graph": [ { "@id": "https://w3id.org/np/RALszXB8wiSPDCXrGY9DYv07qlKRVfPh9XaNCuiSRaEnQ", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RALszXB8wiSPDCXrGY9DYv07qlKRVfPh9XaNCuiSRaEnQ/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RALszXB8wiSPDCXrGY9DYv07qlKRVfPh9XaNCuiSRaEnQ/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RALszXB8wiSPDCXrGY9DYv07qlKRVfPh9XaNCuiSRaEnQ/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]