Skip to content

Commit

Permalink
Update allowlist.txt to include wikibase cloud wikis (#148)
Browse files Browse the repository at this point in the history
Also update the static list from the Wikidata queryservice

Bug: T364449
Bug: T375375
  • Loading branch information
tarrow authored Sep 23, 2024
1 parent effa99d commit dce9c97
Show file tree
Hide file tree
Showing 3 changed files with 1,173 additions and 18 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# queryservice
> ℹ️ Issues for this repository are tracked on [Phabricator](https://phabricator.wikimedia.org/project/board/5563/) - ([Click here to open a new one](https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?tags=wikibase_cloud
))

## Allowlist
The allowlist determines to which queryservices federated queries can be made.
This list should contain at least the services that are allowed on the wikidata
queryservice and any Wikibase Cloud hosted Wikibases

To update the list to include new Wikibase Cloud wikis one can run the following:
```lang=bash
kubectl exec -it deployment/api-app-backend -- php artisan tinker --execute '\App\Wiki::all()->pluck("domain")->each(function ($i, $k) { echo "https://".$i."/query/sparql".PHP_EOL; })' > allowlist.txt
cat allowlist-static.txt >> allowlist.txt
```
91 changes: 91 additions & 0 deletions allowlist-static.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
https://query.wikidata.org/bigdata/namespace/categories/sparql
https://query.wikidata.org/bigdata/namespace/dcatap/sparql
https://query.wikidata.org/bigdata/namespace/wdq/sparql
https://query.wikidata.org/sparql
http://sparql.europeana.eu/
http://nomisma.org/query
http://data.cervantesvirtual.com/openrdf-sesame/repositories/data
http://datos.bne.es/sparql
http://edan.si.edu/saam/sparql
http://data.bnf.fr/sparql
http://dbpedia.org/sparql
http://rdf.insee.fr/sparql
https://sparql.wikipathways.org/sparql
http://dati.camera.it/sparql
http://dati.emilia-romagna.it/sparql
http://data.ordnancesurvey.co.uk/datasets/os-linked-data/apis/sparql
http://statistics.data.gov.uk/sparql
http://opendatacommunities.org/sparql
http://data.plan4all.eu/sparql
http://vocab.getty.edu/sparql.json
http://linkeddata.uriburner.com/sparql
http://mw2sparql.toolforge.org/sparql
http://linkedgeodata.org/sparql
http://sparql.hegroup.org/sparql/
http://lov.okfn.org/dataset/lov/sparql
http://opencitations.net/sparql
http://dati.beniculturali.it/sparql
http://zbw.eu/beta/sparql/stw/query
http://zbw.eu/beta/sparql/gnd/query
http://zbw.eu/beta/sparql/econ_pers/query
http://zbw.eu/beta/sparql/econ_corp/query
http://id.nlm.nih.gov/mesh/sparql
http://collection.britishmuseum.org/sparql
http://lod.opentransportdata.swiss/query
http://data.bibliotheken.nl/sparql
https://bag.basisregistraties.overheid.nl/sparql
https://brt.basisregistraties.overheid.nl/sparql
http://collection.britishart.yale.edu/openrdf-sesame/repositories/ycba
http://bnb.data.bl.uk/sparql
https://dati.quirinale.it/sparql
http://sparql.uniprot.org/sparql
https://sparql.uniprot.org/sparql
https://ld.stadt-zuerich.ch/query
http://data.nobelprize.org/sparql
http://zbw.eu/beta/sparql/pm20/query
http://libris.kb.se/sparql
https://api.parliament.uk/sparql
https://data.istex.fr/sparql/
https://data.epo.org/linked-data/query
https://data.niod.nl/PoolParty/sparql/WO2_Thesaurus
https://www.ebi.ac.uk/rdf/services/sparql
https://integbio.jp/rdf/ddbj/sparql
https://integbio.jp/rdf/kero/sparql
https://integbio.jp/rdf/sparql
https://data.idref.fr/sparql
https://sophox.org/sparql
http://sciencesource-query.wmflabs.org/proxy/wdqs/bigdata/namespace/wdq/sparql
https://agrovoc.uniroma2.it/sparql
https://api.druid.datalegend.net/datasets/nlgis/gemeentegeschiedenis/services/gemeentegeschiedenis/sparql
https://data.niod.nl/PoolParty/sparql/WO2_biografieen
http://data.muziekschatten.nl/sparql
https://jpsearch.go.jp/rdf/sparql/
https://slod.fiz-karlsruhe.de/sparql
http://dbpedia.org/sparql*
https://wdhqs.wmflabs.org/sparql
http://dati.isprambiente.it/sparql
https://linkeddata.cultureelerfgoed.nl/sparql
https://tora.entryscape.net/store/sparql
http://de.dbpedia.org/sparql*
https://api.data.pldn.nl/datasets/cbs/wijken-buurten/services/wijken-buurten/sparql
https://idsm.elixir-czech.cz/sparql/endpoint/wikidata
https://lingualibre.org/sparql
http://publications.europa.eu/webapi/rdf/sparql
https://linked.ec-dataplatform.eu/sparql
https://test-linked.ec-dataplatform.eu/sparql
https://sweopendata.wikibase.cloud/query/sparql
https://query.linkedopendata.eu/sparql
https://data.europa.eu/sparql
https://opendata.aragon.es/sparql
https://vocabularies.unesco.org/sparql
https://digitale.bncf.firenze.sbn.it/openrdf-workbench/repositories/NS/query
https://lila-erc.eu/sparql/lila_knowledge_base/sparql
https://qlever.cs.uni-freiburg.de/api/imdb
https://qlever.cs.uni-freiburg.de/api/dblp
https://qlever.cs.uni-freiburg.de/api/wikidata
https://qlever.cs.uni-freiburg.de/api/wikimedia-commons
https://data.nlg.gr/sparql
https://nfdi4culture.de/sparql
https://query.mimotext.uni-trier.de/proxy/wdqs/bigdata/namespace/wdq/sparql
https://iconclass.org/sparql
https://orkg.org/triplestore
Loading

0 comments on commit dce9c97

Please sign in to comment.