Has relationship leaf node


URI

https://w3id.org/omop/ontology/has_relationship

Label

Has relationship

Description

For Concept Relationship: The relationship between CONCEPT_ID_1 and CONCEPT_ID_2. Please see the [Vocabulary Conventions](https://ohdsi.github.io/CommonDataModel/dataModelConventions.html#concept_relationships). for more information.

Usage

DOMAINPROPERTYRANGE
Blank node (see implementation) Has relationship owl:Thing (inferred)

Implementation

@prefix omop: <https://w3id.org/omop/ontology/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix owlready: <http://www.lesfleursdunormal.fr/static/_downloads/owlready_ontology.owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

omop:has_relationship a owl:FunctionalProperty,
        owl:ObjectProperty ;
    rdfs:label "Has relationship"^^xsd:string ;
    owlready:python_name "relationship"^^xsd:string ;
    rdfs:comment "For Concept Relationship: The relationship between CONCEPT_ID_1 and CONCEPT_ID_2. Please see the [Vocabulary Conventions](https://ohdsi.github.io/CommonDataModel/dataModelConventions.html#concept_relationships). for more information."@en ;
    rdfs:domain [ a owl:Class ;
            owl:unionOf ( omop:FactRelationship omop:ConceptRelationship ) ] ;
    omop:omop_cdm_name "concept_relationship.relationship_id#385 AS Relationship"^^xsd:string,
        "fact_relationship.relationship_concept_id#226 AS Concept"^^xsd:string .