Hi
 
>I think MediaWiki in general is not multilingual from content perspective - it is intended to have separate instances for each language.
 
Ok but why did you create the "Property:Language_code" ?
I think it's easier to create this property than to have separate instances for each language.
The problem is at the end : all language is in the same BDD.
It's easier to fix this problem in smw now before to change the Sparql's implementation, isn't it ?
 
Bye,
Karima
 

Date: Thu, 9 Apr 2009 01:23:13 -0400
Subject: Re: [Semediawiki-user] Multilingual Semantic Mediawiki, roadmap ?
From: sergey.chernyshev@gmail.com
To: karima_rafes@hotmail.com
CC: semediawiki-user@lists.sourceforge.net

I think MediaWiki in general is not multilingual from content perspective - it is intended to have separate instances for each language.

What can be done is to have cross-language interwiki links [1] to be automatically converted to "Equivalent URI" relationships between two datasets [2] so having two RDF exports you'll essentially have what you're asking for. If this automatic conversion is not available yet (Markus will know), then you can simply insert Equivalent URIs into pages manually (using templates for example).

[1] http://www.mediawiki.org/wiki/Interwiki#Interwiki_links_to_other_languages
[2] http://www.semantic-mediawiki.org/wiki/Property:Equivalent_URI

Hope this helps.

Thank you,

        Sergey


--
Sergey Chernyshev
http://www.sergeychernyshev.com/


On Sun, Mar 22, 2009 at 2:00 PM, karima rafes <karima_rafes@hotmail.com> wrote:
Hi,
 
I want to build a wiki french/english/... and may be, a semantic wiki.
 
I know a little OWL so I suppose an export of the property 'CityOf' of SWM will be  :
<owl:objectProperty rdf:ID="CapitalOf">
  <rdfs:label xml:lang="en">Capital of</rdfs:label>
  <rdfs:label xml:lang="fr">Capitale de</rdfs:label>
  <rdfs:domain rdf:resource="#Page"/>
  <rdfs:range rdf:resource="#Page"/>
</owl:objectProperty>
 
So, if I have 2 pages :
-http://example.org/wiki/Pékin
With the text : [[Capitale de::Chine]][[URI équivalente::Beijing| ]][[code langue::fr| ]] -http://example.org/wiki/Beijing
With the text : [[Capital of::China]]
 
May be in the DB :
_:a  page      <http://example.org/wiki/Pékin>
_:b  page      <http://example.org/wiki/Beijing>
_:a  sameas    _:b
_:b  title       "Beijing"@EN.
_:a  title       "Pékin"@FR.
 
So my request sparql will be:
PREFIX myowl:  <http://example.org/myowl/0.1/>
SELECT ?name
WHERE { ?name  myowl:CapitalOf  "Chine"@FR .
         FILTER ( lang(?name) = "FR" ) }
 
Result : Pékin
 
Is it right ? Is it possible now ? In the future in smw ? when ?
 
Thanks,
Bye.
Karima


Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre mobile !

------------------------------------------------------------------------------

_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user




Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre mobile !