@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-paragraphs-of-ontology-version a ; dct:description "This query returns all paragraphs that are part of a given version of an ontology."; dct:license ; rdfs:label "Get the paragraphs of an ontology version"; ; """prefix rdf: prefix owl: prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix skos: prefix gen: prefix schema: select distinct ?title ?content ?date ?np (\"^\" as ?np_label) where { graph npa:graph { ?_ontologyVersionNp_iri npx:introduces ?ontologyVersion . ?_ontologyVersionNp_iri np:hasAssertion ?ontologyVersionNpA . } graph ?ontologyVersionNpA { ?ontologyVersion a owl:Ontology . ?ontologyVersion gen:hasContentIndex ?contentIndex . } graph npa:graph { ?contentIndex np:hasAssertion ?contentIndexA . } graph ?contentIndexA { ?contentIndex npx:includesElement ?itemNp . } graph npa:graph { ?itemNp dct:created ?date . ?itemNp npx:introduces ?paragraph . ?itemNp np:hasAssertion ?itemNpA . } graph ?itemNpA { ?paragraph schema:title ?title . ?paragraph a gen:Paragraph . ?paragraph gen:hasContent ?content . } } order by ?title""" . } 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-02-27T14:54:57.926Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-paragraphs-of-ontology-version; npx:supersedes ; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB"; npx:hasSignature "0h6/eilrmyhuLhzwumtrhPGdVmjdUUQgKRYiaQ7vKyWcXinqj1cDOAoPiGg91WHS8Lh1l52Hlr0GGXTpZDHjrlCEEdj+1uNiuR1qlpfrjBHd8Uco2mbbnJp72Sy4L8VHGE8hw8AIVZtjGgcWg8YLjxW+pfXpnsafapprYo4x/lg="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }