@prefix this: <http://purl.org/np/RANHLihwROJfyQM2TFwZVDCH9sN24zVT3QtsI6zyp_RXI> .
@prefix sub: <http://purl.org/np/RANHLihwROJfyQM2TFwZVDCH9sN24zVT3QtsI6zyp_RXI#> .
@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 {
  sub:assertion dct:description """<p><strong>This just a preliminary template for testing...</strong></p>

<p>The subject is a taxon as retrieved from GBIF.</p>

<p>The predicate is from the Relation Ontology.</p>

<p>The object is a habitat according to the ENVO ontology.</p>""" ;
    a nt:AssertionTemplate ;
    rdfs:label "Linking a taxon to a habitat" ;
    nt:hasStatement sub:st1 ;
    nt:hasTag "Biodiversity" .
  sub:habitat a nt:GuidedChoicePlaceholder ;
    rdfs:label "habitat related to taxon" ;
    nt:possibleValuesFromApi "https://www.ebi.ac.uk/ols/api/select?ontology=envo&fieldList=iri,label,description&q=" .
  sub:relation a nt:GuidedChoicePlaceholder ;
    rdfs:label "identifier of relation" ;
    nt:possibleValuesFromApi "https://www.ebi.ac.uk/ols/api/select?ontology=ro&fieldList=iri,label,description&q=" .
  sub:st1 rdf:object sub:habitat ;
    rdf:predicate sub:relation ;
    rdf:subject sub:taxon .
  sub:taxon a nt:GuidedChoicePlaceholder ;
    rdfs:label "identifier of taxon" ;
    nt:possibleValuesFromApi "https://api.gbif.org/v1/species/suggest?q=" .
}
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 "V4++orqIaTSqLaij7cqunAiSdRK8aaMQPPRKjA4iGkfxbSpsRZOCsNPJKKaJHy3dDjzeOdSRzY1kggO3GcGFihAr18MnRwOBt7TQjI4eYHlPn/+rUbNiPkSss/sm2uAYwBX+jTxQudoa7gIjloExKzQlxiL4G5dVEn16//gh42E=" ;
    npx:hasSignatureTarget this: .
  this: dct:created "2023-03-03T13:09:00.616Z"^^xsd:dateTime ;
    dct:creator orcid:0000-0002-1267-0234 ;
    npx:supersedes <http://purl.org/np/RA--q1IrFyg99hLZTLKf44B__3yMxh47hjxpp9Pnw0ySk> ;
    nt:wasCreatedFromProvenanceTemplate <http://purl.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM> ;
    nt:wasCreatedFromPubinfoTemplate <http://purl.org/np/RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM> , <http://purl.org/np/RAjpBMlw3owYhJUBo3DtsuDlXsNAJ8cnGeWAutDVjuAuI> ;
    nt:wasCreatedFromTemplate <http://purl.org/np/RA6mo9EIIcGA9jewFh6Ql7uiEIy4HpOefEr21rs_qURdQ> .
}