@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-software dct:description "This query returns all software."; dct:license ; a ; rdfs:label "Get software"; ; """PREFIX rdfs: PREFIX np: PREFIX npa: PREFIX npx: PREFIX xsd: PREFIX dct: PREFIX prov: SELECT ?n1 ?label ?thing ?date where {   GRAPH npa:graph {     ?n1 npa:hasValidSignatureForPublicKey ?pubkey .     filter not exists {       ?np2 npx:invalidates ?n1 ;             npa:hasValidSignatureForPublicKey ?pubkey .     }     ?n1 dct:created ?date .    ?n1 np:hasAssertion ?a .  } graph ?a { ?thing a ; npx:embeds sub:get-software; 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 "ahu5zqJdaUUVLVvf2UKDDYQlBCxCkb5kyJH7mC7HcLr1qocrKkzt6TEni6qmINnJOUjOa4EzJbdIXklZLQOKj5KefaxO6ApMxNepqzC181kfq622y85mI11o9hb6ZRP0BHZ47u9kj3pOTw7V9TiyVYfZXyenHyb93mHz76bzUeo="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0003-2195-3997 . }