@prefix foaf: .
@prefix void: .
@prefix dcterms: .
@prefix rdfs: .
@prefix xsd: .
@prefix owl: .
@prefix rdf: .
@prefix skos: .
@prefix voidext: .
@prefix bioquery: .
@prefix ex: .
@prefix obo: .
@prefix lscr: .
@prefix orth: .
@prefix up: .
@prefix ensembl: .
@prefix oma: .
@prefix biopax: .
@prefix sd: .
@prefix drugbank: .
@prefix oboowl: .
@prefix mex: .
##############################################################
######### RDF Metadata Instances Bio-Query project ###########
##############################################################
bioquery:EBI a void:Dataset;
dcterms:title "Linked Open Data platform for EBI data.";
dcterms:description "The EBI RDF Platform aims to bring together the efforts of a number of EMBL-EBI resources that provide access to their data using Semantic Web technologies.";
void:sparqlEndpoint ;
dcterms:modified "2017-07-10"^^xsd:date;
foaf:homepage .
bioquery:UNIPROT a void:Dataset;
dcterms:title "The Universal Protein Resource (UniProt)";
dcterms:description "High-quality and freely accessible resource of protein sequence and functional information.";
void:sparqlEndpoint ;
dcterms:modified "2018-11-01"^^xsd:date;
foaf:homepage .
bioquery:OMA a void:Dataset;
dcterms:title "Orthologous Matrix (OMA)";
dcterms:description "RDF data extracted from OMA HDF5 file.";
void:sparqlEndpoint ;
dcterms:modified "2018-06-01"^^xsd:date;
foaf:homepage .
bioquery:BGEE a void:Dataset;
dcterms:title "Bgee - a database of gene expression";
dcterms:description "Bgee is a database to retrieve and compare gene expression patterns in multiple animal species, produced from multiple data types (RNA-Seq, Affymetrix, in situ hybridization, and EST data). RDF data virtually generated by using an ontology based access approach (OBDA) over the Bgee relational database management system.";
void:sparqlEndpoint ;
dcterms:modified "2018-12-01"^^xsd:date;
foaf:homepage .
bioquery:OMA_EBI-ENSEMBL a void:Linkset;
void:subjectsTarget bioquery:OMA;
void:objectsTarget bioquery:UNIPROT_EBI-ENSEMBL;
void:linkPredicate lscr:xrefEnsemblGene;
voidext:linkPredicateDomain ;
voidext:linkPredicateRange ;
dcterms:issued "2019-06-30"^^xsd:date;
voidext:isSubsetOf bioquery:OMA.
bioquery:OMA_BGEE_1 a void:Linkset;
void:subjectsTarget bioquery:OMA;
void:objectsTarget bioquery:BGEE_OMA_4 ;
void:linkPredicate dcterms:identifier;
voidext:linkPredicateDomain bioquery:Protein_Gene ;
voidext:linkPredicateRange rdfs:Literal;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:isSubsetOf bioquery:OMA.
bioquery:Protein_Gene a owl:Class;
owl:unionOf (orth:Protein orth:Gene) .
bioquery:BGEE_OMA_4 a void:Linkset;
void:subjectsTarget bioquery:BGEE;
void:objectsTarget bioquery:OMA_BGEE_1;
void:linkPredicate dcterms:identifier;
voidext:linkPredicateDomain orth:Gene;
voidext:linkPredicateRange rdfs:Literal;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:isSubsetOf bioquery:BGEE.
bioquery:BGEE_OMA_1_4 a voidext:ComplexLinkSet;
voidext:intersectAt bioquery:OMA_BGEE_1 ;
voidext:intersectAt bioquery:BGEE_OMA_4 ;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:intersectionType voidext:OBJECT_OBJECT .
bioquery:OMA_BGEE_2 a voidext:SharedInstanceSet, voidext:SimpleLinkSet;
void:target bioquery:OMA;
void:target bioquery:BGEE;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:sharedInstanceType orth:Gene.
bioquery:OMA_BGEE_3 a voidext:SharedInstanceSet, voidext:SimpleLinkSet;
void:target bioquery:OMA;
void:target bioquery:BGEE;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:sharedInstanceType up:Taxon.
bioquery:OMA_BGEE_4 a void:Linkset;
void:subjectsTarget bioquery:OMA;
void:objectsTarget bioquery:BGEE_OMA_1;
void:linkPredicate rdfs:label;
voidext:linkPredicateDomain orth:Protein;
voidext:linkPredicateRange rdfs:Literal;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:isSubsetOf bioquery:OMA.
bioquery:BGEE_OMA_1 a void:Linkset;
void:subjectsTarget bioquery:BGEE;
void:objectsTarget bioquery:OMA_BGEE_4;
void:linkPredicate rdfs:label;
voidext:linkPredicateDomain orth:Gene;
voidext:linkPredicateRange rdfs:Literal;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:isSubsetOf bioquery:BGEE.
bioquery:BGEE_OMA_2 a voidext:ComplexLinkSet;
voidext:intersectAt bioquery:BGEE_OMA_1 ;
voidext:intersectAt bioquery:OMA_BGEE_4 ;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:intersectionType voidext:OBJECT_OBJECT .
bioquery:BGEE_UNIPROT_3 a void:Linkset;
void:subjectsTarget bioquery:BGEE;
void:objectsTarget bioquery:UNIPROT_BGEE_6;
void:linkPredicate rdfs:label;
voidext:linkPredicateDomain orth:Gene;
voidext:linkPredicateRange rdfs:Literal;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:isSubsetOf bioquery:BGEE.
bioquery:BGEE_UNIPROT_4 a voidext:ComplexLinkSet;
voidext:intersectAt bioquery:BGEE_UNIPROT_3 ;
voidext:intersectAt bioquery:UNIPROT_BGEE_6 ;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:intersectionType voidext:OBJECT_OBJECT .
bioquery:UNIPROT_EBI-ENSEMBL a void:Linkset;
void:subjectsTarget bioquery:UNIPROT;
void:objectsTarget bioquery:OMA_EBI-ENSEMBL;
void:linkPredicate up:transcribedFrom;
voidext:linkPredicateDomain up:Transcript_Resource;
voidext:linkPredicateRange obo:SO_0000704;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:isSubsetOf bioquery:UNIPROT.
bioquery:UNIPROT_OMA_2 a voidext:ComplexLinkSet;
voidext:intersectAt bioquery:UNIPROT_EBI-ENSEMBL ;
voidext:intersectAt bioquery:OMA_EBI-ENSEMBL ;
dcterms:issued "2019-06-30"^^xsd:date;
voidext:intersectionType voidext:OBJECT_OBJECT .
bioquery:OMA_UNIPROT_1 a void:Linkset, voidext:SimpleLinkSet;
void:objectsTarget bioquery:UNIPROT;
void:subjectsTarget bioquery:OMA;
void:linkPredicate lscr:xrefUniprot;
voidext:linkPredicateDomain orth:Protein;
voidext:linkPredicateRange up:Protein;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:isSubsetOf bioquery:OMA.
bioquery:OMA_UNIPROT_4 a void:Linkset;
void:subjectsTarget bioquery:OMA;
void:objectsTarget bioquery:UNIPROT_OMA_6;
void:linkPredicate rdfs:label;
voidext:linkPredicateDomain orth:Protein;
voidext:linkPredicateRange rdfs:Literal;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:isSubsetOf bioquery:OMA.
bioquery:UNIPROT_OMA_3 a voidext:ComplexLinkSet;
voidext:intersectAt bioquery:OMA_UNIPROT_2 ;
voidext:intersectAt bioquery:UNIPROT_OMA_4 ;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:intersectionType voidext:OBJECT_OBJECT .
bioquery:UNIPROT_OMA_6 a void:Linkset;
void:subjectsTarget bioquery:UNIPROT;
void:objectsTarget bioquery:OMA_UNIPROT_4;
void:linkPredicate skos:prefLabel;
voidext:linkPredicateDomain up:Gene;
voidext:linkPredicateRange rdfs:Literal;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:isSubsetOf bioquery:UNIPROT.
bioquery:UNIPROT_BGEE_6 a void:Linkset;
void:subjectsTarget bioquery:UNIPROT;
void:objectsTarget bioquery:BGEE_UNIPROT_3;
void:linkPredicate skos:prefLabel;
voidext:linkPredicateDomain up:Gene;
voidext:linkPredicateRange rdfs:Literal;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:isSubsetOf bioquery:UNIPROT.
bioquery:UNIPROT_OMA_5 a voidext:ComplexLinkSet;
voidext:intersectAt bioquery:UNIPROT_OMA_6 ;
voidext:intersectAt bioquery:OMA_UNIPROT_4 ;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:intersectionType voidext:OBJECT_OBJECT .
bioquery:OMA_UNIPROT_2 a void:Linkset;
void:subjectsTarget bioquery:OMA;
void:objectsTarget bioquery:UNIPROT_OMA_4;
void:linkPredicate oma:swissProtId;
voidext:linkPredicateDomain orth:Protein;
voidext:linkPredicateRange rdfs:Literal;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:isSubsetOf bioquery:OMA.
bioquery:OMA_UNIPROT_3 a voidext:SharedInstanceSet, voidext:SimpleLinkSet;
void:target bioquery:OMA;
void:target bioquery:UNIPROT;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:sharedInstanceType up:Taxon.
bioquery:UNIPROT_OMA_4 a void:Linkset;
void:subjectsTarget bioquery:UNIPROT;
void:objectsTarget bioquery:OMA_UNIPROT_2;
void:linkPredicate up:mnemonic;
voidext:linkPredicateDomain up:Protein;
voidext:linkPredicateRange rdfs:Literal;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:isSubsetOf bioquery:UNIPROT.
bioquery:BGEE_UNIPROT_1 a voidext:ComplexLinkSet;
voidext:intersectAt bioquery:BGEE_UNIPROT-EBI-ENSEMBL ;
voidext:intersectAt bioquery:UNIPROT_BGEE_EBI-ENSEMBL ;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:intersectionType voidext:OBJECT_OBJECT .
bioquery:UNIPROT_BGEE_EBI-ENSEMBL a void:Linkset;
void:subjectsTarget bioquery:UNIPROT;
void:objectsTarget bioquery:BGEE_UNIPROT-EBI-ENSEMBL;
void:linkPredicate up:transcribedFrom;
voidext:linkPredicateDomain up:Transcript_Resource;
voidext:linkPredicateRange obo:SO_0000704;
dcterms:issued "2019-06-30"^^xsd:date;
voidext:isSubsetOf bioquery:UNIPROT.
bioquery:BGEE_UNIPROT_2 a voidext:SharedInstanceSet, voidext:SimpleLinkSet;
void:target bioquery:BGEE;
void:target bioquery:UNIPROT;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:sharedInstanceType up:Taxon.
bioquery:BGEE_UNIPROT-EBI-ENSEMBL a void:Linkset;
void:subjectsTarget bioquery:BGEE;
void:objectsTarget bioquery:UNIPROT_EBI-ENSEMBL;
void:linkPredicate lscr:xrefEnsemblGene;
voidext:linkPredicateDomain ;
voidext:linkPredicateRange ;
dcterms:issued "2019-06-30"^^xsd:date;
voidext:isSubsetOf bioquery:BGEE.
bioquery:BGEE_EBI-ENSEMBL a void:Linkset;
void:subjectsTarget bioquery:BGEE;
void:objectsTarget bioquery:OMA_BGEE-ENSEMBL;
void:linkPredicate lscr:xrefEnsemblGene;
voidext:linkPredicateDomain ;
voidext:linkPredicateRange ;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:isSubsetOf bioquery:BGEE.
bioquery:OMA_BGEE-ENSEMBL a void:Linkset;
void:subjectsTarget bioquery:OMA;
void:objectsTarget bioquery:BGEE_EBI-ENSEMBL;
void:linkPredicate lscr:xrefEnsemblGene;
voidext:linkPredicateDomain ;
voidext:linkPredicateRange ;
dcterms:issued "2019-06-30"^^xsd:date;
voidext:isSubsetOf bioquery:OMA.
bioquery:BGEE_OMA_3 a voidext:ComplexLinkSet;
voidext:intersectAt bioquery:BGEE_EBI-ENSEMBL ;
voidext:intersectAt bioquery:OMA_BGEE-ENSEMBL ;
dcterms:issued "2019-06-28"^^xsd:date;
voidext:intersectionType voidext:OBJECT_OBJECT .
##############################################################
######## RDF Metadata VoIDext specification examples ######
##############################################################
bioquery:ORDO sd:name ;
a sd:Graph.
bioquery:ORDO_2_6 sd:name ;
a sd:Graph.
bioquery:EBI_ORDO a sd:Dataset, void:Dataset;
dcterms:title "Orphanet Rare Disease Ontology (ORDO)";
dcterms:description "The Orphanet nomenclature of rare diseases, essential in improving the visibility of rare diseases. ORDO is stored in EBI RDF store as two RDF graphs.";
sd:namedGraph bioquery:ORDO, bioquery:ORDO_2_6 ;
sd:defaultGraph [
a sd:Graph, void:Dataset;
dcterms:title "EBI RDF serialisation" ];
void:sparqlEndpoint ;
dcterms:modified "2017-07-10"^^xsd:date;
foaf:homepage ;
voidext:isSubsetOf bioquery:EBI.
bioquery:DRUGBANK a void:Dataset;
dcterms:title "Drug Bank RDF";
dcterms:description "The DrugBank database is a unique bioinformatics and cheminformatics resource that combines detailed drug data with comprehensive drug target information.";
void:sparqlEndpoint ;
dcterms:modified "2011-01-01"^^xsd:date;
foaf:homepage .
bioquery:EBI_UNIPROT_10 a voidext:SharedInstanceSet;
void:target bioquery:EBI;
void:target bioquery:UNIPROT;
voidext:isSubsetOf bioquery:EBI;
voidext:resourceMapping '''?IRI_EBI a .
BIND(IRI(CONCAT("http://purl.uniprot.org/taxonomy/",
STRAFTER(STR(?IRI_EBI),"http://identifiers.org/taxonomy/"))) as ?IRI_UNIPROT)
FILTER(STRSTARTS(STR(?IRI_EBI),"http://identifiers.org/taxonomy/"))''';
voidext:sharedInstanceType biopax:BioSource;
dcterms:issued "2019-06-30"^^xsd:date .
bioquery:EBI_UNIPROT_11 a voidext:SharedInstanceSet;
void:target bioquery:EBI;
void:target bioquery:UNIPROT;
voidext:isSubsetOf bioquery:UNIPROT;
voidext:resourceMapping
'''?IRI_UNIPROT a .
BIND(IRI(CONCAT("http://identifiers.org/taxonomy/",
STRAFTER(STR(?IRI_UNIPROT),"http://purl.uniprot.org/taxonomy/"))) as ?IRI_EBI)
FILTER(STRSTARTS(STR(?IRI_UNIPROT),"http://purl.uniprot.org/taxonomy/"))''';
voidext:sharedInstanceType up:Taxon ;
dcterms:issued "2019-06-30"^^xsd:date .
bioquery:EBI_UNIPROT_12 a voidext:ComplexLinkSet;
rdfs:label "Links between EBI and UniProt considering shared similar instances of organism taxonomy"@en;
rdfs:comment "A virtual link set between EBI and UniProt that share similar organism taxonomy instances. Being UniProt the most complete in terms of organism taxonomy in RDF.";
voidext:intersectAt bioquery:EBI_UNIPROT_11 ;
voidext:intersectAt bioquery:EBI_UNIPROT_10 ;
voidext:recommendedMapping bioquery:EBI_UNIPROT_10 ;
dcterms:issued "2019-06-30"^^xsd:date .
bioquery:DRUGBANK_EBI-ORDO a void:Linkset;
void:subjectsTarget bioquery:DRUGBANK;
rdfs:label "The link predicate description from drugbank dataset to the ORDO/EBI rare diseases dataset.";
rdfs:comment "It is a linkset from the drugbank dataset to ORDO/EBI rare diseases dataset that is part of the bioquery:DRUGBANK_EBI-ORDO_VL complex link set.";
void:objectsTarget bioquery:EBI-ORDO_DRUGBANK;
void:linkPredicate drugbank:swissprotId;
voidext:linkPredicateDomain drugbank:targets;
voidext:isSubsetOf bioquery:DRUGBANK;
dcterms:issued "2019-06-30"^^xsd:date .
bioquery:EBI-ORDO_DRUGBANK a void:Linkset;
rdfs:label "The link predicate description from ORDO/EBI rare diseases dataset to the drugbank dataset.";
rdfs:comment "It is a linkset from ORDO/EBI rare diseases dataset to the drugbank dataset that is part of the bioquery:DRUGBANK_EBI-ORDO_VL complex link set.";
void:objectsTarget bioquery:DRUGBANK_EBI-ORDO;
void:subjectsTarget bioquery:EBI_ORDO;
void:linkPredicate oboowl:hasDbXref;
voidext:linkPredicateRange xsd:string ;
voidext:resourceMapping '''?g ?i.
BIND( IRI(CONCAT("http://bio2rdf.org/uniprot:",STRAFTER(?i,"SwissProt:"))) as ?NEW_IRI)
FILTER (CONTAINS(?i, "SwissProt:" ))''';
voidext:isSubsetOf bioquery:EBI_ORDO;
dcterms:issued "2019-06-30"^^xsd:date .
bioquery:DRUGBANK_EBI-ORDO_VL a voidext:ComplexLinkSet;
rdfs:label "Virtual links for rare diseases (ORDO/EBI dataset) and drug targets (drugbank dataset).";
rdfs:comment "Virtual links between the Orphanet rare disease terms stored as a subset in the EBI RDF store and the drug targets in DrugBank dataset. They have in common swissprot identifiers but they are represented in a different way. One is a string and another one an URI both of them containing a swissprot identifier.";
voidext:intersectAt bioquery:EBI-ORDO_DRUGBANK ;
voidext:intersectAt bioquery:DRUGBANK_EBI-ORDO ;
voidext:intersectionType voidext:OBJECT_OBJECT ;
voidext:recommendedMapping bioquery:EBI-ORDO_DRUGBANK;
dcterms:issued "2019-06-30"^^xsd:date .
#################
########### Non life sciences virtual link set examples
#################
ex:DBPEDIA a void:Dataset;
dcterms:title "DBpedia";
dcterms:description "The RDF dataset based on the Wikipedia dumps dating from October 2016.";
void:sparqlEndpoint ;
dcterms:modified "2016-10-01"^^xsd:date;
foaf:homepage .
ex:MUSICBRAINZ a void:Dataset;
dcterms:title "MusicBrainz";
dcterms:description "MusicBrainz - The Open Music Encyclopedia in RDF";
void:sparqlEndpoint ;
dcterms:modified "2011-07-01"^^xsd:date;
foaf:homepage .
ex:LINDAS a void:Dataset;
dcterms:title "LINDAS Linked Data Service - Swiss Government Data";
dcterms:description "Swiss authorities can use LINDAS Linked Data Service to make their data available as RDF";
void:sparqlEndpoint ;
foaf:homepage .
ex:DBPEDIA_MUSICBRAINZ a void:Linkset;
void:subjectsTarget ex:DBPEDIA;
rdfs:label "A link set for artists and bands from DBpedia to MusicBrainz dataset.";
rdfs:comment "It is a linkset from DBpedia to MusicBrainz dataset that is part of the ex:DBPEDIA_MUSICBRAINZ_VL complex link set. It describes a mapping function to cast the type of rdfs:label assertions stated to instances of dbpedia:Band, dbpedia:Artist and dbpedia_yago:Artist109812338 types to be equivalent to literals in MusicBrainz dataset. These types are also stated as voidext:linkPredicateDomain(s) of the link predicate (rdfs:label) in this linkset.";
void:objectsTarget ex:MUSICBRAINZ_DBPEDIA;
void:linkPredicate rdfs:label;
voidext:linkPredicateDomain ex:Artist_Band;
voidext:resourceMapping
'''{?a a .}
UNION {?a a . }
UNION{ ?a a .}
?a ?v.
BIND(str(?v) as ?new_name )''';
voidext:isSubsetOf ex:DBPEDIA;
dcterms:issued "2019-06-30"^^xsd:date.
ex:Artist_Band a owl:Class;
owl:unionOf ( ) .
ex:MUSICBRAINZ_DBPEDIA a void:Linkset;
rdfs:label "A link set for musical artists (that includes bands) from MusicBrainz dataset to DBpedia dataset.";
rdfs:comment "It is a linkset from MusicBrainz dataset to the DBpedia dataset. This link set is part of the ex:DBPEDIA_MUSICBRAINZ_VL complex virtual link. ";
void:objectsTarget ex:DBPEDIA_MUSICBRAINZ;
void:subjectsTarget ex:MUSICBRAINZ;
void:linkPredicate foaf:name;
voidext:linkPredicateRange rdfs:Literal ;
voidext:linkPredicateDomain ;
voidext:isSubsetOf ex:MUSICBRAINZ;
dcterms:issued "2019-06-30"^^xsd:date.
ex:DBPEDIA_MUSICBRAINZ_VL a voidext:ComplexLinkSet;
rdfs:label "A virtual link set for musical artists and bands in both DBpedia and MusicBraiz datasets.";
rdfs:comment "A set of virtual links is established between the objects of foaf:name assigned to mo:MusicArtist types and the objects of rdfs:label assigned to instances of dbpedia:Band, dbpedia:Artist and dbpedia_yago:Artist109812338 types. They have in common artists/bands' names but they are represented in a different way. One is a literal and another one a literal with a language tag. In this virtual link set, the knowlege domain of intersection is about artists and bands. Thus, rdfs:label(s) and foaf:name(s) are restricted to this domain.";
voidext:intersectAt ex:MUSICBRAINZ_DBPEDIA ;
voidext:intersectAt ex:DBPEDIA_MUSICBRAINZ ;
voidext:intersectionType voidext:OBJECT_OBJECT ;
voidext:recommendedMapping ex:DBPEDIA_MUSICBRAINZ;
dcterms:issued "2019-06-30"^^xsd:date.
ex:MUSICBRAINZ_DBPEDIA_SAMEAS a void:Linkset, voidext:SimpleLinkSet;
rdfs:label "A link set based on owl:sameAs assertions for musical artists (that includes bands) from MusicBrainz dataset to DBpedia dataset.";
rdfs:comment "It is a simple link set from MusicBrainz dataset to the DBpedia dataset based on owl:sameAs assertions stated in the MusicBrainz dataset where the owl:sameAs objects are described in DBpedia. Although more precise, this link set has a lower coverage than ex:DBPEDIA_MUSICBRAINZ_VL .";
void:objectsTarget ex:DBPEDIA;
void:subjectsTarget ex:MUSICBRAINZ;
void:linkPredicate owl:sameAs;
voidext:linkPredicateRange ex:Artist_Band;
voidext:linkPredicateDomain ;
voidext:isSubsetOf ex:MUSICBRAINZ;
dcterms:issued "2019-06-30"^^xsd:date.
ex:DBPEDIA_LINDAS_SWISSCANTON a void:Linkset;
void:subjectsTarget ex:DBPEDIA;
rdfs:label "A link set for Swiss cantons from DBpedia to Swiss government LINDAS dataset.";
rdfs:comment "It is a simple link set from DBpedia to Swiss government LINDAS dataset that is part of the ex:DBPEDIA_LINDAS_SWISSCANTON_VL complex link set. The subject of the void:linkPredicate can be any IRI. However, because this link set is about cantons of Switzerland, the mapping function restricts the subjects' IRIs to those resources that also assert dbpedia:Category:Cantons_of_Switzerland to the dct:subject property.";
void:objectsTarget ex:LINDAS_DBPEDIA_SWISSCANTON;
void:linkPredicate ;
voidext:linkPredicateRange rdf:langString ;
voidext:resourceMapping
'''
?dbpedia_place .
?dbpedia_place ?c.
BIND(IF(str(?c)="Grisons", "Graubünden / Grigioni / Grischun",
IF(str(?c)="Geneva", "Genève",
IF(str(?c)="Lucerne", "Luzern",
IF(str(?c)="Valais", "Valais / Wallis",
IF(str(?c)="Bern", "Bern / Berne",
IF(str(?c)="Fribourg", "Fribourg / Freiburg", str(?c) ))))))
as ?new_name)''';
voidext:isSubsetOf ex:DBPEDIA;
dcterms:issued "2019-06-30"^^xsd:date.
ex:LINDAS_DBPEDIA_SWISSCANTON a void:Linkset;
rdfs:label "A link set for Swiss cantons from LINDAS Swiss government dataset to DBpedia dataset.";
rdfs:comment "It is a simple link set from LINDAS dataset to the DBpedia dataset. This link set is part of the ex:DBPEDIA_LINDAS_VL complex link set. ";
void:objectsTarget ex:DBPEDIA_LINDAS_SWISSCANTON;
void:subjectsTarget ex:LINDAS;
void:linkPredicate ;
voidext:linkPredicateRange rdfs:Literal ;
voidext:linkPredicateDomain ;
voidext:resourceMapping
'''?x a .
?x ?c.
BIND(IF(contains(?c,"Graubünden"), "Grisons"^^,
IF( ?c="Genève", "Geneva"^^,
IF( ?c="Luzern", "Lucerne"^^,
IF(contains(?c, "/"), STRDT(STRBEFORE(?c, " /"),),
STRDT(?c,)))))
as ?new_name)''';
voidext:isSubsetOf ex:LINDAS;
dcterms:issued "2019-06-30"^^xsd:date.
ex:DBPEDIA_LINDAS_SWISSCANTON_VL a voidext:ComplexLinkSet;
rdfs:label "A virtual link set for cantons in both DBpedia and LINDAS Swiss government datasets.";
rdfs:comment "A set of virtual links is established between the objects of lindas.longName assigned to instances of lindas.Canton, and the objects of dbpedia.shortName assigned to instances related to the dbpedia:Category:Cantons_of_Switzerland resource. They have in common canton' names but they are represented in a different way. Indeed, the names are of different data types (e.g. literal, langString), multi-value strings (e.g. 'Bern / Berne'), and multiple languages. In this virtual link set, the knowlege domain of intersection is about cantons in Switzerland. Thus, dbpedia.shortName(s) and lindas.longName(s) are restricted to this subdomain.";
voidext:intersectAt ex:LINDAS_DBPEDIA_SWISSCANTON ;
voidext:intersectAt ex:DBPEDIA_LINDAS_SWISSCANTON;
voidext:intersectionType voidext:OBJECT_OBJECT ;
voidext:recommendedMapping ex:LINDAS_DBPEDIA_SWISSCANTON;
dcterms:issued "2019-06-30"^^xsd:date.
ex:LINDAS_DBPEDIA_CITY_1 a void:Linkset, voidext:SimpleLinkSet ;
rdfs:label "A simple link set for Swiss municipalities from LINDAS Swiss government dataset to DBpedia dataset.";
rdfs:comment "It is a simple link set from LINDAS dataset to the DBpedia dataset. This link set covers 2352 out of 3428 municipalities in LINDAS dataset.";
void:objectsTarget ex:DBPEDIA;
void:subjectsTarget ex:LINDAS;
void:linkPredicate rdfs:seeAlso;
voidext:linkPredicateRange ;
voidext:linkPredicateDomain ;
voidext:resourceMapping '''
?city a .
?city ?dbpedia_city.
BIND(?dbpedia_city as ?dbpedia_city_new)
FILTER(CONTAINS(STR(?dbpedia_city), "dbpedia"))''';
voidext:isSubsetOf ex:LINDAS;
voidext:hasPerformanceMeasure ex:LINDAS_DBPEDIA_CITY1_P ;
dcterms:issued "2019-06-30"^^xsd:date.
ex:LINDAS_DBPEDIA_CITY_2 a void:Linkset, voidext:SimpleLinkSet;
rdfs:label "A simple link set for Swiss municipalities from LINDAS Swiss government dataset to DBpedia dataset.";
rdfs:comment "It is a simple link set from LINDAS dataset to the DBpedia dataset. This link set covers 2350 out of 3428 municipalities in LINDAS dataset.";
void:objectsTarget ex:DBPEDIA;
void:subjectsTarget ex:LINDAS;
void:linkPredicate rdfs:seeAlso;
voidext:linkPredicateRange ex:LINDAS_DBPEDIA_CITY2_RANGE ;
voidext:linkPredicateDomain ;
voidext:hasPerformanceMeasure ex:LINDAS_DBPEDIA_CITY2_P ;
voidext:isSubsetOf ex:LINDAS;
voidext:isSubsetOf ex:LINDAS_DBPEDIA_CITY_1 ;
voidext:resourceMapping '''
?city a .
?city ?dbpedia_city.
BIND(?dbpedia_city as ?dbpedia_city_new)
FILTER(CONTAINS(STR(?dbpedia_city), "dbpedia"))''';
dcterms:issued "2019-06-30"^^xsd:date.
ex:LINDAS_DBPEDIA_CITY2_RANGE
rdf:type owl:Class ;
owl:unionOf ( [ rdf:type owl:Restriction ;
owl:onProperty ;
owl:someValuesFrom ]
[ rdf:type owl:Class ;
owl:intersectionOf (
[ rdf:type owl:Restriction ;
owl:onProperty ;
owl:someValuesFrom ] ) ] ) .
ex:LINDAS_DBPEDIA_CITY1_P
a mex:ClassificationMeasure;
mex:precision 1.0;
mex:recall 0.8209.
ex:LINDAS_DBPEDIA_CITY2_P
a mex:ClassificationMeasure;
mex:precision 1.0;
mex:recall 0.8202.