@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix : <https://w3id.org/def/DRUGS4COVID19#> .
@prefix terms: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .

dc:description
    a owl:AnnotationProperty .

dc:publisher
    a owl:AnnotationProperty .

dc:title
    a owl:AnnotationProperty, owl:DatatypeProperty ;
    rdfs:comment "A name given to the resource"@en, "A related resource from which the described resource is derived"@en ;
    rdfs:isDefinedBy <http://purl.org/dc/elements/1.1/> ;
    rdfs:label "Title"@en, "Título"@es ;
    rdfs:range xsd:string .

terms:BibliographicResource
    a owl:Class ;
    rdfs:comment "A book, article, or other documentary resource"@en ;
    rdfs:isDefinedBy <http://purl.org/dc/terms/> ;
    rdfs:label "Bibliographic resource"@en, "Recurso bibliográfico"@es .

terms:abstract
    a owl:DatatypeProperty ;
    rdfs:comment "A summary of the resource"@en ;
    rdfs:isDefinedBy <http://purl.org/dc/terms/> ;
    rdfs:label "Abstract"@en, "Resumen"@es .

terms:contributor
    a owl:AnnotationProperty .

terms:created
    a owl:AnnotationProperty .

terms:creator
    a owl:AnnotationProperty .

terms:date
    a owl:DatatypeProperty ;
    rdfs:comment "A point or period of time associated with an event in the lifecycle of the resource"@en ;
    rdfs:isDefinedBy <http://purl.org/dc/terms/> ;
    rdfs:label "Date"@en, "Fecha"@es ;
    rdfs:range rdfs:Literal .

terms:description
    a owl:AnnotationProperty .

terms:license
    a owl:AnnotationProperty, owl:DatatypeProperty ;
    rdfs:comment "A legal document giving official permission to do something with the resource"@en ;
    rdfs:isDefinedBy <http://purl.org/dc/terms/> ;
    rdfs:label "Licencia"@es, "License"@en ;
    rdfs:range xsd:string .

terms:source
    a owl:DatatypeProperty ;
    rdfs:comment "A related resource from which the described resource is derived"@en ;
    rdfs:label "Fuente"@es, "Source"@en ;
    rdfs:range xsd:string .

vann:preferredNamespacePrefix
    a owl:AnnotationProperty .

vann:preferredNamespaceUri
    a owl:AnnotationProperty .

rdfs:seeAlso
    a owl:DatatypeProperty ;
    rdfs:comment "A resource that might provide additional information about the subject resource"@en ;
    rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ;
    rdfs:label "See also"@en .

<https://w3id.org/def/DRUGS4COVID19>
    dc:publisher <http://www.oeg-upm.net/> ;
    dc:title "Drugs for COVID-19"^^xsd:string ;
    terms:contributor <http://purl.org/net/mpoveda>, "Alba Fernández Izquierdo"@es, "Ana Iglesias"@es, "Carlos Badenes"@es, "David Chaves Fraga"@es, "Edna Ruckhaus"@es, "Pablo Calleja"@es, "Paola Espinoza Arias"@es, "Socorro Bernardos Galindo"@es ;
    terms:created "2020-04-04"@es ;
    terms:creator <http://www.oeg-upm.net/> ;
    terms:description """
Esta ontología describe los artículos y medicamentos relacionados con el COVID-19 que se encuentran en el corpus de de artículos relacionados con los corona virus, con el objetivo de encontrar las respuestas a los desafíos que está planteando el COVID-19.
"""@es, """
This ontology aims to model the knoeledge from the huge corpus of coronavirus-related papers, with the goal of finding answers to the challenges that COVID-19 is posing to the world.
"""@en ;
    terms:license <http://purl.org/NET/rdflicense/cc-by4.0> ;
    terms:modified "2020-07-16"@es ;
    vann:preferredNamespacePrefix "d4covid"^^xsd:string ;
    vann:preferredNamespaceUri <https://w3id.org/def/DRUGS4COVID19> ;
    a owl:Ontology ;
    rdfs:seeAlso <http://drugs4covid.oeg-upm.net> ;
    owl:versionInfo 0.4 .

:ActiveSubstance
    a owl:Class ;
    rdfs:comment "A chemical substance that is the main ingredient of drugs"@en ;
    rdfs:label "Active substance"@en, "Principio activo"@es ;
    rdfs:subClassOf :ChemicalSubstance .

:ChemicalSubstance
    a owl:Class ;
    rdfs:comment "A substance produced by or used in a chemical process"@en ;
    rdfs:label "Chemical substance"@en, "Compuesto quimico"@es .

:Disease
    a owl:Class ;
    rdfs:comment "Illness; sickness"@en ;
    rdfs:label "Disease"@en, "Enfermedad"@es ;
    rdfs:subClassOf :Disorder, [
        a owl:Restriction ;
        owl:onProperty :hasSymptom ;
        owl:someValuesFrom :Symptom
    ] .

:Disorder
    a owl:Class ;
    rdfs:comment "A disruption to regular bodily structure and function."@en ;
    rdfs:label "Desorden"@es, "Disorder"@en .

:Drug
    a owl:Class ;
    rdfs:comment "A substance used in treating disorder"@en ;
    rdfs:label "Drug"@en, "Medicamento"@es ;
    rdfs:subClassOf [
        a owl:Restriction ;
        owl:onProperty :hasActiveSubstance ;
        owl:someValuesFrom :ActiveSubstance
    ], [
        a owl:Restriction ;
        owl:onProperty :hasEffect ;
        owl:someValuesFrom :Effect
    ], [
        a owl:Restriction ;
        owl:onProperty :isContraindicatedTo ;
        owl:someValuesFrom :Disorder
    ], [
        a owl:Restriction ;
        owl:onProperty :treatsDisorder ;
        owl:someValuesFrom :Disorder
    ] .

:Effect
    a owl:Class ;
    rdfs:comment "Something produced; a result or consequence"@en ;
    rdfs:label "Efecto"@es, "Effect"@en ;
    rdfs:subClassOf [
        a owl:Restriction ;
        owl:onProperty :causedByDrug ;
        owl:someValuesFrom :Drug
    ] .

:Paper
    a owl:Class ;
    rdfs:comment "A document of the corpus, subject of bio-annotations"@en ;
    rdfs:label "Comunicación"@es, "Paper"@en, "Paper"@es ;
    rdfs:subClassOf terms:BibliographicResource, [
        a owl:Restriction ;
        owl:onProperty :contains ;
        owl:someValuesFrom :Sentence
    ] .

:Paragraph
    a owl:Class ;
    rdfs:comment "One of a series of subsections each usually devoted to one idea and each usually marked by the beginning of a new line, indentation, increased interlinear space, etc."@en ;
    rdfs:label "Paragraph"@en, "Párrafo"@es .

:Sentence
    a owl:Class ;
    rdfs:comment "A sequence of words capable of standing alone to make an assertion, ask a question, or give a command, usually consisting of a subject and a predicate containing a finite verb"@en ;
    rdfs:label "Frase"@es, "Sentence"@en .

:Symptom
    a owl:Class ;
    rdfs:comment "A physical condition that arises from and accompanies a particular disease and serves as an indication of it"@en ;
    rdfs:label "Symptom"@en, "Síntoma"@es .

:activeSubstanceName
    a owl:DatatypeProperty ;
    rdfs:comment "How an active substance is called"@en ;
    rdfs:label "Active substance name"@en, "Nombre del princpio activo"@es ;
    rdfs:range xsd:string .

:causedByDrug
    a owl:ObjectProperty ;
    rdfs:comment "A relation between an effect and a drug that causes it"@en ;
    rdfs:label "Causado por medicamento"@es, "Caused by drug"@en ;
    owl:inverseOf :hasEffect .

:codeATC
    a owl:DatatypeProperty ;
    rdfs:comment "ATC (Anatomical Therapeutic Chemical)  code"@en ;
    rdfs:label "ATC code"@en, "Código ATC"@es ;
    rdfs:range xsd:string .

:codeMESH
    a owl:DatatypeProperty ;
    rdfs:comment "MESH (Medical Subject Headings) code"@en ;
    rdfs:label "Código MESH"@es, "MESH code"@en ;
    rdfs:range xsd:string .

:codeSNOMED
    a owl:DatatypeProperty ;
    rdfs:comment "SNOMED (Systematized Nomenclature of Medicine) code"@en ;
    rdfs:label "Código SNOMED"^^xsd:string, "SNOMED code"@en ;
    rdfs:range xsd:string .

:contains
    a owl:ObjectProperty ;
    rdfs:comment "A relatiion between a whole and one of its parts"@en ;
    rdfs:label "Contains"@en, "Contiene"@es .

:disorderName
    a owl:DatatypeProperty ;
    rdfs:comment "How a disorder is called"@en ;
    rdfs:label "Disorder name"@en, "Nombre del desorden"@es .

:drugName
    a owl:DatatypeProperty ;
    rdfs:comment "How a drug is called"@en ;
    rdfs:label "Drug name"@en, "Nombre del medicamento"@es ;
    rdfs:range xsd:string .

:esTratadaConMedicamento
    a owl:ObjectProperty ;
    rdfs:label "es tratada con medicamento"@es ;
    owl:deprecated true ;
    owl:inverseOf :trataEnfermedad .

:hasActiveSubstance
    a owl:ObjectProperty ;
    rdfs:comment "A relation between a drug and its active substance"@en ;
    rdfs:label "Has active substance"@en, "Tiene principio activo"@es ;
    owl:inverseOf :isActiveSubstanceOfDrug .

:hasEffect
    a owl:ObjectProperty ;
    rdfs:comment "A relation between a drug and an effect it causes"@en ;
    rdfs:label "Has effect"@en, "Tiene efecto"@es .

:hasSymptom
    a owl:ObjectProperty ;
    rdfs:comment "A relation between a disease and one of its symptoms"@en ;
    rdfs:label "Has symptom"@en, "Tiene síntoma"@es ;
    owl:inverseOf :isSymptomOfDisease .

:identifier
    a owl:DatatypeProperty ;
    rdfs:comment "How a paper is identified"@en ;
    rdfs:label "Identificador"@es, "Identifier"@en ;
    rdfs:range xsd:string .

:isActiveSubstanceOfDrug
    a owl:ObjectProperty ;
    rdfs:comment "A relation between an active substance and a drug it is an ingredient of"@en ;
    rdfs:label "Es principio activo de medicamento"@es, "Is active substance of drug"@en .

:isBroaderThan
    a owl:ObjectProperty ;
    rdfs:comment "A relation between two things in which one is in some way more general  than the other"@en ;
    rdfs:label "Is broader than"@en, "es más amplio"@es ;
    owl:inverseOf :isNarrowerThan .

:isContraindicatedTo
    a owl:ObjectProperty ;
    rdfs:comment "A relation between a drug and one of the diseases it is advised against"@en ;
    rdfs:label "Está contraindicado para"@es, "Is contraindicated to"@en .

:isNarrowerThan
    a owl:ObjectProperty ;
    rdfs:comment "A relation between two things in which one is in some way more specific than the other"@en ;
    rdfs:label "Es más específico"@es, "Is narrower than"@en .

:isSymptomOfDisease
    a owl:ObjectProperty ;
    rdfs:comment "A relation between a symptom and one of the disorders that includes it"@en ;
    rdfs:label "Es síntoma de enfermedad"@es, "Is symptom of disease"@en .

:isTreatedWithDrug
    a owl:ObjectProperty ;
    rdfs:comment "A relation between a disease and one of the drugs that can be used to deal with it"@en ;
    rdfs:label "Es tratado con medicamento"@es, "Is treated with drug"@en ;
    owl:inverseOf :treatsDisorder .

:levelATC
    a owl:DatatypeProperty ;
    rdfs:comment "ATC (Anatomical Therapeutic Chemical) level"@en ;
    rdfs:label "ATC level"@en, "Nivel ATC"@es ;
    rdfs:range xsd:integer .

:levelMESH
    a owl:DatatypeProperty ;
    rdfs:comment "MESH (Medical Subject Headings) level"@en ;
    rdfs:label "MESH level"@en, "nivel MESH"@es ;
    rdfs:range xsd:integer .

:mapsTo
    a owl:ObjectProperty ;
    rdfs:comment "A relation between a disease and one of the diseases it is in some way related to"@en ;
    rdfs:label "Maps to"@en, "Relacionada con"@es .

:mentions
    a owl:ObjectProperty ;
    rdfs:comment "A relation between a text (a paper, a paragraph or a sentece) and one of the entities it speaks of"@en ;
    rdfs:domain [
        a owl:Class ;
        owl:unionOf (:Paper
            :Sentence
        )
    ] ;
    rdfs:label "Menciona"@es, "Mentions"@en ;
    rdfs:range [
        a owl:Class ;
        owl:unionOf (:ChemicalSubstance
            :Disease
            :Drug
            :Symptom
        )
    ] .

:prevents
    a owl:ObjectProperty ;
    rdfs:comment "A relation between a drug and one of the diseases it keeps from occurring"@en ;
    rdfs:label "Prevents"@en, "Previene"@es .

:problem
    a owl:DatatypeProperty ;
    rdfs:comment "An issue with a paper"@en ;
    rdfs:label "Problem"@en, "Problema"@es ;
    rdfs:range xsd:string .

:scientificName
    a owl:DatatypeProperty ;
    rdfs:comment "The scientific name of a drug"@en ;
    rdfs:label "Nombre científico"@es, "Scientific name"@en ;
    rdfs:range xsd:string .

:section
    a owl:DatatypeProperty ;
    rdfs:comment "The part of a paper in which a paragraph is included"@en ;
    rdfs:label "Sección"@es, "Section"@en .

:synonym
    a owl:DatatypeProperty ;
    rdfs:comment "List of synonyms of a disease"@en ;
    rdfs:label "Sinónimo"@es, "Synonym"@en ;
    rdfs:range xsd:string .

:text
    a owl:DatatypeProperty ;
    rdfs:comment "The actual words of a paragraph or sentence"@en ;
    rdfs:label "Text"@en, "Texto"@es ;
    rdfs:range xsd:string .

:trataEnfermedad
    a owl:ObjectProperty ;
    rdfs:label "trata enfermedad"@es ;
    owl:deprecated true .

:treatsDisorder
    a owl:ObjectProperty ;
    rdfs:comment "A relation between a drug and one of the diseases it deals with"@en ;
    rdfs:label "Trata desorden"@es, "Treats disorder"@en .

