wikipathways / GPML2RDF

GPML2RDF converter
Apache License 2.0
4 stars 2 forks source link

include ontology information #72

Closed AlexanderPico closed 5 years ago

AlexanderPico commented 5 years ago

Here's an example of how an ontology term is currently represented in GPML:

    <bp:openControlledVocabulary xmlns:bp="http://www.biopax.org/release/biopax-level3.owl#">
      <bp:TERM xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:datatype="http://www.w3.org/2001/XMLSchema#string">ACE inhibitor drug pathway</bp:TERM>
      <bp:ID xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:datatype="http://www.w3.org/2001/XMLSchema#string">PW:0001228</bp:ID>
      <bp:Ontology xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Pathway Ontology</bp:Ontology>
    </bp:openControlledVocabulary>
AlexanderPico commented 5 years ago

Ah, and I found them in the wp RDF for a pathway, like so:

<http://identifiers.org/wikipathways/WP554_r105430>
        wp:ontologyTag         <http://purl.obolibrary.org/obo/PW_0000245> , <http://vocabularies.wikipathways.org/wp#Curation:AnalysisCollection> , <http://purl.obolibrary.org/obo/PW_0001228> ;
        wp:pathwayOntologyTag  <http://purl.obolibrary.org/obo/PW_0001228> , <http://purl.obolibrary.org/obo/PW_0000245> ;

(I removed other lines)

Is this sufficient? Or should it be in both?

AlexanderPico commented 5 years ago

And now I see you found the same thing in #71. Ok, closing this one.