1

The query service does not know that your variable ?article means that you want a Wikipedia article. You have to also ask for it in the actual query. One way to do that is to add these lines in the query: ?article schema:about ?place. FILTER REGEX(STR(?article), ".wikipedia.org/wiki/") . The first line queries for all the the sitelinks that the item have. ...


1

Ask your lawyer. (Or don't, depending on how serious your project is. No one is going to sue you about a hobby web page showing some logos.) Most logos are copyrighted and the owner has not given permission for such use, but depending on what jurisdiction you operate in, there might be exceptions such as fair use that allow you to use them without permission....


1

I've spent the last year or so working on a simple CLI tool to easily create your own NFL databases. It currently supports PostgreSql and Mongo natively, and you can programmatically interact with the Engine if you'd like to extend it. Want to create your own different database (eg MySql) using the Engine? Simply implement an interface and the Engine will ...


1

First, download wikidata json dumps from https://www.wikidata.org/wiki/Wikidata:Database_download . Then start reading the json file e.g. using Python's json library and for each entity, find entity['sitelinks']['enwiki']['value'] which gives you the page title. Then replace space with _ and concatenate it to wikipedia.org/wiki/... Now you have the ...


1

I created a Python package and command line tool to deal with the issue called wikimapper. It can be installed via pip install wikimapper. It uses the Wikipedia SQL dumps to create an index that then can be used to map many times very fast (much faster than the Wikidata SPARQL endpoint). You could either use one of my precomputed indices and use this sqlite3 ...


Only top voted, non community-wiki answers of a minimum length are eligible