@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-properties-of-ontology a ; dct:description "This query returns all properties that specify to be part of a given ontology."; dct:license ; rdfs:label "Get the properties of an ontology"; ; """prefix rdf: prefix owl: prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix skos: select ?property ?property_label ?domain ?range (?definition as ?description) ?np where { values ?_ontology_multi_iri {} graph npa:graph { ?np npx:hasNanopubType rdf:Property . ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np dct:created ?date . ?np npx:introduces ?property . ?np np:hasAssertion ?a . } graph ?a { ?property dct:partOf ?_ontology_multi_iri . optional { ?property skos:definition ?definition . } optional { ?property rdfs:label ?property_label . } optional { ?property rdfs:domain ?domain . } optional { ?property rdfs:range ?range . } } } order by ?property_label""" . } 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-12-04T10:42:20.004+01:00"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-properties-of-ontology; 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 "atdf4rRv/eG7fJF/Bdp0z86KG5ZyUuy7NDpb7FhbhiNXyM4v8O4omRVRFK0j6qFSs+Pmrw87kFZMBqsKROAVAfCH3a684X/60tWyK6Vd63iR5DT9EqfJWTzDHqQikGg7tagRw27Ecpjk8/V5uyNKZtvSZ+s8bufwCdirJvavGxc="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }