Skip to content

Conversation

@syphax-bouazzouni
Copy link

@syphax-bouazzouni syphax-bouazzouni commented Aug 8, 2022

Prerequisite

What

This PR extends our mappings module with a method called bulk_load_mappings that from a set of mapping hash having the bellow schema, will add them all as Rest mappings.

 mapping_hash = {
      "classes": ["http://bioontology.org/ontologies/BiomedicalResourceOntology.owl#Image_Algorithm"
                    ,"http://purl.org/incf/ontology/Computational_Neurosciences/cno_alpha.owl#cno_0000202"],
     
      "name": 'This is the mappings produced to test the bulk load',
      "source": 'https://w3id.org/semapv/LexicalMatching',
      "comment": 'mock data',
      "relation": [
          'http://www.w3.org/2002/07/owl#subClassOf'
       ],
      "subject_source_id": 'http://bioontology.org/ontologies/BiomedicalResources.owl',
      "object_source_id": 'http://purl.org/incf/ontology/Computational_Neurosciences/cno_alpha.owl',
      "source_name": 'https://w3id.org/sssom/mapping/tests/data/basic.tsv',
      "source_contact_info": 'orcid:1234,orcid:5678',
       "date": '2020-05-30' 
    }

Why

How to

See the test example : https://github.com/ontoportal-lirmm/ontologies_linked_data/blob/73b15a8b40a219d48798173ff57df812eb9296a5/test/mappings/test_mappings_bulk_load.rb#L29

vemonet and others added 30 commits July 1, 2017 14:29
…wlapi_wrapper/sifr_owlapi (owl api updated to v. 4.3.2 to fix bug)
… into outsourcing_owlapi-wrapper_jar_filename
…ct/owlapi_wrapper:virtual-appliance-3.0-merge@github (commit 9e6fbcab5297b5a99ac324c777b95d005b7cf2da)
…uilt from sifrproject/owlapi_wrapper:virtual-appliance-3.0-merge@github (commit 9e6fbcab5297b5a99ac324c777b95d005b7cf2da)
…uilt from sifrproject/owlapi_wrapper:virtual-appliance-3.0-merge@github (commit 9e6fbcab5297b5a99ac324c777b95d005b7cf2da)
…uilt from sifrproject/owlapi_wrapper:virtual-appliance-3.0-merge@github (commit 9e6fbcab5297b5a99ac324c777b95d005b7cf2da)
…uilt from sifrproject/owlapi_wrapper:virtual-appliance-3.0-merge@github (commit 763d0483178580edab03abae43fc74d973b22634)
…uilt from sifrproject/owlapi_wrapper:virtual-appliance-3.0-merge@github (commit 763d0483178580edab03abae43fc74d973b22634)
…uilt from sifrproject/owlapi_wrapper:virtual-appliance-3.0-merge@github (commit 763d0483178580edab03abae43fc74d973b22634)
…uilt from sifrproject/owlapi_wrapper:virtual-appliance-3.0-merge@github (commit 763d0483178580edab03abae43fc74d973b22634)
…ta.git into virtual-appliance-3.0-merge (Gemfile.lock update)
…uilt from sifrproject/owlapi_wrapper:virtual-appliance-3.0-merge@github (commit 763d0483178580edab03abae43fc74d973b22634)
…uilt from sifrproject/owlapi_wrapper:virtual-appliance-3.0-merge@github (commit 763d0483178580edab03abae43fc74d973b22634)
…tis:master@github (commit bf02e45ec425381a9de063ce740845493f4c1d56)
…uilt from sifrproject/owlapi_wrapper:virtual-appliance-3.0-merge@github (commit 763d0483178580edab03abae43fc74d973b22634)
…uilt from sifrproject/owlapi_wrapper:virtual-appliance-3.0-merge@github (commit 763d0483178580edab03abae43fc74d973b22634)
@syphax-bouazzouni syphax-bouazzouni changed the title Add a bulk loader for rest mapping / SSSOM integration Feature: add a bulk loader for rest mapping / SSSOM integration Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants