. . . . "This query returns all properties that specify to be part of a given ontology or use its namespace. Of several versions of the same property, only the newest valid declaration is shown." . . . "Get the properties of OWL ontology including namespace" . . "prefix rdf: \nprefix owl: \nprefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix skos: \n\nselect ?property\n (coalesce(min(?property_label_u), min(?property_label_a)) as ?property_label)\n (coalesce(min(?definition_u), min(?definition_a)) as ?description)\n ?np (\"^\" as ?np_label) where {\n values ?_ontology_multi_iri {}\n {\n select ?property (iri(strafter(max(concat(str(?date0), \"|\", str(?np0))), \"|\")) as ?np) where {\n values ?_ontology_multi_iri {}\n graph npa:graph {\n ?np0 npx:hasNanopubType rdf:Property .\n ?np0 npa:hasValidSignatureForPublicKeyHash ?pubkey0 .\n filter not exists { ?npx0 npx:invalidates ?np0 ; npa:hasValidSignatureForPublicKeyHash ?pubkey0 . }\n ?np0 dct:created ?date0 .\n ?np0 npx:introduces ?property .\n ?np0 np:hasAssertion ?a0 .\n }\n graph ?a0 {\n {\n ?property a rdf:Property .\n filter(strstarts(str(?property), ?__ontologyNamespace))\n } union {\n ?property a rdf:Property .\n ?property (dct:partOf|dct:isPartOf) ?_ontology_multi_iri .\n }\n }\n } group by ?property\n }\n graph npa:graph { ?np np:hasAssertion ?a . }\n graph ?a {\n ?property a rdf:Property .\n optional { ?property rdfs:label ?property_label_u . filter(lang(?property_label_u) = \"\") }\n optional { ?property rdfs:label ?property_label_a . }\n optional { ?property skos:definition ?definition_u . filter(lang(?definition_u) = \"\") }\n optional { ?property skos:definition ?definition_a . }\n }\n}\ngroup by ?property ?np\norder by lcase(str(coalesce(?property_label, \"\")))" . . "Tobias Kuhn" . "2026-11-11T09:44:21Z"^^ . . . . . "Pick the newest declaration by argmax instead of a filter on the rank, and keep a required pattern (?property a rdf:Property) in the assertion-graph block: with only optional patterns there, RDF4J sometimes plans the query so that rows are lost (seen on the sibling classes query)." . . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "heJ0edviNIwHZHZtyVvCnclt7xwZO92AbCWadp50fG4x4rxdz3VhiA/sKo6fk9DX68jQAD4SNg1q+mPQYa6TJf/+olVyf6mGCPtUYrKei93kkqc8tE0+L1Nn46gar/4sbBTQk56oOzGbaVSU4wd8AFdcJxjBPpv3v2Gx25nMp98=" . . .