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 at http://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
