[ { "@id": "https://w3id.org/np/RA-yJMJUg1JncTlOJu5p8xm4S5kejdfRPN6G8m4uxRLwY/provenance", "@graph": [ { "@id": "https://w3id.org/np/RA-yJMJUg1JncTlOJu5p8xm4S5kejdfRPN6G8m4uxRLwY/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RA-yJMJUg1JncTlOJu5p8xm4S5kejdfRPN6G8m4uxRLwY/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/RA-yJMJUg1JncTlOJu5p8xm4S5kejdfRPN6G8m4uxRLwY", "http://purl.org/dc/terms/created": [ { "@value": "2026-09-07T06:59: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/RA-yJMJUg1JncTlOJu5p8xm4S5kejdfRPN6G8m4uxRLwY/get-maturity-assessment-of-a-dataset" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get the maturity assessment of a dataset" } ], "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/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RA-yJMJUg1JncTlOJu5p8xm4S5kejdfRPN6G8m4uxRLwY/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": "WYb+HFGsQPShAyvKx4AHxW+6V1x6xOyEWrwUftPDF4G410f/68xQ+ZYhZpqDFJTaUjRgMDVTfun0bMo/THokeZ59XIHQjGGSEtxwyx9lZOnF3KnvI9UMTbInOgEcJwVkASvMXyFJCLE8rdGuTfuaxT99lkv70CUOkGdZJVbZEqU=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RA-yJMJUg1JncTlOJu5p8xm4S5kejdfRPN6G8m4uxRLwY" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RA-yJMJUg1JncTlOJu5p8xm4S5kejdfRPN6G8m4uxRLwY/assertion", "@graph": [ { "@id": "https://w3id.org/np/RA-yJMJUg1JncTlOJu5p8xm4S5kejdfRPN6G8m4uxRLwY/get-maturity-assessment-of-a-dataset", "http://purl.org/dc/terms/description": [ { "@value": "Returns the maturity assessments recorded for one dataset, one row per assessment, with the maturity model applied, the assessment date, the hosting environment assessed alongside the dataset, the highest maturity level found to be reached, the number of indicator verdicts and how many of them fall into each outcome, and who carried the assessment out. Only the newest non-invalidated version of each assessment and of each of its verdicts is counted." } ], "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 the maturity assessment of a dataset" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/full" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdf: \nprefix rdfs: \nprefix dct: \nprefix foaf: \nprefix np: \nprefix npa: \nprefix npx: \nprefix dsm: \nselect ?date ?model ?model_label ?achieved_level ?achieved_level_label ?hosted_by ?hosted_by_label\n ?verdicts ?satisfied ?partial ?not_satisfied ?not_applicable ?not_assessed\n ?assessor ?assessor_label ?np ?np_label\nwhere {\n {\n select ?assessment (max(?rank) as ?maxrank) where {\n values ?_dataset_multi_iri {}\n graph npa:graph {\n ?np_ npx:hasNanopubType dsm:MaturityAssessment ;\n npa:hasValidSignatureForPublicKeyHash ?pubkey ;\n dct:created ?d1 ; npx:introduces ?assessment ; np:hasAssertion ?a1 .\n filter not exists { ?inv npx:invalidates ?np_ ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\n }\n graph ?a1 { ?assessment dsm:assessedDataset ?_dataset_multi_iri . }\n bind(concat(str(?d1), \"|\", str(?np_)) as ?rank)\n } group by ?assessment\n }\n graph npa:graph {\n ?np npx:hasNanopubType dsm:MaturityAssessment ;\n dct:created ?d2 ; npx:introduces ?assessment ;\n np:hasAssertion ?ag ; np:hasPublicationInfo ?pg .\n }\n filter(concat(str(?d2), \"|\", str(?np)) = ?maxrank)\n graph ?ag { ?assessment dsm:assessmentDate ?date ; dct:conformsTo ?model . }\n optional { graph ?ag { ?assessment dsm:achievedMaturityLevel ?lvl } }\n optional { graph ?ag { ?assessment dsm:assessedHostingEnvironment ?env } }\n optional { graph ?ag { ?env0 rdfs:label ?envlab . filter(?env0 = ?env) } }\n optional { graph ?pg { ?np dct:creator ?agent } }\n optional { graph ?pg { ?agent0 foaf:name ?aname . filter(?agent0 = ?agent) } }\n bind(coalesce(?lvl, ) as ?achieved_level)\n bind(coalesce(?env, ) as ?hosted_by)\n bind(coalesce(?envlab, \"\") as ?hosted_by_label)\n bind(coalesce(?agent, ) as ?assessor)\n bind(coalesce(?aname, \"\") as ?assessor_label)\n optional {\n { select (?t as ?achieved_level) (min(?tl) as ?llab) where {\n graph npa:graph { ?lnp npx:introduces ?t ; np:hasAssertion ?la }\n graph ?la { ?t a dsm:MaturityLevel ; rdfs:label ?tl }\n } group by ?t }\n }\n optional {\n { select (?o as ?model) (min(?ol) as ?mlab) where {\n graph npa:graph { ?onp npx:introduces ?o ; np:hasAssertion ?oa }\n graph ?oa { ?o a ; rdfs:label ?ol }\n } group by ?o }\n }\n optional {\n { select ?assessment\n (count(distinct ?verdict) as ?verdicts)\n (sum(if(?val = dsm:Satisfied, 1, 0)) as ?satisfied)\n (sum(if(?val = dsm:PartiallySatisfied, 1, 0)) as ?partial)\n (sum(if(?val = dsm:NotSatisfied, 1, 0)) as ?not_satisfied)\n (sum(if(?val = dsm:NotApplicable, 1, 0)) as ?not_applicable)\n (sum(if(?val = dsm:NotAssessed, 1, 0)) as ?not_assessed)\n where {\n {\n select ?verdict (max(?vrank) as ?vmax) where {\n graph npa:graph {\n ?vn npx:hasNanopubType dsm:IndicatorVerdict ;\n npa:hasValidSignatureForPublicKeyHash ?vpk ;\n dct:created ?vd1 ; npx:introduces ?verdict .\n filter not exists { ?vi npx:invalidates ?vn ; npa:hasValidSignatureForPublicKeyHash ?vpk . }\n }\n bind(concat(str(?vd1), \"|\", str(?vn)) as ?vrank)\n } group by ?verdict\n }\n graph npa:graph {\n ?vnp npx:hasNanopubType dsm:IndicatorVerdict ;\n dct:created ?vd2 ; npx:introduces ?verdict ; np:hasAssertion ?va .\n }\n filter(concat(str(?vd2), \"|\", str(?vnp)) = ?vmax)\n graph ?va { ?assessment dsm:hasVerdict ?verdict . ?verdict dsm:verdictValue ?val }\n } group by ?assessment\n }\n }\n bind(coalesce(?llab, \"\") as ?achieved_level_label)\n bind(coalesce(?mlab, str(?model)) as ?model_label)\n bind(\"^\" as ?np_label)\n}\norder by desc(?date)\n" } ] } ] }, { "@id": "https://w3id.org/np/RA-yJMJUg1JncTlOJu5p8xm4S5kejdfRPN6G8m4uxRLwY/Head", "@graph": [ { "@id": "https://w3id.org/np/RA-yJMJUg1JncTlOJu5p8xm4S5kejdfRPN6G8m4uxRLwY", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RA-yJMJUg1JncTlOJu5p8xm4S5kejdfRPN6G8m4uxRLwY/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RA-yJMJUg1JncTlOJu5p8xm4S5kejdfRPN6G8m4uxRLwY/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RA-yJMJUg1JncTlOJu5p8xm4S5kejdfRPN6G8m4uxRLwY/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]