{
  "@context": [
    {
      "xsd": "http://www.w3.org/2001/XMLSchema#"
    },
    {
      "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    },
    {
      "_comments": {
        "@id": "rdfs:comment",
        "_comments": "TOP-LEVEL DOCUMENT PROPERTIES"
      },
      "ot": "http://purl.org/opentree/nexson#",
      "curator": {
        "@id": "ot:curatorName",
        "@type": "xsd:string"
      },
      "comments": {
        "@id": "ot:comment",
        "@type": "xsd:string"
      },
      "citation": "ot:studyPublicationReference",
      "url": {
        "@id": "ot:studyPublication",
        "@type": "@id"
      },
      "year": {
        "@id": "ot:studyYear",
        "@type": "xsd:integer"
      }
    },
    {
      "_comments": {
        "@id": "rdfs:comment",
        "_comments": "Management of nodes and internode relationships"
      },
      "testcase": "http://vocab.phyloref.org/phyloref/testcase.owl#",
      "nodes": {
        "@id": "testcase:has_node",
        "@container": "@set"
      },
      "inPhylogeny": {
        "@id": "testcase:in_phylogeny",
        "@type": "@id"
      },
      "obo": "http://purl.obolibrary.org/obo/",
      "parent": {
        "@id": "obo:CDAO_0000179",
        "@type": "@id"
      },
      "hasRootNode": {
        "@id": "testcase:has_root_node",
        "@type": "@id"
      },
      "phylogenies": {
        "@id": "testcase:has_phylogeny",
        "@container": "@set"
      }
    },
    {
      "_comments": {
        "@id": "rdfs:comment",
        "_comments": "CDAO and Phyloref properties"
      },
      "obo": "http://purl.obolibrary.org/obo/",
      "phyloref": "http://ontology.phyloref.org/phyloref.owl#",
      "children": {
        "@id": "obo:CDAO_0000149",
        "@type": "@id"
      },
      "siblings": {
        "@id": "phyloref:has_Sibling",
        "@type": "@id"
      },
      "phylorefs": {
        "@id": "testcase:has_phyloreference",
        "@container": "@set"
      },
      "malformedPhyloreference": {
        "@id": "testcase:malformed_phyloreference",
        "@type": "xsd:string"
      },
      "internalSpecifiers": {
        "@id": "testcase:internal_specifier",
        "@container": "@set"
      },
      "externalSpecifiers": {
        "@id": "testcase:external_specifier",
        "@container": "@set"
      },
      "hasUnmatchedSpecifiers": {
        "@id": "testcase:has_unmatched_specifier",
        "@container": "@set"
      },
      "hasAdditionalClass": {
        "@id": "testcase:has_additional_class",
        "@container": "@set"
      },
      "newick": {
        "@id": "phyloref:newick_expression",
        "@type": "xsd:string"
      },
      "cladeDefinition": {
        "@id": "obo:IAO_0000115",
        "@type": "xsd:string"
      }
    },
    {
      "_comments": {
        "@id": "rdfs:comment",
        "_comments": "LOW-LEVEL RDF/RDFS/OWL TERMS"
      },
      "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
      "label": {
        "@id": "rdfs:label",
        "@type": "xsd:string"
      },
      "labels": {
        "@id": "rdfs:label",
        "@type": "xsd:string",
        "@container": "@set"
      },
      "comment": {
        "@id": "rdfs:comment",
        "@type": "xsd:string"
      }
    },
    {
      "_comments": {
        "@id": "rdfs:comment",
        "_comments": "GLUE TO RENDER ONTOLOGY IN RDF"
      },
      "owl": "http://www.w3.org/2002/07/owl#",
      "owl:imports": {
        "@id": "owl:imports",
        "@type": "@id"
      },
      "equivalentClass": "owl:equivalentClass",
      "intersectionOf": {
        "@id": "owl:intersectionOf",
        "@container": "@list"
      },
      "onProperty": {
        "@id": "owl:onProperty",
        "@type": "@id"
      },
      "someValuesFrom": {
        "@id": "owl:someValuesFrom",
        "@container": "@set"
      },
      "unionOf": {
        "@id": "owl:unionOf",
        "@container": "@list"
      },
      "hasValue": {
        "@id": "owl:hasValue",
        "@type": "xsd:string"
      },
      "filename": "testcase:filename",
      "externalReferences": {
        "@id": "obo:CDAO_0000164",
        "@container": "@set"
      },
      "scientificNames": {
        "@id": "testcase:has_scientific_name",
        "@container": "@set"
      },
      "includesSpecimens": {
        "@id": "testcase:includes_specimen",
        "@container": "@set"
      }
    },
    {
      "_comments": {
        "@id": "rdfs:comment",
        "_comments": "Properties of individual TUs: scientific name and specimens"
      },
      "hasName": {
        "@id": "http://rs.tdwg.org/ontology/voc/TaxonConcept#hasName",
        "@type": "http://rs.tdwg.org/ontology/voc/TaxonName#TaxonName"
      },
      "nameComplete": {
        "@id": "http://rs.tdwg.org/ontology/voc/TaxonName#nameComplete",
        "@type": "xsd:string"
      },
      "nameString": {
        "@id": "http://rs.tdwg.org/ontology/voc/TaxonName#nameString",
        "@type": "xsd:string"
      },
      "nomenclaturalCode": {
        "@id": "http://rs.tdwg.org/ontology/voc/TaxonName#nomenclaturalCode",
        "@type": "@id"
      },
      "dwc": "http://rs.tdwg.org/dwc/terms/",
      "scientificName": {
        "@id": "dwc:scientificName",
        "@type": "xsd:string"
      },
      "binomialName": {
        "@id": "testcase:has_binomial_name",
        "@type": "xsd:string"
      },
      "genus": {
        "@id": "dwc:genus",
        "@type": "xsd:string"
      },
      "specificEpithet": {
        "@id": "dwc:specificEpithet",
        "@type": "xsd:string"
      },
      "occurrenceID": "dwc:occurrenceID",
      "catalogNumber": "dwc:catalogNumber",
      "collectionCode": "dwc:collectionCode",
      "institutionCode": "dwc:institutionCode",
      "subClassOf": {
        "@id": "rdfs:subClassOf",
        "@type": "@id"
      },
      "expectedPhyloreferenceNamed": "testcase:expected_phyloreference_named",
      "reason": {
        "@id": "testcase:reason_for_match",
        "@type": "xsd:string"
      },
      "hasTaxonomicUnitMatches": {
        "@id": "testcase:has_taxonomic_unit_match",
        "@container": "@set"
      },
      "referencesTaxonomicUnits": {
        "@id": "testcase:references_taxonomic_unit",
        "domain": "Specifier",
        "range": "TU",
        "@container": "@set"
      },
      "matchesTaxonomicUnits": {
        "@id": "testcase:matches_taxonomic_unit",
        "domain": "TUMatch",
        "range": "TU",
        "@container": "@set"
      },
      "representsTaxonomicUnits": {
        "@id": "obo:CDAO_0000187",
        "domain": "Node",
        "range": "TU",
        "@container": "@set"
      },
      "specifierWillNotMatch": {
        "@id": "testcase:specifier_will_not_match",
        "@container": "@set"
      }
    },
    {
      "_comments": {
        "@id": "rdfs:comment",
        "_comments": "TERMS FROM THE ANNOTATION ONTOLOGY"
      },
      "oa": "http://www.w3.org/ns/oa#",
      "annotations": {
        "@id": "testcase:has_annotation",
        "@container": "@set"
      },
      "annotationTarget": {
        "@id": "oa:hasTarget",
        "@type": "@id"
      },
      "annotationName": {
        "@id": "rdfs:label",
        "@type": "xsd:string"
      },
      "annotationBody": {
        "@id": "oa:hasBody",
        "@type": "xsd:string"
      }
    },
    {
      "_comments": {
        "@id": "rdfs:comment",
        "_comments": "TERMS FROM THE PUBLISHING STATUS ONTOLOGY AND RELATED"
      },
      "pso": "http://purl.org/spar/pso/",
      "tvc": "http://www.essepuntato.it/2012/04/tvc/",
      "timeinterval": "http://www.ontologydesignpatterns.org/cp/owl/timeinterval.owl#"
    }
  ]
}
