https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/Head https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E http://www.nanopub.org/nschema#hasAssertion https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/assertion https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E http://www.nanopub.org/nschema#hasProvenance https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/provenance https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E http://www.nanopub.org/nschema#hasPublicationInfo https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/pubinfo https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.nanopub.org/nschema#Nanopublication https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/assertion https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/get-properties-of-ontology-ns http://purl.org/dc/terms/description 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. https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/get-properties-of-ontology-ns http://purl.org/dc/terms/license http://www.apache.org/licenses/LICENSE-2.0 https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/get-properties-of-ontology-ns http://www.w3.org/1999/02/22-rdf-syntax-ns#type https://w3id.org/kpxl/grlc/grlc-query https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/get-properties-of-ontology-ns http://www.w3.org/2000/01/rdf-schema#label Get the properties of OWL ontology including namespace https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/get-properties-of-ontology-ns https://w3id.org/kpxl/grlc/endpoint https://w3id.org/np/l/nanopub-query-1.1/repo/type/0ecf438131f3cf9e7777966e39e6c8302684a3d64cf48d80902cc0f66fc85fe6 https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/get-properties-of-ontology-ns https://w3id.org/kpxl/grlc/sparql prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix owl: <http://www.w3.org/2002/07/owl#> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix dct: <http://purl.org/dc/terms/> prefix np: <http://www.nanopub.org/nschema#> prefix npa: <http://purl.org/nanopub/admin/> prefix npx: <http://purl.org/nanopub/x/> prefix skos: <http://www.w3.org/2004/02/skos/core#> select ?property (coalesce(min(?property_label_u), min(?property_label_a)) as ?property_label) (coalesce(min(?definition_u), min(?definition_a)) as ?description) ?np ("^" as ?np_label) where { values ?_ontology_multi_iri {} { select ?property (iri(strafter(max(concat(str(?date0), "|", str(?np0))), "|")) as ?np) where { values ?_ontology_multi_iri {} graph npa:graph { ?np0 npx:hasNanopubType rdf:Property . ?np0 npa:hasValidSignatureForPublicKeyHash ?pubkey0 . filter not exists { ?npx0 npx:invalidates ?np0 ; npa:hasValidSignatureForPublicKeyHash ?pubkey0 . } ?np0 dct:created ?date0 . ?np0 npx:introduces ?property . ?np0 np:hasAssertion ?a0 . } graph ?a0 { { ?property a rdf:Property . filter(strstarts(str(?property), ?__ontologyNamespace)) } union { ?property a rdf:Property . ?property (dct:partOf|dct:isPartOf) ?_ontology_multi_iri . } } } group by ?property } graph npa:graph { ?np np:hasAssertion ?a . } graph ?a { ?property a rdf:Property . optional { ?property rdfs:label ?property_label_u . filter(lang(?property_label_u) = "") } optional { ?property rdfs:label ?property_label_a . } optional { ?property skos:definition ?definition_u . filter(lang(?definition_u) = "") } optional { ?property skos:definition ?definition_a . } } } group by ?property ?np order by lcase(str(coalesce(?property_label, ""))) https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/provenance https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/assertion http://www.w3.org/ns/prov#wasAttributedTo https://orcid.org/0000-0002-1267-0234 https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/pubinfo https://orcid.org/0000-0002-1267-0234 http://xmlns.com/foaf/0.1/name Tobias Kuhn https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E http://purl.org/dc/terms/created 2026-11-11T09:44:21Z https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E http://purl.org/dc/terms/creator https://orcid.org/0000-0002-1267-0234 https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E http://purl.org/dc/terms/license https://creativecommons.org/licenses/by/4.0/ https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E http://purl.org/nanopub/x/embeds https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/get-properties-of-ontology-ns https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E http://purl.org/nanopub/x/supersedes https://w3id.org/np/RAo59QCb0U2xhqkbLo4joZxUnRpX3GEYeuxC1-Qj7YSI8 https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E http://www.w3.org/2004/02/skos/core#changeNote 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). https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8 https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RAKc76yHLDbloE6ObluzYQsfX37v6qrZXbYeIKpe8-YUo https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/sig http://purl.org/nanopub/x/hasAlgorithm RSA https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/sig http://purl.org/nanopub/x/hasPublicKey MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/sig http://purl.org/nanopub/x/hasSignature heJ0edviNIwHZHZtyVvCnclt7xwZO92AbCWadp50fG4x4rxdz3VhiA/sKo6fk9DX68jQAD4SNg1q+mPQYa6TJf/+olVyf6mGCPtUYrKei93kkqc8tE0+L1Nn46gar/4sbBTQk56oOzGbaVSU4wd8AFdcJxjBPpv3v2Gx25nMp98= https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/sig http://purl.org/nanopub/x/hasSignatureTarget https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E https://w3id.org/np/RAai99pHUtqnXj3_UCx7ch3mla6aMfq8kEhP9Btw16t6E/sig http://purl.org/nanopub/x/signedBy https://orcid.org/0000-0002-1267-0234