Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (7 sloc) 256 Bytes
#!/bin/env ruby
# encoding: utf-8
require 'everypolitician'
require 'wikidata/fetcher'
query = 'SELECT DISTINCT ?item { ?item p:P39/ps:P39 wd:Q52802973 }'
ids = EveryPolitician::Wikidata.sparql(query)
EveryPolitician::Wikidata.scrape_wikidata(ids: ids)
You can’t perform that action at this time.