On 14 Jan 2009, at 15:34, Egon Willighagen wrote:

> On 1/14/09, Richard Cyganiak <[email protected]> wrote:
>> Do you want to know the *URI* of everything that's of type
>> :ChemicalCompound? Or do you want the *data* about these things?  
>> All the
>> data or just some of it (titles, abstracts, infoboxes, ...?)
>
> Eventually, I like to get hold of all the data... having all the URIs
> is nice, as I can wget them one-by-one, but not so efficient, I
> guess...

Download this one:
http://downloads.dbpedia.org/3.2/en/types-mappingbased.nt.bz2

Then do a grep:
grep "/ontology/ChemicalCompound" types-mappingbased.nt

This gives you the 4390 rdf:type triples that involve ChemicalCompounds.

Fetching them all with wget is probably more efficient than dealing  
with the several 100M triples contained in the entire dataset.

Best,
Richard


>
>
> Egon
>
> -- 
> ----
> http://chem-bla-ics.blogspot.com/

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to