@prefix dc1: <http://purl.org/dc/terms/> .
@prefix this: <http://purl.org/np/RA59AEpaWRaR9sjdA0-n4zaQWdiZ6--iGafMrjrDAOheI> .
@prefix sub: <http://purl.org/np/RA59AEpaWRaR9sjdA0-n4zaQWdiZ6--iGafMrjrDAOheI#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix orcid: <https://orcid.org/> .
@prefix nt: <https://w3id.org/np/o/ntemplate/> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix bl: <https://w3id.org/biolink/vocab/> .
@prefix schema: <https://schema.org/> .
@prefix nkg: <https://w3id.org/um/neurodkg/> .
sub:Head {
  this: np:hasAssertion sub:assertion ;
    np:hasProvenance sub:provenance ;
    np:hasPublicationInfo sub:pubinfo ;
    a np:Nanopublication .
}
sub:assertion {
  sub:assertion a nt:AssertionTemplate ;
    rdfs:label "Defining a drug indication with its context (NeuroDKG)" ;
    nt:hasStatement sub:st00 , sub:st01 , sub:st02 , sub:st03 , sub:st04 , sub:st05 , sub:st06 , sub:st07 , sub:st08 , sub:st09 , sub:st10 , sub:st11 , sub:st12 , sub:st13 , sub:st14 .
  sub:association a nt:LocalResource ;
    rdfs:label "this association" .
  sub:associationRelation a nt:GuidedChoicePlaceholder ;
    rdfs:label "provide the type of drug indication" ;
    nt:possibleValue schema:ApprovedIndication , schema:PreventionIndication , schema:TreatmentIndication , nkg:OffLabelIndication , nkg:SymptomaticReliefIndication .
  sub:cohort a nt:LocalResource ;
    rdfs:label "the study cohort" .
  sub:cohortAgeLabel a nt:LiteralPlaceholder ;
    rdfs:label "describe the life stage or age of the cohort (e.g. Adults)" .
  sub:cohortAgeMax a nt:LiteralPlaceholder ;
    rdfs:label "describe the maximum age of the cohort (e.g. 80)" .
  sub:cohortAgeMin a nt:LiteralPlaceholder ;
    rdfs:label "describe the minimum age of the cohort (e.g. 7)" .
  sub:hasPhenotype a nt:GuidedChoicePlaceholder ;
    rdfs:label "provide additional phenotypes for the cohort" ;
    nt:possibleValuesFromApi "https://name-resolution-sri.renci.org/lookup?limit=10&string=" .
  sub:object a nt:GuidedChoicePlaceholder ;
    rdfs:label "search for the disease it treats" ;
    nt:possibleValuesFromApi "https://name-resolution-sri.renci.org/lookup?limit=10&string=" .
  sub:publication a nt:UriPlaceholder ;
    rdfs:label "add the URI of a publication supporting this association (doi, PubMed, URL...)" .
  sub:readableassertion a nt:LiteralPlaceholder ;
    rdfs:label "describe the assertion concisely (e.g. tylenol treats pain in adults patients)" .
  sub:st00 rdf:object sub:readableassertion ;
    rdf:predicate rdfs:label ;
    rdf:subject sub:association ;
    a rdf:Statement ;
    nt:statementOrder 0 .
  sub:st01 rdf:object sub:subject ;
    rdf:predicate rdf:subject ;
    rdf:subject sub:association ;
    a rdf:Statement ;
    nt:statementOrder 1 .
  sub:st02 rdf:object sub:object ;
    rdf:predicate rdf:object ;
    rdf:subject sub:association ;
    a rdf:Statement ;
    nt:statementOrder 3 .
  sub:st03 rdf:object bl:ChemicalToDiseaseOrPhenotypicFeatureAssociation ;
    rdf:predicate bl:association_type ;
    rdf:subject sub:association ;
    a rdf:Statement ;
    nt:statementOrder 19 .
  sub:st04 rdf:object sub:associationRelation ;
    rdf:predicate bl:relation ;
    rdf:subject sub:association ;
    a rdf:Statement ;
    nt:statementOrder 6 .
  sub:st05 rdf:object "NeuroDKG" ;
    rdf:predicate bl:provided_by ;
    rdf:subject sub:association ;
    a rdf:Statement ;
    nt:statementOrder 22 .
  sub:st06 rdf:object sub:publication ;
    rdf:predicate bl:publications ;
    rdf:subject sub:association ;
    a nt:OptionalStatement ;
    nt:statementOrder 10 .
  sub:st07 a nt:GroupedStatement , nt:OptionalStatement ;
    nt:hasStatement sub:st07a , sub:st07b , sub:st07c ;
    nt:statementOrder 11 .
  sub:st07a rdf:object sub:cohort ;
    rdf:predicate bl:has_population_context ;
    rdf:subject sub:association ;
    a rdf:Statement ;
    nt:statementOrder 12 .
  sub:st07b rdf:object sub:cohortAgeLabel ;
    rdf:predicate rdfs:label ;
    rdf:subject sub:cohort ;
    a rdf:Statement ;
    nt:statementOrder 13 .
  sub:st07c rdf:object bl:Cohort ;
    rdf:predicate bl:category ;
    rdf:subject sub:cohort ;
    a rdf:Statement ;
    nt:statementOrder 14 .
  sub:st08 rdf:object sub:cohortAgeMin ;
    rdf:predicate schema:requiredMinAge ;
    rdf:subject sub:cohort ;
    a nt:OptionalStatement ;
    nt:statementOrder 15 .
  sub:st09 rdf:object sub:cohortAgeMax ;
    rdf:predicate schema:requiredMaxAge ;
    rdf:subject sub:cohort ;
    a nt:OptionalStatement ;
    nt:statementOrder 16 .
  sub:st10 rdf:object sub:hasPhenotype ;
    rdf:predicate bl:has_phenotype ;
    rdf:subject sub:cohort ;
    a nt:OptionalStatement , nt:RepeatableStatement ;
    nt:statementOrder 18 .
  sub:st11 rdf:object rdf:Statement ;
    rdf:predicate rdf:type ;
    rdf:subject sub:association ;
    a rdf:Statement ;
    nt:statementOrder 20 .
  sub:st12 rdf:object bl:Drug ;
    rdf:predicate bl:category ;
    rdf:subject sub:subject ;
    a rdf:Statement ;
    nt:statementOrder 23 .
  sub:st13 rdf:object bl:Disease ;
    rdf:predicate bl:category ;
    rdf:subject sub:object ;
    a rdf:Statement ;
    nt:statementOrder 24 .
  sub:st14 rdf:object bl:treats ;
    rdf:predicate rdf:predicate ;
    rdf:subject sub:association ;
    a rdf:Statement ;
    nt:statementOrder 21 .
  sub:subject a nt:GuidedChoicePlaceholder ;
    rdfs:label "search for the indicated drug" ;
    nt:possibleValuesFromApi "https://name-resolution-sri.renci.org/lookup?limit=10&string=" .
  rdf:Statement rdfs:label "association Statement" .
  rdf:object rdfs:label "has disease" .
  rdf:predicate rdfs:label "has predicate" .
  rdf:subject rdfs:label "has drug" .
  rdf:type rdfs:label "has type" .
  rdfs:label rdfs:label "has label" .
  schema:ApprovedIndication rdfs:label "An indication for a medical therapy that has been formally specified or approved by a regulatory body." .
  schema:PreventionIndication rdfs:label "An indication for preventing an underlying condition, symptom, etc." .
  schema:TreatmentIndication rdfs:label "An indication for treating an underlying condition." .
  schema:requiredMaxAge rdfs:label "participant maximun age is" .
  schema:requiredMinAge rdfs:label "participant minimun age is" .
  bl:EvidenceType rdfs:label "EvidenceType" .
  bl:association_type rdfs:label "has BioLink type" .
  bl:category rdfs:label "is a" .
  bl:description rdfs:label "is described by" .
  bl:has_drug rdfs:label "uses drug" .
  bl:has_phenotype rdfs:label "has phenotypes" .
  bl:has_population_context rdfs:label "has population context" .
  bl:id rdfs:label "has id" .
  bl:negated rdfs:label "is negated" .
  bl:provided_by rdfs:label "is provided by" .
  bl:publications rdfs:label "has publications" .
  bl:qualifiers rdfs:label "is qualified by" .
  bl:relation rdfs:label "has relation" .
  nkg:OffLabelIndication rdfs:label "An indication found in off-label drug uses" .
  nkg:SymptomaticReliefIndication rdfs:label "An indication for only managing the symptoms of the condition" .
}
sub:provenance {
  sub:assertion prov:wasAttributedTo orcid:0000-0002-1501-1082 .
}
sub:pubinfo {
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCR9fz0fKCdWOWC+pxhkQhEM/ppbdIYe5TLSdj+lJzSlv9mYBaPgrzVezSwwbmhlHBPDZa4/vHycU315BdmUGq+pXllp9+rWFfrb+kBJwhZjpG6BeyyXBsRFz4jmQVxl/ZYHilQTh/XalYzKkEAyTiEMPee4Kz61PaWOKH24CsnOQIDAQAB" ;
    npx:hasSignature "Ym4DiV34Q4p81jqq8KxDtvGrA316Wr21ZnjKFEw6lUCESOa026EHvQwTxSzuJbzqIzEFkSTwBb/74E4E5oyUiRGncH4WfM5XlZ3JKusxCva4htVz8RhL5dJWSDK8Ki+TddtwFhlwzFDrZEc8+n4cqq+01uH+Vlq+PBwnuBdu/oA=" ;
    npx:hasSignatureTarget this: .
  this: dc1:created "2021-03-13T11:00:00+01:00"^^xsd:dateTime ;
    dc1:creator orcid:0000-0002-1501-1082 ;
    npx:supersedes <http://purl.org/np/RA2iLyceeStCVfeHYzukdngja3VOyAYHEs8n7nL7j1H9M> .
}