test_workflow
Created: 2014-03-10 14:08:53
Last updated: 2014-03-10 15:02:24
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (0)
Titles (0)
Descriptions (1)
Uses as input a skos formated concept store
To produce a list of concept per document. |
Dependencies (0)
Inputs (2)
Name |
Description |
Abstract_input |
Input list of abstracts
For the example make a list and add each abtract into it individual
|
Ontology_input |
Skos format concept store dictionary
|
Processors (4)
Name |
Type |
Description |
Indexer_tool |
externaltool |
Uses a jar peregrine program to index which concept occurs in which document.
Change the commands to :
java -Dperegrine.config.location=your/path/to/peregrine/production.properties -jar path/to/peregrine-skos-cli.jar ontology abstract_content out1
|
Split_string_into_string_list_by_regular_expression |
localworker |
A local service which splits string into string lists by the use of regular expression (in this case the newline). ScriptList split = new ArrayList();
if (!string.equals("")) {
String regexString = ",";
if (regex != void) {
regexString = regex;
}
String[] result = string.split(regexString);
for (int i = 0; i < result.length; i++) {
split.add(result[i]);
}
}
|
regex_value |
stringconstant |
Uses the newline as a seperator. Value[\n] |
Beanshell_sorter |
beanshell |
a beanshell script which sorts with the use of concepts Scriptimport java.utils.*;
List items = new ArrayList(in1);
Collections.sort(items);
//input is een list van values
//output is sorted list |
Beanshells (1)
Name |
Description |
Inputs |
Outputs |
Beanshell_sorter |
a beanshell script which sorts with the use of concepts |
in1
|
items
|
Outputs (2)
Name |
Description |
List_of_concept_per_document |
Gives an output of list of concept per document sorted in order of documents
|
List_sorted_concept_per_document |
A list with values of concept per documents sorted on concepts.
|
Datalinks (7)
Source |
Sink |
Abstract_input |
Indexer_tool:abstract_content |
Ontology_input |
Indexer_tool:ontology |
Indexer_tool:out1 |
Split_string_into_string_list_by_regular_expression:string |
regex_value:value |
Split_string_into_string_list_by_regular_expression:regex |
Split_string_into_string_list_by_regular_expression:split |
Beanshell_sorter:in1 |
Split_string_into_string_list_by_regular_expression:split |
List_of_concept_per_document |
Beanshell_sorter:items |
List_sorted_concept_per_document |
Uploader
License
All versions of this Workflow are
licensed under:
Version 2 (latest)
(of 2)
Credits (0)
(People/Groups)
None
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (0)
None
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment