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 Chernyshev

On Sun, Mar 22, 2009 at 2:00 PM, karima rafes <karima_rafes@hotmail.com> wrote:
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"/>
So, if I have 2 pages :
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 ?

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


Semediawiki-user mailing list