Hi Julius,

On 06/07/2013 09:40 AM, Julius Chrobak wrote:
Hello DBpedia experts,

I have a simple question. Which dataset do I have to download from the http://wiki.dbpedia.org/Downloads38 list in order to get countries with their rdfs:labels, i.e.:

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT ?countryRef ?country WHERE {
    ?countryRef rdf:type <http://dbpedia.org/ontology/Country> .
    ?countryRef rdfs:label ?country .
FILTER(langMatches(lang(?country), "en"))
}
LIMIT 10

If I run this query using the http://dbpedia.org/snorql interface I get the results back but I don't know which dataset(s) I need to download to do this queries on my own.

In order for your aforementioned query to return the required results you should load **at least** the following datasets:

1. Ontology Infobox Types [1],
2. Titles [2].



Thanks,
Julius Chrobak
mingle.io <https://mingle.io> - Query API for Open Data


[1] http://downloads.dbpedia.org/3.8/en/instance_types_en.nt.bz2
[2] http://downloads.dbpedia.org/3.8/en/labels_en.nt.bz2

--
Kind Regards
Mohamed Morsey
Department of Computer Science
University of Leipzig
http://aksw.org/MohamedMorsey

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to