@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-users-with-type a ; dct:description "Returns the latest 100 users who have introduced themselves, newest first, with their display name and a type column: software agent (declared npx:SoftwareAgent), human (an ORCID), or unknown (anything else)."; dct:license ; rdfs:label "Get latest users with name and type"; ; """prefix np: prefix npx: prefix npa: prefix dct: prefix foaf: select ?user_iri (sample(?name) as ?user_iri_label) (if(?isBot, \"🤖 software agent\", if(strstarts(str(?user_iri), \"https://orcid.org/\") || strstarts(str(?user_iri), \"http://orcid.org/\"), \"👤 human\", \"❔ unknown\")) as ?type) where { { select ?user_iri (min(?date) as ?mindate) where { graph npa:graph { ?intronp npa:hasValidSignatureForPublicKey ?introPubkey . filter not exists { ?intronpx npx:retracts ?intronp ; npa:hasValidSignatureForPublicKey ?pubkey . } filter not exists { ?intronp npx:supersedes ?intronpx . } ?intronp dct:created ?date . ?intronp np:hasAssertion ?a . } graph ?a { ?keydeclaration npx:declaredBy ?user_iri . ?keydeclaration npx:hasPublicKey ?pubkey . } } group by ?user_iri order by desc(?mindate) limit 100 } bind(exists { graph ?a2 { ?user_iri a npx:SoftwareAgent } } as ?isBot) optional { graph ?a3 { ?kd3 npx:declaredBy ?user_iri . ?user_iri foaf:name ?name } } } group by ?user_iri ?mindate ?isBot order by desc(?mindate)""" . } 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-09-25T08:22:41Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-latest-users-with-type; npx:supersedes ; rdfs:label "Get latest users with name and type"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "LutFG2ewopUiDZD/LU5O8rReb43vt7VSCoDk/aFf4ybQ1GVmVlxhSz2iWXysF9N+NHrwCwFf73A3OFVeuh7vwO0rxwf9D2BJInQ2Ymvg63Uvq5LBnUB9Ee59v0yPwMQOmurcs9xxUx1p8VuyNkP8Je67UchY2Ka8AUIunZOSciE="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }