@prefix ns1: <http://purl.org/np/> .
@prefix this: <http://purl.org/np/RAMUbJ6gvqXzVP5-7VzaSW6CAu15OwJR5FtnC1ENqkZDI> .
@prefix sub: <http://purl.org/np/RAMUbJ6gvqXzVP5-7VzaSW6CAu15OwJR5FtnC1ENqkZDI#> .
@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>Such a nanopublication expresses an association between two organism instances (subject and object), for example expressing that one subject individual ate the object individual.</p>

<p>For expressing interactions or more general knowledge between classes of organisms (taxa), please use the alternative template \"Associations between taxa\".</p>""" ;
    a nt:AssertionTemplate ;
    rdfs:label "Expressing an association between two individual organisms" ;
    nt:hasDefaultProvenance ns1:RA2VjRiJ5AsNnPHDXuOqvsEJwTwqtj5rBb-OFkpPOzd9s ;
    nt:hasNanopubLabelPattern "Organism of ${subjtaxonname} - ${relation} - organism of ${objtaxonname}" ;
    nt:hasStatement sub:st00 , sub:st05 , sub:st09 , sub:st10 , sub:st11 , sub:st12 , sub:st20 , sub:st25 , sub:st30 , sub:st39 , sub:st40 , sub:st41 , sub:st42 , sub:st50 , sub:st55 , sub:st60 , sub:st81 , sub:st82 , sub:st90 ;
    nt:hasTag "Biodiversity" .
  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:coordinates a nt:LiteralPlaceholder ;
    rdfs:label "lat/long coordinates in format like '+47.37+8.54' or with altitude '+47.37+8.54+410.5'" ;
    nt:hasRegex "[+-][0-9]+(\\.[0-9]+)?[+-][0-9]+(\\.[0-9]+)?([+-][0-9]+(\\.[0-9]+)?)?" .
  sub:obj a nt:LocalResource ;
    rdfs:label "the object organism" .
  sub:objAlt a nt:ExternalUriPlaceholder ;
    rdfs:label "any existing URI identifier of organism (e.g. of digital collection specimen or observation in nature)" .
  sub:objlifecyclestage a nt:RestrictedChoicePlaceholder ;
    rdfs:label "select the life cycle stage of the object organism; leave blank if unknown" ;
    nt:possibleValuesFrom ns1:RAVZS2MV-siFEqsgFTtgSoKA5qJkp7r1nM_n-MqPkvgdE .
  sub:objoccurrence a nt:ExternalUriPlaceholder ;
    rdfs:label "occurrence URI from GBIF (https://www.gbif.org/occurrence/...) or iDigBio, BOLD, PlutoF, etc." .
  sub:objtaxon a nt:LocalResource ;
    rdfs:label "the object taxon concept" .
  sub:objtaxondef a nt:ExternalUriPlaceholder ;
    rdfs:label "taxon concept reference (https://doi.org/... or 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 relation between the two organisms" ;
    nt:possibleValuesFrom ns1:RAodaWZBY-yDEtl9reYazBfI-YVD5L4zPh8RrVFS0kbEo .
  sub:st00 rdf:object <https://w3id.org/biolink/vocab/OrganismToOrganismAssociation> ;
    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:st09 rdf:object sub:subj ;
    rdf:predicate <https://w3id.org/biolink/vocab/subject> ;
    rdf:subject sub:association .
  sub:st10 rdf:object sub:subjtaxon ;
    rdf:predicate rdf:type ;
    rdf:subject sub:subj .
  sub:st11 rdf:object sub:subjtaxonname ;
    rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasTaxonName> ;
    rdf:subject sub:subjtaxon .
  sub:st12 rdf:object sub:subjtaxondef ;
    rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasTaxonConceptDefinition> ;
    rdf:subject sub:subjtaxon ;
    a nt:OptionalStatement .
  sub:st20 rdf:object sub:subjlifecyclestage ;
    rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasCycleStage> ;
    rdf:subject sub:subj ;
    a nt:OptionalStatement .
  sub:st25 rdf:object sub:subjoccurrence ;
    rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasOccurrence> ;
    rdf:subject sub:subj ;
    a nt:OptionalStatement .
  sub:st30 rdf:object sub:subjAlt ;
    rdf:predicate <http://www.w3.org/2002/07/owl#sameAs> ;
    rdf:subject sub:subj ;
    a nt:OptionalStatement , nt:RepeatableStatement .
  sub:st39 rdf:object sub:obj ;
    rdf:predicate <https://w3id.org/biolink/vocab/object> ;
    rdf:subject sub:association .
  sub:st40 rdf:object sub:objtaxon ;
    rdf:predicate rdf:type ;
    rdf:subject sub:obj .
  sub:st41 rdf:object sub:objtaxonname ;
    rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasTaxonName> ;
    rdf:subject sub:objtaxon .
  sub:st42 rdf:object sub:objtaxondef ;
    rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasTaxonConceptDefinition> ;
    rdf:subject sub:objtaxon ;
    a nt:OptionalStatement .
  sub:st50 rdf:object sub:objlifecyclestage ;
    rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasCycleStage> ;
    rdf:subject sub:obj ;
    a nt:OptionalStatement .
  sub:st55 rdf:object sub:objoccurrence ;
    rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasOccurrence> ;
    rdf:subject sub:obj ;
    a nt:OptionalStatement .
  sub:st60 rdf:object sub:objAlt ;
    rdf:predicate <http://www.w3.org/2002/07/owl#sameAs> ;
    rdf:subject sub:obj ;
    a nt:OptionalStatement , nt:RepeatableStatement .
  sub:st81 rdf:object sub:coordinates ;
    rdf:predicate <https://w3id.org/kpxl/biodiv/terms/hasLocationCoordinates> ;
    rdf:subject sub:association ;
    a nt:OptionalStatement .
  sub:st82 rdf:object sub:timepoint ;
    rdf:predicate <https://w3id.org/biolink/vocab/timepoint> ;
    rdf:subject sub:association ;
    a nt:OptionalStatement .
  sub:st90 rdf:object sub:comment ;
    rdf:predicate rdfs:comment ;
    rdf:subject nt:ASSERTION ;
    a nt:OptionalStatement .
  sub:subj a nt:LocalResource ;
    rdfs:label "the subject organism" .
  sub:subjAlt a nt:ExternalUriPlaceholder ;
    rdfs:label "any existing URI identifier of organism (e.g. of digital collection specimen or observation in nature)" .
  sub:subjlifecyclestage a nt:RestrictedChoicePlaceholder ;
    rdfs:label "select the life cycle stage of the subject organism; leave blank if unknown" ;
    nt:possibleValuesFrom ns1:RAVZS2MV-siFEqsgFTtgSoKA5qJkp7r1nM_n-MqPkvgdE .
  sub:subjoccurrence a nt:ExternalUriPlaceholder ;
    rdfs:label "occurrence URI from GBIF (https://www.gbif.org/occurrence/...) or iDigBio, BOLD, PlutoF, etc." .
  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 URL from IPNI, MycoBank, Index Fungorum, or ZooBank)" ;
    nt:possibleValuesFromApi "https://vodex.petapico.org/nidx/query?rows=100&q=label:" .
  sub:timepoint a nt:LiteralPlaceholder ;
    rdfs:label "time expressed in XSD DateTime format, e.g. '2023-03-30T22:17:11Z'" ;
    nt:hasRegex "-?([1-9]\\d\\d\\d+|0\\d\\d\\d)-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])T(([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(\\.\\d+)?|24:00:00(\\.0+)?)(Z|[+-](0\\d|1[0-4]):[0-5]\\d)?" .
  rdf:type rdfs:label "is an instance of" .
  rdfs:comment rdfs:label "has the free-text comment" .
  <http://www.w3.org/2002/07/owl#sameAs> rdfs:label "is the same as" .
  <https://w3id.org/biolink/vocab/OrganismToOrganismAssociation> rdfs:label "an association between two individual organisms" .
  <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 organism and object organism)" .
  <https://w3id.org/biolink/vocab/subject> rdfs:label "refers to - links an association to its subject" .
  <https://w3id.org/biolink/vocab/timepoint> rdfs:label "occurred at the time - points to time when this association happened" .
  <https://w3id.org/kpxl/biodiv/terms/hasCycleStage> rdfs:label "has the life cycle stage" .
  <https://w3id.org/kpxl/biodiv/terms/hasLocationCoordinates> rdfs:label "has the location coordinates - points to the coordinates of the location where the association took place" .
  <https://w3id.org/kpxl/biodiv/terms/hasOccurrence> rdfs:label "has the occurrence - links an organism to a record of a specific occurrence of it" .
  <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: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 "j/GHf3jMeFjcgjEg821s2Q+aTqK5nUBHp4hRHCOiAeAg5vyECXEMoR1nsY+OSBP+Fg9cJGRLVzpoNW5A2UpGkUfCk6qQ9n7HQzxiHp78H5Ima9Ttrmf2St6/fqD/3Bs3mzu0Yfd6z6xkW96ybDHnQfElU/oFlbXaWgIG7+Nm1/k=" ;
    npx:hasSignatureTarget this: .
  this: dct:created "2023-08-08T07:41:00.897Z"^^xsd:dateTime ;
    dct:creator orcid:0000-0002-1267-0234 ;
    dct:license <https://creativecommons.org/licenses/by/4.0/> ;
    npx:supersedes ns1:RAJNV_Bc1nL6OMG20RQe5CbXAIOiH90TpMFHYIsbldf4M ;
    nt:wasCreatedFromProvenanceTemplate ns1:RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM ;
    nt:wasCreatedFromPubinfoTemplate ns1:RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM , ns1:RAh1gm83JiG5M6kDxXhaYT1l49nCzyrckMvTzcPn-iv90 , ns1:RAjpBMlw3owYhJUBo3DtsuDlXsNAJ8cnGeWAutDVjuAuI ;
    nt:wasCreatedFromTemplate ns1:RAcWdTxuDiVS_r3AtyI1TlF6_0oiGqUs75JsK6JTfQzsQ .
}