Hi Markus,
Thank you very much for your answer.
I don't know if we are talking about the same endpoint
'we do not load all language editions with every file into the official
DBpedia endpoint.'
I was testing http://wikidata.dbpedia.org/sparql and official DBpedia
endpoint is http://dbpedia.org/sparql
Is it the same?
In addition, if you've seen the results of the query I sent, they
contain labels in Catalan and Basque languages.
Regards
On 19/11/16 11:01, Markus Freudenberg wrote:
Hi Miguel,
we do not load all language editions with every file into the official
DBpedia endpoint.
The complete list of files loaded is DBpedia core (e.g. for 2016-04:
http://downloads.dbpedia.org/2016-04/core/).
As you can see there, we only labels for 12 languages:
labels_en.ttl.bz2
<http://downloads.dbpedia.org/2016-04/core/labels_en.ttl.bz2> 24-May-2016 07:01 174M
labels_en_uris_ar.ttl.bz2
<http://downloads.dbpedia.org/2016-04/core/labels_en_uris_ar.ttl.bz2> 07-Jul-2016 10:37 3M
labels_en_uris_de.ttl.bz2
<http://downloads.dbpedia.org/2016-04/core/labels_en_uris_de.ttl.bz2> 07-Jul-2016 14:25 13M
labels_en_uris_es.ttl.bz2
<http://downloads.dbpedia.org/2016-04/core/labels_en_uris_es.ttl.bz2> 07-Jul-2016 13:28 11M
labels_en_uris_fr.ttl.bz2
<http://downloads.dbpedia.org/2016-04/core/labels_en_uris_fr.ttl.bz2> 07-Jul-2016 14:19 15M
labels_en_uris_it.ttl.bz2
<http://downloads.dbpedia.org/2016-04/core/labels_en_uris_it.ttl.bz2> 07-Jul-2016 12:59 11M
labels_en_uris_ja.ttl.bz2
<http://downloads.dbpedia.org/2016-04/core/labels_en_uris_ja.ttl.bz2> 07-Jul-2016 12:11 6M
labels_en_uris_nl.ttl.bz2
<http://downloads.dbpedia.org/2016-04/core/labels_en_uris_nl.ttl.bz2> 07-Jul-2016 12:07 9M
labels_en_uris_pl.ttl.bz2
<http://downloads.dbpedia.org/2016-04/core/labels_en_uris_pl.ttl.bz2> 07-Jul-2016 12:58 9M
labels_en_uris_pt.ttl.bz2
<http://downloads.dbpedia.org/2016-04/core/labels_en_uris_pt.ttl.bz2> 07-Jul-2016 12:57 8M
labels_en_uris_ru.ttl.bz2
<http://downloads.dbpedia.org/2016-04/core/labels_en_uris_ru.ttl.bz2> 07-Jul-2016 13:16 10M
labels_en_uris_zh.ttl.bz2
<http://downloads.dbpedia.org/2016-04/core/labels_en_uris_zh.ttl.bz2> 07-Jul-2016 10:53 6M
This is to save some resources. Maybe we will extend the coverage of labels and
abstracts a bit,
but this is somethingOpen Link <http://www2.openlink.com/en/> has to green
light, since they are hosing the endpoint.
As a solution for your use case:
If thehttp://gl.dbpedia.org/sparql endpoint does not suffice to answer your query,
try combining both endpoints in your query with afederated query
<https://www.w3.org/TR/sparql11-federated-query/>.
Or set up yout own endpoint:
Since you are comparing all resources with the equivalent from Wikidata (so it
seems),
you would get even better results if you set up your own DBpedia endpoint
loading
the labels_wkd_uris_xy_ttl.bz2 as opposed to the ..en_uris.. files we loaded in
the official endpoint.
Those are the labels of a language normalized to existing Wikidata resources,
which are usually
more numerous than those normalized to English resources.
For the query above the following list of datasets loaded would suffice:
/xy/labels_wkd_uris_xy.ttl.bz2 /xy/interlanguage_links_xy.ttl.bz2
/wikidata/interlanguage_links_xy_wikidata.ttl.bz2
Where xy would be replaces by the language(s) you are interested in.
Setting up an endpoint is quiet easy now with Docker:
https://github.com/dbpedia/Dockerized-DBpedia.
Have a nice weekend,
Markus Freudenberg
Release Manager, DBpedia <http://wiki.dbpedia.org>
On Thu, Nov 17, 2016 at 6:55 PM, Miguel Solla <miguelso...@uvigo.es
<mailto:miguelso...@uvigo.es>> wrote:
Hi,
Could someone tell me why can't I find Galician resources at
http://wikidata.dbpedia.org/sparql
<http://wikidata.dbpedia.org/sparql>? i. e.
SELECT DISTINCT * WHERE {
?wikidata owl:sameAs
<http://dbpedia.org/resource/Electric_charge
<http://dbpedia.org/resource/Electric_charge>> .
OPTIONAL {
?wikidata rdfs:label ?cat .
FILTER (lang(?cat) = 'ca') .
}
OPTIONAL {
?wikidata rdfs:label ?eus .
FILTER (lang(?eus) = 'eu') .
}
OPTIONAL {
?wikidata rdfs:label ?glg .
FILTER (lang(?glg) = 'gl') .
}
OPTIONAL {
?wikidata rdfs:label ?spa .
FILTER (lang(?spa) = 'es') .
}
}
LIMIT 100
shows empty data for Galician...
But a query as
SELECT DISTINCT * FROM <http://gl.dbpedia.org> WHERE { ?wikidata
owl:sameAs <http://dbpedia.org/resource/Electric_charge
<http://dbpedia.org/resource/Electric_charge>> . } LIMIT 100
works fine at http://gl.dbpedia.org/sparql (available tuples have been
extracted from wikidata dump, but datasets are also avalilable at
http://downloads.dbpedia.org/current/core-i18n/wikidata/
<http://downloads.dbpedia.org/current/core-i18n/wikidata/>)
Regards
------------------------------------------------------------------------------
_______________________________________________
DBpedia-discussion mailing list
DBpedia-discussion@lists.sourceforge.net
<mailto:DBpedia-discussion@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
<https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion>
------------------------------------------------------------------------------
_______________________________________________
DBpedia-discussion mailing list
DBpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion