Ninus; You can build on the first query for all individuals of all
properties:

SELECT count(?prop)
WHERE {
    ?cls rdfs:subClassOf+ owl:Thing .
    ?inst a ?cls .
    ?inst ?prop ?value
}

If you don't want the type triples, you can add a filter:
  FILTER (?prop != rdf:type)

> Lastly is there any good tutorial for sparql that you can suggest that cover 
> a nice subset?

Yes, this would be a FAQ.  I'm not aware of any SPARQL tutorials
online.  Maybe we should do something about that...  Others know of
good sources?

-- Scott

On Oct 30, 5:13 pm, Nick Khamis <[email protected]> wrote:
> Hey Scott,
>
> Thank you so much the first query worked like a dream. As for the second
> query is there any way we can get that for all individuals for all
> properties?

>
> Regards,
> Ninus.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
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-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to