about summary refs log tree commit diff
path: root/examples/classification.scm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/classification.scm')
-rwxr-xr-xexamples/classification.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/classification.scm b/examples/classification.scm
index 7a01869..cf78aaa 100755
--- a/examples/classification.scm
+++ b/examples/classification.scm
@@ -80,10 +80,11 @@
   (schema-triples
    (gnt:has_uniprot_taxon_id a owl:ObjectProperty)
    (gnt:has_uniprot_taxon_id rdfs:label "has uniprot taxonomic id")
-   (gnt:has_family a owl:DatatypeProperty)
+   (gnt:has_family a owl:ObjectProperty)
    (gnt:has_family rdfs:label "has family")
-   (gnt:has_family rdfs:range xsd:string)
    (gnt:has_family skos:definition "Links a species to its taxonomic family")
+   (gnt:has_family schema:domainIncludes gnc:species)
+   (gnt:has_family schema:domainIncludes gnc:set)
    (gnt:short_name a owl:DatatypeProperty)
    (gnt:short_name rdfs:label "has short name")
    (gnt:short_name rdfs:domain gnc:species)