[Developers] $0027 encodings in wikipedia topic names
Philip Kendall
philip-freebase at shadowmagic.org.uk
Wed Feb 11 14:23:55 UTC 2009
On Wed, Feb 11, 2009 at 01:42:51AM -0800, Drew Perttula wrote:
> curl http://rdf.freebase.com/rdf/en.barack_obama | grep value.value
>
> <http://rdf.freebase.com/ns/type.value.value> "Barry_O$0027Bama"],
> <http://rdf.freebase.com/ns/type.value.value> "Pres$002E_Obama"],
> ...
>
> What is that $0027 encoding?
[ Disclaimer: I don't work for Metaweb. Everything I write may be wrong
]
Note that what you're looking at their are keys into the /wikipedia/en
namespace, not names. See <http://mql.freebaseapps.com/ch02.html#typekey>
for details on the encoding for keys.
> I also think the underscores might be spaces
They're underscores :-)
> In that same file, the objects of
> <http://rdf.freebase.com/ns/type.object.name> are normal-looking unicode
> without $ escapes.
Which is because they're names.
Cheers,
Phil
--
Philip Kendall <philip at shadowmagic.org.uk>
http://www.shadowmagic.org.uk/
More information about the Developers
mailing list