On 8/31/13 3:20 AM, Dimitris Kontokostas wrote:
Hi Kingsley,Sorry but I still don't see a clear solution with your suggestion.Just like in Wikipedia when we see an Infobox_Person we assume that the resource is an dbo:Person we want to do the same in WikiData when we see a P107 Q215627 <http://www.wikidata.org/entity/Q215627> claim In the 1st case it's an unstructured text to LD the 2nd is an LD2LD but to a less complicated and well-known schema (that will make existing DBpedia queries compatible to Wikidata)Thus, When I wrote the triple Q42 a dbo:Person, that triple did not came from dbr:Douglas_Adams as you replied but directly from the Wikidata claimNow, does Q42 need to be the original Wikidata resource <http://www.wikidata.org/entity/Q42> and if yes, how should DBpedia publish & dereference these triples? Or should we use our own domain and make owl:sameAs / foaf:primaryTopic links to Wikidata like we did with all Wikipedia language editions?Other suggestions / directions are also welcome of course! Best, Dimitris
We have to first understand the Wikidata URIs. Let's use the following:1. <http://www.wikidata.org/entity/Q215627> -- a Document that describes a 'Person' class 2. <http://www.wikidata.org/entity/Q42> -- a Document that describes 'Douglas Adams' (an instance of 'Person' class).
The mapping would be as follows: TBox (Ontology): ## Wikidata RDF document describes a 'Person' class <http://www.wikidata.org/entity/Q215627><http://open.vocab.org/terms/describes> <http://www.wikidata.org/entity/Q215627#this> .
## Wikidata 'Person' class is equivalent to DBpedia 'Person' class <http://www.wikidata.org/entity/Q215627#this> owl:equivalentClass dbpedia-owl:Person . ABox (Assertions):## Wikidata RDF Document describes 'Douglas Adams' but without explicit denotation via a URI ## thus, "#this" heuristic is used to derive a Linked Data URI for 'Douglas Adams' from the Wikidata RDF Document URL.
<http://www.wikidata.org/entity/Q42><http://open.vocab.org/terms/describes> <http://www.wikidata.org/entity/Q42#this> ;
foaf:primaryTopic <http://www.wikidata.org/entity/Q42#this> .## derived URI for 'Douglas Adams' is then used as the subject or object of an owl:sameAs relation with the DBpedia URI for 'Douglas Adams'
<http://www.wikidata.org/entity/Q42#this> owl:sameAs <http://dbpedia.org/resource/Douglas_Adams> .What I've outlined above is what exists right now with regards to the RDF documents produced by Wikidata. You don't need to mint new wikidata.dbpedia.org URIs .
Kingsley
On Fri, Aug 30, 2013 at 7:45 PM, Kingsley Idehen <[email protected] <mailto:[email protected]>> wrote:On 8/30/13 12:25 PM, Dimitris Kontokostas wrote:Thanks Kingsley, for now we don't host the data so wikidata.dbpedia.org/resource/ <http://wikidata.dbpedia.org/resource/>.. does not dereference anything lets take an example to recup Q42 (Douglas Adams), besides the answer to the ultimate question [1] :) has the following triple http://www.wikidata.org/entity/Q42 http://www.wikidata.org/entity/P107 http://www.wikidata.org/entity/Q215627 which in our dump *will* be translated to http://wikidata.dbpedia.org/resource/Q42 owl:sameAs http://www.wikidata.org/entity/Q42 http://wikidata.dbpedia.org/resource/Q42 rdf:type dbpedia-owl:Person If I get it right, your suggestion is to generate this triple directly right? http://www.wikidata.org/entity/Q42 rdf:type dbpedia-owl:Person but in this case, when someone opens Q42 he/she will not see out added triplesHaving taken a closer look at the RDF content in WikiData documents It should be: <http://www.wikidata.org/entity/Q42> foaf:primartyTopic <http://dbpedia.org/resource/Douglas_Adams> <http://dbpedia.org/resource/Douglas_Adams> . To be really safe, i.e., not vulnerable to changes relating to how they evolve handling of entity disambiguation via content negotiation etc., you can opt to be much more specific about the RDF document URLs: <http://www.wikidata.org/entity/Q42.nt> foaf:primaryTopic <http://dbpedia.org/resource/Douglas_Adams> <http://dbpedia.org/resource/Douglas_Adams> . http://www.wikidata.org/entity/Q42.rdf> foaf:primaryTopic <http://dbpedia.org/resource/Douglas_Adams> <http://dbpedia.org/resource/Douglas_Adams> . That's it, let the Web of Linked Data do the rest :-) Kingsley.Cheers, Dimitris [1] http://en.wikipedia.org/wiki/42_%28number%29#The_Hitchhiker.27s_Guide_to_the_Galaxy On Fri, Aug 30, 2013 at 5:57 PM, Kingsley Idehen <[email protected] <mailto:[email protected]>> wrote: On 8/29/13 2:45 PM, Hady elsahar wrote:i guess what we need now is to map between the original WikiData URIs and their URIs we use in DBpedia under the new namespace , for example : <http://wikidata.dbpedia.org/resource/Q1293045> owl:sameAs <http://wikidata.org/entity/Q1293045>No. As per my last two mails. You are making unnecessary work here. Wikidata is publishing RDF based Linked Data. Thus, simply use their URIs. Example of the implications of your current approach: curl -ILH "Accept: text/turtle" http://wikidata.dbpedia.org/resource/Q1293045 curl: (6) Couldn't resolve host 'wikidata.dbpedia.org <http://wikidata.dbpedia.org>' Just map the WikiData URI to the DBpedia URI and you leverage the benefits of: curl -ILH "Accept: text/turtle" http://wikidata.org/entity/Q1293045 HTTP/1.0 301 Moved Permanently Date: Fri, 30 Aug 2013 14:51:49 GMT Server: Apache *Location: http://www.wikidata.org/entity/Q1293045* *Content-Type: text/html*; charset=iso-8859-1 HTTP/1.0 302 Moved Temporarily Date: Fri, 30 Aug 2013 14:51:49 GMT Server: Apache *Location: https://www.wikidata.org/wiki/Special:EntityData/Q1293045* *Content-Type: text/html*; charset=iso-8859-1 HTTP/1.1 303 See Other Server: nginx/1.1.19 Date: Fri, 30 Aug 2013 14:51:54 GMT *Content-Type: text/html*; charset=utf-8 Connection: close X-Content-Type-Options: nosniff Cache-Control: private, s-maxage=0, max-age=0, must-revalidate Vary: Accept-Encoding,X-Forwarded-Proto,Cookie Expires: Thu, 01 Jan 1970 00:00:00 GMT Last-Modified: Fri, 30 Aug 2013 14:51:54 GMT *Location: https://www.wikidata.org/wiki/Special:EntityData/Q1293045.ttl* HTTP/1.1 200 OK Server: nginx/1.1.19 Date: Fri, 30 Aug 2013 14:51:55 GMT *Content-Type: text/turtle*; charset=UTF-8 Content-Length: 8388--Regards, Kingsley Idehen Founder & CEO OpenLink Software Company Web:http://www.openlinksw.com Personal Weblog:http://www.openlinksw.com/blog/~kidehen <http://www.openlinksw.com/blog/%7Ekidehen> Twitter/Identi.ca handle: @kidehen Google+ Profile:https://plus.google.com/112399767740508618350/about LinkedIn Profile:http://www.linkedin.com/in/kidehen ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Dbpedia-discussion mailing list [email protected] <mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion-- Kontokostas Dimitris--Regards, Kingsley Idehen Founder & CEO OpenLink Software Company Web:http://www.openlinksw.com Personal Weblog:http://www.openlinksw.com/blog/~kidehen <http://www.openlinksw.com/blog/%7Ekidehen> Twitter/Identi.ca handle: @kidehen Google+ Profile:https://plus.google.com/112399767740508618350/about LinkedIn Profile:http://www.linkedin.com/in/kidehen -- Kontokostas Dimitris
-- Regards, Kingsley Idehen Founder & CEO OpenLink Software Company Web: http://www.openlinksw.com Personal Weblog: http://www.openlinksw.com/blog/~kidehen Twitter/Identi.ca handle: @kidehen Google+ Profile: https://plus.google.com/112399767740508618350/about LinkedIn Profile: http://www.linkedin.com/in/kidehen
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
