diff options
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/molecular-traits.scm (renamed from examples/tissue.scm) | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/examples/tissue.scm b/examples/molecular-traits.scm index 82cc226..737c0b0 100755 --- a/examples/tissue.scm +++ b/examples/molecular-traits.scm @@ -17,9 +17,13 @@ ;; and BIRN_lex_Name are mostly NULL. (tables (Tissue)) (schema-triples - (gnc:tissue a skos:Concept)) - ;; Hopefully the Short_Name field is distinct and can be used as an - ;; identifier. + (gnc:tissue a owl:Class) + (gnc:tissue rdfs:subClassOf obo:UBERON_0000479) ; Anatomical Entity + (gnc:tissue rdfs:label "Tissue (GN)") + (gnt:has_tissue rdf:type owl:ObjectProperty) + (gnt:has_tissue rdfs:domain gnc:molecular_traits) + (gnt:has_tissue rdfs:range gnc:tissue) + (gnt:has_tissue rdfs:label "has tissue")) (triples (string->identifier "tissue" (field Tissue Short_Name) #:separator "_") (set rdf:type 'gnc:tissue) @@ -44,6 +48,8 @@ (table-metadata? #f) (prefixes '(("gn:" "<http://rdf.genenetwork.org/v1/id/>") + ("obo:" "<http://purl.obolibrary.org/obo/>") + ("owl:" "<http://www.w3.org/2002/07/owl#>") ("gnt:" "<http://rdf.genenetwork.org/v1/term/>") ("skos:" "<http://www.w3.org/2004/02/skos/core#>") ("gnc:" "<http://rdf.genenetwork.org/v1/category/>") @@ -54,3 +60,4 @@ (outputs `(#:documentation ,documentation #:rdf ,output)))) +;; http://purl.obolibrary.org/obo/UBERON_0000479 |
