Hi Richard,
2008/2/19, Richard Cyganiak <[EMAIL PROTECTED]>:
> I think this is a good reason for DBpedia to also stick with %-encoded
> URIs, because there is some value in the direct correspondence between
> Wikipedia URIs and DBpedia URIs, just replace http://en.wikipedia.org/wiki/
> with http://dbpedia.org/resource/ and it will work.
I don't agree, but this should be another topic (it may go too long ;-)
> If you serialize a document with Japanese chars in class or property
> URIs as RDF/XML, how do the characters show up in XML element names?
> Do they really show up as Japanese characters in the XML names?
Yes. We can use Japanese characters in XML names, i.e. element names
and attribute names without any problems.
> Are there examples of RDF vocabularies or ontologies that have
> Japanese characters in URIs? This would be useful for testing purposes.
I publish a few vocabularies that include Japanese names as properties
(eg.[1], though I don't see much instances suitable for test, since
people tend to use its English-named properties).
> In your experience, does QName expansion usually work with Japanese
> characters? One of the main attractions with allowing i18n chars in
> URIs would probably be that you could write SPARQL queries like this:
>
> SELECT * WHERE { people:神崎正英 foaf:interest ?interest . }
>
> Does something like that work in practice?
Yes, no problem. I prepared a small example on my site that includes
one property "名前" (which means "name" in English). Try the following
SPARQL, and you will get the result
?nick "masaka".
PREFIX ex: <http://example.org/i18n#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT ?nick
FROM <http://www.kanzaki.com/works/2008/misc/0218-i18n.rdf>
WHERE {
?who ex:名前 "神崎正英"; foaf:nick ?nick.
}
cheers,
[1] http://purl.org/net/ns/doas
--
@prefix : <http://www.kanzaki.com/ns/sig#> . <> :from [:name
"KANZAKI Masahide"; :nick "masaka"; :email "[EMAIL PROTECTED]"].
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion