Hello,
I stored in a database about writers in breton language the wikidata item ID associated to those writers (for instance, Q1391034 for Théodore Hersart de La Villemarqué). Is there a property in a RDF ontology to designate a Wikidata item ID (or should I say entity ID ?) ? So that I could expose my data in RDF with triplets like:
mydata:writer/561 a efrbroo:F10_Person ; wd:????? Q1391034.
Thanks,
Hello! No, I don't know. What you could do is to use a regular linked data property like owl:sameAs with as value the URI of the Wikidata item, like http://www.wikidata.org/entity/Q1391034. So you would have something like (using wd: as prefix for http://www.wikidata.org/entity/):
mydata:writer/561 a efrbroo:F10_Person ; owl:sameAs wd:Q1391034 .
Cheers,
Thomas
Le 25 mai 2016 à 15:17, Jean-Baptiste Pressac Jean-Baptiste.Pressac@univ-brest.fr a écrit :
Hello,
I stored in a database about writers in breton language the wikidata item ID associated to those writers (for instance, Q1391034 for Théodore Hersart de La Villemarqué). Is there a property in a RDF ontology to designate a Wikidata item ID (or should I say entity ID ?) ? So that I could expose my data in RDF with triplets like:
mydata:writer/561 a efrbroo:F10_Person ; wd:????? Q1391034.
Thanks,
Jean-Baptiste Pressac
Traitement et analyse de bases de données Production et diffusion de corpus numériques
Centre de Recherche Bretonne et Celtique Unité mixte de service (UMS) 3554 20 rue Duquesne CS 93837 29238 Brest cedex 3
tel : +33 (0)2 98 01 68 95 fax : +33 (0)2 98 01 63 93
<Jean-Baptiste_Pressac.vcf>_______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Right, but in that case, the objet is an URI (http://www.wikidata.org/entity/Q1391034) and not a litteral (Q1391034)...
Jean-Baptiste Pressac
Traitement et analyse de bases de données Production et diffusion de corpus numériques
Centre de Recherche Bretonne et Celtique Unité mixte de service (UMS) 3554 20 rue Duquesne CS 93837 29238 Brest cedex 3
tel : +33 (0)2 98 01 68 95 fax : +33 (0)2 98 01 63 93
Le 25/05/2016 à 15:59, Thomas Tanon a écrit :
Hello! No, I don't know. What you could do is to use a regular linked data property like owl:sameAs with as value the URI of the Wikidata item, like http://www.wikidata.org/entity/Q1391034. So you would have something like (using wd: as prefix for http://www.wikidata.org/entity/):
mydata:writer/561 a efrbroo:F10_Person ; owl:sameAs wd:Q1391034 .
Cheers,
Thomas
Le 25 mai 2016 à 15:17, Jean-Baptiste Pressac Jean-Baptiste.Pressac@univ-brest.fr a écrit :
Hello,
I stored in a database about writers in breton language the wikidata item ID associated to those writers (for instance, Q1391034 for Théodore Hersart de La Villemarqué). Is there a property in a RDF ontology to designate a Wikidata item ID (or should I say entity ID ?) ? So that I could expose my data in RDF with triplets like:
mydata:writer/561 a efrbroo:F10_Person ; wd:????? Q1391034.
Thanks,
Jean-Baptiste Pressac
Traitement et analyse de bases de données Production et diffusion de corpus numériques
Centre de Recherche Bretonne et Celtique Unité mixte de service (UMS) 3554 20 rue Duquesne CS 93837 29238 Brest cedex 3
tel : +33 (0)2 98 01 68 95 fax : +33 (0)2 98 01 63 93
<Jean-Baptiste_Pressac.vcf>_______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
On 25.05.2016 15:59, Thomas Tanon wrote:
Hello! No, I don't know. What you could do is to use a regular linked data property like owl:sameAs with as value the URI of the Wikidata item, like http://www.wikidata.org/entity/Q1391034. So you would have something like (using wd: as prefix for http://www.wikidata.org/entity/):
mydata:writer/561 a efrbroo:F10_Person ; owl:sameAs wd:Q1391034 .
Yes, the preferred way to refer to Wikidata items in RDF is definitely to use their URI, not just their string ID. Whether owl:sameAs is the right property for your case depends on what you use your data for. One could also use weaker notions that provide the link without asserting identity.
An important advantage of using URIs instead of string IDs is that you do not need to encode that this is a Wikidata ID. You can use any property you like to make the connection, and it will still be clear from the URI that you refer to Wikidata.
Best regards,
Markus
Le 25 mai 2016 à 15:17, Jean-Baptiste Pressac Jean-Baptiste.Pressac@univ-brest.fr a écrit :
Hello,
I stored in a database about writers in breton language the wikidata item ID associated to those writers (for instance, Q1391034 for Théodore Hersart de La Villemarqué). Is there a property in a RDF ontology to designate a Wikidata item ID (or should I say entity ID ?) ? So that I could expose my data in RDF with triplets like:
mydata:writer/561 a efrbroo:F10_Person ; wd:????? Q1391034.
Thanks,
Jean-Baptiste Pressac
Traitement et analyse de bases de données Production et diffusion de corpus numériques
Centre de Recherche Bretonne et Celtique Unité mixte de service (UMS) 3554 20 rue Duquesne CS 93837 29238 Brest cedex 3
tel : +33 (0)2 98 01 68 95 fax : +33 (0)2 98 01 63 93
<Jean-Baptiste_Pressac.vcf>_______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
I will follow your advice, thanks !
Jean-Baptiste Pressac
Traitement et analyse de bases de données Production et diffusion de corpus numériques
Centre de Recherche Bretonne et Celtique Unité mixte de service (UMS) 3554 20 rue Duquesne CS 93837 29238 Brest cedex 3
tel : +33 (0)2 98 01 68 95 fax : +33 (0)2 98 01 63 93
Le 25/05/2016 à 17:09, Markus Kroetzsch a écrit :
On 25.05.2016 15:59, Thomas Tanon wrote:
Hello! No, I don't know. What you could do is to use a regular linked data property like owl:sameAs with as value the URI of the Wikidata item, like http://www.wikidata.org/entity/Q1391034. So you would have something like (using wd: as prefix for http://www.wikidata.org/entity/):
mydata:writer/561 a efrbroo:F10_Person ; owl:sameAs wd:Q1391034 .
Yes, the preferred way to refer to Wikidata items in RDF is definitely to use their URI, not just their string ID. Whether owl:sameAs is the right property for your case depends on what you use your data for. One could also use weaker notions that provide the link without asserting identity.
An important advantage of using URIs instead of string IDs is that you do not need to encode that this is a Wikidata ID. You can use any property you like to make the connection, and it will still be clear from the URI that you refer to Wikidata.
Best regards,
Markus
Le 25 mai 2016 à 15:17, Jean-Baptiste Pressac Jean-Baptiste.Pressac@univ-brest.fr a écrit :
Hello,
I stored in a database about writers in breton language the wikidata item ID associated to those writers (for instance, Q1391034 for Théodore Hersart de La Villemarqué). Is there a property in a RDF ontology to designate a Wikidata item ID (or should I say entity ID ?) ? So that I could expose my data in RDF with triplets like:
mydata:writer/561 a efrbroo:F10_Person ; wd:????? Q1391034.
Thanks,
Jean-Baptiste Pressac
Traitement et analyse de bases de données Production et diffusion de corpus numériques
Centre de Recherche Bretonne et Celtique Unité mixte de service (UMS) 3554 20 rue Duquesne CS 93837 29238 Brest cedex 3
tel : +33 (0)2 98 01 68 95 fax : +33 (0)2 98 01 63 93
<Jean-Baptiste_Pressac.vcf>_______________________________________________
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata