# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # --- RDF RDFS and OWL Mappings --- # This configuration only index properties that are typically used to store # instance data defined by such namespaces. This excludes ontology definitions # NOTE that nearly all other ontologies are are using properties of these three # schemas, therefore it is strongly recommended to include such information! rdf:type | d=entityhub:ref rdfs:label rdfs:comment rdfs:seeAlso | d=entityhub:ref owl:sameAs | d=entityhub:ref owl:equivalentClass | d=entityhub:ref # --- Dublin Core (DC) --- # The default configuration imports all dc-terms data and copies values for the # old dc-elements standard over to the according properties of the dc-terms # standard. #mapping for all dc-terms properties dc:* # copy dc:title to rdfs:label dc:title > rdfs:label # mappings for the dc-elements properties to the dc-terms dc-elements:contributor > dc:contributor dc-elements:coverage > dc:coverage dc-elements:creator > dc:creator dc-elements:date > dc:date dc-elements:description > dc:description dc-elements:format > dc:format dc-elements:identifier > dc:identifier dc-elements:language > dc:language dc-elements:publisher > dc:publisher dc-elements:relation > dc:relation dc-elements:rights > dc:rights dc-elements:source > dc:source dc-elements:subject > dc:subject dc-elements:title > dc:title dc-elements:type > dc:type #also use dc-elements:title as label dc-elements:title > rdfs:label # --- Simple Knowledge Organization System (SKOS) --- # A common data model for sharing and linking knowledge organization systems # via the Semantic Web. Typically used to encode controlled vocabularies as # a thesaurus skos:* # copy all SKOS labels (preferred, alternative and hidden) over to rdfs:label skos:prefLabel > rdfs:label skos:altLabel > rdfs:label skos:hiddenLabel > rdfs:label # copy values of **Match relations to the according related, broader and narrower skos:relatedMatch > skos:related skos:broadMatch > skos:broader skos:narrowMatch > skos:skos:narrower #similar mappings for transitive variants are not contained, because transitive #reasoning is not directly supported by the Entityhub. # Some SKOS thesaurus do use "skos:transitiveBroader" and "skos:transitiveNarrower" # however such properties are only intended to be used by reasoners to # calculate transitive closures over broader/narrower hierarchies. # see http://www.w3.org/TR/skos-reference/#L2413 for details # to correct such cases we will copy transitive relations to their counterpart skos:narrowerTransitive > skos:narrower skos:broaderTransitive > skos:broader # --- E-HEALTH specific --- # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Dailymed # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dailymed:* dailymed:activeIngredient | d=entityhub:ref dailymed:activeMoiety | d=entityhub:ref dailymed:genericDrug | d=entityhub:ref dailymed:genericDrug | d=entityhub:ref > skos: dailymed:inactiveIngredient | d=entityhub:ref dailymed:name > rdfs:label dailymed:fullName > rdfs:label dailymed:fullName > skos:prefLabel dailymed:name > skos:altLabel dailymed:representedOrganization | d=entityhub:ref dailymed:routeOfAdministration | d=entityhub:ref dailymed:producesDrug | d=entityhub:ref # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Drugbank # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - drugbank:* # map all Codes, IDs … to skos:notation to allow simple ID based lookups of drugs drugbank:ahfsCode | d=xsd:string > skos:notation drugbank:atcCode | d=xsd:string > skos:notation drugbank:dpdDrugIdNumber | d=xsd:string > skos:notation drugbank:pdbHomologyId | d=xsd:string > skos:notation drugbank:inchiKey | d=xsd:string > skos:notation drugbank:primaryAccessionNo | d=xsd:string > skos:notation drugbank:secondaryAccessionNumber | d=xsd:string > skos:notation # map all Names to skos and rdfs labels drugbank:genericName > skos:prefLabel drugbank:synonym > skos:altLabel # drugbank:brandName > skos:altLabel drugbank:genericName > rdfs:label drugbank:synonym > rdfs:label # drugbank:brandName > rdfs:label drugbank:description > rdfs:comment drugbank:text > rdfs:comment # use categories to build a SKOS thesaurus drugbank:drugCategory > skos:broader # drug interactions as skos:related drugbank:interactionDrug1 | d=entityhub:ref > skos:related drugbank:interactionDrug2 | d=entityhub:ref > skos:related # Datatype definitions drugbank:molecularWeightAverage | d=xsd:double drugbank:molecularWeightMono | d=xsd:double drugbank:pkaIsoelectricPoint | d=xsd:double drugbank:predictedLogpHydrophobicity | d=xsd:double drugbank:predictedLogs | d=xsd:double drugbank:pubchemCompoundId | d=xsd:int drugbank:pubchemSubstanceId | d=xsd:int drugbank:pdrhealthLink | d=xsd:anyURI drugbank:patientInformationInsert | d=xsd:anyURI drugbank:casRegistryNumber | d=xsd:anyURI drugbank:interactionInsert | d=xsd:anyURI drugbank:keggCompoundId | d=xsd:anyURI drugbank:keggDrugId | d=xsd:anyURI drugbank:rxlistLink | d=xsd:anyURI drugbank:chebiId | d=xsd:anyURI drugbank:contraindicationInsert | d=xsd:anyURI drugbank:dosageForm | d=entityhub:ref #creation/mod dates (will not work, because in in the wrong date format) drugbank:creationDate | d=xsd:dateTime drugbank:updateDate | d=xsd:dateTime # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # diseases # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diseasome:* diseasome:name > skos:prefLabel diseasome:name > rdfs:label # SKOS mappings diseasome:class | d=entityhub:ref > skos:broader diseasome:diseaseSubtypeOf | d=entityhub:ref > skos:broader diseasome:possibleDrug | d=entityhub:ref > skos:related diseasome:associatedGene | d=entityhub:ref > skos:related diseasome:classDegree | d=xsd:int diseasome:degree | d=xsd:int diseasome:size | d=xsd:int diseasome:omim | d=xsd:anyURI diseasome:omimPage | d=xsd:anyURI > foaf:page diseasome:geneId | d=xsd:anyURI diseasome:hgncId | d=xsd:anyURI diseasome:bio2rdfSymbol | d=xsd:anyURI # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # sider # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sider:* # deactivated because rdfs:label is used as preferred # sider:drugName > rdfs:label Only useable if indexing sider alone # rdfs:label > skos:prefLabel sider:drugName > rdfs:altLabel sider:stitchId | d=xsd:string sider:siderDrugId | d=xsd:int foaf:page | d=xsd:anyURI sider:sideEffect | d=entityhub:ref