wikipathways / GPML2RDF

GPML2RDF converter
Apache License 2.0
4 stars 2 forks source link

Change from rdf:type wp:Pathway to rdfs:subClassOf wp:Pathway #97

Open andrawaag opened 3 years ago

andrawaag commented 3 years ago

Currently, the RDF is modelled using rdf:type on both skos:Collection and wp:Pathway. E.g.

<http://identifiers.org/wikipathways/WP4104_r113457>
        a                    skos:Collection , wp:Pathway ;

I am wondering about changing rdf:type to using rdfs:subClassOf for wp:Pathway part. This would put it inline with for example the Pathway Ontology.

Introducing this sublass model, where a Pathway is depicted as a class, would open up the possibility to query by traversing a hierarchical tree and extend that to for example the pathway ontology.

One example of this suggestion would be:

<http://identifiers.org/wikipathways/WP4104_r113457>
        a                            skos:Collection ;
        rdfs:subClassOf  wp:Pathway .

it will probably have some repercussions on how the same pathway in different species is modelled. There might need to be species less pathway because in principle they are all subclasses of that pathway.