@prefix ns1: <http://purl.org/dc/terms/> .
@prefix this: <http://purl.org/np/RA64ptuigOfVGfIhpdwWeJnssaHV9jTQCnAm6Pvgrvmos> .
@prefix sub: <http://purl.org/np/RA64ptuigOfVGfIhpdwWeJnssaHV9jTQCnAm6Pvgrvmos#> .
@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 schema: <https://schema.org/> .
@prefix nkg: <https://w3id.org/neurodkg/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
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 medical context" ;
    nt:hasStatement sub:st00 , sub:st01 , sub:st02 , sub:st03 , sub:st04 , sub:st05 .
  sub:audienceType a nt:LiteralPlaceholder ;
    rdfs:label "has the target group (eg. adult, pregnant)" .
  sub:condition a nt:LocalResource ;
    rdfs:label " The condition for target population" .
  sub:conditionText a nt:LiteralPlaceholder ;
    rdfs:label "describe the condition here" .
  sub:conditionURI a nt:GuidedChoicePlaceholder ;
    rdfs:label "define the condition for target population using DOID" ;
    nt:possibleValuesFromApi "http://data.bioontology.org/search?pagesize=20&apikey=fd451bec-eacd-4519-b972-90fb6c7007cb&include_properties=false&ontologies=DOID&q=" .
  sub:disease a nt:GuidedChoicePlaceholder ;
    rdfs:label "has disease using DOID" ;
    nt:possibleValuesFromApi "http://data.bioontology.org/search?pagesize=20&apikey=fd451bec-eacd-4519-b972-90fb6c7007cb&include_properties=false&ontologies=DOID&q=" .
  sub:drug a nt:UriPlaceholder ;
    rdfs:label "add a Drugbank identifier here (e.g. DB00295)" ;
    nt:hasPrefix "http://identifiers.org/drugbank/" ;
    nt:hasPrefixLabel " has the drug" ;
    nt:hasRegex "[A-Z]{2}\\d{5}" .
  sub:indi_type a nt:GuidedChoicePlaceholder ;
    rdfs:label "add the indication type for medical therapy" ;
    nt:possibleValue schema:ApprovedIndication , schema:PreventionIndication , schema:TreatmentIndication , nkg:AdjunctiveTherapy , nkg:SymptomaticReliefIndication .
  sub:maxAge a nt:LiteralPlaceholder ;
    rdfs:label "Audiences defined by a person's maximum age." ;
    nt:hasRegex "[0-9]*" .
  sub:medtherapy a nt:LocalResource ;
    rdfs:label "This medical therapy " .
  sub:minAge a nt:LiteralPlaceholder ;
    rdfs:label "Audiences defined by a person's minimum age." ;
    nt:hasRegex "[0-9]*" .
  sub:quote a nt:LocalResource ;
    rdfs:label "This quoted text" .
  sub:quotedtext a nt:LiteralPlaceholder ;
    rdfs:label "quote the supporting text here" .
  sub:source a nt:UriPlaceholder ;
    rdfs:label "add the URL to the source (e.g. DailyMed URL) of the quoted text here" .
  sub:st00 a nt:GroupedStatement , nt:OptionalStatement ;
    nt:hasStatement sub:st00a , sub:st00b , sub:st00c ;
    nt:statementOrder 1 .
  sub:st00a rdf:object sub:quote ;
    rdf:predicate prov:wasDerivedFrom ;
    rdf:subject sub:medtherapy ;
    a rdf:Statement ;
    nt:statementOrder 1 .
  sub:st00b rdf:object sub:quotedtext ;
    rdf:predicate prov:value ;
    rdf:subject sub:quote ;
    a rdf:Statement ;
    nt:statementOrder 2 .
  sub:st00c rdf:object sub:source ;
    rdf:predicate prov:wasQuotedFrom ;
    rdf:subject sub:quote ;
    a rdf:Statement ;
    nt:statementOrder 3 .
  sub:st01 rdf:object sub:drug ;
    rdf:predicate schema:drug ;
    rdf:subject sub:medtherapy ;
    a rdf:Statement ;
    nt:statementOrder 2 .
  sub:st02 rdf:object sub:medtherapy ;
    rdf:predicate schema:possibleTreatment ;
    rdf:subject sub:disease ;
    a rdf:Statement ;
    nt:statementOrder 3 .
  sub:st03 rdf:object sub:indi_type ;
    rdf:predicate nkg:indicationType ;
    rdf:subject sub:medtherapy ;
    a rdf:Statement ;
    nt:statementOrder 4 .
  sub:st04 rdf:object sub:targetpop ;
    rdf:predicate schema:targetPopulation ;
    rdf:subject sub:medtherapy ;
    a rdf:Statement ;
    nt:statementOrder 5 .
  sub:st05 a nt:GroupedStatement , nt:OptionalStatement , nt:RepeatableStatement ;
    nt:hasStatement sub:st05a , sub:st05b , sub:st05c , sub:st05d , sub:st05e ;
    nt:statementOrder 6 .
  sub:st05a rdf:object sub:audienceType ;
    rdf:predicate schema:audienceType ;
    rdf:subject sub:targetpop ;
    a rdf:Statement ;
    nt:statementOrder 1 .
  sub:st05b rdf:object sub:minAge ;
    rdf:predicate schema:requiredMinAge ;
    rdf:subject sub:targetpop ;
    a rdf:Statement ;
    nt:statementOrder 2 .
  sub:st05c rdf:object sub:maxAge ;
    rdf:predicate schema:requiredMaxAge ;
    rdf:subject sub:targetpop ;
    a rdf:Statement ;
    nt:statementOrder 3 .
  sub:st05d rdf:object sub:conditionURI ;
    rdf:predicate schema:healthCondition ;
    rdf:subject sub:targetpop ;
    a nt:RepeatableStatement ;
    nt:statementOrder 4 .
  sub:st05e rdf:object sub:symptom ;
    rdf:predicate schema:signOrSymptom ;
    rdf:subject sub:conditionURI ;
    a nt:RepeatableStatement ;
    nt:statementOrder 5 .
  sub:symptom a nt:GuidedChoicePlaceholder ;
    rdfs:label "target biomedical entity from Translator NameResolution API" ;
    nt:possibleValuesFromApi "https://name-resolution-sri.renci.org/lookup?limit=10&string=" .
  sub:targetpop a nt:LocalResource ;
    rdfs:label "The target group" .
  owl:sameAs rdfs:label "corresponds to the term" .
  prov:quotedText rdfs:label "claims" .
  prov:wasDerivedFrom rdfs:label "was derived from" .
  prov:wasQuotedFrom rdfs:label "was quoted from" .
  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:audienceType rdfs:label "has type" .
  schema:healthCondition rdfs:label "has health condition" .
  schema:requiredMaxAge rdfs:label "has max age" .
  schema:requiredMinAge rdfs:label "has min age" .
  schema:signOrSymptom rdfs:label "has symptom" .
  nkg:SymptomaticReliefIndication rdfs:label "An indication for only managing the symptoms of the condition" .
}
sub:provenance {
  sub:assertion prov:wasAttributedTo orcid:0000-0001-7769-4272 .
}
sub:pubinfo {
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCR9fz0fKCdWOWC+pxhkQhEM/ppbdIYe5TLSdj+lJzSlv9mYBaPgrzVezSwwbmhlHBPDZa4/vHycU315BdmUGq+pXllp9+rWFfrb+kBJwhZjpG6BeyyXBsRFz4jmQVxl/ZYHilQTh/XalYzKkEAyTiEMPee4Kz61PaWOKH24CsnOQIDAQAB" ;
    npx:hasSignature "fMS0jq5DhjfG+Uoc1BY62tG2z/o2AfTjb+q5woFQW+nleuH2zCwQwUNRRPQu1O9XnIN/uuENL8VnwAdFjih7ji22ag1CuaHf125ehSBNfbqK8kesSuul8wBew8Xi9QCOFoyw6LeruOvvwKm5dYb7m4+fjwPlkc9xTB9dsJHzJiw=" ;
    npx:hasSignatureTarget this: .
  this: ns1:created "2021-02-10T18:00:00.000+01:00"^^xsd:dateTime ;
    ns1:creator orcid:0000-0001-7769-4272 ;
    npx:supercedes <http://purl.org/np/RAMDYfA4Ndzrvu1GRyMKa5UbJgIgDf2WGO3hIdW7gtUgQ> .
}