Wikidata Query Service/Implementation/SDC

From MediaWiki.org
Jump to navigation Jump to search

SDC Beta site: http://sdcquery.wmflabs.org/

  • Loading data:
munge.sh -f ~/commonsdump.ttl.gz -d munged/ -- --commonsUri http://commons.wikimedia.org --conceptUri=http://www.wikidata.org
  • Running blazegraph: add to /etc/default/wdqs-blazegraph:
BLAZEGRAPH_OPTS="-DcommonsConceptUri=http://commons.wikimedia.org -DwikibaseConceptUri=http://www.wikidata.org"

then in /srv/wdqs/blazegraph:

bash runBlazegraph.sh -f /srv/wdqs/blazegraph/RWStore.properties

Run all under user blazegraph.

  • Updating single entity:
bash runUpdate.sh -N -- -v --wikibaseUrl https://commons.wikimedia.org/ --commonsUri http://commons.wikimedia.org --conceptUri=http://www.wikidata.org --ids M40538870

Regular updates do not work yet, see https://phabricator.wikimedia.org/T230862