I want to create a subgraph consisting of only the "Disorder sub-hierarchy" of SNOMED. I am trying to create this subgraph from the complete SNOMED-OWL graph using a SPARQL CONSTRUCT query. I have used the SPARQL query tab provided in the free edition of TopBraid ontology editor Version 6.0.1 (tbcfe-6.0.1). The query displays the correct result in the ontology editor window. However, when I export the results to a TTL file, the properties consisting of owl:equivalentCLass/ owl:intersectionOf / owl:Restriction show an empty [] in the created subgraph. Can someone please help me with this issue?
On Apr 29, 2021, at 6:49 AM, Rashmi Burse <rashmi...@ucdconnect.ie> wrote:
--
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-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CAGaQz-jQOxfvDtry_ZpYLG5eyorh1xrBfYGFy_7xZhgbR1BKYg%40mail.gmail.com.
<stackoverflow-generatedsubgraphfile.png><stackoverflow-topbraidUI.png><Expected vs Current output sample.docx>
Yes, and the challenge is that to properly extract/copy this part of the ontology, you would need a recursive language that allows you to drill into (nested) nodes and copy their properties, then the properties of those etc. SPARQL alone cannot express recursion, so you'd need some scripting language around it. The non-free TopBraid products have various solutions for that, including SWP and ADS (JavaScript).
Holger
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/5FFC2EE8-B0D8-4104-85B6-CD867AAF2752%40topquadrant.com.