@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-paragraphs dct:description "This query returns the paragraphs of an entity (e.g. a space) with their title and content, including source nanopub and date."; dct:license ; a ; rdfs:label "Get paragraphs of an entity"; ; """prefix rdf: prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix schema: prefix gen: select ?title ?content ?date ?np where { graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np dct:created ?date . ?np dct:creator ?user . ?np np:hasAssertion ?a . } graph ?a { ?paragraph schema:title ?title . ?paragraph rdf:type gen:Paragraph . ?paragraph gen:hasContent ?content . values ?_resource_multi_iri {} ?paragraph schema:isPartOf ?_resource_multi_iri . optional { ?paragraph gen:hasPositionString ?position } } } order by ?position ?title""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0001-8492-0354 foaf:name "Ashley Caselli" . orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" . this: dct:created "2026-03-24T07:30:44.785+01:00"^^xsd:dateTime; dct:creator orcid:0000-0001-8492-0354, orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-paragraphs; npx:supersedes ; npx:wasCreatedAt ; prov:wasDerivedFrom ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "fuKSdITNtMQio88YC7K0lEYwii0Rf12FT+nu5BmGBhBx1/kMpfeR5one4rMC5ISfu1Bf/VeRJ62mDFfxNbHYwLDLvZ+63aI+JHeQJTkipygAZLzHRlBWtYhpw9swZU55QdaKdA5H8zWCvl6pofjqOb40xls9pXGDITmnkFrqOTY="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }