daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest Oct 14th, 2018 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT ?link_to ?wikidata_item ?page_title WHERE {
  2.   VALUES (?link_from) {(<https://en.wikipedia.org/wiki/SPARQL>)}
  3.   ?link_from schema:name ?title .
  4.   SERVICE wikibase:mwapi {
  5.     bd:serviceParam wikibase:endpoint "en.wikipedia.org" ;
  6.                     wikibase:api "Generator" ;
  7.                     mwapi:generator "links" ;
  8.                     mwapi:titles ?title ;
  9.                     mwapi:inprop "url" ;
  10.                     mwapi:redirects "true" .
  11.     ?link_to wikibase:apiOutputURI "@fullurl" .
  12.     ?wikidata_item wikibase:apiOutputItem mwapi:item .
  13.     ?page_title wikibase:apiOutput mwapi:title .
  14.   }
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top