Open timrdf opened 13 years ago
converter currently just looks for "THE" domain_template (misnomer - will become subject-template). But when bundling a property to another column, the subject_template should then apply to the column being bundled into. This would require a more general consideration of subject_template.
Data row:
1: entrez gene ID 3: GO gene ID 6: GO gend ID's label
enhancements:
conversion:enhance [ ov:csvCol 2; ov:csvHeader "GeneID"; conversion:domain_template "http://bio2rdf.org/geneid:[.]" ; conversion:label "has entrez gene id"; conversion:comment ""; conversion:domain "Gene"; conversion:range rdfs:Literal; conversion:subproperty_of dcterms:identifier; ]; conversion:enhance [ ov:csvCol 3; ov:csvHeader "GO_ID"; conversion:label "has GO concept"; conversion:comment ""; conversion:range_name "GOTerm"; conversion:rangetemplate "http://purl.org/obo/owl/GO#GO[.]"; conversion:range rdfs:Resource; conversion:subproperty_of skos:broadMatch; ]; conversion:enhance [ conversion:class_name "GOTerm"; conversion:subclass_of skos:Concept; ];
conversion:enhance [ ov:csvCol 6; ov:csvHeader "GO_term"; conversion:domaintemplate "http://purl.org/obo/owl/GO#GO[3]"; conversion:domain "GOTerm"; conversion:label "has GO term"; conversion:comment ""; conversion:bundled_by [ov:csvCol 3]; conversion:range todo:Literal; ];