@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix this: <http://purl.org/np/RA_tANaWEZaJioW8eHiD9on76KZpodJz03ZSohsblnxv4> .
@prefix sub: <http://purl.org/np/RA_tANaWEZaJioW8eHiD9on76KZpodJz03ZSohsblnxv4#> .
@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 biolink: <https://w3id.org/biolink/vocab/> .
@prefix sepio: <http://purl.obolibrary.org/obo/SEPIO_> .
@prefix evi: <https://w3id.org/EVI#> .
@prefix dao: <https://w3id.org/dao/dao#> .
@prefix eco: <http://purl.obolibrary.org/obo/ECO_> .

<http://purl.org/np/RA_tANaWEZaJioW8eHiD9on76KZpodJz03ZSohsblnxv4> a np:Nanopublication;
  np:hasAssertion sub:assertion;
  np:hasProvenance sub:provenance;
  np:hasPublicationInfo sub:pubinfo;
  dcterms:created "2020-09-18T11:00:00+01:00"^^xsd:dateTime;
  dcterms:creator orcid:0000-0003-4727-9435;
  npx:supersedes <http://purl.org/np/RAFuSStyFTElQkUq9h7gkvEy4dvheo3KHup73-2YsF6e0> .

<http://purl.obolibrary.org/obo/ECO_0000006> rdfs:label "experimental evidence" .

<http://purl.obolibrary.org/obo/ECO_0000180> rdfs:label "clinical study evidence" .

<http://purl.obolibrary.org/obo/ECO_0000204> rdfs:label "author statement" .

<http://purl.obolibrary.org/obo/ECO_0000205> rdfs:label "curator inference" .

<http://purl.obolibrary.org/obo/ECO_0000362> rdfs:label "computational inference" .

<http://purl.obolibrary.org/obo/ECO_0005548> rdfs:label "biological system reconstruction evidence based on inference from background scientific knowledge" .

<http://purl.obolibrary.org/obo/ECO_0006152> rdfs:label "medical practitioner statement evidence" .

<http://purl.obolibrary.org/obo/ECO_0006153> rdfs:label "self-reported individual's statement evidence" .

<http://purl.obolibrary.org/obo/ECO_0007672> rdfs:label "computational evidence" .

<http://purl.obolibrary.org/obo/SEPIO_0000145> rdfs:label "was quoted from" .

<http://purl.obolibrary.org/obo/SEPIO_0000398> rdfs:label "has evidence type (ECO code)" .

sub:assertion a nt:AssertionTemplate;
  rdfs:label "Adding evidences to an association";
  nt:hasStatement sub:st00, sub:st01, sub:st02, sub:st03, sub:st04, sub:st05, sub:st06;
  prov:wasAttributedTo orcid:0000-0003-4727-9435 .

sub:confidencescore a nt:LiteralPlaceholder;
  rdfs:label "add the level of confidence in the evidence from 0 to 1, e.g. 0.5" .

sub:evidence a nt:LocalResource;
  rdfs:label "This evidence" .

sub:evidencedescription a nt:LiteralPlaceholder;
  rdfs:label "provide a human-readable description of the evidence here, and how it supports or challenges the association" .

sub:evidencerelation a nt:GuidedChoicePlaceholder;
  rdfs:label "define the evidence relation";
  nt:possibleValue evi:challengedBy, evi:indirectlyChallengedBy, evi:indirectlySupportedBy,
    evi:supportedBy, biolink:has_evidence;
  nt:possibleValuesFromApi "http://data.bioontology.org/search?pagesize=20&apikey=fd451bec-eacd-4519-b972-90fb6c7007cb&include_properties=true&ontologies=EVI&q=" .

sub:evidencetype a nt:GuidedChoicePlaceholder;
  rdfs:label "add the evidence code from the evidence code ontology here";
  nt:possibleValue <http://purl.obolibrary.org/obo/ECO_0000000>, <http://purl.obolibrary.org/obo/ECO_0000006>,
    <http://purl.obolibrary.org/obo/ECO_0000180>, <http://purl.obolibrary.org/obo/ECO_0000204>,
    <http://purl.obolibrary.org/obo/ECO_0000205>, <http://purl.obolibrary.org/obo/ECO_0000362>,
    <http://purl.obolibrary.org/obo/ECO_0005548>, <http://purl.obolibrary.org/obo/ECO_0006152>,
    <http://purl.obolibrary.org/obo/ECO_0006153>, <http://purl.obolibrary.org/obo/ECO_0007672>;
  nt:possibleValuesFromApi "http://data.bioontology.org/search?pagesize=20&apikey=fd451bec-eacd-4519-b972-90fb6c7007cb&ontologies=ECO&q=" .

sub:evidenceuri a nt:UriPlaceholder;
  rdfs:label "add the URL to the source of the evidence here (e.g. DailyMed publication)" .

sub:st00 a rdf:Statement;
  rdf:object sub:evidence;
  rdf:predicate sub:evidencerelation;
  rdf:subject sub:thing;
  nt:statementOrder 0 .

sub:st01 a rdf:Statement;
  rdf:object sub:evidenceuri;
  rdf:predicate <http://purl.obolibrary.org/obo/SEPIO_0000145>;
  rdf:subject sub:evidence;
  nt:statementOrder 1 .

sub:st02 a rdf:Statement;
  rdf:object sub:evidencedescription;
  rdf:predicate biolink:description;
  rdf:subject sub:evidence;
  nt:statementOrder 2 .

sub:st03 a nt:OptionalStatement;
  rdf:object sub:confidencescore;
  rdf:predicate biolink:has_confidence_level;
  rdf:subject sub:evidence;
  nt:statementOrder 6 .

sub:st04 a nt:OptionalStatement;
  rdf:object sub:evidencetype;
  rdf:predicate <http://purl.obolibrary.org/obo/SEPIO_0000398>;
  rdf:subject sub:evidence;
  nt:statementOrder 3 .

sub:st05 a rdf:Statement;
  rdf:object sub:evidence;
  rdf:predicate biolink:id;
  rdf:subject sub:evidence;
  nt:statementOrder 4 .

sub:st06 a rdf:Statement;
  rdf:object biolink:EvidenceType;
  rdf:predicate rdf:type;
  rdf:subject sub:evidence;
  nt:statementOrder 5 .

sub:thing a nt:UriPlaceholder;
  rdfs:label "The URI of the association you want to add an evidence to" .

rdf:type rdfs:label "is a" .

rdfs:label rdfs:label "asserts that" .

prov:wasQuotedFrom rdfs:label "was quoted from" .

biolink:EvidenceType rdfs:label "Evidence" .

biolink:category rdfs:label "has type of evidence" .

biolink:description rdfs:label "is described by" .

biolink:has_confidence_level rdfs:label "has a confidence level of" .

biolink:has_evidence rdfs:label "has evidence" .

biolink:id rdfs:label "has id" .

dao:context rdfs:label "has context" .

sub:sig npx:hasAlgorithm "RSA";
  npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCR9fz0fKCdWOWC+pxhkQhEM/ppbdIYe5TLSdj+lJzSlv9mYBaPgrzVezSwwbmhlHBPDZa4/vHycU315BdmUGq+pXllp9+rWFfrb+kBJwhZjpG6BeyyXBsRFz4jmQVxl/ZYHilQTh/XalYzKkEAyTiEMPee4Kz61PaWOKH24CsnOQIDAQAB";
  npx:hasSignature "PaRRaitIl+36iTe+TebM4E85Y+FJ41q9MhVwEFUMfu4Cu25bE2YqA2yXG6wtzGlAcHbq/rx7SDcg7za8WtJia/UCLbJMHHD/S1k8nK0Fd5KqXsWGJ/zOgAo7aGrNxlgqW4/3nnjDBVWnTWPZBqRRzTgqk/mvNJ5UEC4U4n0yzN8=";
  npx:hasSignatureTarget <http://purl.org/np/RA_tANaWEZaJioW8eHiD9on76KZpodJz03ZSohsblnxv4> .

