@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-intro-relations a ; dct:description "This query returns the relations (predicate-object) of the assertion part of an introduction nanopublication for a given resource."; dct:license ; rdfs:label "Get intro relations"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: select ?pred ?obj where { bind(?_resourceNp_iri as ?np) graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np np:hasAssertion ?a . ?np npx:introduces ?_resource_iri . } graph ?a { ?_resource_iri ?pred ?obj . } }""" . } 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-28T13:45:34.639+01:00"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-intro-relations; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "FQTInDaZ/sLYuadqfswVdC3/lNtHZzC9+PY1dv3j5lXv58bIKCT/djucGpM3whbB8hstw6rh8/TkZgqP9qvI1ju7CwCPmRl3nFHFOWKMDT/yPljk/pOHMViL7C1OndY3SNlAO0gO1Rk/vvCUTMTLdgXf4wHTzQth3h6I3AwkKAQ="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }