@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix this: <http://purl.org/np/RAKL5Z1hCCEjKCuWrJf7LDnbuVrWMLGLiox2JT_R8M8Xw> .
@prefix sub: <http://purl.org/np/RAKL5Z1hCCEjKCuWrJf7LDnbuVrWMLGLiox2JT_R8M8Xw#> .
@prefix np: <http://www.nanopub.org/nschema#> .
@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:algorithm a nt:GuidedChoicePlaceholder ;
    rdfs:label "the used algorithm (e.g. Random Forest)" ;
    nt:possibleValuesFromApi "http://purl.org/nanopub/api/find_signed_things?type=http%3A%2F%2Fwww.w3.org%2Fns%2Fmls%23Algorithm&searchterm=" , "https://www.ebi.ac.uk/ols/api/select?fieldList=iri,label,description&q=" , "https://www.wikidata.org/w/api.php?action=wbsearchentities&language=en&format=json&limit=5&search=" .
  sub:assertion dcterms:description "Such a nanopublication describes the results of a Machine Learning experiment, such as the accuracy achieved by a applying a given ML technique on a given dataset. This template is based on <a href=\"https://ml-schema.github.io/documentation/ML%20Schema.html\">ML Schema</a>." ;
    a nt:AssertionTemplate ;
    rdfs:label "Publishing the evaluation result of a Machine Learning experiment" ;
    nt:hasStatement sub:st10 , sub:st20 , sub:st30 , sub:st40 , sub:st50 , sub:st60 , sub:st70 , sub:st80 ;
    nt:hasTag "Machine Learning" .
  sub:dataset a nt:UriPlaceholder ;
    rdfs:label "the URL of the used dataset" .
  sub:dataset-label a nt:LiteralPlaceholder ;
    rdfs:label "the name of the dataset" .
  sub:evaluation a nt:LocalResource ;
    rdfs:label "an evaluation" .
  sub:evaluation-measure a nt:GuidedChoicePlaceholder ;
    rdfs:label "the evaluation measure (e.g. Accuracy)" ;
    nt:possibleValuesFromApi "http://purl.org/nanopub/api/find_signed_things?type=http%3A%2F%2Fwww.w3.org%2Fns%2Fmls%23EvaluationMeasure&searchterm=" , "https://www.ebi.ac.uk/ols/api/select?ontology=stato&fieldList=iri,label,description&q=" .
  sub:evaluation-value a nt:LiteralPlaceholder ;
    rdfs:label "value of the evaluation result (e.g. 0.81 if the accuracy is 81%)" .
  sub:run a nt:LocalResource ;
    rdfs:label "a run" .
  sub:st10 rdf:object <http://www.w3.org/ns/mls#Run> ;
    rdf:predicate rdf:type ;
    rdf:subject sub:run .
  sub:st20 rdf:object sub:algorithm ;
    rdf:predicate <http://www.w3.org/ns/mls#realizes> ;
    rdf:subject sub:run .
  sub:st30 rdf:object sub:task ;
    rdf:predicate <http://www.w3.org/ns/mls#achieves> ;
    rdf:subject sub:run .
  sub:st40 rdf:object sub:evaluation ;
    rdf:predicate <http://www.w3.org/ns/mls#hasOutput> ;
    rdf:subject sub:run .
  sub:st50 rdf:object sub:dataset ;
    rdf:predicate <http://www.w3.org/ns/mls#hasInput> ;
    rdf:subject sub:run .
  sub:st60 rdf:object sub:dataset-label ;
    rdf:predicate rdfs:label ;
    rdf:subject sub:dataset ;
    a nt:OptionalStatement .
  sub:st70 rdf:object sub:evaluation-measure ;
    rdf:predicate <http://www.w3.org/ns/mls#specifiedBy> ;
    rdf:subject sub:evaluation .
  sub:st80 rdf:object sub:evaluation-value ;
    rdf:predicate <http://www.w3.org/ns/mls#hasValue> ;
    rdf:subject sub:evaluation .
  sub:task a nt:GuidedChoicePlaceholder ;
    rdfs:label "the task performed (e.g. Spam Detection)" ;
    nt:possibleValuesFromApi "http://purl.org/nanopub/api/find_signed_things?type=http%3A%2F%2Fwww.w3.org%2Fns%2Fmls%23Task&searchterm=" , "https://www.ebi.ac.uk/ols/api/select?fieldList=iri,label,description&q=" , "https://www.wikidata.org/w/api.php?action=wbsearchentities&language=en&format=json&limit=5&search=" .
  rdf:type rdfs:label "is a" .
  rdfs:label rdfs:label "has the name" .
  <http://www.w3.org/ns/mls#Run> rdfs:label "run of a Machine Learning experiment" .
  <http://www.w3.org/ns/mls#hasOutput> rdfs:label "has as output" .
  <http://www.w3.org/ns/mls#hasValue> rdfs:label "has the result value" .
  <http://www.w3.org/ns/mls#realizes> rdfs:label "executes an implementation that implements the algorithm" .
  <http://www.w3.org/ns/mls#specifiedBy> rdfs:label "measures" .
}
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 "mm8mxJO2CsOXMo1KB6Rqyupn1DnkZxWxFFXA2AQklMkCu2pnX54SN6cIwC+wb3J18kAuNN7OLSXgY6zqZ+WbS2pD40HpG4dxtbSYDxpUlFqbVcwC3aC0fZyrS0XNguMgwuk3xRrIwoUVd/lKca04jgdalqEd7OAPD9UzunPB7rI=" ;
    npx:hasSignatureTarget this: .
  this: dcterms:created "2023-04-12T09:27:59.083Z"^^xsd:dateTime ;
    dcterms:creator orcid:0000-0002-1267-0234 ;
    npx:supersedes <http://purl.org/np/RAWeAzT9zlsOY5Rvoj8LLDFxazPnPJvBjIEqsD2soE1f0> ;
    nt:wasCreatedFromProvenanceTemplate <http://purl.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM> ;
    nt:wasCreatedFromPubinfoTemplate <http://purl.org/np/RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM> , <http://purl.org/np/RAjpBMlw3owYhJUBo3DtsuDlXsNAJ8cnGeWAutDVjuAuI> ;
    nt:wasCreatedFromTemplate <http://purl.org/np/RAkONP_jLqAbok3FgtutnKcLs4IHr9KiAuslQNnfEJIwY> .
}