query-6c9a7a0252d44d0ca47a505518bb1be9
Fixing URLs in Sources MichaelSchoenitzer: Request date: 12 September 2018, byTask descriptionAfter an update of the software hosting the site all the links to tags in the gnome-gitlab don't work anymore. They are used heavily in sources for version-numbers. Can someone update the 240 links with an bot/script? From [^/])/tag/?h=(.) https://git.gnome.org/browse/(to https://gitlab.gnome.org/GNOME/$1/tags/$2Here's a query searching for the cases:
Use at
- https://query.wikidata.org/sparql
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
select ?item ?st ?url where {
?item p:P348 ?st.
?st prov:wasDerivedFrom ?src.
?src pr:P854 ?url.
FILTER CONTAINS(STR(?url), "https://git.gnome.org/browse")
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v4("?src")
v3("?st"):::projected
v1("?url"):::projected
f0[["contains(str(?url),'https://git.gnome.org/browse')"]]
f0 --> v1
v2 --"p:P348"--> v3
v3 --"prov:wasDerivedFrom"--> v4
v4 --"p:reference/P854"--> v1