Are you using the SPARQL endpoint? Then activate the Include Imports checkbox.

>From the SPARQL query panel, it would be something like

SELECT ?instance
WHERE {
    ?instance rdf:type/rdfs:subClassOf* ex:SomeClass .
}

which would also get the instances of the subclasses of the given class.

Holger



> On 4 Jan 2024, at 3:52 pm, Kasia Kryczka <[email protected]> wrote:
> 
> Hi,
> 
> This might be a simple question but I got stuck. 
> 
> I want to get all object from an ontology which are of a owl:Class but which 
> are also defined in all the includes of that particular ontology. 
> 
> Any help would be great.
> 
> Thanks,
> 
> Kasia
> 
> 
> 
> -- 
> The topics of this mailing list include TopBraid EDG and related technologies 
> such as SHACL.
> To post to this group, send email to [email protected]
> --- 
> 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/9315cc2f-a166-47b0-ab9d-7b320f2f527dn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/9315cc2f-a166-47b0-ab9d-7b320f2f527dn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
To post to this group, send email to [email protected]
--- 
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/AA9F81D7-C46E-4FBE-A62D-5616504EA0B4%40topquadrant.com.

Reply via email to