Hi All, I have build an Ensemble Application that is a Framework tool used to build different business domain vocabulary models based on an imported meta-model. The new models are then saved in different files with a defined base URI using SPARQL Motion scripts keeping the open data graph empty because I disabled the save button.
This application has also a SPARQL Motion script that imports models previously saved (using sml:ImportRDFFromWorkspace) and then inserts them in the http://tb-session (using sml:PerformUpdate with the sml:updatequery below) to be able to manipulate the data in Ensemble. MODIFY GRAPH <http://tb-session> DELETE { } INSERT { ?s ?p ?o . } WHERE { ?s ?p ?o . } After the files are imported, the user can add definitions and create the junctions between the imported models. Later I want to be able to save only the new triples and junctions in a broader domain vocabulary URI (File) without changing the imported models. Using SPARQL Motion How can I identify triples that have been imported inside <http://tb-session> from a particular file with a particular domain base URI and also how to search the new created triples to save in a different file (Base URI). I have tried all the methods below with lots of different query combinations and I have not being able to understand how to deal with different files and new triples in the <http://tb-session> sml:FilterByFilterGraph ?s ?p ?o ?baseURI WHERE { ?o a owl:Ontology . ?o ?p ?s . } SELECT ?subject ?predicate ?object WHERE { ?arg1 tops:definesStatements ( ?subject ?predicate ?object ) . } I also cannot see the imported files separated in the Triples View, Is there a way to insert the imported files as a separate URI in the Triples view? Thanks in advance, Guil -- 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
