History log of /ontohub/app/models/ontology/sentences.rb
Revision Date Author Comments Expand
5a102b3c56d4ac75632c7e9244ee0ce5bdbbf13a 01-Jul-2016 Sascha Graef <sgraef@informatik.uni-bremen.de>

Improve locId (#1618) * introduce new model to ontohub * introduce new locid behavior * adding try to prevent undefined method for nil * generate the locids by object creation * introduce method to simulate an attribute * generate Locids correctly for ontologies * correct creation of child_ontology locids * remove old uniqueness validation for ontology locid * use better names vor locidportion * correct behaviour for locid creation * generate loc_id correctly for ontology * use correct class for inherritanc * remove locids on deletion of objects * rename the base model * introduce data-migration to move the locids * remove double naming in the cat ontology * obey hound * correct behaviour of external repository for locid * change factory behaviour for locid * fix missing comma * begin to fix test * change ontology factory to new locid * change factories for new LocId Model * remove unneeded test * Use proper class retrieval in factories. * Always use to_s on the class call in LocIdBaseModel. * Always use .class.to_s instead of .class when used for the database. * Fix external repository. * Be clean and unstub again. * Fix sentence factory. * Quick fix the destruction of locids. * Fix code style. * Generate locids during create process: Base class. * Generate locids during create process: Mapping. * Generate locids during create process: Sentence. * Generate locids during create process: Symbol. * Generate locids during create process: ProofAttempt. * Generate locids during create process: ProverOutput. * Generate locids during create process: Ontology #1. * Generate locids during create process: Ontology #2. * Generate locids during create process: Ontology #3. * Generate locids during create process: Factories. * Fix seeds errors. * Fix ontology spec on error while parsing The ontology needs to be reloaded because sidekiq does so as well. It always fetches a fresh record from the database. The test failed before because `NodeEvaluationHelper#clean_ontology` called destroy on all the ontology's symbols which existed in the object, but were not really persisted because of an aborted transaction. * Remove redundant space. * Move comment to the correct line. * Fix worker_spec In the production code, the locid is never set before saving the ontology. * Add gems pry-stack_explorer, awesome_print for debugging purposes. * Only start hets if there was a hets error and rollback the changes. * Destroy dependent prover output. * Fix ProofAttempt factory. * Rename assorted_object to specific and fix migration. * Fix migration code style. * Reanalyze ontologies with duplicate locids. * Fix code style. * Remove redundancies. * Remove useless association. * Obey Hound. * Directly query in the LocIdBaseModel. * Add locid routing feature. * Cache LocId query results This should speed up the routing in a great extent. For each matching `specified_get`, the LocIdRouterConstraint fetched the element once from the database. This resulted in 8 times the same SQL query for a ProofAttempt. The implemented cache reduces this to a single query. * Clear the elements cache periodically to prevent memory leaks. * Add missing dependent: :destroy. * Add Recreating repository feature. * Combine if statements. * Change Given to When. * Catch ambiguous locid error. * Fix i18n key usage. * Fix code style. * Comment on error suppression. * Add spec for Syntax Error. * Use single-quoted strings. * Fix error message check: language. * Keep parameter assignment DRY. * Rename RecreatingRepository feature to Repository. * Use local_variable_get instead of eval. * Change locid column type to text. * Implement (implicit) down-migration. * Implement (explicit) down migration. * Add migration to create missing locids. * Fix nil error. * Really fix nil error. * Fix migration. * Fix sentence migration accessing association. * Force old Mappings to have a name. * Add missing locids to symbols.

/ontohub/Gemfile /ontohub/Gemfile.lock /ontohub/app/models/loc_id.rb /ontohub/app/models/loc_id_base_model.rb /ontohub/app/models/mapping.rb /ontohub/app/models/ontology.rb associations_and_attributes.rb class_methods_and_scopes.rb mappings.rb sentences.rb symbols.rb validations.rb /ontohub/app/models/ontology_member/symbol.rb /ontohub/app/models/proof_attempt.rb /ontohub/app/models/prover_output.rb /ontohub/app/models/sentence.rb /ontohub/config/locales/en.yml /ontohub/db/data/20160310132620_move_loc_id_to_own_model_data.rb /ontohub/db/migrate/20160110133824_create_loc_ids.rb /ontohub/db/migrate/20160310132618_enter_name_for_mappings.rb /ontohub/db/migrate/20160310132619_create_missing_locids.rb /ontohub/db/migrate/20160310132620_move_loc_id_to_own_model.rb /ontohub/db/seeds/040-git.rb /ontohub/features/LocId.feature /ontohub/features/LocIdRouting.feature /ontohub/features/Repository.feature /ontohub/features/step_definitions/loc_id_routing_steps.rb /ontohub/features/step_definitions/loc_id_steps.rb /ontohub/features/step_definitions/repository_steps.rb /ontohub/features/support/env.rb /ontohub/lib/external_repository.rb /ontohub/lib/hets/dg/node_evaluation_helper.rb /ontohub/lib/hets/dg/node_evaluator.rb /ontohub/lib/hets/errors.rb /ontohub/lib/ontology_saver.rb /ontohub/lib/permissionable.rb /ontohub/lib/router_constraints.rb /ontohub/spec/controllers/api/v1/proof_attempts_controller_spec.rb /ontohub/spec/controllers/api/v1/prover_outputs_controller_spec.rb /ontohub/spec/factories/axiom_factory.rb /ontohub/spec/factories/mapping_factory.rb /ontohub/spec/factories/mapping_version_factory.rb /ontohub/spec/factories/ontology_factory.rb /ontohub/spec/factories/proof_attempt_factory.rb /ontohub/spec/factories/sentence_factory.rb /ontohub/spec/factories/symbol_factory.rb /ontohub/spec/factories/theorem_factory.rb /ontohub/spec/fixtures/ontologies/casl/sentence_and_symbol_with_same_name.casl /ontohub/spec/hets_helper.rb /ontohub/spec/lib/ontology_batch_parse_worker_spec.rb /ontohub/spec/lib/worker_spec.rb /ontohub/spec/models/ontology_spec.rb /ontohub/spec/models/ontology_version/parsing_spec.rb /ontohub/spec/support/common_helper_methods.rb /ontohub/spec/support/fixtures_generation/pipeline_generator.rb
121fa1cccb45153222ced021b2ccf54eac825707 19-Feb-2016 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Fix indentation.

a7cfdb0bbc9cc7837770f04e59deee324898049b 17-Jan-2016 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Set state to not_started_yet on new theorem.

00c20e7aab09b0e6fb5f6c6b6632ef02b6f6f0cc 14-Sep-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Set evaluation state during parsing.

d85d3e053a2d0da45c4e242e6807f5062a0ebab1 14-Sep-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Set ProofStatus in parsing step.

5c3cd8355db931de0dcd90a5006b495d82ed0757 14-Sep-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Fixup: Add provable attribtue to Theorem.

9bcd2b68914ea7b2fe7e356ad64cdaca04561e98 14-Sep-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add provable attribtue to Theorem.

c73848faab44b14008b34189acc798b6cb3fd7ea 03-Aug-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Fix translated sentences query being too general.

3eeb2885bb0cf65668beb55d1f3ae6e78f97f7b3 03-Aug-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Use original scope on translated sentences query.

b7ea8643496cf44ea846524a22c22eae4872cdd2 10-Jul-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Move SqlHelper out of GraphStructures We need it in several places now.

bb90b28cdc65a2e18bda6ae833d16fc0bd48a823 24-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add and use method translated_axioms.

9a970640e7c99cc6171fb5736b2035b188853289 24-Mar-2015 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add has_many :axioms relation.

7f2dad9b7bcc8a9c37626bab9d5f9c3dfa0bccbe 04-Feb-2015 Tim Reddehase <robustus@rightsrestricted.com>

hardset member-separator to // per loc/id def.

510ca4e36c4fb16f11b816ef88255554874aa51f 03-Feb-2015 Tim Reddehase <robustus@rightsrestricted.com>

add loc/id to sentences Additionally add mechanism to set the loc/id during ontology-parsing.

00c175adc24043fbcd4cd5e3769c9d13e31ff831 28-Jan-2015 Model Renamer <bot-rename@ontohub.org>

Obey hound.

/ontohub/app/controllers/general_mappings_controller.rb /ontohub/app/controllers/mappings_controller.rb /ontohub/app/controllers/ontologies_controller.rb /ontohub/app/controllers/symbols_controller.rb /ontohub/app/helpers/application_helper.rb /ontohub/app/helpers/navigation_helper.rb /ontohub/app/helpers/symbol_helper.rb /ontohub/app/models/mapping.rb /ontohub/app/models/mapping_version.rb /ontohub/app/models/ontology.rb categories.rb mappings.rb sentences.rb symbols.rb /ontohub/app/models/ontology_member/symbol.rb /ontohub/app/models/ontology_member/symbol/readability.rb /ontohub/app/models/ontology_member/symbol/searching.rb /ontohub/app/models/oops_response.rb /ontohub/app/models/sentence.rb /ontohub/app/models/symbol_group.rb /ontohub/app/models/symbol_mapping.rb /ontohub/app/views/mappings/_mapping.html.haml /ontohub/app/views/mappings/index.html.haml /ontohub/config/routes.rb
335258a6512a35cb1bb18c1d1693fd35016616bd 05-Jan-2015 Model Renamer <bot-rename@ontohub.org>

Namespace model `Symbol` in module `OntologyMember`.

67ea9fccbdc154cf2418f16ab8883ccfcbc77b51 05-Jan-2015 Model Renamer <bot-rename@ontohub.org>

Run rename refactor script.

/ontohub/app/assets/javascripts/jquery.truncate.js /ontohub/app/assets/javascripts/owl.js /ontohub/app/assets/javascripts/plugins/graph.js.coffee /ontohub/app/assets/javascripts/plugins/themes/apple/style.css /ontohub/app/assets/javascripts/plugins/themes/classic/style.css /ontohub/app/assets/javascripts/plugins/themes/default-rtl/style.css /ontohub/app/assets/javascripts/plugins/themes/default/style.css /ontohub/app/assets/javascripts/repository/clone-url.js.coffee /ontohub/app/assets/javascripts/repository_directories.js.coffee /ontohub/app/assets/javascripts/symbols.js.coffee /ontohub/app/assets/javascripts/tooltips.js.coffee /ontohub/app/assets/stylesheets/application.css.sass /ontohub/app/assets/stylesheets/axioms.css.sass /ontohub/app/assets/stylesheets/formats.sass /ontohub/app/assets/stylesheets/graphs.css /ontohub/app/assets/stylesheets/symbols.css.sass /ontohub/app/controllers/adjoints_controller.rb /ontohub/app/controllers/autocomplete_controller.rb /ontohub/app/controllers/children_controller.rb /ontohub/app/controllers/general_mappings_controller.rb /ontohub/app/controllers/graphs_controller.rb /ontohub/app/controllers/language_adjoints_controller.rb /ontohub/app/controllers/language_mappings_controller.rb /ontohub/app/controllers/logic_adjoints_controller.rb /ontohub/app/controllers/logic_mappings_controller.rb /ontohub/app/controllers/mappings_controller.rb /ontohub/app/controllers/ontologies_controller.rb /ontohub/app/controllers/ontology_versions_controller.rb /ontohub/app/controllers/polymorphic_resource/base.rb /ontohub/app/controllers/privilege_list/base.rb /ontohub/app/controllers/repository_directories_controller.rb /ontohub/app/controllers/symbols_controller.rb /ontohub/app/controllers/symbols_search_controller.rb /ontohub/app/helpers/application_helper.rb /ontohub/app/helpers/entity_helper.rb /ontohub/app/helpers/mapping_helper.rb /ontohub/app/helpers/navigation_helper.rb /ontohub/app/helpers/ontology_helper.rb /ontohub/app/helpers/repositories_helper.rb /ontohub/app/helpers/sentence_helper.rb /ontohub/app/helpers/symbol_helper.rb /ontohub/app/models/link_version.rb /ontohub/app/models/mapping.rb /ontohub/app/models/mapping_version.rb /ontohub/app/models/ontology.rb categories.rb mappings.rb sentences.rb symbols.rb /ontohub/app/models/oops_response.rb /ontohub/app/models/proof_status/creation_from_ontology.rb /ontohub/app/models/sentence.rb /ontohub/app/models/sentence/readability.rb /ontohub/app/models/structured_proof_part.rb /ontohub/app/models/symbol.rb /ontohub/app/models/symbol/readability.rb /ontohub/app/models/symbol/searching.rb /ontohub/app/models/symbol_group.rb /ontohub/app/models/symbol_mapping.rb /ontohub/app/models/translated_sentence.rb /ontohub/app/viewhelpers/logic_viewhelper.rb /ontohub/app/views/adjoints/_form.html.haml /ontohub/app/views/adjoints/edit.html.haml /ontohub/app/views/adjoints/new.html.haml /ontohub/app/views/adjoints/show.html.haml /ontohub/app/views/admin/status/_errored_ontologies.html.haml /ontohub/app/views/admin/status/_ontologies.html.haml /ontohub/app/views/admin/users/_user.html.haml /ontohub/app/views/categories/index.html.haml /ontohub/app/views/categories/show.html.haml /ontohub/app/views/children/_child.html.haml /ontohub/app/views/children/index.html.haml /ontohub/app/views/comments/_comment.html.haml /ontohub/app/views/devise/_mappings.html.haml /ontohub/app/views/devise/confirmations/new.html.haml /ontohub/app/views/devise/mailer/confirmation_instructions.html.haml /ontohub/app/views/devise/mailer/reset_password_instructions.html.haml /ontohub/app/views/devise/mailer/unlock_instructions.html.haml /ontohub/app/views/devise/passwords/edit.html.haml /ontohub/app/views/devise/passwords/new.html.haml /ontohub/app/views/devise/registrations/new.html.haml /ontohub/app/views/devise/sessions/new.html.haml /ontohub/app/views/devise/unlocks/new.html.haml /ontohub/app/views/errors/index.html.haml /ontohub/app/views/files/_show_dir.html.haml /ontohub/app/views/files/_show_file.html.haml /ontohub/app/views/files/show.html.haml /ontohub/app/views/formality_levels/_formality_level.html.haml /ontohub/app/views/formality_levels/show.html.haml /ontohub/app/views/general_mappings/_adjoints.html.haml /ontohub/app/views/general_mappings/_form.html.haml /ontohub/app/views/general_mappings/edit.html.haml /ontohub/app/views/general_mappings/new.html.haml /ontohub/app/views/general_mappings/show.html.haml /ontohub/app/views/graphs/index.html.haml /ontohub/app/views/home/_comments.html.haml /ontohub/app/views/home/_versions.html.haml /ontohub/app/views/home/show.html.haml /ontohub/app/views/kaminari/_first_page.html.haml /ontohub/app/views/kaminari/_last_page.html.haml /ontohub/app/views/kaminari/_next_page.html.haml /ontohub/app/views/kaminari/_prev_page.html.haml /ontohub/app/views/keys/_key.html.haml /ontohub/app/views/languages/_language.html.haml /ontohub/app/views/languages/_mappings.html.haml /ontohub/app/views/languages/_ontologies.html.haml /ontohub/app/views/languages/_serializations.html.haml /ontohub/app/views/languages/_supports.html.haml /ontohub/app/views/languages/index.html.haml /ontohub/app/views/layouts/application.html.haml /ontohub/app/views/layouts/mailer.html.haml /ontohub/app/views/license_models/_license_model.html.haml /ontohub/app/views/license_models/show.html.haml /ontohub/app/views/link_versions/_form.html.haml /ontohub/app/views/link_versions/edit.html.haml /ontohub/app/views/links/_link.html.haml /ontohub/app/views/logics/_distributed.html.haml /ontohub/app/views/logics/_heterogeneous_distributed.html.haml /ontohub/app/views/logics/_logic.html.haml /ontohub/app/views/logics/_mappings.html.haml /ontohub/app/views/logics/_ontologies.html.haml /ontohub/app/views/logics/_supports.html.haml /ontohub/app/views/logics/search.json.erb /ontohub/app/views/logics/show.html.haml /ontohub/app/views/mapping_versions/_form.html.haml /ontohub/app/views/mapping_versions/edit.html.haml /ontohub/app/views/mapping_versions/index.html.haml /ontohub/app/views/mappings/_form.html.haml /ontohub/app/views/mappings/_mapping.html.haml /ontohub/app/views/mappings/edit.html.haml /ontohub/app/views/mappings/index.html.haml /ontohub/app/views/mappings/new.html.haml /ontohub/app/views/mappings/show.html.haml /ontohub/app/views/ontologies/_info.html.haml /ontohub/app/views/ontologies/_ontology.html.haml /ontohub/app/views/ontologies/_ontology_search_response.html.haml /ontohub/app/views/ontologies/index_repository.html.haml /ontohub/app/views/ontologies/show.html.haml /ontohub/app/views/ontology_types/show.html.haml /ontohub/app/views/ontology_versions/_ontology_version.html.haml /ontohub/app/views/permissions/_form.html.haml /ontohub/app/views/projects/_project.html.haml /ontohub/app/views/projects/show.html.haml /ontohub/app/views/repositories/_clone_url.html.haml /ontohub/app/views/repositories/_repository.html.haml /ontohub/app/views/repositories/edit.haml /ontohub/app/views/repositories/index.html.haml /ontohub/app/views/repositories/new.html.haml /ontohub/app/views/repository_settings/_subnav.html.haml /ontohub/app/views/repository_settings/index.html.haml /ontohub/app/views/review/edit.html.haml /ontohub/app/views/review/new.html.haml /ontohub/app/views/sentences/_sentence.html.haml /ontohub/app/views/serializations/index.html.haml /ontohub/app/views/serializations/show.html.haml /ontohub/app/views/shared/_navbar.html.haml /ontohub/app/views/shared/_subnavigation.html.haml /ontohub/app/views/shared/_user_repositories.html.haml /ontohub/app/views/symbols/_list.html.haml /ontohub/app/views/symbols/_node.html.haml /ontohub/app/views/symbols/_treeview.html.haml /ontohub/app/views/symbols/index.html.haml /ontohub/app/views/symbols_search/_group.html.haml /ontohub/app/views/symbols_search/_hit.html.haml /ontohub/app/views/symbols_search/index.html.haml /ontohub/app/views/tasks/_task.html.haml /ontohub/app/views/tasks/show.html.haml /ontohub/app/views/team_users/_form.html.haml /ontohub/app/views/team_users/_team_user.html.haml /ontohub/app/views/teams/index.html.haml /ontohub/app/views/teams/permissions/_permission.haml /ontohub/app/views/teams/permissions/index.html.haml /ontohub/app/views/teams/show.html.haml /ontohub/app/views/tools/edit.html.haml /ontohub/app/views/tools/index.html.haml /ontohub/app/views/tools/new.html.haml /ontohub/app/views/users/_comments.html.haml /ontohub/app/views/users/_versions.html.haml /ontohub/config/application.rb /ontohub/config/external_mapping_mapping.yml /ontohub/config/i18n-tasks.yml /ontohub/config/initializers/devise.rb /ontohub/config/locales/devise.en.yml /ontohub/config/locales/en.yml /ontohub/config/routes.rb /ontohub/config/settings.yml /ontohub/config/sunspot.yml /ontohub/db/migrate/20141215175503_rename_via_script.rb /ontohub/lib/aggregatable.rb /ontohub/lib/external_mapping.rb /ontohub/lib/graph_data_fetcher.rb /ontohub/lib/graph_structures/specific_fetchers/mappings.rb /ontohub/lib/hets/node_evaluation_helper.rb /ontohub/lib/hets/node_evaluator.rb /ontohub/lib/hets/nokogiri_listener.rb /ontohub/lib/logicgraph_parser.rb /ontohub/lib/ontology_parser.rb /ontohub/lib/ontology_search.rb /ontohub/lib/parsing_callback/generic_callback.rb /ontohub/lib/parsing_callback/owl.rb /ontohub/lib/tarjan_tree.rb /ontohub/lib/triple_store.rb /ontohub/spec/controllers/autocomplete_controller_spec.rb /ontohub/spec/controllers/comments_controller_spec.rb /ontohub/spec/controllers/graphs_controller_spec.rb /ontohub/spec/controllers/ontologies_controller_spec.rb /ontohub/spec/controllers/repositories_controller_spec.rb /ontohub/spec/controllers/symbols_controller_spec.rb /ontohub/spec/controllers/team_users_controller_spec.rb /ontohub/spec/factories/adjoint_factory.rb /ontohub/spec/factories/c_edge_factory.rb /ontohub/spec/factories/category_factory.rb /ontohub/spec/factories/comment_factory.rb /ontohub/spec/factories/formality_level_factory.rb /ontohub/spec/factories/git_repository_factory.rb /ontohub/spec/factories/hets_instance_factory_factory.rb /ontohub/spec/factories/key_factory.rb /ontohub/spec/factories/language_factory.rb /ontohub/spec/factories/license_model_factory.rb /ontohub/spec/factories/logic_factory.rb /ontohub/spec/factories/mapping.rb /ontohub/spec/factories/mapping_factory.rb /ontohub/spec/factories/ontology_factory.rb /ontohub/spec/factories/ontology_type_factory.rb /ontohub/spec/factories/ontology_version_factory.rb /ontohub/spec/factories/oops_factory.rb /ontohub/spec/factories/permission_factory.rb /ontohub/spec/factories/project_factory.rb /ontohub/spec/factories/repository_factory.rb /ontohub/spec/factories/sentence_factory.rb /ontohub/spec/factories/serialization_factory.rb /ontohub/spec/factories/svn_repository_factory.rb /ontohub/spec/factories/symbol_factory.rb /ontohub/spec/factories/symbol_group_factory.rb /ontohub/spec/factories/task_factory.rb /ontohub/spec/factories/team_factory.rb /ontohub/spec/factories/url_map_factory.rb /ontohub/spec/factories/user_factory.rb /ontohub/spec/lib/external_mapping_spec.rb /ontohub/spec/lib/oops_request/responses_spec.rb /ontohub/spec/lib/tarjan_spec.rb /ontohub/spec/models/graph_data_fetcher_spec.rb /ontohub/spec/models/mapping_spec.rb /ontohub/spec/models/ontology_spec.rb /ontohub/spec/models/repository/symlink_spec.rb /ontohub/spec/models/repository_spec.rb /ontohub/spec/models/sentence_spec.rb /ontohub/spec/models/symbol_group_spec.rb /ontohub/spec/models/symbol_mapping_spec.rb /ontohub/spec/models/symbol_spec.rb /ontohub/spec/routing/entities_search_routing_spec.rb /ontohub/spec/routing/symbols_routing_spec.rb /ontohub/spec/routing/symbols_search_routing_spec.rb
a48b6df2b52c459d3abd9879c4919002cf358202 04-Dec-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add missing newline.

3391a4cdb082ae1ccabaa96f2b53972b43ee904c 04-Dec-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Un-align.

2cecff8c40ff62af965403b167f8143e1969d8ef 04-Dec-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Parse Theorems.

5f75d904465f5f8e5f29c7d852ec2f16af57b03e 04-Dec-2014 Eugen Kuksa <eugenk@informatik.uni-bremen.de>

Add Theorem route, controller and view.

1df78516e07b5518ea126b1f3caebf44f49ea140 24-Jul-2014 Tim Reddehase <robustus@rightsrestricted.com>

set ontology_id of translated sentence correctly The ontology_id of translated sentence should equal the ontology_id of the underlying sentence and not the origin of the mapping. This is because there could be multiple mappings without a sentence-definition in between.

c25fef96f425dc1ff4f747e6f340ca5a060ce865 29-Mar-2014 Tim Reddehase <robustus@rightsrestricted.com>

safeguard against link being nil for translations.

fad7ffeecda1d763c8cfc23fa86c6b68c5a7f919 29-Mar-2014 Tim Reddehase <robustus@rightsrestricted.com>

refactor setting a sentence as imported Instead of calling save again(which triggers an sql-query) we introduce the `imported` attribute into the hash and set it in the update_or_create_from_hash method accordingly. Also we refactor the method to call sentences by their name (sentence), instead of `e`. Also remove obsolete unused translate_for method.

bd870b52ef7afb26c0c6671c5ca4a620998ff57f 16-Mar-2014 Tim Reddehase <robustus@rightsrestricted.com>

fix import-direction and query type For fetching directly imported ontologies we need to adjust the direction as well. Also we can't use find, because that would only return one record.

d00e8c94110bb3f43cc6f6b5c2066ede274dfa77 16-Mar-2014 Tim Reddehase <robustus@rightsrestricted.com>

establish generation of translated sentences.

b3b60ce0b5b1d8338f9ffe053eb91bbc3dfc024d 16-Mar-2014 Tim Reddehase <robustus@rightsrestricted.com>

add methods to fetch translated/combined sentences.

b1771f28608b86404c2decef5afeded1d906dc57 09-Mar-2014 Tim Reddehase <robustus@rightsrestricted.com>

save current state of sentence translations.

d52c5892e4d5d03ba4ec8bf45dc6dd39ca464338 13-Jan-2014 Julian Kornberger <juliank@tzi.de>

autosave for sentences disabled should avoid ActiveRecord::StatementInvalid: PG::NotNullViolation related to #340

43998a7504eb0ead17751c3232763b56bbc1c7f5 10-Apr-2013 henning mueller <henning@orgizm.net>

Set display_text on sentences from update_or_create_from_hash.

d95c0de1fbdb66e2aa8d2dc223ad554413f1dc87 13-Aug-2012 Julian Kornberger <juliank@tzi.de>

XML parser adjusted to the new format

22e260fcd85642794d99c2ffaa333f2ef6ed7828 13-Aug-2012 Daniel Couto Vale <danielvale@uni-bremen.de>

Remove the versioning (a step) Revert changes to the ontology Rapair ontology tests Bind entities and sentences to the ontology

00e4f15826d75fbfc079bef3e559b7fa4c62e911 22-May-2012 Daniel Vale <danielvale@gmail.com>

Rename axiom to sentence Abstracted module for ontology version members (sentence and entities) Bind sentences to ontology versions (not to ontologies)

93601837822998e6b847baa46d986f7cfc21d46f 24-Apr-2012 Daniel Couto Vale <danielvale@me.com>

Match models and the database Create controllers