Last active
August 29, 2015 14:00
-
-
Save palexander/11068461 to your computer and use it in GitHub Desktop.
Example format for NCBO multipart/mixed ontology submission with file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Content-Type: multipart/mixed; boundary=OntologiesAPIMultipartPost; type=application/json; start=json | |
Content-Length: 328853 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--OntologiesAPIMultipartPost | |
Content-Disposition: form-data; name="json" | |
Content-Type: "application/json; charset=UTF-8" | |
{"ontology":"http://data.bioontology.org/ontologies/BRO","released":"2010-08-31T00:00:00-07:00","homepage":"http://www.ncbcs.org/biositemaps/","publication":"","documentation":"http://www.ncbcs.org/biositemaps/","version":"3.2.1","description":"A controlled terminology of resources, which is used to improve the sensitivity and specificity of web searches.","status":"alpha","contact":[{"name":"Trish Whetzel, Csongor Nyulas, Natasha Noy","email":"[email protected]"}],"hasOntologyLanguage":"OWL","prefLabelProperty":"http://www.w3.org/2004/02/skos/core#prefLabel","definitionProperty":"http://bioontology.org/ontologies/biositemap.owl#definition","synonymProperty":"http://www.w3.org/2004/02/skos/core#altLabel","authorProperty":"","obsoleteProperty":"","obsoleteParent":"","isRemote":"0"} | |
--OntologiesAPIMultipartPost | |
Content-Disposition: form-data; name="filePath"; filename="BRO_v3.2.owl" | |
Content-Length: 327696 | |
Content-Type: text/plain | |
Content-Transfer-Encoding: binary | |
<?xml version="1.0"?> | |
<!DOCTYPE rdf:RDF [ | |
<!ENTITY dct "http://purl.org/dc/terms/" > | |
<!ENTITY owl "http://www.w3.org/2002/07/owl#" > | |
<!ENTITY swrl "http://www.w3.org/2003/11/swrl#" > | |
<!ENTITY swrlb "http://www.w3.org/2003/11/swrlb#" > | |
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" > | |
<!ENTITY core "http://www.w3.org/2004/02/skos/core#" > | |
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" > | |
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" > | |
<!ENTITY activity "http://bioontology.org/ontologies/Activity.owl#" > | |
..... SNIPPED rest of file ..... | |
<rdf:Description rdf:about="http://bioontology.org/ontologies/BiomedicalResources.owl#Environmental_Health_and_Safety"> | |
<core:prefLabel rdf:datatype="&xsd;string">Environmental Health and Safety Resource</core:prefLabel> | |
</rdf:Description> | |
</rdf:RDF> | |
<!-- Generated by the OWL API (version 3.4.2) http://owlapi.sourceforge.net --> | |
--OntologiesAPIMultipartPost-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment