@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix this: <http://purl.org/np/RAskqjj-YM6iTe-EhzxoSiVC-b9awUfI1y-uQE2q0ZEVI> .
@prefix sub: <http://purl.org/np/RAskqjj-YM6iTe-EhzxoSiVC-b9awUfI1y-uQE2q0ZEVI#> .
@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/> .
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:disease a nt:GuidedChoicePlaceholder ;
    rdfs:label "define disease using DOI" ;
    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 "the drug" ;
    nt:hasRegex "[DB][0-9]{5}" .
  sub:medtherapy a nt:UriPlaceholder ;
    rdfs:label "add the therapy id (eg. therapy01) here" ;
    nt:hasPrefix "https://w3id.org/neurodkg/instance/" ;
    nt:hasPrefixLabel "https://w3id.org/neurodkg/instance/" .
  sub:st00 rdf:object schema:MedicalTherapy ;
    rdf:predicate rdf:type ;
    rdf:subject sub:medtherapy ;
    a rdf:Statement ;
    nt:statementOrder 1 .
  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:targetpop ;
    rdf:predicate schema:targtePopulation ;
    rdf:subject sub:medtherapy ;
    a rdf:Statement ;
    nt:statementOrder 4 .
  sub:targetpop a nt:LocalResource ;
    rdfs:label "define the target population" .
}
sub:provenance {
  sub:assertion prov:wasAttributedTo orcid:0000-0001-7769-4272 .
}
sub:pubinfo {
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCOqbrPT5RmzxsvRXGHZSAXPzeRLt9ogiosL3tcPKC0g5J8B1577lnJ3oVKSfD80lgPJdr9K671RazGL/mkZ/yu/uCNqne07Q9jd6OIAEi3fldiVfGK8ZDh43rGWRuG+BlvbZ1lZRFrWsURTKTpMgh0C6vJFRIMkWH6ImbZC5JbbQIDAQAB" ;
    npx:hasSignature "P4hxhCy2u+IXqKR1sSMQkLHsXEUiKWdQjjqDsYjtw7lOkaK1uuHoJbVuyweDXjOfCFsps4QFai9MyIpGSawL4bQrmuHSUFFvm9ZWP8A0jzR9m8RoxrBi9HOZ9nvqYqdqn4gxQfWEg9jVb9UtyjeV8qMYBPZieduC2D13TE9QUU0=" ;
    npx:hasSignatureTarget this: .
  this: dcterms:created "2020-12-07T18:00:00.000+01:00"^^xsd:dateTime ;
    dcterms:creator orcid:0000-0001-7769-4272 ;
    npx:supercedes <http://purl.org/np/RAPcyrt9RBjKwZKAODFuVl9nVZnvIsguVh3r5nnU_B6Js> .
}