Hi Mike,

On 02/13/2013 03:21 PM, The Guy wrote:
Hi,

I have downloaded certain files for example instance_types_en.nt.

I would like to extract specific information for example everything with <http://schema.org/Book> or <http://schema.org/Place>.

I can use Excel but it is time consuming as the files are too big to put them in Excel.

Also, I was thinking of processing the files by parsing the strings and save the information required in other file.
However, my programming skills are rusty to say the least.

Is there a way to get these specific datasets from dbpedia.org or do you know other website that can provide them?

You can either use UNIX commands or SPARQL queries against one of the SPARQL endpoints [1, 2], to get the information you are looking for.

 * UNIX: grep '<http://schema.org/Book>' instance_types_en.nt > output.nt

        where output.nt is the output file.

 * SPARQL: SELECT ?s WHERE {?s a <http://schema.org/Book>} limit 1000


Thank you,
Mike

[1] http://dbpedia.org/sparql
[2] http://live.dbpedia.org/sparql

--
Kind Regards
Mohamed Morsey
Department of Computer Science
University of Leipzig

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to