@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-latest-variables a ; dct:description "This query returns the latest variables declared according to the I-ADOPT framework."; dct:license ; rdfs:label "Get latest variables"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix iadopt: prefix skos: select ?variable (coalesce(?variable_prefLabel, min(?variable_label)) as ?variable_label) ?creator ?np ?date where { graph npa:graph { ?np npx:hasNanopubType iadopt:Variable . filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . } ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np dct:created ?date . ?np np:hasAssertion ?a . ?np npx:introduces ?variable . ?np npx:signedBy ?creator . } graph ?a { ?variable a iadopt:Variable . optional { ?variable rdfs:label ?variable_label . } optional { ?variable skos:prefLabel ?variable_prefLabel . } } } group by ?variable ?variable_prefLabel ?creator ?np ?date order by desc(?date)""" . } 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-01-27T08:02:39.099Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-latest-variables; npx:supersedes ; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB"; npx:hasSignature "STTh/oJcd6wtZr2zt0YHCCrZ00+GWMEQd3AdhZAToe8L5VabJAl3KwH7W+6G0gp3pfMnDSKz8VMtHhyTus0Ne4DHk/qWLxVAVEKMeWYMmlavKYM+4fXLTOrO4d+zdiBLgSpUjZJH3tXNtz15l18/Myk3Ws7aFsxdqUE3NQdcxHw="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }