@prefix this: <http://purl.org/np/RAxT4oYCZOqGUI8TttxPtNjQasPpGpu5Gtkp6tn44iqWE> .
@prefix sub: <http://purl.org/np/RAxT4oYCZOqGUI8TttxPtNjQasPpGpu5Gtkp6tn44iqWE#> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix nt: <https://w3id.org/np/o/ntemplate/> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix orcid: <https://orcid.org/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
sub:Head {
  this: np:hasAssertion sub:assertion ;
    np:hasProvenance sub:provenance ;
    np:hasPublicationInfo sub:pubinfo ;
    a np:Nanopublication .
}
sub:assertion {
  <http://purl.obolibrary.org/obo/RO_0002303> rdfs:label "has habitat" .
  sub:assertion dct:description "Such a nanopublication expresses an association between an organism taxon (e.g. a species) and an environment, for example expressing that the organisms of the given species inhabit the specified environment." ;
    a nt:AssertionTemplate ;
    rdfs:label "Expressing an association between an organism taxon and an environment" ;
    nt:hasStatement sub:st00 , sub:st05 , sub:st10 , sub:st11 , sub:st12 , sub:st20 , sub:st40 ;
    nt:hasTag "Biodiversity" .
  sub:association a nt:IntroducedResource , nt:LocalResource ;
    rdfs:label "this association" .
  sub:environment a nt:GuidedChoicePlaceholder ;
    rdfs:label "the environment to be associated with the taxon" ;
    nt:possibleValuesFromApi "https://www.ebi.ac.uk/ols/api/select?ontology=envo&fieldList=iri,label,description&q=" .
  sub:lifecyclestage a nt:RestrictedChoicePlaceholder ;
    rdfs:label "the life cycle stage" ;
    nt:possibleValuesFrom <http://purl.org/np/RAVZS2MV-siFEqsgFTtgSoKA5qJkp7r1nM_n-MqPkvgdE> .
  sub:relation a nt:GuidedChoicePlaceholder ;
    rdfs:label "the type of relation between the taxon and the environment" ;
    nt:possibleValue <http://purl.obolibrary.org/obo/RO_0002303> ;
    nt:possibleValuesFromApi "https://www.ebi.ac.uk/ols/api/select?ontology=ro&fieldList=iri,label,description&q=" .
  sub:st00 rdf:object <https://w3id.org/biolink/vocab/OrganismTaxonToEnvironmentAssociation> ;
    rdf:predicate rdf:type ;
    rdf:subject sub:association .
  sub:st05 rdf:object sub:relation ;
    rdf:predicate <https://w3id.org/biolink/vocab/predicate> ;
    rdf:subject sub:association .
  sub:st10 rdf:object sub:taxon ;
    rdf:predicate <https://w3id.org/biolink/vocab/subject> ;
    rdf:subject sub:association .
  sub:st11 rdf:object sub:taxonname ;
    rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasTaxonName> ;
    rdf:subject sub:taxon .
  sub:st12 rdf:object sub:taxondef ;
    rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasTaxonConceptDefinition> ;
    rdf:subject sub:taxon ;
    a nt:OptionalStatement .
  sub:st20 rdf:object sub:lifecyclestage ;
    rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasSubjectLifeCycleStage> ;
    rdf:subject sub:association ;
    a nt:OptionalStatement .
  sub:st40 rdf:object sub:environment ;
    rdf:predicate <https://w3id.org/biolink/vocab/object> ;
    rdf:subject sub:association .
  sub:taxon a nt:LocalResource ;
    rdfs:label "the taxon" .
  sub:taxondef a nt:ExternalUriPlaceholder ;
    rdfs:label "publication DOI (https://doi.org/...) or taxon treatment ID (https://treatment.plazi.org/id/...)" .
  sub:taxonname a nt:GuidedChoicePlaceholder ;
    rdfs:label "search and select from list" ;
    nt:possibleValuesFromApi "https://vodex.petapico.org/nidx/query?rows=100&q=label:" .
  rdf:type rdfs:label "is a" .
  <https://w3id.org/biolink/vocab/OrganismTaxonToEnvironmentAssociation> rdfs:label "association of an organism taxon to an environment" .
  <https://w3id.org/biolink/vocab/object> rdfs:label "refers to the environment" .
  <https://w3id.org/biolink/vocab/predicate> rdfs:label "refers to the relation (between taxon and environment)" .
  <https://w3id.org/biolink/vocab/subject> rdfs:label "refers to" .
  <https://w3id.org/kpxl/biodiv/terms/hasSubjectLifeCycleStage> rdfs:label "refers to the taxon's life cycle stage" .
  <https://w3id.org/kpxl/biodiv/terms/hasTaxonConceptDefinition> rdfs:label "is used according to" .
  <https://w3id.org/kpxl/biodiv/terms/hasTaxonName> rdfs:label "has the name - links a taxon usage to a taxon name" .
}
sub:provenance {
  sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 .
}
sub:pubinfo {
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCjDGQCS1S+SRnERDuYDXOugdYUP0efEquHJEEHAbU/uLzBVlga89zqrNPCS7fBE6lArBUWEmT8eLKdMapyqvAzI1J3jUWTMhDJF+XFBkUiuiFfNSc4vJJcmi0yujtnuzXsRIG202jyaP4f5ULoskFwaZOSBZJfiE0dsB3D7DTIAQIDAQAB" ;
    npx:hasSignature "bvuhiyUEW08dxw07PImaC4PNtq6qnm/ThdmFXjfjt7oPlCjvBq23u3DtoZ9AudSLm4C3k0D48lcRpoa1mp+Jeby7orBt7Dwj2QmQRkHdid3/J8s1QL4ufTWS5QeaOnpswSNmd9L25yIo8bUvqyLQWRlF2AS6ch8iPY0M4QWtoAE=" ;
    npx:hasSignatureTarget this: .
  this: dct:created "2023-07-05T13:46:21.166Z"^^xsd:dateTime ;
    dct:creator orcid:0000-0002-1267-0234 ;
    dct:license <https://creativecommons.org/licenses/by/4.0/> ;
    npx:supersedes <http://purl.org/np/RAWzE1bUC-SJ1Pblq5rs-ymM5Hh1rDJgPbfVqm0kfndYI> ;
    nt:wasCreatedFromProvenanceTemplate <http://purl.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM> ;
    nt:wasCreatedFromPubinfoTemplate <http://purl.org/np/RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM> , <http://purl.org/np/RAh1gm83JiG5M6kDxXhaYT1l49nCzyrckMvTzcPn-iv90> , <http://purl.org/np/RAjpBMlw3owYhJUBo3DtsuDlXsNAJ8cnGeWAutDVjuAuI> ;
    nt:wasCreatedFromTemplate <http://purl.org/np/RA5awHTBKJwv0iGa1au6zAor35CtkO-ZQDglzUuq8AT88> .
}