{"action":"opened","issue":{"url":"https://api.github.com/repos/ncbo/ontologies_api/issues/17","labels_url":"https://api.github.com/repos/ncbo/ontologies_api/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/ncbo/ontologies_api/issues/17/comments","events_url":"https://api.github.com/repos/ncbo/ontologies_api/issues/17/events","html_url":"https://github.com/ncbo/ontologies_api/issues/17","id":81868121,"number":17,"title":"Modify the mapping controller to be able to accept/create external mappings","user":{"login":"jonquet","id":7379183,"avatar_url":"https://avatars.githubusercontent.com/u/7379183?v=3","gravatar_id":"","url":"https://api.github.com/users/jonquet","html_url":"https://github.com/jonquet","followers_url":"https://api.github.com/users/jonquet/followers","following_url":"https://api.github.com/users/jonquet/following{/other_user}","gists_url":"https://api.github.com/users/jonquet/gists{/gist_id}","starred_url":"https://api.github.com/users/jonquet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonquet/subscriptions","organizations_url":"https://api.github.com/users/jonquet/orgs","repos_url":"https://api.github.com/users/jonquet/repos","events_url":"https://api.github.com/users/jonquet/events{/privacy}","received_events_url":"https://api.github.com/users/jonquet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-28T10:33:46Z","updated_at":"2015-05-28T10:33:46Z","closed_at":null,"body":"This is a request to modify the mapping controller to make it capable of creating a mapping between two different BioPortal appliances. \r\n\r\nFor instance, we want to add in our SIFR appliance triple store some multilingual mappings for French ontologies that map to English ontologies in the NCBO BioPortal. For instance:\r\n\r\nHTTP POST http://data.bioportal.lirmm.fr/mappings\r\n{\r\n  \"creator\" : \"http://data.bioportal.lirmm.fr/users/jonquet\",\r\n  \"source_contact_info\": \"jonquet@lirmm.fr\",\r\n  \"relation\" : \"http://purl.org/net/translation/#directEquivalent\",\r\n  \"source\" : \"UMLS\",\r\n  \"source_name\" : \"Unified Medical Language System (UMLS) Matathesaurus\",\r\n  \"comment\" : \"Code based mappings extracted from UMLS 2015aa MRCONSO table betweem MTHMSTFRE and MTHMST\",\r\n  \"terms\" : [ {\r\n    \"ontology\" : \"MTHMSTFRE\",\r\n    \"term\" : [ \"http://purl.bioportal.lirmm.fr/ontology/MTHMSTFRE/MT010038\" ]\r\n  }, {\r\n    \"ontology\" : \"MSTDE\",\r\n    \"term\" : [ \"http://purl.bioontology.org/ontology/MTHMST/MT010038\" ]\r\n  } ]\r\n}\r\n\r\nThe first ontology, MTHMSTFRE is in our appliance. The second, MSTDE, is in the main BioPortal.\r\n\r\nWe don't see any \"logical reason\" about why this would not be possible. \r\nWe have looked a little bit in how doing it. Vincent to complete the tracker.\r\nWe are interested in your feebback on this issue. And we can eventually code it."}}