@prefix this: <http://purl.org/np/RAqdHXLjSB8Adb3RjG4_yTk4jsNdBlOnAXaAPRMKyJEJA> .
@prefix sub: <http://purl.org/np/RAqdHXLjSB8Adb3RjG4_yTk4jsNdBlOnAXaAPRMKyJEJA#> .
@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#> .

<http://purl.org/np/RAqdHXLjSB8Adb3RjG4_yTk4jsNdBlOnAXaAPRMKyJEJA> a np:Nanopublication;
  np:hasAssertion sub:assertion;
  np:hasProvenance sub:provenance;
  np:hasPublicationInfo sub:pubinfo;
  dct:created "2023-08-08T06:55:31.623Z"^^xsd:dateTime;
  dct:creator orcid:0000-0002-1267-0234;
  dct:license <https://creativecommons.org/licenses/by/4.0/>;
  npx:supersedes <http://purl.org/np/RAEuh-xgqpzfft3683kLuT9cZ8ZhHa3RMhtWEzwWPxwvM>;
  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/RAcWdTxuDiVS_r3AtyI1TlF6_0oiGqUs75JsK6JTfQzsQ> .

sub:assertion a nt:AssertionTemplate;
  dct:description """<p>Such a nanopublication expresses an association between classes of organisms (taxa), a subject axon and an object taxon, for example expressing that the organisms of the subject taxon prey on organisms of the object taxon.</p>

<p>For expressing observations of interactions between individual organisms, please use the alternative template \"Associations between organisms\".</p>""";
  rdfs:label "Expressing an association between two organism taxa";
  nt:hasDefaultProvenance <http://purl.org/np/RA2VjRiJ5AsNnPHDXuOqvsEJwTwqtj5rBb-OFkpPOzd9s>;
  nt:hasNanopubLabelPattern "${subjtaxonname} - ${relation} - ${objtaxonname}";
  nt:hasStatement sub:st00, sub:st05, sub:st10, sub:st11, sub:st12, sub:st20, sub:st40,
    sub:st41, sub:st42, sub:st50, sub:st60;
  nt:hasTag "Biodiversity";
  prov:wasAttributedTo orcid:0000-0002-1267-0234 .

sub:association a nt:IntroducedResource, nt:LocalResource;
  rdfs:label "this association" .

sub:comment a nt:LongLiteralPlaceholder;
  rdfs:label "short explanation related to the above statement" .

sub:objlifecyclestage a nt:RestrictedChoicePlaceholder;
  rdfs:label "the life cycle stage of the object taxon";
  nt:possibleValuesFrom <http://purl.org/np/RAVZS2MV-siFEqsgFTtgSoKA5qJkp7r1nM_n-MqPkvgdE> .

sub:objtaxon a nt:LocalResource;
  rdfs:label "the object taxon concept" .

sub:objtaxondef a nt:ExternalUriPlaceholder;
  rdfs:label "publication DOI (https://doi.org/...) or taxon treatment ID (https://treatment.plazi.org/id/...)";
  nt:hasRegex "(https://doi.org/|https://treatment.plazi.org/id/).+" .

sub:objtaxonname a nt:GuidedChoicePlaceholder;
  rdfs:label "search and select from list (if not found, you may paste URL from IPNI, MycoBank, Index Fungorum, or ZooBank)";
  nt:possibleValuesFromApi "https://vodex.petapico.org/nidx/query?rows=100&q=label:" .

sub:relation a nt:RestrictedChoicePlaceholder;
  rdfs:label "the type of relation between the two taxa";
  nt:possibleValuesFrom <http://purl.org/np/RAodaWZBY-yDEtl9reYazBfI-YVD5L4zPh8RrVFS0kbEo> .

sub:st00 rdf:object <https://w3id.org/biolink/vocab/OrganismTaxonToOrganismTaxonAssociation>;
  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:subjtaxon;
  rdf:predicate <https://w3id.org/biolink/vocab/subject>;
  rdf:subject sub:association .

sub:st11 rdf:object sub:subjtaxonname;
  rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasTaxonName>;
  rdf:subject sub:subjtaxon .

sub:st12 a nt:OptionalStatement;
  rdf:object sub:subjtaxondef;
  rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasTaxonConceptDefinition>;
  rdf:subject sub:subjtaxon .

sub:st20 a nt:OptionalStatement;
  rdf:object sub:subjlifecyclestage;
  rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasSubjectLifeCycleStage>;
  rdf:subject sub:association .

sub:st40 rdf:object sub:objtaxon;
  rdf:predicate <https://w3id.org/biolink/vocab/object>;
  rdf:subject sub:association .

sub:st41 rdf:object sub:objtaxonname;
  rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasTaxonName>;
  rdf:subject sub:objtaxon .

sub:st42 a nt:OptionalStatement;
  rdf:object sub:objtaxondef;
  rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasTaxonConceptDefinition>;
  rdf:subject sub:objtaxon .

sub:st50 a nt:OptionalStatement;
  rdf:object sub:objlifecyclestage;
  rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasObjectLifeCycleStage>;
  rdf:subject sub:association .

sub:st60 a nt:OptionalStatement;
  rdf:object sub:comment;
  rdf:predicate rdfs:comment;
  rdf:subject sub:association .

sub:subjlifecyclestage a nt:RestrictedChoicePlaceholder;
  rdfs:label "the life cycle stage of the subject taxon";
  nt:possibleValuesFrom <http://purl.org/np/RAVZS2MV-siFEqsgFTtgSoKA5qJkp7r1nM_n-MqPkvgdE> .

sub:subjtaxon a nt:LocalResource;
  rdfs:label "the subject taxon concept" .

sub:subjtaxondef a nt:ExternalUriPlaceholder;
  rdfs:label "publication DOI (https://doi.org/...) or taxon treatment ID (https://treatment.plazi.org/id/...)";
  nt:hasRegex "(https://doi.org/|https://treatment.plazi.org/id/).+" .

sub:subjtaxonname a nt:GuidedChoicePlaceholder;
  rdfs:label "search and select from list (if not found, you may paste identifying URL from IPNI, MycoBank, or Index Fungorum)";
  nt:possibleValuesFromApi "https://vodex.petapico.org/nidx/query?rows=100&q=label:" .

rdf:type rdfs:label "is an" .

rdfs:comment rdfs:label "has the free-text comment" .

<https://w3id.org/biolink/vocab/OrganismTaxonToOrganismTaxonAssociation> rdfs:label
    "association between two organism taxa" .

<https://w3id.org/biolink/vocab/object> rdfs:label "refers to - links an association to its object" .

<https://w3id.org/biolink/vocab/predicate> rdfs:label "refers to the relation (between subject taxon and object taxon)" .

<https://w3id.org/biolink/vocab/subject> rdfs:label "refers to - links an association to its subject" .

<https://w3id.org/kpxl/biodiv/terms/hasObjectLifeCycleStage> rdfs:label "refers to the object taxon's life cycle stage" .

<https://w3id.org/kpxl/biodiv/terms/hasSubjectLifeCycleStage> rdfs:label "refers to the subject taxon's life cycle stage" .

<https://w3id.org/kpxl/biodiv/terms/hasTaxonConceptDefinition> rdfs:label "is used as defined in" .

<https://w3id.org/kpxl/biodiv/terms/hasTaxonName> rdfs:label "has the name - links a taxon usage to a taxon name" .

sub:sig npx:hasAlgorithm "RSA";
  npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCjDGQCS1S+SRnERDuYDXOugdYUP0efEquHJEEHAbU/uLzBVlga89zqrNPCS7fBE6lArBUWEmT8eLKdMapyqvAzI1J3jUWTMhDJF+XFBkUiuiFfNSc4vJJcmi0yujtnuzXsRIG202jyaP4f5ULoskFwaZOSBZJfiE0dsB3D7DTIAQIDAQAB";
  npx:hasSignature "af8R0+/tfgIoq80f1vLHf1GmfcJj1BTw088FKrKOByst3vo/hUNl+Hpys6feOFX7pYIzo144Q0grmPa13aRt7H5or2VFUN0Te12G27/c1L/qniIlC7rySGUx6SwRn8/Nht2AEEZHKlnKIZaj91PttGDXXZn1w0iyffauwazS8p4=";
  npx:hasSignatureTarget <http://purl.org/np/RAqdHXLjSB8Adb3RjG4_yTk4jsNdBlOnAXaAPRMKyJEJA> .

