sunnym... ; I think the following query does what you want:

SELECT *
WHERE
{  ?cls rdfs:subClassOf+ owl:Thing
   FILTER NOT EXISTS {?x rdfs:subClassOf ?cls}
   ?inst a ?cls
}

-- Scott

On Apr 25, 5:29 am, [email protected] wrote:
> I need support on SPARQL Query on how to list out all instant in leaf
> class without inference.

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to