Name |
Description |
Inputs |
Outputs |
Beanshell_SQL_Generate_INSERT_INTO_summary_table |
A Beanshell script that generates SQL statements to insert two concepts and their given co-occurence, uncertainty coefficientcy and inner product values into the table. |
timestamp
in1
|
out1
|
Beanshell_SQL_statement_get_last_table_data_input |
A Beanshell that generates SQL statements to retrieve the inner product of two concept profiles, the co-occurence of the concepts and the uncertainty coefficient. |
timestamp
|
out1
|
Beanshell_generate_SQL_table_inner_product |
A Beanshell script which generates a sql statement to CREATE a TABLE for the inner product values.
TABLE name is a combination of the input timestamp and _inner_product.
The table consists out of 4 columns: concept_record_id, concept_uri_1, concept_uri_2 and Inner_product.
Where as concept_record_id is the PRIMARY KEY and AUTOINCREMENTED. |
timestamp
|
out1
|
Beanshell_SQL_create_table_co_occurrence |
A Beanshell script which generates a sql statement to CREATE a TABLE for the co-occurrences.
TABLE name is a combination of the input timestamp and _co_occurrence.
The table consists out of 4 columns: concept_record_id, concept_uri_1, concept_uri_2 and Co-occurrence.
Where as concept_record_id is the PRIMARY KEY and AUTOINCREMENTED. |
timestamp
|
out1
|
Beanshell_SQL_INSERT_UC_values_INTO_table |
A Beanshell script that generates a SQL statement to insert the calculated values of uncertainty coefficient per
concept pair into the table. |
timestamp
concept_pairs
UC_value
|
output_SQL
|
Beanshell_calculate_Uncertainty_Coefficient |
A Beanshell script that calculates the Uncertainty coefficient based on a script of Herman van Haagen. |
corrected_contingency_values
|
UC_value
|
Beanshell_get_timestamp |
A Beanshell script which retreives the time the program started.
As in year, month, day, hour, minutes and seconds in military time. |
|
timeStamp
|
Beanshell_SQL_generate_Get_Inner_Product |
A Beanshell script that generates a SQL statement to calculate the inner product between two concept profiles.
These concept profiles only have concepts that both have in common. The concepts that are in common in the concept profiles are multiplied with each others UC value and added. This summed up value of two concept profiles is the inner product.
For example:
Concept profile A, has the concept A, B, C and D. Concept profile B has the concepts B, C, E. This means the common concepts for both concept profiles are B, C. These values are multiplied and added. This final value is the inner product between two concept profiles. |
concept_pairs
timestamp
|
out1
|
Beanshell_SQL_generate_INSERT_INTO_Inner_Product_table |
A Beanshell script that generates a SQL statement to insert the inner product values calculated of two concept profiles into the inner product table. |
concept_pairs
timestamp
inner_product_value
|
out1
|
Beanshell_SQL_generate_contingency_table |
A Beanshell script that generates a SQL statement to retrieve the amount two concepts co-occur, concept A only occurs
and not concept B, concept B occurs and not concept A.
When a concept pair is the same. As in concept pair A A or B B etc. It will use the first SQL statement. Else it will use the second SQL statement.
The output of only concept A and only concept B needs to be corrected and the value to get when neither concepts occur in literature is done in the Beanshell script called: "Beanshell_correct_contincengy_table".
|
concept_pairs
table_name
|
out1
|
Beanshell_SQL_insert_into_co_occurrence_table |
A Beanshell script that generates SQL statement to insert into the co-occurrence table the amount two given concepts co-occur together in literature. |
contingency_values
timestamp
concept_pairs
|
out1
|
Beanshell_correct_contingency_table |
A Beanshell script that corrects the output SQL retrieved contingency table by subtracting the co-occurence values of the concept only A and of concept only B value. It also uses the value of the total amount of abstracts there are in the dataset for calculating the value of when neither concepts occure. |
contingency_values
total_nr_abtracts
|
corrected_contingency_values
|
Beanshell_generate_SQL_statement_Get_distinct_concept |
A Beanshell script that retrieves every concept from the Sql table TableName_occurrence. |
table_name
|
out1
|
Beanshell_make_concept_pairs |
A Beanshell script that gets as input a list of concepts to create concept pairs. |
concept_B
concept_A
|
concept_pair
|
Beanshell_SQL_count_abstracts |
|
|
out1
|
Beanshell_generate_SQL_occurrence_concept_doc_table |
A Beanshell script which generates a sql statement to CREATE a TABLE for the occurrences.
TABLE name is a combination of the input timestamp and _occurrence.
The table consists out of 4 columns: concept_record_id, concept_uri and document_uri.
Where as concept_record_id is the PRIMARY KEY and AUTOINCREMENTED. |
timeStamp
|
Table_sql
|
Beanshell_SQL_generate_table_UC |
A Beanshell script which generates a sql statement to CREATE a TABLE for the uncertainty coefficient values.
TABLE name is a combination of the input timestamp and _uncertainty_coefficient.
The table consists out of 4 columns: concept_record_id, concept_uri_1, concept_uri_2 and Uncertainty_coefficient.
Where as concept_record_id is the PRIMARY KEY and AUTOINCREMENTED. |
time_stamp
|
output
|
Beanshell_SQL_CREATE_Summary_table |
A Beanshell script which generates a sql statement to CREATE a TABLE for the summary table.
TABLE name is a combination of the input timestamp and _summary.
The table consists out of 4 columns: concept_record_id, concept_uri_1, concept_uri_2, Inner_product, Uncertainty_coefficient, Co-occurrence.
Where as concept_record_id is the PRIMARY KEY and AUTOINCREMENTED. |
timestamp
|
out1
|
Beanshell_SQL_query_generator_Concept_Doc_occurrence |
A Beanshell script that generates a Sql statement to INSERT
the concept URI and document URI in the table named after the timestamp/tablename the workflow started.
It uses a database called mydb. If there is not a database/schema named mydb, please create one. |
table_name
concept_occurence_document
|
out1
|
Beanshell_extract_uri_doc_and_abstract |
A Beanshell script which loops through the input to seperate the Document URIs and Abstract URIs. |
Input
|
doc_uri
abstracts
|
Beanshell_remove_dot_and_correct_doc_uri_in_con_doc |
A Beanshell script that replaces the temp created Taverna file with the correct Document URI. |
concept_occurence_document
doc_uri
|
out1
|
Comments (0)
No comments yet
Log in to make a comment