Name |
Description |
Inputs |
Outputs |
Beanshell_generate_SQL_table_inner_product |
|
timestamp
|
out1
|
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. Deze waardes worden gemultipliceerd en opgeteld. |
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_query_generator_Concept_Doc_occurence |
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_put_correct_doc_uri_in_con_occ_doc |
A Beanshell script that replaces the temp created Taverna file with the correct Document URI. |
concept_occurence_document
doc_uri
|
out1
|
Beanshell_SQL_generate_table_UC |
A Beanshell script that generates a table for the uncertainty coefficient values. |
time_stamp
|
output
|
Beanshell_SQL_create_table_co_occurence |
|
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 the script of Herman van Haagen. |
corrected_contingency_values
|
UC_value
|
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 and neither concepts occur in literature. The output of only concept A and only concept B needs to be corrected. This is done in the Beanshell script called: "Beanshell_correct_contincengy_table". Because the output of those two values were with the co-occurence. This needed to be subtracted. |
concept_pairs
table_name
|
out1
|
Beanshell_SQL_insert_into_co_occurence_table |
A Beanshell script that generates SQL statement to insert into the co-occurence table the amount two given concepts co-occur together in literature. |
contingency_values
timestamp
concept_pairs
|
out1
|
Beanshell_correct_contincengy_table |
A Beanshell script that corrects the output SQL retrieved contincengy table by subtracting the co-occurence values of the concept only a and of concept only b value. |
contingency_values
|
corrected_contingency_values
|
Beanshell_generate_SQL_statement_Get_destinct_concept |
A Beanshell script that retrieves every concept from the Sql table TableName_occurence. |
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_generate_SQL_occurence_concept_doc_table |
A Beanshell script which generates a sql statement to CREATE a TABLE.
TABLE name is the input of the timestamp.
The table consists out of 4 columns: concept_occ_doc_id, concept_uri, occurence_uri and doc_uri.
Where as concept_occ_doc_id is the PRIMARY KEY and AUTOINCREMENTED.
Every other column has a VARCHAR(200)
|
timeStamp
|
Table_sql
|
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_CREATE_last_big_table |
|
timestamp
|
out1
|
Beanshell_SQL_Generate_INSERT_INTO_big_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
|
Comments (0)
No comments yet
Log in to make a comment