Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT ?link_to ?wikidata_item ?page_title WHERE {
- VALUES (?link_from) {(<https://en.wikipedia.org/wiki/SPARQL>)}
- ?link_from schema:name ?title .
- SERVICE wikibase:mwapi {
- bd:serviceParam wikibase:endpoint "en.wikipedia.org" ;
- wikibase:api "Generator" ;
- mwapi:generator "links" ;
- mwapi:titles ?title ;
- mwapi:inprop "url" ;
- mwapi:redirects "true" .
- ?link_to wikibase:apiOutputURI "@fullurl" .
- ?wikidata_item wikibase:apiOutputItem mwapi:item .
- ?page_title wikibase:apiOutput mwapi:title .
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement