On 7/23/11 12:07 PM, brucewhealton wrote:
So, moving the instances to the new ontology is not possible with the free version? And the read-only issue is moot, right? If I just create those instances directly in the new ontology, they will work fine, right? Whether you move the instances or recreate them and then remove them from the other, it doesn't really matter, does it? Bruce Hello Bruce; TBC-Free includes a fully functional SPARQL engine. You can use this to move instances from one graph to another more flexibly than anything a UI can offer. For example, let's say you want to move only those instances whose create date was before some date. Then you can apply the following in the SPARQL view with the source model open. DELETE { ?person a foaf:Person . ?person ?p ?o } INSERT { GRAPH <target-graph-uri-here> { ?person a foaf:Person . ?person ?p ?o } } WHERE { ?person a foaf:Person . ?person :createDate ?date . FILTER (?date > "2011-07-10"^^xsd:date) ?person ?p ?o } Note the target graph is the base URI of the file you want to mode it to. Composer's workspace acts as a named graph repository with graphs named by the base URI. With that structure you can move data to/from any graph in the workspace using SPARQL. Of course, this is just a small example. You can specify arbitrarily complex relationships in the query body to specify exactly what you want to move. -- Scott -- |
- [topbraid-users] TBC Getting Started Guide - Problem: Acti... brucewhealton
- RE: [topbraid-users] TBC Getting Started Guide - Prob... Bob Ducharme
- RE: [topbraid-users] TBC Getting Started Guide - ... Irene Polikoff
- [topbraid-users] Re: TBC Getting Started Guid... brucewhealton
- RE: [topbraid-users] Re: TBC Getting Star... Irene Polikoff
- Re: [topbraid-users] Re: TBC Getting Star... Scott Henninger
