@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: np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo; a np:Nanopublication . } sub:assertion { sub:get-all-cs dct:description "This query returns all case studies"; dct:license ; a ; rdfs:label "Get case studies"; ; """PREFIX rdfs: PREFIX dct: PREFIX np: PREFIX npa: PREFIX npx: PREFIX fff: SELECT DISTINCT ?np ?date ?label ?userStory WHERE { ## Info about this repo npa:thisRepo ?repoPred ?repoObj . ## Search for valid nanopublications GRAPH npa:graph { ?np npa:hasValidSignatureForPublicKey ?pubkey . FILTER NOT EXISTS { ?invalid npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . } ?np dct:created ?date . ?np np:hasAssertion ?a . OPTIONAL { ?np rdfs:label ?label } } ## Look inside the assertion graph GRAPH ?a { ?userStory a fff:Case-Study . } } ORDER BY DESC(?date)""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0002-0319-6542 foaf:name "Dario Bijker" . orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" . orcid:0000-0003-2195-3997 foaf:name "Barbara Magagna" . this: dct:created "2025-12-29T00:03:02.464Z"^^xsd:dateTime; dct:creator orcid:0000-0002-0319-6542, orcid:0000-0002-1267-0234, orcid:0000-0003-2195-3997; dct:license ; npx:embeds sub:get-all-cs; npx:supersedes ; npx:wasCreatedAt ; prov:wasDerivedFrom , , , ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCM0tu3I/KK6A/qPha/6pfngQZ4LBQpLnKAcIUuZLnSEb0epJ2IoY3zh/4N42us/6LpCHgZZZtSOTm5/KVo+OTDIqo294PpEZAO70u5DcMcGMC5OufzxGKs3Dwdo6XqPiDHxXuiaKCTO7/ABWAi7CtFoMrqJAHfeyqe82dAiH2IiwIDAQAB"; npx:hasSignature "YPkWPlOH/vwMRjsGOqxvnbnRLIlKq0WpSjFCXVwc68VEq9rwlV9s+4/rRjKSZeCbQ8cN0kKVW5k9AW05XTbVo5M4HBu2UtuOHfcMjoN50gAQzeUc5yYg9YiuHizywP7V+mDbCGR5fzNu0x9ZWduOfbuc4pYTL0mWEY4bw3KVNII="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0003-2195-3997 . }