Skip to content

Instantly share code, notes, and snippets.

@bdelbosc
bdelbosc / dbpediakit.py
Created January 26, 2012 14:28
DBpedia abstract extractor
"""Utility script to tweak the ntriples DBpedia dumps"""
# License: MIT
import csv
import logging
import os
import sys
import re
from collections import namedtuple
from urllib import unquote