OK, but what kind of filter do you refer to? You can
currently choose any number of items with <shift-click> (chooses all between) or <cmd-click> (choose multiple single instances). After dropping you have
the option of including different
kinds of triples that depend on the
ones you have chosen.
In the end,
though, no user interface will replace the
amount of flexibility you get from SPARQL,
and if it is an action that is repeated often, then use
SPARQLMotion. An effective way to
create a custom move operation is to use
the Basket with the
tops:basket property
function (see Help > Reference
>
SPARQL
Property Functions
-- Scott
On 4/2/2013 1:10 PM, PaulZH wrote:
Hi Scot,
I'm afraid I have not explained the context well enough.
I want to move triples from one graph to another using the triples
view with a batch operation using the basket as explained in the
docs (see below).
For the case I'm working on being able to filter more than one
subject would be nice.
============================================================================================
Moving resources using the Triples View
The upper part of the Triples View shows a list of all
modules (sub-graphs)
of the current model. You can drag and drop triples from the
lower part, or for example from the Basket
View onto the models. With the Basket, the steps are
similar to the procedure described in Option 2 below, but drag
them over the target graph in the Triples View
instead of the target file in the Navigator. You should see
something like the screenshot below:
Alternatively, you can select one or more triples from
the lower part and then drag them into the target model. For
example, in an ontology about units, assume you have started
with one large model (containing all units such as meters and
katal) and later you find that you should simplify the model.
You could for example create a submodel for all chemistry
units, one for physics etc. You would create the domain
specific models (here: abbreviated with n2unitsChem for the
chemistry ontology) and then import the base ontology
(n1units) into it. As the next step, we can move all
chemistry related units into the new, empty chemistry
ontology.
In order to prepare this, we should first identify those
resources that shall be moved, and change their
namespace. The Batch
Operation "Change Namespace" can do this for all resources
in the basket. After this, the triples related to the chemistry
domain can easily identified in the Triples View, as shown
below. Select them and then drag them into the target file as
shown.
![]()
On Tuesday, April 2, 2013 12:09:41 PM UTC+2, Scott Henninger
wrote:
Paul, can your try the following?
SELECT *
WHERE
{ ?s ?p ?o
} ORDER BY ?s DESC(?p)
...which will get you an ascending sort of subjects with
a descending sort of predicates.
It's basically the same as the triples view, including
the fact that you get the first 1000 triples, which can be
modified in the preferences.
-- Scott
Context: triples view
Function: Filter by Subject.
I would like to select multiple values for filtering.
--
-- You received this message because you are subscribed to
the Google
Group "TopBraid Suite Users", the topics of which include
Enterprise Vocabulary Network (EVN), TopBraid Composer,
TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and
SPIN.
To post to this group, send email to
topbrai...@googlegroups.com
To unsubscribe from this group, send email to
topbraid-user...@googlegroups.com
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 Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to topbraid-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
-- You received this message because you are subscribed to the
Google
Group "TopBraid Suite Users", the topics of which include
Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid
Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages 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
Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages 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 Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
|