Skip to content

Instantly share code, notes, and snippets.

@andrawaag
Created April 19, 2017 18:37
Show Gist options
  • Save andrawaag/643157ab14eab4e3e62b31a40ef42582 to your computer and use it in GitHub Desktop.
Save andrawaag/643157ab14eab4e3e62b31a40ef42582 to your computer and use it in GitHub Desktop.
#QUERY <http://sparql.wikipathways.org>
# Author: Andra Waagmeester
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT * WHERE {
SERVICE <https://query.wikidata.org/bigdata/namespace/wdq/sparql> {
# Wikidata triple patterns here
}
# Wikipathways triple patterns here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment