@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
@prefix ftr: <https://w3id.org/ftr#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dqv: <http://www.w3.org/ns/dqv#> .
@prefix vivo: <http://vivoweb.org/ontology/core#> .
@prefix dpv: <https://w3id.org/dpv#> .

<https://w3id.org/foops/test/OM5.1> a ftr:Test , dcat:DataService ;
	dcat:contactPoint <https://orcid.org/0000-0003-0454-7145> ;
	dcterms:creator <https://orcid.org/0000-0003-0454-7145> ;
	dcterms:creator <https://orcid.org/0000-0003-3587-0367> ;
	dcterms:title "Ontology declares basic provenance metadata"@en ;
	rdfs:label "OM5.1 test: Ontology declares basic provenance metadata"^^xsd:string ;
	vivo:abbreviation "OM5.1-T"^^xsd:string ;
	dcterms:license <http://creativecommons.org/licenses/by/4.0/> ;
	dqv:inDimension <https://w3id.org/fair/principles/terms/R1.2> ;
	dcterms:description """ 
This check verifies if basic provenance metadata is available for the ontology:  

 * creator: declared using [dc:creator](http://purl.org/dc/elements/1.1/creator), [dcterms:creator](http://purl.org/dc/terms/creator), [pav:createdBy](http://purl.org/pav/createdBy), [pav:authoredBy](http://purl.org/pav/authoredBy), [schema:creator](https://schema.org/creator) or [doap:developer](http://usefulinc.com/ns/doap#developer)
 * creation date: declared using [dcterms:created](http://purl.org/dc/terms/created), [schema:dateCreated](https://schema.org/dateCreated), [doap:created](http://usefulinc.com/ns/doap#created), [prov:generatedAtTime](http://www.w3.org/ns/prov#generatedAtTime) or [pav:createdOn](http://purl.org/pav/createdOn)
 * contributor (optional): declared using [dc:contributor](http://purl.org/dc/elements/1.1/contributor), [dcterms:contributor](http://purl.org/dc/terms/contributor), [schema:contributor](https://schema.org/contributor), [doap:documenter](http://usefulinc.com/ns/doap#documenter), [doap:maintainer](http://usefulinc.com/ns/doap#maintainer), [doap:helper](http://usefulinc.com/ns/doap#helper), [doap:translator](http://usefulinc.com/ns/doap#translator) or [pav:contributedBy](http://purl.org/pav/contributedBy).
 * previous version (optional): declared using  [dc:replaces](http://purl.org/dc/elements/1.1/replaces), [dcterms:replaces](http://purl.org/dc/terms/replaces), [prov:wasRevisionOf](http://www.w3.org/ns/prov#wasRevisionOf), [owl:priorVersion](http://www.w3.org/2002/07/owl#previousVersion), [pav:previousVersion](http://purl.org/pav/previousVersion)

The test will pass if creator and creation date are present. The test will fail otherwise, indicating the properties that are missing.
	"""@en ; # Falta explicar PASS y FAIL
	dcterms:publisher <https://oeg.fi.upm.es>, <https://ror.org/03n6nwv02> ;
	dcat:version "0.0.1"^^xsd:string ;
	dcterms:identifier "https://w3id.org/foops/test/OM5.1" ;
    dcat:keyword "Provenance"@en , "Metadata"@en, "Test"@en , "Reusable"@en ;
	dcat:endpointDescription <https://w3id.org/foops/api> ;
    dcat:endpointURL <https://foops.linkeddata.es/assess/test/OM5.1> ;
    dpv:isApplicableFor <https://schema.org/DefinedTermSet> ;
    ftr:supportedBy <https://w3id.org/foops/> ;
	<http://semanticscience.org/resource/SIO_000233> <https://w3id.org/foops/metric/OM5.1> ;
	doap:repository <https://w3id.org/foops/repository> .
<https://orcid.org/0000-0003-0454-7145> a vcard:Individual;
	vcard:fn "Daniel Garijo"^^xsd:string ;
	vcard:hasEmail <mailto:dgarijo@upm.es> .
<https://orcid.org/0000-0003-3587-0367> a vcard:Individual;
	vcard:fn "Maria Poveda"^^xsd:string ;
	vcard:hasEmail <mailto:m.poveda@upm.es> .
<https://w3id.org/fair/principles/terms/R1.2> a dqv:Dimension, <https://w3id.org/fair/principles/terms/FAIR-SubPrinciple> ;
	rdfs:label "R1.2"^^xsd:string ;
	vivo:abbreviation "R1.2"^^xsd:string ;
	dcterms:description "(meta)data are associated with detailed provenance"@en .
<https://oeg.fi.upm.es> a vcard:Organization ;
    rdfs:label "Ontology Engineering Group" ;
    vcard:url <https://oeg.fi.upm.es/> .
<https://ror.org/03n6nwv02> a vcard:Organization;
    dcterms:identifier  "https://ror.org/02h3v0f81" ;
    rdfs:label "Universidad Politécnica de Madrid" ;
    vcard:url <https://www.upm.es/> .
<https://w3id.org/foops/repository>
foaf:homePage <https://github.com/oeg-upm/fair_ontologies> .
<https://w3id.org/foops/metric/OM5.1> a dqv:Metric .

