[redland-dev] newbie question using Perl bindings
rzeno
ruset.zeno at gmail.com
Fri Dec 7 23:59:45 GMT 2007
On Fri, Dec 07, 2007 at 02:13:16PM -0700, Golda Velez wrote:
> Hello Redland folks
>
> I'm new to Redland so please feel free to direct me to further reading...
>
> Trying to use the perl binding to parse the dmoz categories, like so
>
> use RDF::Redland;
>
> $data_file = "/w/abra/data/structure.rdf.u8";
>
> my $uri = new RDF::Redland::URI("file:$data_file");
>
> my $parser = new RDF::Redland::Parser("rdfxml","application/rdf+xml");
> ------------------------------
>
> dies with
>
> Redland error: property element 'Topic' has multiple object node elements,
> skipping.
> ----------------------------
>
> Am I even on the right track here? About six years ago I wanted to do stuff
> with the dmoz categories and just wrote a regexp rough approximate parser,
> now I'd like to do it right...but I'm not sure I am using the right toolset.
>
me, again, :-))
I use rapper to test if the rdf file is valid and roqet to test the query.
Best regards.
--
"We must be systematic, but we should keep our systems open."
-- Alfred North Whitehead, Modes of Thought --
More information about the redland-dev
mailing list