FYI it’s not hard to extend the OWL2SHACL capability to handle more complex cases.
See https://www.topquadrant.com/doc/7.2/user_guide/guidance_specific_to_asset_collection_type/working_with_ontologies/shacl_enablement.html <https://www.topquadrant.com/doc/7.2/user_guide/guidance_specific_to_asset_collection_type/working_with_ontologies/shacl_enablement.html> Cheers, David > On 30 Mar 2022, at 14:11, Jan Voskuil <jan.vosk...@taxonic.com> wrote: > > Hi, > We intend to convert an RDFS/OWL ontology to a shape file and, from then on, > work with SHACL. > So, we are very happy with the conversion functionality. > It appears that unions of datatype ranges are not converted. Thus, > > x:someProperty > rdf:type owl:DatatypeProperty ; > rdfs:domain x:Domain ; > rdfs:range [ > rdf:type owl:Class ; > owl:unionOf ( > xsd:date > xsd:gYearMonth > xsd:gYear > ) ; > ] ; > . > > Results in: > > x:Domain-someProperty > rdf:type sh:PropertyShape ; > sh:path x:someProperty ; > . > > With no range indicated. Unions that are the value of rdfs:domain are > converted correctly. Best regards, -Jan > > > Jan Voskuil | CEO Taxonic | Ontologist > Veldzigt 2, 3454 PW, De Meern, The Netherlands > T +31 (0)88 829 66 00 | M:+31 (0)6 14488335 > jan.vosk...@taxonic.com <mailto:jan.vosk...@taxonic.com> | www.taxonic.com > <http://www.taxonic.com/> > Registered office in Den Haag, The Netherlands > Registration Number Chamber of Commerce: 54529190 > > > > -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to topbraid-users+unsubscr...@googlegroups.com > <mailto:topbraid-users+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/AM0PR03MB37455EFCF930C93E291E3E6EE91F9%40AM0PR03MB3745.eurprd03.prod.outlook.com > > <https://groups.google.com/d/msgid/topbraid-users/AM0PR03MB37455EFCF930C93E291E3E6EE91F9%40AM0PR03MB3745.eurprd03.prod.outlook.com?utm_medium=email&utm_source=footer>. UK +44 (0) 7788 561308 US +1 (336) 283-0808 -- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/6A4932F1-81D3-444C-BBB9-988A91B66BE1%40topquadrant.com.