@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-term-definitions a ; dct:description "This query returns all the nanopubs that introduce, describe, or embed the given term."; dct:license ; rdfs:label "Get term definitions"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: select ?np ?label ?creator ?date where { graph npa:graph { ?np npa:hasValidSignatureForPublicKey ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . } ?np dct:created ?date . ?np npx:introduces|npx:describes|npx:embeds ?_term_iri . optional { ?np rdfs:label ?label . } optional { ?np npx:signedBy ?creator . } } } 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 "2025-10-16T08:00:02.580+02:00"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-term-definitions; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "b3w7+KvDffNAj0OzCtHEXdnAF7z2cOyLrAmabLtpSlS6tFjzXU0Rsyh4ma6Gc50vCMyJ2i+okSkHnhV95CYs9TIMCyyTHFf646NiU99dTQjmx6gyFefqZIBL1vQ0Whbb0v4Zbg+GaQrFJ5gC8//heN6b6rqRooOWj1Qcz4QRu6M="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }