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


On 2021-04-29 10:31 pm, Irene Polikoff wrote:
The values bound to ?p are blank nodes which are in turn are subjects of triples that form a complex structure - as you see in your RDF snippet.

Sent from my iPhone

On Apr 29, 2021, at 6:49 AM, Rashmi Burse <[email protected]> wrote:


Hi,

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 correctresult 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?

PFA attached screenshots.

Best,
Rashmi
--
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 [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CAGaQz-jQOxfvDtry_ZpYLG5eyorh1xrBfYGFy_7xZhgbR1BKYg%40mail.gmail.com <https://groups.google.com/d/msgid/topbraid-users/CAGaQz-jQOxfvDtry_ZpYLG5eyorh1xrBfYGFy_7xZhgbR1BKYg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
<stackoverflow-generatedsubgraphfile.png>
<stackoverflow-topbraidUI.png>
<Expected vs Current output sample.docx>
--
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 [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/5FFC2EE8-B0D8-4104-85B6-CD867AAF2752%40topquadrant.com <https://groups.google.com/d/msgid/topbraid-users/5FFC2EE8-B0D8-4104-85B6-CD867AAF2752%40topquadrant.com?utm_medium=email&utm_source=footer>.

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/6e566425-0bab-d3ce-f442-98bd94f47a03%40topquadrant.com.

Reply via email to