I have written a SparqlMotion script that imports an ontology, say
"Main," using the "Import RDF From Workspace" module. (Now, "Main,"
itself, imports several sub-ontologies.) Following this module, I have
a Sparql query that attempts to retrieve all subclasses of
"owl:Thing"--from "Main" and from all ontologies that "Main" imports.
Why am I getting only a partial listing of subclasses?
The query I run after the import looks like this:
SELECT ?subject ?subClasses
WHERE {
?subject rdfs:subClassOf ?object .
LET (?object := smf:buildURI("{?arg2}")) .
LET (?subClasses := smf:countResults("SELECT * WHERE {?x
rdfs:subClassOf ?subject}")) .
}
My SparqlMotion script is intended to be a Web service behind a Flex
tree that shows classes and their parentage within a federated
ontology. Rather than build an entire ontology into the tree, I want
to lessen the load on the client by only fetching sublcasses when a
user clicks to expand a node.
--
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.