Searched refs:mappings (Results 1 - 19 of 19) sorted by relevance

/ontohub/spec/lib/
H A Dexternal_mapping_spec.rb8 @mappings = Ontohub::Application.config.external_url_mapping["wiki"]
9 @root = @mappings["root"]
13 link = @root+(get_mapping_for @mappings, "controller", "graphs", "show")
18 link = @root+(get_mapping_for @mappings, "controller", "graphs", "index")
/ontohub/lib/
H A Dexternal_mapping.rb4 mappings = Ontohub::Application.config.external_url_mapping[external_target]
5 root = mappings['root']
6 target = get_mapping_for mappings, second_level, controller, action
H A Dlogicgraph_parser.rb46 @mappings = Hash.new
54 @mappings[key] ||= begin
/ontohub/lib/graph_structures/specific_fetchers/
H A Dmappings.rb31 SELECT source_id FROM mappings WHERE mappings.kind = ? AND mappings.target_id = ?
33 SELECT source_id FROM mappings
34 JOIN imported_ontologies ON mappings.target_id = imported_ontologies.ontology_id
35 WHERE mappings.kind = ?
/ontohub/spec/controllers/
H A Dmappings_controller_spec.rb5 let(:mapping) { ontology.mappings.last }
/ontohub/app/controllers/
H A Dmappings_controller.rb48 unless @mappings
50 @mappings = Mapping.with_ontology_reference(params[:ontology_id])
52 @mappings = Mapping.unscoped
55 collection = @mappings.
/ontohub/app/serializers/
H A Dontology_serializer.rb27 attributes :ontology_versions, :symbols, :sentences, :mappings
53 def mappings method in class:OntologySerializer
54 url_for([object, :mappings])
/ontohub/app/viewhelpers/
H A Dlogic_viewhelper.rb13 ['Mappings', :mappings],
/ontohub/spec/models/
H A Dmapping_spec.rb24 let(:mapping) { dist_ontology.mappings.first }
H A Dgraph_data_fetcher_spec.rb90 let!(:mappings) { Mapping.where(ontology_id: distributed.id) }
101 it "include all mappings defined by the DO in the edge list" do
102 mappings.each do |mapping|
H A Dontology_spec.rb584 expect(ontology.mappings.count).to eq(3)
705 context 'Import Ontology with extension mappings' do
/ontohub/spec/controllers/api/v1/
H A Dmappings_controller_spec.rb5 let(:mapping) { ontology.mappings.last }
11 schema_for_command('ontology/mappings', :get, 200)
29 VCR.use_cassette 'api/json-schemata/ontology/mappings' do
/ontohub/app/models/ontology/
H A Dsentences.rb37 # Find import-mappings which describe the following mapping:
99 def create_or_fetch_translations(audience_ontology, mapping, mappings,
107 create_translations(audience_ontology, mapping, mappings)
H A Dmappings.rb6 has_many :mappings,
/ontohub/app/helpers/
H A Dapplication_helper.rb14 elsif %w(categories logics mappings ontologies).include? params[:controller]
H A Dnavigation_helper.rb33 ['Mappings', url_for([resource, :mappings]),
34 :mappings],
/ontohub/config/
H A Droutes.rb67 specified_get '/ref/mmt/:repository_id/*path' => 'mappings#show',
73 reroute_on_mime 'application/json', to: 'api/v1/mappings#show'
164 mappings symbols children
312 specified_get '/:repository_id/*locid' => 'mappings#show',
318 reroute_on_mime 'application/json', to: 'api/v1/mappings#show'
636 doc title: 'index of logic mappings',
638 Will return a representation of the logic mappings index.
655 resources :mappings, only: :index
685 resources :mappings do
733 resources :mappings d
[all...]
/ontohub/lib/hets/dg/
H A Dnode_evaluator.rb175 mapping = parent_ontology.mappings.update_or_create_from_hash(
/ontohub/db/migrate/
H A D20150715081827_init_schema.rb329 create_table "mappings", :force => true do |t|
348 add_index "mappings", ["mapping_version_id"], :name => "index_mappings_on_mapping_version_id"
349 add_index "mappings", ["ontology_id"], :name => "index_mappings_on_ontology_id"
350 add_index "mappings", ["source_id"], :name => "index_mappings_on_source_id"
351 add_index "mappings", ["target_id"], :name => "index_mappings_on_target_id"
887 add_foreign_key "mapping_versions", "mappings", name: "mapping_versions_mapping_id_fk", dependent: :delete
891 add_foreign_key "mappings", "mappings", name: "mappings_parent_id_fk", column: "parent_id"
892 add_foreign_key "mappings", "ontologies", name: "mappings_ontology_id_fk", dependent: :delete
893 add_foreign_key "mappings", "ontologie
[all...]

Completed in 71 milliseconds