On 30 June 2013 06:59, Hady elsahar <[email protected]> wrote:
>
> Hello All ,
>
> Specific language links Files are generated
>
> here's the script :
> https://github.com/hadyelsahar/extraction-framework/commit/004e56ba0ce5fd652efa5cb32bd249356105dfe3
>
> the language links file names are in the form of :
>
> interlanguage_links_same_as_an.ttl
> interlanguage_links_same_as_eo.ttl
> interlanguage_links_same_as_es.ttl
> interlanguage_links_same_as_ff.ttl
> interlanguage_links_same_as_zh_classical.ttl       (languages like 
> as-zh-classical are converted into as_zh_classical in file names only )
>
> example file content for lanugage like [it] :
>
> <http://www.wikidata.org/entity/Q1000> <http://www.w3.org/2002/07/owl#sameAs> 
> <http://it.dbpedia.org/resource/Gabon>
> <http://www.wikidata.org/entity/Q1001> <http://www.w3.org/2002/07/owl#sameAs> 
> <http://it.dbpedia.org/resource/Mahatma_Gandhi>
> <http://www.wikidata.org/entity/Q1002> <http://www.w3.org/2002/07/owl#sameAs> 
> <http://it.dbpedia.org/resource/Penisola_dei_Ciukci>
>

That's a good start, but I think there's a bit more to do. Maybe you
will need a Scala script, maybe a bash script is still enough.

Look at this file from the 3.8 release:

http://downloads.dbpedia.org/preview.php?file=3.8_sl_en_sl_interlanguage_links_same_as_en.ttl.bz2

It contains triples like this:

<http://dbpedia.org/resource/Alice,_Eastern_Cape>
<http://www.w3.org/2002/07/owl#sameAs>
<http://af.dbpedia.org/resource/Alice> .
<http://dbpedia.org/resource/Alice,_Eastern_Cape>
<http://www.w3.org/2002/07/owl#sameAs>
<http://de.dbpedia.org/resource/Alice_(Südafrika)> .
<http://dbpedia.org/resource/Alice,_Eastern_Cape>
<http://www.w3.org/2002/07/owl#sameAs>
<http://fr.dbpedia.org/resource/Alice_(Afrique_du_Sud)> .

Similar for other languages:

http://downloads.dbpedia.org/preview.php?file=3.8_sl_de_sl_interlanguage_links_same_as_de.ttl.bz2

<http://de.dbpedia.org/resource/Alice_(Südafrika)>
<http://www.w3.org/2002/07/owl#sameAs>
<http://af.dbpedia.org/resource/Alice> .
<http://de.dbpedia.org/resource/Alice_(Südafrika)>
<http://www.w3.org/2002/07/owl#sameAs>
<http://dbpedia.org/resource/Alice,_Eastern_Cape> .
<http://de.dbpedia.org/resource/Alice_(Südafrika)>
<http://www.w3.org/2002/07/owl#sameAs>
<http://fr.dbpedia.org/resource/Alice_(Afrique_du_Sud)> .

I think we need the triples in this form, especially because we need
to load them into the triple stores at http://dbpedia.org ,
http://de.dbpedia.org etc.


Regards,
JC

>
> check some other attached file examples
>
> also as JC adviced in the last i updated the used property from schema:about 
> to owl:sameas link
> https://github.com/hadyelsahar/extraction-framework/commit/d99689d1e10da65961733e0e2abe43db8e5951bd
>
>
> -------------------------------------------------
> Hady El-Sahar
> Research Assistant
> Center of Informatics Sciences | Nile University
>
> email : [email protected]
> Phone : +2-01220887311
> http://hadyelsahar.me/
>
>
>

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Dbpedia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-developers

Reply via email to