Does Top Braid go out to the web and get the files to run these queries? I mean if you are running a query using the FROM clauses that specify URI addresses, does it try to go get them when you select execute query?
Quite often during development, I know where I am going to put my files, the final URI, and URL, but I also have local versions of the files. For example, it is often the case that people will have foaf:Person resources for other people inside their own FOAF file. I'm not sure if there is any benefit to that. I was doing some modeling for a Genealogy project and was thinking, "well, I could specify the information about person2 inside person1's file and use an owl:sameAs to say there is more information in this other file about person2" or I could just say person1 bio:mother <http://uri/for/ mother>. Some say redundancy is ok but the decision gets down to how much should one include in any one file, especially if every possible query that one might want to do later is not known. Any thoughts? I guess it is somewhat of a subjective issue. Thanks, Bruce P.S. I'll have to get that book on SPARQL that you wrote, Bob. I assume that you are the same person that wrote that book. On Aug 18, 6:40 pm, "Bob Ducharme" <[email protected]> wrote: > There are two ways to query multiple RDF files at once: first, as you > describe, import them into a single graph and query that. Another way would > be specify the base URI of each graph in a FROM clause, like this: > > SELECT DISTINCT ?class > FROM <http://topbraid.org/examples/kennedys> > FROM <http://topbraid.org/countries> > FROM <http://www.w3.org/TR/2003/PR-owl-guide-20031209/food> > WHERE { > ?s a ?class . > } > > There is no simple way, though, to query all the RDF files that happen to be > in the same project. > > Bob > > > > > > > > -----Original Message----- > From: [email protected] > > [mailto:[email protected]] On Behalf Of brucewhealton > Sent: Thursday, August 18, 2011 5:46 PM > To: TopBraid Suite Users > Subject: [topbraid-users] SPARQL Queries across different files in a > project? > > Hello, > I was wondering if TBC supported making queries across > different RDF files that are in the same project? Or does one have to > import all the files into one ontology, one file? > Thanks, > Bruce > > -- > You received this message because you are subscribed to the Google > Group "TopBraid Suite Users", the topics of which include 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 > athttp://groups.google.com/group/topbraid-users?hl=en -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include 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
