Thanks for the swift reply!
What do you mean by resolving redirects? Atm I'm using whatever's after
the slash as dbpedia ID. Is this incorrect? I.e.
http://dbpedia.org/resource/Bridgeport,_Connecticut -->
Bridgeport,_Connecticut
--
mvh
Patrick Skjennum
On 21.02.2016 13.10, David Przybilla wrote:
Hi Patrick,
Best approach is to use Wikidata's dumps.
- Wikidata to dbpediaIDs: You can use rdf exports( like [1]). This
include a mapping from wikipedia titles in different languages to
QIDs. Be aware that you might want to resolve redirects since dbpedia
spotlight in principle only returns canonical dbpediaIDs.
- Freebase: Probably wikidata sitelinks dump (or other dump file)
contains the mapping QID - MID. But also check dbpedia downloads
page, they already provide a dbpeida - mid mapping
[1]
http://tools.wmflabs.org/wikidata-exports/rdf/index.php?content=dump_download.php&dump=20160201
[2] http://dbpedia.org/dbpedia-data-set-2015-04
On Sun, Feb 21, 2016 at 11:49 AM, Patrick Skjennum <[email protected]
<mailto:[email protected]>> wrote:
Hello.
I'm using DBpedia spotlight to annotate text (using the REST framework
and a local instance of dbpedia spotlight), but the framework only
gives
me dbpedia ID's. What I really want is Wikidata ID's. I've been
experimenting with Sparql queries and I'm able to fetch Wikidata ID's
one at the time, however this is too slow when I need millions.
I potentially also want to achieve the same for Freebase ID's.
What is the best way to proceed?
--
mvh
Patrick Skjennum
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users